Skip to content

Commit e2c6a15

Browse files
vivguusdk
authored andcommitted
OF-3453: Describe the verbatim password test without the history
The assertion message said "as before this change", which stops making sense once the change is merged. It now states the rule: a submitted password is saved including leading and trailing spaces.
1 parent 56581ac commit e2c6a15

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎xmppserver/src/test/java/org/jivesoftware/admin/CertificateStorePasswordFieldTest.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public void testSubmissionIsUsedVerbatim()
7777
{
7878
final char[] result = CertificateStorePasswordField.passwordToSave( " spaced ", CURRENT );
7979

80-
assertArrayEquals( " spaced ".toCharArray(), result, "a submitted password must be saved exactly as typed, as before this change" );
80+
assertArrayEquals( " spaced ".toCharArray(), result, "a submitted password must be saved exactly as typed, including leading and trailing spaces" );
8181
}
8282

8383
@Test

0 commit comments

Comments
 (0)