diff options
| author | Rémi Verschelde | 2016-02-02 20:58:00 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2016-02-02 20:58:00 +0100 |
| commit | 746a2996c90238fdddfbd282adfa7e5c937b7c9b (patch) | |
| tree | 76315c6fb3305734a1fd0cb30bf7eca2c629ea02 /bin/tests/test_string.cpp | |
| parent | d2f2eed96316bdb380c2233cb0832bd7747fc21e (diff) | |
| download | godot-746a2996c90238fdddfbd282adfa7e5c937b7c9b.tar.gz godot-746a2996c90238fdddfbd282adfa7e5c937b7c9b.tar.zst godot-746a2996c90238fdddfbd282adfa7e5c937b7c9b.zip | |
Fix return value of regexp string test
Closes #3556
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 { |
