Skip to content

Commit b7da24f

Browse files
committed
Kill more shoulds from ECMA and ref tests.
1 parent 85899fd commit b7da24f

File tree

11 files changed

+22
-22
lines changed

11 files changed

+22
-22
lines changed

tests/draft-next/optional/ecmascript-regex.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
},
88
"tests": [
99
{
10-
"description": "matches in Python, but should not in jsonschema",
10+
"description": "matches in Python, but not in ECMA 262",
1111
"data": "abc\\n",
1212
"valid": false
1313
},
1414
{
15-
"description": "should match",
15+
"description": "matches",
1616
"data": "abc",
1717
"valid": true
1818
}

tests/draft-next/ref.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -567,12 +567,12 @@
567567
},
568568
"tests": [
569569
{
570-
"description": "number should pass",
570+
"description": "number is valid",
571571
"data": 1,
572572
"valid": true
573573
},
574574
{
575-
"description": "non-number should fail",
575+
"description": "non-number is invalid",
576576
"data": "a",
577577
"valid": false
578578
}

tests/draft2019-09/optional/ecmascript-regex.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
},
88
"tests": [
99
{
10-
"description": "matches in Python, but should not in jsonschema",
10+
"description": "matches in Python, but not in ECMA 262",
1111
"data": "abc\\n",
1212
"valid": false
1313
},
1414
{
15-
"description": "should match",
15+
"description": "matches",
1616
"data": "abc",
1717
"valid": true
1818
}

tests/draft2019-09/ref.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -567,12 +567,12 @@
567567
},
568568
"tests": [
569569
{
570-
"description": "number should pass",
570+
"description": "number is valid",
571571
"data": 1,
572572
"valid": true
573573
},
574574
{
575-
"description": "non-number should fail",
575+
"description": "non-number is invalid",
576576
"data": "a",
577577
"valid": false
578578
}

tests/draft2020-12/optional/ecmascript-regex.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
},
88
"tests": [
99
{
10-
"description": "matches in Python, but should not in jsonschema",
10+
"description": "matches in Python, but not in ECMA 262",
1111
"data": "abc\\n",
1212
"valid": false
1313
},
1414
{
15-
"description": "should match",
15+
"description": "matches",
1616
"data": "abc",
1717
"valid": true
1818
}

tests/draft2020-12/ref.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -567,12 +567,12 @@
567567
},
568568
"tests": [
569569
{
570-
"description": "number should pass",
570+
"description": "number is valid",
571571
"data": 1,
572572
"valid": true
573573
},
574574
{
575-
"description": "non-number should fail",
575+
"description": "non-number is invalid",
576576
"data": "a",
577577
"valid": false
578578
}

tests/draft4/optional/ecmascript-regex.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
},
88
"tests": [
99
{
10-
"description": "matches in Python, but should not in jsonschema",
10+
"description": "matches in Python, but not in ECMA 262",
1111
"data": "abc\\n",
1212
"valid": false
1313
},
1414
{
15-
"description": "should match",
15+
"description": "matches",
1616
"data": "abc",
1717
"valid": true
1818
}

tests/draft4/ref.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -493,12 +493,12 @@
493493
},
494494
"tests": [
495495
{
496-
"description": "number should pass",
496+
"description": "number is valid",
497497
"data": 1,
498498
"valid": true
499499
},
500500
{
501-
"description": "non-number should fail",
501+
"description": "non-number is invalid",
502502
"data": "a",
503503
"valid": false
504504
}

tests/draft6/optional/ecmascript-regex.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
},
88
"tests": [
99
{
10-
"description": "matches in Python, but should not in jsonschema",
10+
"description": "matches in Python, but not in ECMA 262",
1111
"data": "abc\\n",
1212
"valid": false
1313
},
1414
{
15-
"description": "should match",
15+
"description": "matches",
1616
"data": "abc",
1717
"valid": true
1818
}

tests/draft7/optional/ecmascript-regex.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
},
88
"tests": [
99
{
10-
"description": "matches in Python, but should not in jsonschema",
10+
"description": "matches in Python, but not in ECMA 262",
1111
"data": "abc\\n",
1212
"valid": false
1313
},
1414
{
15-
"description": "should match",
15+
"description": "matches",
1616
"data": "abc",
1717
"valid": true
1818
}

0 commit comments

Comments
 (0)