Skip to content
Browse files

fix v8 unit test

  • Loading branch information...
1 parent e57c74e commit e6f2a36e00999a042d637989c3226f6a0e5a0267 @erh erh committed May 3, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 dbtests/jstests.cpp
View
3 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() );
}
};

0 comments on commit e6f2a36

Please sign in to comment.
Something went wrong with that request. Please try again.