Skip to content

Commit dc649ad

Browse files
committed
Fix
1 parent a76c275 commit dc649ad

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ public void testDecryption() {
3232
String encryptedText = ColumnarTranspositionCipher.encrpyter(plaintext, keyword);
3333
String decryptedText = ColumnarTranspositionCipher.decrypter();
3434

35-
assertEquals(plaintext.replaceAll(" ", ""), decryptedText.replaceAll(" ", ""),
36-
"The decrypted text should match the original plaintext, ignoring spaces.");
35+
assertEquals(plaintext.replaceAll(" ", ""), decryptedText.replaceAll(" ", ""), "The decrypted text should match the original plaintext, ignoring spaces.");
3736
}
3837

3938
@Test
@@ -42,7 +41,6 @@ public void testLongPlainText() {
4241
String encryptedText = ColumnarTranspositionCipher.encrpyter(longText, keyword);
4342
String decryptedText = ColumnarTranspositionCipher.decrypter();
4443

45-
assertEquals(longText.replaceAll(" ", ""), decryptedText.replaceAll(" ", ""),
46-
"The decrypted text should match the original long plaintext, ignoring spaces.");
44+
assertEquals(longText.replaceAll(" ", ""), decryptedText.replaceAll(" ", ""), "The decrypted text should match the original long plaintext, ignoring spaces.");
4745
}
4846
}

0 commit comments

Comments
 (0)