mirror of
https://github.com/KjellKod/g3log.git
synced 2024-12-12 18:30:25 +01:00
Merge pull request #55 from KjellKod/test_warnings
removed gcc5.2 warnings
This commit is contained in:
commit
17756a2657
@ -350,7 +350,7 @@ TEST(LogTest, FatalSIGTERM__UsingCustomHandler) {
|
||||
g3::overrideSetupSignals({ {SIGABRT, "SIGABRT"}, {SIGFPE, "SIGFPE"}, {SIGILL, "SIGILL"}});
|
||||
|
||||
installCustomSIGTERM();
|
||||
EXPECT_EQ(customFatalCounter, 0);
|
||||
EXPECT_EQ(customFatalCounter.load(), size_t{0});
|
||||
EXPECT_EQ(lastEncounteredSignal.load(), 0);
|
||||
|
||||
|
||||
@ -358,7 +358,8 @@ TEST(LogTest, FatalSIGTERM__UsingCustomHandler) {
|
||||
logger.reset();
|
||||
EXPECT_EQ(g_fatal_counter.load(), size_t{0});
|
||||
EXPECT_EQ(lastEncounteredSignal.load(), SIGTERM);
|
||||
EXPECT_EQ(customFatalCounter, 1);
|
||||
EXPECT_EQ(customFatalCounter.load(), size_t{1});
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user