diff options
Diffstat (limited to 'jstests/core/string_with_nul_bytes.js')
-rw-r--r-- | jstests/core/string_with_nul_bytes.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/core/string_with_nul_bytes.js b/jstests/core/string_with_nul_bytes.js index a1f6e395dd2..e72cc0b6dc1 100644 --- a/jstests/core/string_with_nul_bytes.js +++ b/jstests/core/string_with_nul_bytes.js @@ -4,6 +4,6 @@ t = db.string_with_nul_bytes.js; t.drop(); string = "string with a NUL (\0) byte"; -t.insert({str:string}); +t.insert({str: string}); assert.eq(t.findOne().str, string); -assert.eq(t.findOne().str.length, string.length); // just to be sure +assert.eq(t.findOne().str.length, string.length); // just to be sure |