mirror of
https://github.com/nlohmann/json.git
synced 2025-07-24 02:21:01 +03:00
Attempt to satisfy Coveralls by adding a test for (unchanged) operator std::string
This commit is contained in:
@ -438,6 +438,7 @@ TEST_CASE("JSON pointers")
|
|||||||
})
|
})
|
||||||
{
|
{
|
||||||
CHECK(json::json_pointer(ptr).to_string() == ptr);
|
CHECK(json::json_pointer(ptr).to_string() == ptr);
|
||||||
|
CHECK(std::string(json::json_pointer(ptr)) == ptr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user