summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2010-05-03 11:50:06 -0400
committerEliot Horowitz <eliot@10gen.com>2010-05-03 11:50:06 -0400
commite6f2a36e00999a042d637989c3226f6a0e5a0267 (patch)
tree0476b53dd045f7cfa0f482390698bdf270c0d071
parente57c74e843d619e02ea1bb9e3f7166ca099a0976 (diff)
downloadmongo-e6f2a36e00999a042d637989c3226f6a0e5a0267.tar.gz
fix v8 unit test
-rw-r--r--dbtests/jstests.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/dbtests/jstests.cpp b/dbtests/jstests.cpp
index f2c2c2b4b0e..bb1a886c54a 100644
--- a/dbtests/jstests.cpp
+++ b/dbtests/jstests.cpp
@@ -684,7 +684,8 @@ namespace JSTests {
cout << "ELIOT: " << b.jsonString() << endl;
s->setThis( &b );
- ASSERT( s->invoke( "x=this.x.length;" , BSONObj() ) );
+ // its ok if this is handled by js, just can't create a c++ exception
+ s->invoke( "x=this.x.length;" , BSONObj() );
}
};