test/java/time/tck/java/time/TCKClock_System.java

Print this page

        

*** 195,207 **** Clock c = Clock.system(PARIS); assertEquals(a.hashCode() == c.hashCode(), false); } - //----------------------------------------------------------------------- - public void test_toString() { - // spec requires "full state" in toString() - Clock test = Clock.system(PARIS); - assertEquals(test.toString().contains("Europe/Paris"), true); - } - } --- 195,200 ----