summaryrefslogtreecommitdiff
path: root/jstests/core/js7.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/js7.js')
-rw-r--r--jstests/core/js7.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/jstests/core/js7.js b/jstests/core/js7.js
index d12e207379e..aeaec66ff47 100644
--- a/jstests/core/js7.js
+++ b/jstests/core/js7.js
@@ -1,5 +1,7 @@
t = db.jstests_js7;
t.drop();
-assert.eq( 17 , db.eval( function( foo ){ return foo; } , 17 ) );
-
+assert.eq(17,
+ db.eval(function(foo) {
+ return foo;
+ }, 17));