@@ -345,19 +345,19 @@ assert.throws(TypeError, () => dateFormatterMedium.format(time), "plain time, da
345345assert . throws ( TypeError , ( ) => dateFormatterLong . format ( time ) , "plain time, dateStyle=long" ) ;
346346
347347const timeResultShort = timeFormatterShort . format ( time ) ;
348- // assert.sameValue(timeResultShort, "12:34 AM", "plain time, dateStyle =short");
349- assert . notSameValue ( timeResultShort . search ( "12" ) , - 1 , "plainTime, dateStyle =short: hour should appear" ) ;
350- assert . sameValue ( timeResultShort . search ( "56" ) , - 1 , "plainTime, dateStyle =short: seconds should not appear" ) ;
348+ // assert.sameValue(timeResultShort, "12:34 AM", "plain time, timeStyle =short");
349+ assert . notSameValue ( timeResultShort . search ( "12" ) , - 1 , "plainTime, timeStyle =short: hour should appear" ) ;
350+ assert . sameValue ( timeResultShort . search ( "56" ) , - 1 , "plainTime, timeStyle =short: seconds should not appear" ) ;
351351
352352const timeResultMedium = timeFormatterMedium . format ( time ) ;
353- // assert.sameValue(timeResultMedium, "12:34:56 AM", "plain time, dateStyle =medium");
354- assert . notSameValue ( timeResultMedium . search ( "56" ) , - 1 , "plainTime, dateStyle =medium: seconds should appear" ) ;
355- assert . sameValue ( timeResultMedium . search ( "777" ) , - 1 , "plainTime, dateStyle =medium: milliseconds should not appear" ) ;
353+ // assert.sameValue(timeResultMedium, "12:34:56 AM", "plain time, timeStyle =medium");
354+ assert . notSameValue ( timeResultMedium . search ( "56" ) , - 1 , "plainTime, timeStyle =medium: seconds should appear" ) ;
355+ assert . sameValue ( timeResultMedium . search ( "777" ) , - 1 , "plainTime, timeStyle =medium: milliseconds should not appear" ) ;
356356
357357const timeResultLong = timeFormatterLong . format ( time ) ;
358- // assert.sameValue(timeResultLong, "12:34:56 AM", "plain time, dateStyle =long");
359- assert . notSameValue ( timeResultMedium . search ( "34" ) , - 1 , "plainTime, dateStyle =long: minutes should appear" ) ;
360- assert . sameValue ( timeResultMedium . search ( "888" ) , - 1 , "plainTime, dateStyle =long: microseconds should not appear" ) ;
358+ // assert.sameValue(timeResultLong, "12:34:56 AM", "plain time, timeStyle =long");
359+ assert . notSameValue ( timeResultMedium . search ( "34" ) , - 1 , "plainTime, timeStyle =long: minutes should appear" ) ;
360+ assert . sameValue ( timeResultMedium . search ( "888" ) , - 1 , "plainTime, timeStyle =long: microseconds should not appear" ) ;
361361
362362var timeResult = dateTimeFormatterShort . format ( time ) ;
363363assert . sameValue ( timeResult , timeResultShort , "plain time, dateStyle = timeStyle = short" ) ;
0 commit comments