File tree 5 files changed +80
-0
lines changed
5 files changed +80
-0
lines changed Original file line number Diff line number Diff line change 49
49
"description" : " pattern is not anchored" ,
50
50
"schema" : {"pattern" : " a+" },
51
51
"tests" : [
52
+ {
53
+ "description" : " doesn't match a substring" ,
54
+ "data" : " xxyy" ,
55
+ "valid" : false
56
+ },
52
57
{
53
58
"description" : " matches a substring" ,
54
59
"data" : " xxaayy" ,
55
60
"valid" : true
56
61
}
57
62
]
63
+ },
64
+ {
65
+ "description" : " pattern is malformed" ,
66
+ "schema" : {"pattern" : " hel{1," },
67
+ "tests" : [
68
+ {
69
+ "description" : " invalid regex does not match" ,
70
+ "data" : " hello" ,
71
+ "valid" : false
72
+ }
73
+ ]
58
74
}
59
75
]
Original file line number Diff line number Diff line change 49
49
"description" : " pattern is not anchored" ,
50
50
"schema" : {"pattern" : " a+" },
51
51
"tests" : [
52
+ {
53
+ "description" : " doesn't match a substring" ,
54
+ "data" : " xxyy" ,
55
+ "valid" : false
56
+ },
52
57
{
53
58
"description" : " matches a substring" ,
54
59
"data" : " xxaayy" ,
55
60
"valid" : true
56
61
}
57
62
]
63
+ },
64
+ {
65
+ "description" : " pattern is malformed" ,
66
+ "schema" : {"pattern" : " hel{1," },
67
+ "tests" : [
68
+ {
69
+ "description" : " invalid regex does not match" ,
70
+ "data" : " hello" ,
71
+ "valid" : false
72
+ }
73
+ ]
58
74
}
59
75
]
Original file line number Diff line number Diff line change 49
49
"description" : " pattern is not anchored" ,
50
50
"schema" : {"pattern" : " a+" },
51
51
"tests" : [
52
+ {
53
+ "description" : " doesn't match a substring" ,
54
+ "data" : " xxyy" ,
55
+ "valid" : false
56
+ },
52
57
{
53
58
"description" : " matches a substring" ,
54
59
"data" : " xxaayy" ,
55
60
"valid" : true
56
61
}
57
62
]
63
+ },
64
+ {
65
+ "description" : " pattern is malformed" ,
66
+ "schema" : {"pattern" : " hel{1," },
67
+ "tests" : [
68
+ {
69
+ "description" : " invalid regex does not match" ,
70
+ "data" : " hello" ,
71
+ "valid" : false
72
+ }
73
+ ]
58
74
}
59
75
]
Original file line number Diff line number Diff line change 49
49
"description" : " pattern is not anchored" ,
50
50
"schema" : {"pattern" : " a+" },
51
51
"tests" : [
52
+ {
53
+ "description" : " doesn't match a substring" ,
54
+ "data" : " xxyy" ,
55
+ "valid" : false
56
+ },
52
57
{
53
58
"description" : " matches a substring" ,
54
59
"data" : " xxaayy" ,
55
60
"valid" : true
56
61
}
57
62
]
63
+ },
64
+ {
65
+ "description" : " pattern is malformed" ,
66
+ "schema" : {"pattern" : " hel{1," },
67
+ "tests" : [
68
+ {
69
+ "description" : " invalid regex does not match" ,
70
+ "data" : " hello" ,
71
+ "valid" : false
72
+ }
73
+ ]
58
74
}
59
75
]
Original file line number Diff line number Diff line change 49
49
"description" : " pattern is not anchored" ,
50
50
"schema" : {"pattern" : " a+" },
51
51
"tests" : [
52
+ {
53
+ "description" : " doesn't match a substring" ,
54
+ "data" : " xxyy" ,
55
+ "valid" : false
56
+ },
52
57
{
53
58
"description" : " matches a substring" ,
54
59
"data" : " xxaayy" ,
55
60
"valid" : true
56
61
}
57
62
]
63
+ },
64
+ {
65
+ "description" : " pattern is malformed" ,
66
+ "schema" : {"pattern" : " hel{1," },
67
+ "tests" : [
68
+ {
69
+ "description" : " invalid regex does not match" ,
70
+ "data" : " hello" ,
71
+ "valid" : false
72
+ }
73
+ ]
58
74
}
59
75
]
You can’t perform that action at this time.
0 commit comments