@@ -90,7 +90,7 @@ static void test_all(const std::string & lang, std::function<void(const TestCase
90
90
91
91
test ({
92
92
FAILURE,
93
- " invalid type type " ,
93
+ " invalid type" ,
94
94
R"""( {
95
95
"type": 123
96
96
})""" ,
@@ -479,7 +479,7 @@ static void test_all(const std::string & lang, std::function<void(const TestCase
479
479
string ::= "\"" (
480
480
[^"\\] |
481
481
"\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F])
482
- )* "\"" space
482
+ )* "\"" space
483
483
)"""
484
484
});
485
485
@@ -647,16 +647,16 @@ static void test_all(const std::string & lang, std::function<void(const TestCase
647
647
"$ref": "#/definitions/MyType",
648
648
"definitions": {
649
649
"MyType": {
650
- "type": "object",
651
- "properties": {
652
- "a": {
653
- "type": "string"
654
- }
655
- },
656
- "required": [
657
- "a"
658
- ],
659
- "additionalProperties": false
650
+ "type": "object",
651
+ "properties": {
652
+ "a": {
653
+ "type": "string"
654
+ }
655
+ },
656
+ "required": [
657
+ "a"
658
+ ],
659
+ "additionalProperties": false
660
660
}
661
661
}
662
662
})""" ,
@@ -682,10 +682,10 @@ static void test_all(const std::string & lang, std::function<void(const TestCase
682
682
],
683
683
"definitions": {
684
684
"foo": {
685
- "properties": {"a": {"type": "number"}}
685
+ "properties": {"a": {"type": "number"}}
686
686
},
687
687
"bar": {
688
- "properties": {"b": {"type": "number"}}
688
+ "properties": {"b": {"type": "number"}}
689
689
}
690
690
},
691
691
"type": "object"
@@ -719,16 +719,16 @@ static void test_all(const std::string & lang, std::function<void(const TestCase
719
719
],
720
720
"definitions": {
721
721
"foo": {
722
- "properties": {"a": {"type": "number"}}
722
+ "properties": {"a": {"type": "number"}}
723
723
},
724
724
"bar": {
725
- "properties": {"b": {"type": "number"}}
725
+ "properties": {"b": {"type": "number"}}
726
726
},
727
727
"bam": {
728
- "properties": {"c": {"type": "number"}}
728
+ "properties": {"c": {"type": "number"}}
729
729
},
730
730
"baz": {
731
- "properties": {"d": {"type": "number"}}
731
+ "properties": {"d": {"type": "number"}}
732
732
}
733
733
},
734
734
"type": "object"
@@ -756,15 +756,15 @@ static void test_all(const std::string & lang, std::function<void(const TestCase
756
756
"properties": {
757
757
"number": {
758
758
"type": "object",
759
- "properties": {
760
- "root": {
761
- "type": "number"
762
- }
763
- },
764
- "required": [
765
- "root"
766
- ],
767
- "additionalProperties": false
759
+ "properties": {
760
+ "root": {
761
+ "type": "number"
762
+ }
763
+ },
764
+ "required": [
765
+ "root"
766
+ ],
767
+ "additionalProperties": false
768
768
}
769
769
},
770
770
"required": [
0 commit comments