diff options
Diffstat (limited to 'jstests/tool/exportimport3.js')
-rw-r--r-- | jstests/tool/exportimport3.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/jstests/tool/exportimport3.js b/jstests/tool/exportimport3.js index f18ba6cbd4b..686ff467a6f 100644 --- a/jstests/tool/exportimport3.js +++ b/jstests/tool/exportimport3.js @@ -4,11 +4,11 @@ t = new ToolTest( "exportimport3" ); c = t.startDB( "foo" ); assert.eq( 0 , c.count() , "setup1" ); -c.save({a:1}) -c.save({a:2}) -c.save({a:3}) -c.save({a:4}) -c.save({a:5}) +c.save({a:1}); +c.save({a:2}); +c.save({a:3}); +c.save({a:4}); +c.save({a:5}); assert.eq( 5 , c.count() , "setup2" ); @@ -16,7 +16,7 @@ assert.eq( 5 , c.count() , "setup2" ); t.runTool( "export" , "--jsonArray" , "--out" , t.extFile , "-d" , t.baseName , "-c" , "foo" ); c.drop(); -assert.eq( 0 , c.count() , "after drop" , "-d" , t.baseName , "-c" , "foo" );; +assert.eq( 0 , c.count() , "after drop" , "-d" , t.baseName , "-c" , "foo" ); t.runTool( "import" , "--jsonArray" , "--file" , t.extFile , "-d" , t.baseName , "-c" , "foo" ); |