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.
assert_eq
()
1 parent 6d21f9e commit 60f88a4Copy full SHA for 60f88a4
src/cargo/util/network.rs
@@ -112,7 +112,7 @@ fn with_retry_repeats_the_call_then_works() {
112
let config = Config::default().unwrap();
113
*config.shell() = Shell::from_write(Box::new(Vec::new()));
114
let result = with_retry(&config, || results.pop().unwrap());
115
- assert_eq!(result.unwrap(), ())
+ assert!(result.is_ok())
116
}
117
118
#[test]
@@ -135,7 +135,7 @@ fn with_retry_finds_nested_spurious_errors() {
135
136
137
138
139
140
141
0 commit comments