diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2016-02-02 20:58:00 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2016-02-02 20:58:00 +0100 |
commit | 746a2996c90238fdddfbd282adfa7e5c937b7c9b (patch) | |
tree | 76315c6fb3305734a1fd0cb30bf7eca2c629ea02 /bin | |
parent | d2f2eed96316bdb380c2233cb0832bd7747fc21e (diff) |
Fix return value of regexp string test
Closes #3556
Diffstat (limited to 'bin')
-rw-r--r-- | bin/tests/test_string.cpp | 2 |
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 { |