1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-25 13:41:56 +03:00

💬 replaced "backspace" with "backslash" #509

This commit is contained in:
Niels Lohmann
2017-05-13 19:56:38 +02:00
parent 9b764ee5d6
commit 723c875604
2 changed files with 2 additions and 2 deletions

View File

@ -798,7 +798,7 @@ TEST_CASE("parser class")
if (c > 0x1f)
{
CHECK_THROWS_WITH(parse_string(s.c_str()).parse(),
"[json.exception.parse_error.101] parse error at 3: syntax error - invalid string: forbidden character after backspace; last read '\"\\" + std::string(1, static_cast<char>(c)) + "'");
"[json.exception.parse_error.101] parse error at 3: syntax error - invalid string: forbidden character after backslash; last read '\"\\" + std::string(1, static_cast<char>(c)) + "'");
}
break;
}