diff options
author | dakovalkov <[email protected]> | 2023-02-17 12:41:41 +0300 |
---|---|---|
committer | dakovalkov <[email protected]> | 2023-02-17 12:41:41 +0300 |
commit | cd21459f6ea789b57cb76b39cb52553923024abd (patch) | |
tree | 332cedd2db0f9ce57952887c19c1ce97e775cd52 /contrib/libs/fmt/test/assert-test.cc | |
parent | 14530b5eb2df23bc3b0027fdd6d07e0035bafe2e (diff) |
Update fmtlib to 8.1.1 + spdlog to 1.11.0 + jinja2cpp to 1.2.1
Diffstat (limited to 'contrib/libs/fmt/test/assert-test.cc')
-rw-r--r-- | contrib/libs/fmt/test/assert-test.cc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/contrib/libs/fmt/test/assert-test.cc b/contrib/libs/fmt/test/assert-test.cc index 73f622e56ba..c74e617e68f 100644 --- a/contrib/libs/fmt/test/assert-test.cc +++ b/contrib/libs/fmt/test/assert-test.cc @@ -10,9 +10,9 @@ // For the license information refer to format.h. #include "fmt/core.h" -#include <gtest/gtest.h> +#include "gtest/gtest.h" -TEST(AssertTest, Fail) { +TEST(assert_test, fail) { #if GTEST_HAS_DEATH_TEST EXPECT_DEBUG_DEATH(FMT_ASSERT(false, "don't panic!"), "don't panic!"); #else @@ -20,9 +20,8 @@ TEST(AssertTest, Fail) { #endif } -bool test_condition = false; - -TEST(AssertTest, DanglingElse) { +TEST(assert_test, dangling_else) { + bool test_condition = false; bool executed_else = false; if (test_condition) FMT_ASSERT(true, ""); |