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.
2 parents 3c4c299 + 2a72017 commit d40fd32Copy full SHA for d40fd32
tests/test_ensure.rs
@@ -192,14 +192,14 @@ fn test_loop() {
192
let test = || Ok(ensure!(1 + loop { break 1 } == 1));
193
assert_err(
194
test,
195
- "Condition failed: `1 + loop { break 1 } == 1` (2 vs 1)",
+ "Condition failed: `1 + loop { break 1 } == 1` (2 vs 1)",
196
);
197
198
#[rustfmt::skip]
199
let test = || Ok(ensure!(1 + 'a: loop { break 'a 1 } == 1));
200
201
202
- "Condition failed: `1 + 'a: loop { break 'a 1 } == 1` (2 vs 1)",
+ "Condition failed: `1 + 'a: loop { break 'a 1 } == 1` (2 vs 1)",
203
204
205
0 commit comments