Skip to content

Commit 9168392

Browse files
committed
Improve comment in bson-toJSON_error-001.phpt
1 parent 246226b commit 9168392

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/bson/bson-toJSON_error-001.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ BSON\toJSON(): BSON decoding exceptions
66
<?php
77
require_once __DIR__ . "/../utils/basic.inc";
88

9-
/* We can't really test for bson_iter_init() failure, since bson_reader_read()
10-
* already checks that the buffer is at least 5 bytes.
9+
/* We can't really test for bson_iter_init() failure within bson_as_json(),
10+
* since bson_reader_read() already checks that the buffer is at least 5 bytes.
1111
*/
1212
$invalidBson = array(
1313
'',

0 commit comments

Comments
 (0)