@@ -13,7 +13,7 @@ class DocumentIncludesSuite extends FunSuite with DocumentIncludes {
1313 val map = Map (" key" -> " value" )
1414 val bson = mapToBson(map)
1515 assert(bson.isInstanceOf [Document ])
16- assertEquals(bson.toBsonDocument.toJson(), " {\" key\" :\" value\" }" )
16+ assertEquals(bson.toBsonDocument.toJson(), " {\" key\" : \" value\" }" )
1717 assertEquals(bson.asInstanceOf [Document ].getString(" key" ), " value" )
1818 }
1919
@@ -28,31 +28,31 @@ class DocumentIncludesSuite extends FunSuite with DocumentIncludes {
2828 javaMap.put(" key" , " value" )
2929 val document = documentFromJavaMap(javaMap)
3030 assert(document.isInstanceOf [Document ])
31- assertEquals(document.toBsonDocument.toJson(), " {\" key\" :\" value\" }" )
31+ assertEquals(document.toBsonDocument.toJson(), " {\" key\" : \" value\" }" )
3232 assertEquals(document.getString(" key" ), " value" )
3333 }
3434
3535 test(" documentFromMutableMap should convert mutable.Map to Document" ) {
3636 val mutableMap : collection.mutable.Map [String , Any ] = collection.mutable.Map (" key" -> " value" )
3737 val document = documentFromMutableMap(mutableMap)
3838 assert(document.isInstanceOf [Document ])
39- assertEquals(document.toBsonDocument.toJson(), " {\" key\" :\" value\" }" )
39+ assertEquals(document.toBsonDocument.toJson(), " {\" key\" : \" value\" }" )
4040 assertEquals(document.getString(" key" ), " value" )
4141 }
4242
4343 test(" documentFromScalaMap should convert Map to Document" ) {
4444 val map = Map (" key" -> " value" )
4545 val document = documentFromScalaMap(map)
4646 assert(document.isInstanceOf [Document ])
47- assertEquals(document.toBsonDocument.toJson(), " {\" key\" :\" value\" }" )
47+ assertEquals(document.toBsonDocument.toJson(), " {\" key\" : \" value\" }" )
4848 assertEquals(document.getString(" key" ), " value" )
4949 }
5050
5151 test(" documentFromDocument should convert org.bson.Document to Document" ) {
5252 val bsonDoc = new org.bson.Document (" key" , " value" )
5353 val document = documentFromDocument(bsonDoc)
5454 assert(document.isInstanceOf [Document ])
55- assertEquals(document.toBsonDocument.toJson(), " {\" key\" :\" value\" }" )
55+ assertEquals(document.toBsonDocument.toJson(), " {\" key\" : \" value\" }" )
5656 assertEquals(document.getString(" key" ), " value" )
5757 }
5858
0 commit comments