Merge branch 'master' of https://github.com/eugenp/tutorials
This commit is contained in:
commit
fdaf13c813
@ -31,7 +31,7 @@ public class CharSequenceVsStringUnitTest {
|
|||||||
test += "b";
|
test += "b";
|
||||||
int secondAddressOfTest = System.identityHashCode(test);
|
int secondAddressOfTest = System.identityHashCode(test);
|
||||||
|
|
||||||
assertEquals(firstAddressOfTest, secondAddressOfTest);
|
assertNotEquals(firstAddressOfTest, secondAddressOfTest);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user