Skip to content

Commit e9e5182

Browse files
committed
fix test bad output
Signed-off-by: George Lemon <[email protected]>
1 parent 2a66186 commit e9e5182

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test1.nim

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ postal:
4242
- "5"
4343
- "10"
4444
"""
45-
let unquotedExampleJSON = """{"postal":{"description":"US : NNNNN[-NNNN]","redenundant_chars":"-","regex":"^0-95(0-94)?$","charset":"number","length":["5","10"]}}"""
45+
let unquotedExampleJSON = """{"postal":{"description":"US : NNNNN[-NNNN]","redenundant_chars":"-","regex":"^[0-9]{5}([0-9]{4})?$","charset":"number","length":["5","10"]}}"""
4646
check $yaml(unquotedExample) == unquotedExampleJSON
4747

4848
test "can handle variables":

0 commit comments

Comments
 (0)