summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/pdfiletests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/dbtests/pdfiletests.cpp')
-rw-r--r--src/mongo/dbtests/pdfiletests.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mongo/dbtests/pdfiletests.cpp b/src/mongo/dbtests/pdfiletests.cpp
index 28f777063ed..97eccd6cb25 100644
--- a/src/mongo/dbtests/pdfiletests.cpp
+++ b/src/mongo/dbtests/pdfiletests.cpp
@@ -106,9 +106,9 @@ namespace PdfileTests {
ASSERT( fixed.firstElement().number() == 1 );
BSONElement a = fixed["a"];
- ASSERT( o["a"].type() == Timestamp );
+ ASSERT( o["a"].type() == bsonTimestamp );
ASSERT( o["a"].timestampValue() == 0 );
- ASSERT( a.type() == Timestamp );
+ ASSERT( a.type() == bsonTimestamp );
ASSERT( a.timestampValue() > 0 );
}
};
@@ -131,15 +131,15 @@ namespace PdfileTests {
ASSERT( fixed.firstElement().number() == 1 );
BSONElement a = fixed["a"];
- ASSERT( o["a"].type() == Timestamp );
+ ASSERT( o["a"].type() == bsonTimestamp );
ASSERT( o["a"].timestampValue() == 0 );
- ASSERT( a.type() == Timestamp );
+ ASSERT( a.type() == bsonTimestamp );
ASSERT( a.timestampValue() > 0 );
BSONElement b = fixed["b"];
- ASSERT( o["b"].type() == Timestamp );
+ ASSERT( o["b"].type() == bsonTimestamp );
ASSERT( o["b"].timestampValue() == 0 );
- ASSERT( b.type() == Timestamp );
+ ASSERT( b.type() == bsonTimestamp );
ASSERT( b.timestampValue() > 0 );
}
};