mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 17:10:48 +01:00
minor: specify mongo namespace to avoid clash on windows
This commit is contained in:
parent
53e89efce6
commit
a2261b1eb6
@ -652,7 +652,7 @@ namespace JsobjTests {
|
||||
return BSON( "a" << BSON( "$size" << 4 ) );
|
||||
}
|
||||
BSONObj actual() {
|
||||
return BSON( "a" << SIZE << 4 );
|
||||
return BSON( "a" << mongo::SIZE << 4 );
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -471,7 +471,7 @@ namespace QueryTests {
|
||||
const char *ns = "unittests.querytests.Size";
|
||||
client().insert( ns, fromjson( "{a:[1,2,3]}" ) );
|
||||
client().ensureIndex( ns, BSON( "a" << 1 ) );
|
||||
ASSERT( client().query( ns, QUERY( "a" << SIZE << 3 ).hint( BSON( "a" << 1 ) ) )->more() );
|
||||
ASSERT( client().query( ns, QUERY( "a" << mongo::SIZE << 3 ).hint( BSON( "a" << 1 ) ) )->more() );
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user