Skip to content

Commit 4ac8e84

Browse files
committed
Fixed broken test from last commit
1 parent ae7d3df commit 4ac8e84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/com/mongodb/DBObjectTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public void testInnerDot() {
146146
_colTest.save(dbObject);
147147
}
148148
catch (IllegalArgumentException e) {
149-
if (e.getMessage().startsWith("fields stored in the db can't have . in them")) {
149+
if (e.getMessage().startsWith("Document field names can't have a . in them. (Bad Key: 'test.member.name')")) {
150150
thrown = true;
151151
}
152152
}

0 commit comments

Comments
 (0)