Skip to content

Commit aef2002

Browse files
author
崔成龙
committed
修改验证码测试类的while判断条件,少写了一个!号,导致判断错误。
1 parent 2fedcda commit aef2002

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/tgb/ccl/http/TestVerifyCode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public static void main(String[] args) throws InterruptedException, HttpProcessE
5252
//开始验证识别的验证码是否正确
5353
result = HttpClientUtil.get(config.url(verifyUrl+"?vc="+code+"&qqid="+qq));
5454

55-
} while (result.contains("succeed"));
55+
} while (!result.contains("succeed"));
5656

5757
System.out.println("识别验证码成功!反馈信息如下:\n" + result);
5858
}

0 commit comments

Comments
 (0)