summaryrefslogtreecommitdiff
path: root/dbtests/jstests.cpp
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2009-04-24 21:27:25 -0400
committerEliot Horowitz <eliot@10gen.com>2009-04-24 21:27:25 -0400
commit38aac595899ac09d1334047cd7265ae54d46f27b (patch)
tree7ec9ce204bfda38f178877645d68cf97227f9c24 /dbtests/jstests.cpp
parent3856fb69b6d457b18935d62ad38cf5d3984fae61 (diff)
downloadmongo-38aac595899ac09d1334047cd7265ae54d46f27b.tar.gz
another test fix MINOR
Diffstat (limited to 'dbtests/jstests.cpp')
-rw-r--r--dbtests/jstests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbtests/jstests.cpp b/dbtests/jstests.cpp
index d13adea96b8..e714df35276 100644
--- a/dbtests/jstests.cpp
+++ b/dbtests/jstests.cpp
@@ -109,7 +109,7 @@ namespace JSTests {
BSONObj o = BSON( "x" << 17 );
s->setObject( "blah" , o );
- s->invoke( "return z = blah.x;" , BSONObj() );
+ s->invoke( "return blah.x;" , BSONObj() );
assert( 17 == s->getNumber( "return" ) );
delete s;