Browse files

fix test for validate change

  • Loading branch information...
1 parent bf09b1c commit 1e60b2904c7b8af3a2c0adc655e04bb60c2c4364 @erh erh committed Apr 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 jstests/apitest_dbcollection.js
View
2 jstests/apitest_dbcollection.js
@@ -55,7 +55,7 @@ if( v.ns != "test.test_db" ) {
assert (v.ns == "test.test_db",9);
assert (v.ok == 1,10);
-assert(v.result.toString().match(/nrecords\?:(\d+)/)[1] == 100,11);
+assert.eq(100,v.nrecords,11)
/*
* test deleteIndex, deleteIndexes

0 comments on commit 1e60b29

Please sign in to comment.