diff options
Diffstat (limited to 'jstests/core/error5.js')
-rw-r--r-- | jstests/core/error5.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jstests/core/error5.js b/jstests/core/error5.js index 5884d20d8c1..4a58f0dcf7a 100644 --- a/jstests/core/error5.js +++ b/jstests/core/error5.js @@ -1,8 +1,8 @@ -t = db.error5 +t = db.error5; t.drop(); -assert.throws( function(){ t.save( 4 ); printjson( t.findOne() ) } , null , "A" ); -t.save( { a : 1 } ) +assert.throws( function(){ t.save( 4 ); printjson( t.findOne() ); } , null , "A" ); +t.save( { a : 1 } ); assert.eq( 1 , t.count() , "B" ); |