Skip to content

Commit

Permalink
Add test case for static_assert with only 1 argument.
Browse files Browse the repository at this point in the history
(cherry picked from commit 4d6e7a6)
  • Loading branch information
dhebbeker committed Nov 9, 2023
1 parent c4906a0 commit 51225ad
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/test_static_assert.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,11 @@ namespace
{
ETL_STATIC_ASSERT(true, "condition must be true");
}

//*************************************************************************
TEST(test_static_assert_1argument)
{
ETL_STATIC_ASSERT(true);
}
}
}

0 comments on commit 51225ad

Please sign in to comment.