summaryrefslogtreecommitdiffstats
path: root/Sencha-lang/Tests/TestSuite.cpp
diff options
context:
space:
mode:
authorJustyna Ilczuk <justyna.ilczuk@gmail.com>2013-01-12 22:16:30 +0100
committerJustyna Ilczuk <justyna.ilczuk@gmail.com>2013-01-12 22:16:30 +0100
commit53f8ba2097355f7f488ed04b1d86d037e47216f2 (patch)
tree533fd39064f4148b61c943fdc25d0338a4d5b5d4 /Sencha-lang/Tests/TestSuite.cpp
parent3a449cb09b812ef7017f584ff3968c40a4f6a83a (diff)
downloadsencha-lang-53f8ba2097355f7f488ed04b1d86d037e47216f2.tar.gz
sencha-lang-53f8ba2097355f7f488ed04b1d86d037e47216f2.tar.bz2
sencha-lang-53f8ba2097355f7f488ed04b1d86d037e47216f2.tar.xz
sencha-lang-53f8ba2097355f7f488ed04b1d86d037e47216f2.zip
Some new examples. New tests. Small improvements.imports
Diffstat (limited to 'Sencha-lang/Tests/TestSuite.cpp')
-rw-r--r--Sencha-lang/Tests/TestSuite.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Sencha-lang/Tests/TestSuite.cpp b/Sencha-lang/Tests/TestSuite.cpp
index 3c37b25..f50531c 100644
--- a/Sencha-lang/Tests/TestSuite.cpp
+++ b/Sencha-lang/Tests/TestSuite.cpp
@@ -30,13 +30,13 @@ void TestSuite::run_tests()
std::string result = all_tests();
if(result != "")
{
- std::cout << "\x1b[00;31mSOME TESTS DIDN\'T PASS\x1b[00;00m" << std::endl; //Sets color to red
+ std::cout << "\n\x1b[00;31mSOME TESTS DIDN\'T PASS\x1b[00;00m" << std::endl; //Sets color to red
std::cout << result << std::endl;
}
else
{
- std::cout << "\x1b[00;32mALL TESTS PASSED\x1b[00;00m\n" << std::endl; //Sets color to green
+ std::cout << "\n\x1b[00;32mALL TESTS PASSED\x1b[00;00m" << std::endl; //Sets color to green
}
std::cout << tests_passed << " TESTS PASSED\n";
std::cout << tests_failed << " TESTS FAILED\n";