Skip to content

Commit

Permalink
处理单测报错
Browse files Browse the repository at this point in the history
  • Loading branch information
FuDongHai committed Nov 20, 2024
1 parent ef9c744 commit 97164bc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public void testPasswordValidate() {
assertThrows(EMInvalidArgumentException.class, () -> EMUser.validatePassword(null)); // null
assertThrows(EMInvalidArgumentException.class, () -> EMUser.validatePassword("")); // empty
assertThrows(EMInvalidArgumentException.class, () -> EMUser
.validatePassword("000000000000000000000000000000000")); // too long, 32 bytes max
.validatePassword("000000000000000000000000000000000000000000000000000000000000000000")); // too long, 64 bytes max
assertThrows(EMInvalidArgumentException.class,
() -> EMUser.validatePassword("\r\n")); // invalid character
assertThrows(EMInvalidArgumentException.class,
Expand Down

0 comments on commit 97164bc

Please sign in to comment.