Skip to content

Commit

Permalink
fix: assert test exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
yjl9903 committed Oct 6, 2023
1 parent 79c7280 commit 7e133f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/aplusb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,6 @@ fn it_should_not_run_re2() {
fn it_should_not_run_assert() {
common::setup();
let result = run_fail_cpp("assert.cpp", 1000, 262144);
assert_eq!(*result.status(), None);
assert_eq!(*result.status(), Some(0));
assert_eq!(*result.signal(), Some(Signal::SIGABRT));
}

0 comments on commit 7e133f6

Please sign in to comment.