diff options
author | Aaron <aaron@10gen.com> | 2011-12-30 09:47:46 -0800 |
---|---|---|
committer | Aaron <aaron@10gen.com> | 2011-12-30 09:48:14 -0800 |
commit | d1d3ba01d73a762694ef0540535ede4d61fcc9c8 (patch) | |
tree | a22c4378d5d3ffdd742f8f4fc51e744857cfd4dd /jstests/js7.js | |
parent | 2e0f749b8418ae7a82aa814715eb6510a0411e93 (diff) | |
download | mongo-d1d3ba01d73a762694ef0540535ede4d61fcc9c8.tar.gz |
rename jni tests to js tests, since we are no longer running a javascript interpreter through java native interface
Diffstat (limited to 'jstests/js7.js')
-rw-r--r-- | jstests/js7.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/jstests/js7.js b/jstests/js7.js new file mode 100644 index 00000000000..2685dce08dc --- /dev/null +++ b/jstests/js7.js @@ -0,0 +1,7 @@ +t = db.jni7; +t.drop(); + +assert.eq( 17 , db.eval( function(){ return args[0]; } , 17 ) ); + +assert.eq( 17 , db.eval( function( foo ){ return foo; } , 17 ) ); + |