Moved test jstest/[a-i].js -> jstests/core/ and made changes to comply with write command api
4 lines
108 B
JavaScript
4 lines
108 B
JavaScript
|
|
assert.eq( 6 , db.eval( "5 + 1" ) , "A" )
|
|
assert.throws( function(z){ db.eval( "5 + function x; + 1" )} );
|