Skip to content

Commit c83f927

Browse files
committed
Make test less fragile for CI
1 parent 2c66bf0 commit c83f927

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/plugins/csharp/src/plugin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ mod test {
599599
assert!(!test_result.successful);
600600
assert!(test_result.points.is_empty());
601601
assert!(test_result.message.contains("Expected: False"));
602-
assert_eq!(test_result.exception.len(), 2);
602+
assert!(!test_result.exception.is_empty());
603603
assert!(res.logs.get("stdout").unwrap().is_empty());
604604
assert!(res.logs.get("stderr").unwrap().is_empty());
605605
}

0 commit comments

Comments
 (0)