summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2016-02-03 07:49:23 +0100
committerRémi Verschelde <remi@verschelde.fr>2016-02-03 07:49:23 +0100
commit84b2aa5a624e5c7506873d2edf27195cd929fa30 (patch)
treeee53842caa93bb97bc7e539d89227535c2d1c62d
parent259bd73caed445b7d36caa31743cd049d6204e98 (diff)
parent746a2996c90238fdddfbd282adfa7e5c937b7c9b (diff)
Merge pull request #3558 from akien-mga/pr-regex-test
Fix return value of regexp string test
-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 {