[colobot] 102/145: Enabled fixed test

Didier Raboud odyx at moszumanska.debian.org
Mon Jul 11 12:56:22 UTC 2016


This is an automated email from the git hooks/post-receive script.

odyx pushed a commit to branch debian/master
in repository colobot.

commit 7b32f6388f08094d1631f7d74942826c4a33aee6
Author: krzys-h <krzys_h at interia.pl>
Date:   Sat May 28 23:33:49 2016 +0200

    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 129d797..e3c25db 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"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/colobot.git



More information about the Pkg-games-commits mailing list