From aa4df026d44bd205f8bfce8a3b8d6a1144332f32 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Mon, 30 Jun 2014 19:30:49 -0700 Subject: Finally get around to decoupling the warning system --- src/generic/oops_test.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/generic/oops_test.cpp') diff --git a/src/generic/oops_test.cpp b/src/generic/oops_test.cpp index e1a5381..11c87e7 100644 --- a/src/generic/oops_test.cpp +++ b/src/generic/oops_test.cpp @@ -25,8 +25,6 @@ namespace tmwa { -#pragma GCC diagnostic ignored "-Wzero-as-null-pointer-constant" - TEST(oops, okay) { try @@ -50,7 +48,7 @@ TEST(oops, uhoh) catch (const AssertionError& e) { ASSERT_STREQ(strstr(e.what(), "src/generic/"), - "src/generic/oops_test.cpp:47: error: in 'virtual void tmwa::oops_uhoh_Test::TestBody()', incorrectly alleged that 'the sky is falling' (1 == 0)"); + "src/generic/oops_test.cpp:45: error: in 'virtual void tmwa::oops_uhoh_Test::TestBody()', incorrectly alleged that 'the sky is falling' (1 == 0)"); } } } // namespace tmwa -- cgit v1.2.3-70-g09d2