Skip to content

Commit 7a51641

Browse files
authored
PHPC-1961: Sync BSON corpus tests for top.json decodeErrors fixes (#1257)
Synced with mongodb/specifications@5fad277
1 parent e2ba410 commit 7a51641

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/bson-corpus/top-parseError-003.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ DO NOT EDIT THIS FILE
1010
require_once __DIR__ . '/../utils/basic.inc';
1111

1212
throws(function() {
13-
fromJSON('{"x" : {"$regularExpression" : { "pattern": 42, "$options" : ""}}}');
13+
fromJSON('{"x" : {"$regularExpression" : { "pattern": 42, "options" : ""}}}');
1414
}, 'MongoDB\Driver\Exception\UnexpectedValueException');
1515

1616
?>

tests/bson-corpus/top-parseError-004.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ DO NOT EDIT THIS FILE
1010
require_once __DIR__ . '/../utils/basic.inc';
1111

1212
throws(function() {
13-
fromJSON('{"x" : {"$regularExpression" : { "pattern": "a", "$options" : 0}}}');
13+
fromJSON('{"x" : {"$regularExpression" : { "pattern": "a", "options" : 0}}}');
1414
}, 'MongoDB\Driver\Exception\UnexpectedValueException');
1515

1616
?>

0 commit comments

Comments
 (0)