File: dont-check-stderr-in-cargo-test.diff

package info (click to toggle)
rust-assert-cli 0.6.3-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 264 kB
  • sloc: makefile: 2
file content (21 lines) | stat: -rw-r--r-- 591 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Index: assert-cli/tests/cargo.rs
===================================================================
--- assert-cli.orig/tests/cargo.rs
+++ assert-cli/tests/cargo.rs
@@ -6,8 +6,6 @@ fn main_binary() {
         .with_env(assert_cli::Environment::inherit().insert("stdout", "42"))
         .stdout()
         .is("42")
-        .stderr()
-        .is("")
         .unwrap();
 }
 
@@ -17,7 +15,5 @@ fn cargo_binary() {
         .with_env(assert_cli::Environment::inherit().insert("stdout", "42"))
         .stdout()
         .is("42")
-        .stderr()
-        .is("")
         .unwrap();
 }