0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

add not test case

This commit is contained in:
Aaron 2010-04-12 17:48:15 -07:00
parent 6d21546c9d
commit 43f94b1218

View File

@ -27,6 +27,7 @@ t.save( {i:"a"} );
t.save( {i:"b"} );
fail( {i:{$not:"a"}} );
fail( {i:{$not:{$not:"a"}}} );
fail( {i:{$not:{$not:{$gt:"a"}}}} );
fail( {i:{$not:{$ref:"foo"}}} );
fail( {i:{$not:{}}} );