File tree Expand file tree Collapse file tree 12 files changed +72
-68
lines changed
Expand file tree Collapse file tree 12 files changed +72
-68
lines changed Original file line number Diff line number Diff line change 3333 "description" : " objects are deep compared" ,
3434 "data" : {"foo" : false },
3535 "valid" : false
36+ },
37+ {
38+ "description" : " valid object matches" ,
39+ "data" : {"foo" : 12 },
40+ "valid" : true
41+ },
42+ {
43+ "description" : " extra properties in object is invalid" ,
44+ "data" : {"foo" : 12 , "boo" : 42 },
45+ "valid" : false
3646 }
3747 ]
3848 },
Original file line number Diff line number Diff line change 11[
2- {
3- "description" : " ECMA 262 regex non-compliance" ,
4- "schema" : { "format" : " regex" },
5- "tests" : [
6- {
7- "description" : " ECMA 262 has no support for \\ Z anchor from .NET" ,
8- "data" : " ^\\ S(|(.|\\ n)*\\ S)\\ Z" ,
9- "valid" : false
10- }
11- ]
12- },
132 {
143 "description" : " ECMA 262 regex $ does not match trailing newline" ,
154 "schema" : {
Original file line number Diff line number Diff line change 7575 {
7676 "description" : " escaped pointer ref" ,
7777 "schema" : {
78- "tilde~field" : {"type" : " integer" },
79- "slash/field" : {"type" : " integer" },
80- "percent%field" : {"type" : " integer" },
78+ "definitions" : {
79+ "tilde~field" : {"type" : " integer" },
80+ "slash/field" : {"type" : " integer" },
81+ "percent%field" : {"type" : " integer" }
82+ },
8183 "properties" : {
82- "tilde" : {"$ref" : " #/tilde~0field" },
83- "slash" : {"$ref" : " #/slash~1field" },
84- "percent" : {"$ref" : " #/percent%25field" }
84+ "tilde" : {"$ref" : " #/definitions/ tilde~0field" },
85+ "slash" : {"$ref" : " #/definitions/ slash~1field" },
86+ "percent" : {"$ref" : " #/definitions/ percent%25field" }
8587 }
8688 },
8789 "tests" : [
Original file line number Diff line number Diff line change 3333 "description" : " objects are deep compared" ,
3434 "data" : {"foo" : false },
3535 "valid" : false
36+ },
37+ {
38+ "description" : " valid object matches" ,
39+ "data" : {"foo" : 12 },
40+ "valid" : true
41+ },
42+ {
43+ "description" : " extra properties in object is invalid" ,
44+ "data" : {"foo" : 12 , "boo" : 42 },
45+ "valid" : false
3646 }
3747 ]
3848 },
Original file line number Diff line number Diff line change 11[
2- {
3- "description" : " ECMA 262 regex non-compliance" ,
4- "schema" : { "format" : " regex" },
5- "tests" : [
6- {
7- "description" : " ECMA 262 has no support for \\ Z anchor from .NET" ,
8- "data" : " ^\\ S(|(.|\\ n)*\\ S)\\ Z" ,
9- "valid" : false
10- }
11- ]
12- },
132 {
143 "description" : " ECMA 262 regex $ does not match trailing newline" ,
154 "schema" : {
Original file line number Diff line number Diff line change 7575 {
7676 "description" : " escaped pointer ref" ,
7777 "schema" : {
78- "tilde~field" : {"type" : " integer" },
79- "slash/field" : {"type" : " integer" },
80- "percent%field" : {"type" : " integer" },
78+ "definitions" : {
79+ "tilde~field" : {"type" : " integer" },
80+ "slash/field" : {"type" : " integer" },
81+ "percent%field" : {"type" : " integer" }
82+ },
8183 "properties" : {
82- "tilde" : {"$ref" : " #/tilde~0field" },
83- "slash" : {"$ref" : " #/slash~1field" },
84- "percent" : {"$ref" : " #/percent%25field" }
84+ "tilde" : {"$ref" : " #/definitions/ tilde~0field" },
85+ "slash" : {"$ref" : " #/definitions/ slash~1field" },
86+ "percent" : {"$ref" : " #/definitions/ percent%25field" }
8587 }
8688 },
8789 "tests" : [
Original file line number Diff line number Diff line change 3333 "description" : " objects are deep compared" ,
3434 "data" : {"foo" : false },
3535 "valid" : false
36+ },
37+ {
38+ "description" : " valid object matches" ,
39+ "data" : {"foo" : 12 },
40+ "valid" : true
41+ },
42+ {
43+ "description" : " extra properties in object is invalid" ,
44+ "data" : {"foo" : 12 , "boo" : 42 },
45+ "valid" : false
3646 }
3747 ]
3848 },
Original file line number Diff line number Diff line change 11[
2- {
3- "description" : " ECMA 262 regex non-compliance" ,
4- "schema" : { "format" : " regex" },
5- "tests" : [
6- {
7- "description" : " ECMA 262 has no support for \\ Z anchor from .NET" ,
8- "data" : " ^\\ S(|(.|\\ n)*\\ S)\\ Z" ,
9- "valid" : false
10- }
11- ]
12- },
132 {
143 "description" : " ECMA 262 regex $ does not match trailing newline" ,
154 "schema" : {
Original file line number Diff line number Diff line change 7575 {
7676 "description" : " escaped pointer ref" ,
7777 "schema" : {
78- "tilde~field" : {"type" : " integer" },
79- "slash/field" : {"type" : " integer" },
80- "percent%field" : {"type" : " integer" },
78+ "definitions" : {
79+ "tilde~field" : {"type" : " integer" },
80+ "slash/field" : {"type" : " integer" },
81+ "percent%field" : {"type" : " integer" }
82+ },
8183 "properties" : {
82- "tilde" : {"$ref" : " #/tilde~0field" },
83- "slash" : {"$ref" : " #/slash~1field" },
84- "percent" : {"$ref" : " #/percent%25field" }
84+ "tilde" : {"$ref" : " #/definitions/ tilde~0field" },
85+ "slash" : {"$ref" : " #/definitions/ slash~1field" },
86+ "percent" : {"$ref" : " #/definitions/ percent%25field" }
8587 }
8688 },
8789 "tests" : [
Original file line number Diff line number Diff line change 3333 "description" : " objects are deep compared" ,
3434 "data" : {"foo" : false },
3535 "valid" : false
36+ },
37+ {
38+ "description" : " valid object matches" ,
39+ "data" : {"foo" : 12 },
40+ "valid" : true
41+ },
42+ {
43+ "description" : " extra properties in object is invalid" ,
44+ "data" : {"foo" : 12 , "boo" : 42 },
45+ "valid" : false
3646 }
3747 ]
3848 },
You can’t perform that action at this time.
0 commit comments