Skip to content

Commit e353cb9

Browse files
committed
GODRIVER-2139 Fix invalid field name in regex parse error test. (#1335)
1 parent 6c34749 commit e353cb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testdata/bson-corpus/top.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,11 @@
9696
},
9797
{
9898
"description": "Bad $regularExpression (pattern is number, not string)",
99-
"string": "{\"x\" : {\"$regularExpression\" : { \"pattern\": 42, \"$options\" : \"\"}}}"
99+
"string": "{\"x\" : {\"$regularExpression\" : { \"pattern\": 42, \"options\" : \"\"}}}"
100100
},
101101
{
102102
"description": "Bad $regularExpression (options are number, not string)",
103-
"string": "{\"x\" : {\"$regularExpression\" : { \"pattern\": \"a\", \"$options\" : 0}}}"
103+
"string": "{\"x\" : {\"$regularExpression\" : { \"pattern\": \"a\", \"options\" : 0}}}"
104104
},
105105
{
106106
"description" : "Bad $regularExpression (missing pattern field)",

0 commit comments

Comments
 (0)