From bb70ea04e963a99f164a152db0ad2d9830a94d25 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Thu, 7 Aug 2014 15:04:13 +0200 Subject: TEST: Remove odd test in rendermode tests. This specific test checked whether the pointer for two static strings have a different address. Since the specific strings checked had the same "value" string pooling optimizations will result in them to have the same address and thus make this test fail. Furthermore, the test seemed completely pointless, I simply dropped it now. --- test/common/rendermode.h | 1 - 1 file changed, 1 deletion(-) (limited to 'test') diff --git a/test/common/rendermode.h b/test/common/rendermode.h index e5e277f16b..b96ae243a5 100644 --- a/test/common/rendermode.h +++ b/test/common/rendermode.h @@ -49,7 +49,6 @@ class RenderModeTestSuite : public CxxTest::TestSuite { * Notably, the output should not be in mixed case. */ TS_ASSERT_SAME_DATA(Common::getRenderModeCode(Common::parseRenderMode("FMTOWNS")), "fmtowns", 7); - TS_ASSERT_DIFFERS(Common::getRenderModeCode(Common::parseRenderMode("FMTOWNS")), "fmtowns"); TS_ASSERT_SAME_DATA(Common::getRenderModeCode(Common::parseRenderMode("CGA")), "cga", 3); TS_ASSERT_SAME_DATA(Common::getRenderModeCode(Common::parseRenderMode("vga")), "vga", 3); TS_ASSERT_SAME_DATA(Common::getRenderModeCode(Common::parseRenderMode("Ega")), "ega", 3); -- cgit v1.2.3