summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dbtests/querytests.cpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/dbtests/querytests.cpp b/dbtests/querytests.cpp
index 0b062db3c48..d4ef7e8d7ca 100644
--- a/dbtests/querytests.cpp
+++ b/dbtests/querytests.cpp
@@ -668,28 +668,6 @@ namespace QueryTests {
}
};
- class SymbolStringSame : public ClientBase {
- public:
- ~SymbolStringSame(){
- client().dropCollection( ns() );
- }
- const char * ns(){
- return "unittests.querytests.symbolstringsame";
- }
- void run(){
- { BSONObjBuilder b; b.appendSymbol( "x" , "eliot" ); b.append( "z" , 17 ); client().insert( ns() , b.obj() ); }
- ASSERT_EQUALS( 17 , client().findOne( ns() , BSONObj() )["z"].number() );
- {
- BSONObjBuilder b;
- b.appendSymbol( "x" , "eliot" );
- ASSERT_EQUALS( 17 , client().findOne( ns() , b.obj() )["z"].number() );
- }
- ASSERT_EQUALS( 17 , client().findOne( ns() , BSON( "x" << "eliot" ) )["z"].number() );
- client().ensureIndex( ns() , BSON( "x" << 1 ) );
- ASSERT_EQUALS( 17 , client().findOne( ns() , BSON( "x" << "eliot" ) )["z"].number() );
- }
- };
-
class TailableCappedRaceCondition : public ClientBase {
public:
@@ -781,7 +759,6 @@ namespace QueryTests {
add< FastCountIn >();
add< EmbeddedArray >();
add< DifferentNumbers >();
- add< SymbolStringSame >();
add< TailableCappedRaceCondition >();
}
};