Skip to content

Commit 15c1638

Browse files
committed
Update CTS
1 parent 5b61940 commit 15c1638

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

tests/test_compliance.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ class Case:
3434
"basic, no leading whitespace": "flexible whitespace policy",
3535
"basic, no trailing whitespace": "flexible whitespace policy",
3636
"basic, bald descendant segment": "almost has a consensus",
37+
"filter, index segment on object, selects nothing": "flexible selector policy",
38+
"functions, match, dot matcher on \\u2028": "standard library re policy",
39+
"functions, match, dot matcher on \\u2029": "standard library re policy",
40+
"functions, search, dot matcher on \\u2028": "standard library re policy",
41+
"functions, search, dot matcher on \\u2029": "standard library re policy",
3742
"functions, match, filter, match function, unicode char class, uppercase": "\\p not supported", # noqa: E501
3843
"functions, match, filter, match function, unicode char class negated, uppercase": "\\P not supported", # noqa: E501
3944
"functions, search, filter, search function, unicode char class, uppercase": "\\p not supported", # noqa: E501

tests/test_errors.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ class FilterLiteralTestCase(NamedTuple):
4444
query: str
4545

4646

47-
# TODO: add these to the CTS?
4847
BAD_FILTER_LITERAL_TEST_CASES: List[FilterLiteralTestCase] = [
4948
FilterLiteralTestCase("just true", "$[?true]"),
5049
FilterLiteralTestCase("just string", "$[?'foo']"),

0 commit comments

Comments
 (0)