diff options
author | Jonathan Abrahams <jonathan@mongodb.com> | 2016-03-09 12:17:50 -0500 |
---|---|---|
committer | Jonathan Abrahams <jonathan@mongodb.com> | 2016-03-09 12:18:14 -0500 |
commit | 4ae691e8edc87d0e3cfb633bb91c328426be007b (patch) | |
tree | 52079a593f54382ca13a2e741633eab1b6271893 /jstests/tool/exportimport6.js | |
parent | a025d43f3ce2efc1fb1282a718f5d286fa0a4dc1 (diff) | |
download | mongo-4ae691e8edc87d0e3cfb633bb91c328426be007b.tar.gz |
SERVER-22468 Format JS code with approved style in jstests/
Diffstat (limited to 'jstests/tool/exportimport6.js')
-rw-r--r-- | jstests/tool/exportimport6.js | 27 |
1 files changed, 19 insertions, 8 deletions
diff --git a/jstests/tool/exportimport6.js b/jstests/tool/exportimport6.js index 0924638e628..71d89baf01c 100644 --- a/jstests/tool/exportimport6.js +++ b/jstests/tool/exportimport6.js @@ -5,17 +5,28 @@ t = new ToolTest("exportimport6"); c = t.startDB("foo"); assert.eq(0, c.count(), "setup1"); -c.save({a:1, b:1}); -c.save({a:1, b:2}); -c.save({a:2, b:3}); -c.save({a:2, b:3}); -c.save({a:3, b:4}); -c.save({a:3, b:5}); +c.save({a: 1, b: 1}); +c.save({a: 1, b: 2}); +c.save({a: 2, b: 3}); +c.save({a: 2, b: 3}); +c.save({a: 3, b: 4}); +c.save({a: 3, b: 5}); assert.eq(6, c.count(), "setup2"); -t.runTool("export", "--out", t.extFile, "-d", t.baseName, "-c", "foo", - "--sort", "{a:1, b:-1}", "--skip", "4", "--limit", "1"); +t.runTool("export", + "--out", + t.extFile, + "-d", + t.baseName, + "-c", + "foo", + "--sort", + "{a:1, b:-1}", + "--skip", + "4", + "--limit", + "1"); c.drop(); assert.eq(0, c.count(), "after drop", "-d", t.baseName, "-c", "foo"); |