File tree Expand file tree Collapse file tree
src/test/java/io/github/vbetsch/codecracker Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -108,10 +108,10 @@ void should_encryptWordHello() {
108108 CodeCracker codeCracker = new CodeCracker ();
109109
110110 // Act
111- String encryptedAB = codeCracker .encryptString ("hello" );
111+ String encryptedHello = codeCracker .encryptString ("hello" );
112112
113113 // Assert
114- assertEquals ("&£aad" , encryptedAB );
114+ assertEquals ("&£aad" , encryptedHello );
115115 }
116116
117117 @ Test
@@ -120,9 +120,9 @@ void should_encryptWordWorld() {
120120 CodeCracker codeCracker = new CodeCracker ();
121121
122122 // Act
123- String encryptedAB = codeCracker .encryptString ("world" );
123+ String encryptedWorld = codeCracker .encryptString ("world" );
124124
125125 // Assert
126- assertEquals ("ldga(" , encryptedAB );
126+ assertEquals ("ldga(" , encryptedWorld );
127127 }
128128}
You can’t perform that action at this time.
0 commit comments