From 7b32f6388f08094d1631f7d74942826c4a33aee6 Mon Sep 17 00:00:00 2001 From: krzys-h Date: Sat, 28 May 2016 23:33:49 +0200 Subject: [PATCH] Enabled fixed test --- test/unit/CBot/CBot_test.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/unit/CBot/CBot_test.cpp b/test/unit/CBot/CBot_test.cpp index 129d7972..e3c25db6 100644 --- a/test/unit/CBot/CBot_test.cpp +++ b/test/unit/CBot/CBot_test.cpp @@ -441,8 +441,7 @@ TEST_F(CBotUT, VarDefinitions) } // TODO: I don't actually know what the exact rules should be, but it looks a bit wrong -// TODO: Current version of this code causes a failed assertion -TEST_F(CBotUT, DISABLED_VarImplicitCast) +TEST_F(CBotUT, VarImplicitCast) { ExecuteTest( "extern void ImplicitCast()\n" @@ -464,7 +463,7 @@ TEST_F(CBotUT, DISABLED_VarImplicitCast) "{\n" " string a = 2;\n" " ASSERT(a == \"2\");\n" - //" a = 3;\n" + //" a = 3;\n" // TODO: this certainly looks wrong, you an assign a number in initialization but not in assignment //" ASSERT(a == \"3\");\n" " string b = 2.5;\n" " ASSERT(b == \"2.5\");\n"