summaryrefslogtreecommitdiff
path: root/bin/tests
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2016-02-02 20:58:00 +0100
committerRémi Verschelde <rverschelde@gmail.com>2016-02-02 20:58:00 +0100
commit746a2996c90238fdddfbd282adfa7e5c937b7c9b (patch)
tree76315c6fb3305734a1fd0cb30bf7eca2c629ea02 /bin/tests
parentd2f2eed96316bdb380c2233cb0832bd7747fc21e (diff)
Fix return value of regexp string test
Closes #3556
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 {