Fix json serialization.

This commit is contained in:
ykiko
2024-09-11 16:17:26 +08:00
parent 2a2a315b48
commit f4461ee53a
4 changed files with 37 additions and 21 deletions

View File

@@ -20,7 +20,7 @@ TEST(JSON, Point) {
ASSERT_EQ(point.y, 2);
auto result = clice::json::serialize(point);
ASSERT_EQ(result, object);
ASSERT_EQ(result, json::Value(std::move(object)));
}
} // namespace