@@ -618,13 +618,13 @@ void testEmptyString(String text) throws IOException {
618618 .parse (text ),
619619 text );
620620 }
621-
621+
622622 @ ParameterizedTest
623623 @ NullSource
624624 @ EnumSource (names = "AQF" )
625- @ DisplayName ("testLiteral1 : 1e+1" )
626- void testLiteral1 (JsonUrlOption option ) throws IOException {
627- final String desc = "1e%2B1 " ;
625+ @ DisplayName ("testNumberLikeLiteral : 1e+1" )
626+ void testNumberLikeLiteral (JsonUrlOption option ) throws IOException {
627+ final String desc = "1e+1 " ;
628628
629629 // parse("1e+1") -> number(10)
630630 assertEquals (
@@ -634,7 +634,7 @@ void testLiteral1(JsonUrlOption option) throws IOException {
634634
635635 // stringify("1e 1") -> string("1e+1")
636636 assertEquals (
637- " 1e+1" ,
637+ option == null ? "'1e+1'" : "! 1e+1" ,
638638 new JsonUrlStringBuilder (
639639 newOptions (option )).add ("1e 1" ).build (),
640640 desc );
@@ -652,8 +652,8 @@ void testLiteral1(JsonUrlOption option) throws IOException {
652652 @ ParameterizedTest
653653 @ NullSource
654654 @ EnumSource (names = "AQF" )
655- @ DisplayName ("testLiteral2 : 1e%2B1" )
656- void testLiteral2 (JsonUrlOption option ) throws IOException {
655+ @ DisplayName ("testNumberLikeStringLiteral : 1e%2B1" )
656+ void testNumberLikeStringLiteral (JsonUrlOption option ) throws IOException {
657657 final String desc = "1e%2B1" ;
658658
659659 if (option == JsonUrlOption .AQF ) {
0 commit comments