mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-30 05:29:41 +01:00
GH #440 changed default string format
This commit is contained in:
@@ -417,7 +417,7 @@ void MongoDBTest::testObjectID()
|
||||
str.append(1, (char) 0x02);
|
||||
|
||||
ObjectId oid(str);
|
||||
std::string str2 = oid.toString("%02x");
|
||||
std::string str2 = oid.toString();
|
||||
assert(str2 == "536aeebba081de6815000002");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user