[colobot] 115/145: Enabled more tests

Didier Raboud odyx at moszumanska.debian.org
Mon Jul 11 12:56:23 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 543df84db6acd6ecf17c66ae8776715b99cb162c
Author: krzys-h <krzys_h at interia.pl>
Date:   Sat Jun 18 22:31:32 2016 +0200

    Enabled more tests
    
    See https://github.com/colobot/colobot/pull/783#issuecomment-226963085
---
 test/unit/CBot/CBot_test.cpp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/test/unit/CBot/CBot_test.cpp b/test/unit/CBot/CBot_test.cpp
index 355e37a..e8cdcd1 100644
--- a/test/unit/CBot/CBot_test.cpp
+++ b/test/unit/CBot/CBot_test.cpp
@@ -463,12 +463,12 @@ TEST_F(CBotUT, VarImplicitCast)
         "{\n"
         "    string a = 2;\n"
         "    ASSERT(a == \"2\");\n"
-        //"    a = 3;\n" // TODO: this certainly looks wrong, you an assign a number in initialization but not in assignment
-        //"    ASSERT(a == \"3\");\n"
+        "    a = 3;\n"
+        "    ASSERT(a == \"3\");\n"
         "    string b = 2.5;\n"
         "    ASSERT(b == \"2.5\");\n"
-        //"    b = 3.5;\n"
-        //"    ASSERT(b == \"3.5\");\n"
+        "    b = 3.5;\n"
+        "    ASSERT(b == \"3.5\");\n"
         "}\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