diff options
author | Johannes Schickel | 2014-08-07 15:04:13 +0200 |
---|---|---|
committer | Johannes Schickel | 2014-08-07 15:04:13 +0200 |
commit | bb70ea04e963a99f164a152db0ad2d9830a94d25 (patch) | |
tree | da591411cffb4f6a0140b3f796757346d27a8a7a /test/common | |
parent | 37b77168eceea1f156bfca24fcebdfd53a122486 (diff) | |
download | scummvm-rg350-bb70ea04e963a99f164a152db0ad2d9830a94d25.tar.gz scummvm-rg350-bb70ea04e963a99f164a152db0ad2d9830a94d25.tar.bz2 scummvm-rg350-bb70ea04e963a99f164a152db0ad2d9830a94d25.zip |
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.
Diffstat (limited to 'test/common')
-rw-r--r-- | test/common/rendermode.h | 1 |
1 files changed, 0 insertions, 1 deletions
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); |