We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7bb040 commit d99cd45Copy full SHA for d99cd45
src/test/com/mongodb/DBCollectionTest.java
@@ -229,7 +229,7 @@ public void testMultiInsertNoContinue() {
229
public void mongodIsVersion20Plus() {
230
String version = (String) _db.command("serverStatus").get("version");
231
System.err.println("Connected to MongoDB Version '" + version + "'");
232
- assertEquals(version.charAt(0), "2");
+ assert(Double.parseDouble(version.substring(0, 3)) >= 2.0);
233
}
234
235
@Test(dependsOnMethods = { "mongodIsVersion20Plus" })
0 commit comments