Ver código fonte

Merge pull request #60 from JTMaher2/patch-1

Corrected error in RandonKeyCipherTest.java
Katrina Owen 11 anos atrás
pai
commit
7cf025e608

+ 1
- 1
simple-cipher/src/test/java/RandomKeyCipherTest.java Ver arquivo

@@ -25,7 +25,7 @@ public class RandomKeyCipherTest {
25 25
 
26 26
     @Test
27 27
     public void cipherKeysAreRandomlyGenerated() {
28
-        assertTrue(!(new Cipher().getKey().equals(cipher.getKey().length())));
28
+        assertTrue(!(new Cipher().getKey().equals(cipher.getKey())));
29 29
     }
30 30
 
31 31
     /**