Skip to content

Commit 7533979

Browse files
eviltestereviltester
authored andcommitted
fixed assertion error messages
a copy and paste error in the assertion error messages picked up by user h34b2
1 parent 530548e commit 7533979

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

source/src/test/java/com/javafortesters/chap004testswithotherclasses/exercises/IntegerExercisesTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ public void canConfirmIntMinAndMaxLimits(){
2020
public void canConvertIntToHex(){
2121
assertEquals("hex 11 is b", "b",
2222
Integer.toHexString(11));
23-
assertEquals("hex 10 is b", "a",
23+
assertEquals("hex 10 is a", "a",
2424
Integer.toHexString(10));
25-
assertEquals("hex 3 is b", "3",
25+
assertEquals("hex 3 is 3", "3",
2626
Integer.toHexString(3));
27-
assertEquals("hex 21 is b", "15",
27+
assertEquals("hex 21 is 15", "15",
2828
Integer.toHexString(21));
2929
}
3030
}

0 commit comments

Comments
 (0)