소스 검색

Fix return value of regexp string test
Closes #3556

Rémi Verschelde 9 년 전
부모
커밋
746a2996c9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      bin/tests/test_string.cpp

+ 1 - 1
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 {