mirror of
https://github.com/nlohmann/json.git
synced 2026-02-24 12:26:25 +00:00
fix cmake install directory (for real this time)
* Rename 'develop' folder to 'include/nlohmann' * Rename 'src' folder to 'single_include/nlohmann' * Use <nlohmann/*> headers in sources and tests * Change amalgamate config file
This commit is contained in:
@@ -29,7 +29,7 @@ SOFTWARE.
|
||||
#include "catch.hpp"
|
||||
|
||||
#include <fstream>
|
||||
#include "json.hpp"
|
||||
#include <nlohmann/json.hpp>
|
||||
using nlohmann::json;
|
||||
|
||||
TEST_CASE("object inspection")
|
||||
@@ -316,8 +316,8 @@ TEST_CASE("object inspection")
|
||||
SECTION("round trips")
|
||||
{
|
||||
for (const auto& s :
|
||||
{"3.141592653589793", "1000000000000000010E5"
|
||||
})
|
||||
{"3.141592653589793", "1000000000000000010E5"
|
||||
})
|
||||
{
|
||||
json j1 = json::parse(s);
|
||||
std::string s1 = j1.dump();
|
||||
|
||||
Reference in New Issue
Block a user