diff options
Diffstat (limited to 'jstests/evalb.js')
-rw-r--r-- | jstests/evalb.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/evalb.js b/jstests/evalb.js index 177930c..ea80331 100644 --- a/jstests/evalb.js +++ b/jstests/evalb.js @@ -11,7 +11,7 @@ db.setProfilingLevel( 2 ); assert.eq( 3, db.eval( function(){ return db.evalb.findOne().x; } ) , "B" ); o = db.system.profile.find().sort( { $natural : -1 } ).limit(1).next(); -assert( o.info.indexOf( "findOne().x" ) > 0 , "C : " + tojson( o ) ) +assert( tojson(o).indexOf( "findOne().x" ) > 0 , "C : " + tojson( o ) ) db.setProfilingLevel( 0 ); |