Skip to content

Commit 66c355e

Browse files
committed
restoring one koan to one assertion
1 parent 8efb2b5 commit 66c355e

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

‎koans/src/beginner/AboutAssertions.java‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,8 @@ public void assertSameInstance(){
5151

5252
@Koan()
5353
public void assertNotSameInstance(){
54-
Object same = new Integer(1);
55-
Object sameCopy = __;
56-
assertEquals(same, sameCopy);
57-
assertNotSame(same, sameCopy);
54+
Integer same = new Integer(1);
55+
Integer sameReference = same;
56+
assertNotSame(same, sameReference);
5857
}
5958
}

0 commit comments

Comments
 (0)