mirror of
https://github.com/nlohmann/json.git
synced 2026-11-15 20:08:03 +00:00
moved from Catch to doctest for unit tests
This commit is contained in:
1 parent
e5753b14a8
commit
2f44ac1def
52 files changed
+5517
-11854
No files matched your search
@@ -27,11 +27,14 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "catch.hpp"
|
||||
#include "doctest_compatibility.h"
|
||||
|
||||
#define private public
|
||||
#include <nlohmann/json.hpp>
|
||||
using nlohmann::json;
|
||||
#undef private
|
||||
|
||||
#include <sstream>
|
||||
|
||||
void check_escaped(const char* original, const char* escaped = "", const bool ensure_ascii = false);
|
||||
void check_escaped(const char* original, const char* escaped, const bool ensure_ascii)
|
||||
|
||||
Reference in new issue
Block a user