From 1efd14f2f58137f72c544ffcf574610bd0da8114 Mon Sep 17 00:00:00 2001 From: Joseph Walton-Rivers <joseph@walton-rivers.uk> Date: Fri, 19 Aug 2022 22:28:54 +0100 Subject: [PATCH] ensure that debug-only test case is debug-only --- tests/testfggl/util/guid.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/testfggl/util/guid.cpp b/tests/testfggl/util/guid.cpp index d70fa0f..b1795f7 100644 --- a/tests/testfggl/util/guid.cpp +++ b/tests/testfggl/util/guid.cpp @@ -108,9 +108,11 @@ namespace { EXPECT_EQ( false, guid2 < guid1); } + #ifdef DEBUG TEST(GuidTest, GuidToString) { fggl::util::GUID guid = fggl::util::internString("test"); EXPECT_EQ("test", fggl::util::guidToString(guid)); } + #endif } -- GitLab