Skip to content

Commit

Permalink
Fixup checked interger operations death test
Browse files Browse the repository at this point in the history
  • Loading branch information
dalg24 committed Sep 1, 2023
1 parent 393abd3 commit e7174a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/unit_test/TestCheckedIntegerOps.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ TEST(TEST_CATEGORY, checked_integer_operations_multiply_overflow) {
}
}

TEST(TEST_CATEGORY, checked_integer_operations_multiply_overflow_abort) {
TEST(TEST_CATEGORY_DEATH, checked_integer_operations_multiply_overflow_abort) {
::testing::FLAGS_gtest_death_test_style = "threadsafe";
{
auto result = Kokkos::Impl::multiply_overflow_abort(1u, 2u);
EXPECT_EQ(result, 2u);
Expand Down

0 comments on commit e7174a8

Please sign in to comment.