From 84072fbd6d77619525f7ee4cdbc6cb7ca35db143 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Tue, 14 Mar 2017 16:07:28 +0100 Subject: [PATCH] :lipstick: fixed indentation --- test/src/unit-class_parser.cpp | 2 +- test/src/unit-regression.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/src/unit-class_parser.cpp b/test/src/unit-class_parser.cpp index 61aa1c371..7f2c9a952 100644 --- a/test/src/unit-class_parser.cpp +++ b/test/src/unit-class_parser.cpp @@ -279,7 +279,7 @@ TEST_CASE("parser class") // overflows during parsing yield an exception CHECK_THROWS_AS(json::parser("1.18973e+4932").parse() == json(), json::out_of_range); CHECK_THROWS_WITH(json::parser("1.18973e+4932").parse() == json(), - "[json.exception.out_of_range.406] number overflow parsing '1.18973e+4932'"); + "[json.exception.out_of_range.406] number overflow parsing '1.18973e+4932'"); } SECTION("invalid numbers") diff --git a/test/src/unit-regression.cpp b/test/src/unit-regression.cpp index 33f7a9ef2..880f8325d 100644 --- a/test/src/unit-regression.cpp +++ b/test/src/unit-regression.cpp @@ -592,7 +592,7 @@ TEST_CASE("regression tests") { CHECK_THROWS_AS(json::parse("22e2222"), json::out_of_range); CHECK_THROWS_WITH(json::parse("22e2222"), - "[json.exception.out_of_range.406] number overflow parsing '22e2222'"); + "[json.exception.out_of_range.406] number overflow parsing '22e2222'"); } SECTION("issue #366 - json::parse on failed stream gets stuck")