Skip to content

Commit

Permalink
Try
Browse files Browse the repository at this point in the history
  • Loading branch information
sheredom committed Aug 16, 2023
1 parent c83874b commit 49bc28f
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions test/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -255,17 +255,6 @@ UTEST(cpp, Exception) {
ASSERT_EXCEPTION(foo(1), std::range_error);
}

// GCC stdlib has a sanitizer bug in exceptions!
#if defined(__has_feature)
#if __has_feature(memory_sanitizer)
__attribute__((no_sanitize("memory")))
#endif
#endif
UTEST(cpp, ExceptionWithMessage) {
EXPECT_EXCEPTION_WITH_MESSAGE(foo(1), std::range_error, "bad bar");
ASSERT_EXCEPTION_WITH_MESSAGE(foo(1), std::range_error, "bad bar");
}

UTEST(cpp, Todo) { UTEST_SKIP("Not yet implemented!"); }

enum SomeEnum { SomeEnumFoo, SomeEnumBar };
Expand Down

0 comments on commit 49bc28f

Please sign in to comment.