diff options
| author | Rémi Verschelde | 2016-02-03 07:49:23 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2016-02-03 07:49:23 +0100 |
| commit | 84b2aa5a624e5c7506873d2edf27195cd929fa30 (patch) | |
| tree | ee53842caa93bb97bc7e539d89227535c2d1c62d /bin/tests/test_string.cpp | |
| parent | 259bd73caed445b7d36caa31743cd049d6204e98 (diff) | |
| parent | 746a2996c90238fdddfbd282adfa7e5c937b7c9b (diff) | |
| download | godot-84b2aa5a624e5c7506873d2edf27195cd929fa30.tar.gz godot-84b2aa5a624e5c7506873d2edf27195cd929fa30.tar.zst godot-84b2aa5a624e5c7506873d2edf27195cd929fa30.zip | |
Merge pull request #3558 from akien-mga/pr-regex-test
Fix return value of regexp string test
Diffstat (limited to 'bin/tests/test_string.cpp')
| -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 60ef1da54..27707b1a0 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 { |
