Skip to content

Commit 97a81af

Browse files
committed
Fix
1 parent db950c5 commit 97a81af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/thealgorithms/ciphers/AffineCipherTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public void testEncryptDecrypt() {
3131
public void testSpacesHandledInEncryption() {
3232
String plaintext = "HELLO WORLD";
3333
char[] msg = plaintext.toCharArray();
34-
String expectedCiphertext = "JKZZY EYXZT"; // Expected ciphertext with spaces retained
34+
String expectedCiphertext = "JKZZY EYXZT";
3535

3636
String actualCiphertext = AffineCipher.encryptMessage(msg);
3737
assertEquals(expectedCiphertext, actualCiphertext, "The encryption should handle spaces correctly.");

0 commit comments

Comments
 (0)