mirror of
https://github.com/CrowCpp/Crow.git
synced 2024-06-07 21:10:44 +00:00
- Removed useless comments.
This commit is contained in:
parent
1e52b0182d
commit
6ae3025bd6
@ -870,14 +870,6 @@ TEST_CASE("json::wvalue::wvalue(std::initializer_list<std::pair<std::string cons
|
|||||||
{"lie", lie},
|
{"lie", lie},
|
||||||
{"null", null}
|
{"null", null}
|
||||||
});
|
});
|
||||||
/* initializer-list constructor. *//*
|
|
||||||
json::wvalue value = {{
|
|
||||||
{"integer", integer},
|
|
||||||
{"number", number},
|
|
||||||
{"truth", truth},
|
|
||||||
{"lie", lie},
|
|
||||||
{"null", null}
|
|
||||||
}}; */
|
|
||||||
|
|
||||||
CHECK(value["integer"].dump() == integer.dump());
|
CHECK(value["integer"].dump() == integer.dump());
|
||||||
CHECK(value["number"].dump() == number.dump());
|
CHECK(value["number"].dump() == number.dump());
|
||||||
@ -902,7 +894,6 @@ TEST_CASE("json::wvalue::wvalue(std::[unordered_]map<std::string, json::wvalue>
|
|||||||
});
|
});
|
||||||
|
|
||||||
json::wvalue value(map); /* copy-constructor. */
|
json::wvalue value(map); /* copy-constructor. */
|
||||||
//json::wvalue value = map; /* copy-constructor. */
|
|
||||||
|
|
||||||
CHECK(value["integer"].dump() == integer.dump());
|
CHECK(value["integer"].dump() == integer.dump());
|
||||||
CHECK(value["number"].dump() == number.dump());
|
CHECK(value["number"].dump() == number.dump());
|
||||||
|
Loading…
Reference in New Issue
Block a user