We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5b61df commit a2dc5d8Copy full SHA for a2dc5d8
tests/tools/src/lib.rs
@@ -907,9 +907,8 @@ mod tests {
907
let output = cmd.output().expect("can run git");
908
let stdout = output.stdout.to_str().expect("valid UTF-8");
909
let status = output.status.code().expect("terminated normally");
910
-
911
- assert_eq!(stdout, "", "should be no config variable to display");
912
- assert_eq!(status, 1, "exit status should indicate config variable is absent");
+ assert_eq!(stdout, "", "should be no config variables to display");
+ assert_eq!(status, 0, "reading the config should nonetheless succeed");
913
914
temp.close().expect("Test bug: Should be able to delete everything");
915
}
0 commit comments