summaryrefslogtreecommitdiff
path: root/bin/tests
diff options
context:
space:
mode:
Diffstat (limited to 'bin/tests')
-rw-r--r--bin/tests/test_string.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/tests/test_string.cpp b/bin/tests/test_string.cpp
index 60ef1da540..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 {