summaryrefslogtreecommitdiff
path: root/bin/tests/test_string.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bin/tests/test_string.cpp')
-rw-r--r--bin/tests/test_string.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/tests/test_string.cpp b/bin/tests/test_string.cpp
index fe7bf4d9cf..27707b1a00 100644
--- a/bin/tests/test_string.cpp
+++ b/bin/tests/test_string.cpp
@@ -472,7 +472,7 @@ bool test_26() {
{
printf("%ls\n", regexp.get_capture(i).c_str());
}
- return res;
+ return (res>=0);
};
struct test_27_data {
@@ -904,7 +904,7 @@ MainLoop* test() {
OS::get_singleton()->print("***TOTALS!***\n");
OS::get_singleton()->print("*************\n");
- OS::get_singleton()->print("Passed %i of %i tests\n",count,passed);
+ OS::get_singleton()->print("Passed %i of %i tests\n", passed, count);
return NULL;
}