diff options
author | Eliot Horowitz <eliot@10gen.com> | 2010-05-03 11:50:06 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2010-05-03 11:50:06 -0400 |
commit | e6f2a36e00999a042d637989c3226f6a0e5a0267 (patch) | |
tree | 0476b53dd045f7cfa0f482390698bdf270c0d071 /dbtests/jstests.cpp | |
parent | e57c74e843d619e02ea1bb9e3f7166ca099a0976 (diff) | |
download | mongo-e6f2a36e00999a042d637989c3226f6a0e5a0267.tar.gz |
fix v8 unit test
Diffstat (limited to 'dbtests/jstests.cpp')
-rw-r--r-- | dbtests/jstests.cpp | 3 |
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() ); } }; |