diff options
author | agirbal <antoine@10gen.com> | 2011-07-06 13:27:46 -0700 |
---|---|---|
committer | agirbal <antoine@10gen.com> | 2011-07-06 13:28:41 -0700 |
commit | a057d6d68e7a730bcf4a49dba51d9f617c234f32 (patch) | |
tree | 516db7a16b7d7132723a3521a821ae17bb27a754 /jstests | |
parent | 7b24e34433882d414f587aa7f7c02840e2e56255 (diff) | |
download | mongo-a057d6d68e7a730bcf4a49dba51d9f617c234f32.tar.gz |
SERVER-854: unplugging NumberInt as being automatically created from bson int values, breaks many behaviors
Diffstat (limited to 'jstests')
-rw-r--r-- | jstests/numberint.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/jstests/numberint.js b/jstests/numberint.js index 491a0697cdc..25cf98fde6b 100644 --- a/jstests/numberint.js +++ b/jstests/numberint.js @@ -58,4 +58,6 @@ assert( 5 == NumberInt( 5 ) , "eq" ); assert( 5 < NumberInt( 6 ) , "lt" ); assert( 5 > NumberInt( 4 ) , "lt" ); assert( NumberInt( 1 ) , "to bool a" ); -//assert( ! NumberInt( 0 ) , "to bool b" ); // SERVER-3366 + +// objects are always considered thruthy +//assert( ! NumberInt( 0 ) , "to bool b" ); |