Skip to content

Commit c301b2c

Browse files
[test] xfail #16
1 parent d835069 commit c301b2c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tests/test_examples.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
from hypothesis import given, settings
66
from hypothesis.strategies import integers
7-
from pytest import raises
7+
from pytest import mark, raises
88
from test_hypotheses import json
99

1010
from partial_json_parser import *
@@ -106,6 +106,12 @@ def test_fix():
106106
fix("-")
107107

108108

109+
@mark.xfail(strict=True)
110+
def test_fix_fast():
111+
assert fix_fast('["a", "b', ALL & ~STR) == ('["a"', "]")
112+
assert fix_fast('["a","b', ALL & ~STR) == ('["a"', "]")
113+
114+
109115
def consistent(json_string, allow):
110116
try:
111117
res = fix(json_string, allow)

0 commit comments

Comments
 (0)