summaryrefslogtreecommitdiff
path: root/jstests/regex2.js
diff options
context:
space:
mode:
authordwight <dwight@Dwights-MacBook-2.local>2009-08-17 16:48:17 -0400
committerdwight <dwight@Dwights-MacBook-2.local>2009-08-17 16:48:17 -0400
commit1a700c121e2cf9080e4cbbd6f720da80915a5d40 (patch)
treec6a5651dd24d13856fc8e1516a9bd7b9a7e53f18 /jstests/regex2.js
parenta6cd2c479430f044bd05bb4dffc11f2be9a400a0 (diff)
downloadmongo-1a700c121e2cf9080e4cbbd6f720da80915a5d40.tar.gz
better error msg on unit test
Diffstat (limited to 'jstests/regex2.js')
-rw-r--r--jstests/regex2.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/regex2.js b/jstests/regex2.js
index ebee19c82e1..9e69a5ab9d1 100644
--- a/jstests/regex2.js
+++ b/jstests/regex2.js
@@ -31,7 +31,7 @@ assert.eq( 1 , t.find( { a : a } ).count() , "C B" );
assert.eq( 1 , t.find( { a : b } ).count() , "C C" );
assert.eq( 1 , t.find( { a : new RegExp( a ) } ).count() , "C D" );
assert.eq( 1 , t.find( { a : new RegExp( b ) } ).count() , "C E" );
-assert.eq( 2 , t.find( { a : new RegExp( a , "i" ) } ).count() , "C F" );
+assert.eq( 2 , t.find( { a : new RegExp( a , "i" ) } ).count() , "C F is spidermonkey built with UTF-8 support?" );