Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

SERVER-1159 forgot test

  • Loading branch information...
commit c6a3e6caf2c3a086e282c8b94c330dd8d42e20fb 1 parent 74b3619
@astaple astaple authored
Showing with 17 additions and 0 deletions.
  1. +13 −0 jstests/in6.js
  2. +4 −0 mongo.xcodeproj/project.pbxproj
View
13 jstests/in6.js
@@ -0,0 +1,13 @@
+t = db.jstests_in6;
+t.drop();
+
+t.save( {} );
+
+function doTest() {
+ assert.eq.automsg( "1", "t.count( {i:null} )" );
+ assert.eq.automsg( "1", "t.count( {i:{$in:[null]}} )" );
+}
+
+doTest();
+t.ensureIndex( {i:1} );
+doTest();
View
4 mongo.xcodeproj/project.pbxproj
@@ -546,6 +546,8 @@
93C38E940FA66622007D6E4A /* basictests.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = basictests.cpp; sourceTree = "<group>"; };
93C529C511D047CF00CF42F7 /* repair2.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; name = repair2.js; path = disk/repair2.js; sourceTree = "<group>"; };
93C5BA5111E4FBA400F9671C /* index_check9.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = index_check9.js; sourceTree = "<group>"; };
+ 93C5BC7911E5AE8700F9671C /* in6.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = in6.js; sourceTree = "<group>"; };
+ 93C5BC9E11E5B7FE00F9671C /* group6.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = group6.js; sourceTree = "<group>"; };
93C8E6FE11457D9000F28017 /* master1.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = master1.js; sourceTree = "<group>"; };
93C8E81C1145BCCA00F28017 /* regex7.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = regex7.js; sourceTree = "<group>"; };
93C8E9DF1146D39700F28017 /* arrayfind2.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = arrayfind2.js; sourceTree = "<group>"; };
@@ -828,6 +830,8 @@
934BEB9A10DFFA9600178102 /* jstests */ = {
isa = PBXGroup;
children = (
+ 93C5BC9E11E5B7FE00F9671C /* group6.js */,
+ 93C5BC7911E5AE8700F9671C /* in6.js */,
93C5BA5111E4FBA400F9671C /* index_check9.js */,
938A74BF11D17ECE005265E1 /* numberlong.js */,
938A748A11D140EC005265E1 /* in4.js */,
Please sign in to comment.
Something went wrong with that request. Please try again.