mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[wpiutil] Update json to 3.11.2 (#5680)
This commit is contained in:
@@ -67,8 +67,8 @@ TEST_F(WireDecodeTextClientTest, ErrorEmpty) {
|
||||
logger,
|
||||
Call(_, _, _,
|
||||
"could not decode JSON message: [json.exception.parse_error.101] "
|
||||
"parse error at 1: syntax error - "
|
||||
"unexpected end of input; expected '[', '{', or a literal"sv));
|
||||
"parse error at line 1, column 1: syntax error while parsing value "
|
||||
"- unexpected end of input; expected '[', '{', or a literal"sv));
|
||||
net::WireDecodeText("", handler, logger);
|
||||
}
|
||||
|
||||
@@ -77,8 +77,8 @@ TEST_F(WireDecodeTextClientTest, ErrorBadJson1) {
|
||||
logger,
|
||||
Call(_, _, _,
|
||||
"could not decode JSON message: [json.exception.parse_error.101] "
|
||||
"parse error at 2: syntax error - "
|
||||
"unexpected end of input; expected '[', '{', or a literal"sv));
|
||||
"parse error at line 1, column 2: syntax error while parsing value "
|
||||
"- unexpected end of input; expected '[', '{', or a literal"sv));
|
||||
net::WireDecodeText("[", handler, logger);
|
||||
}
|
||||
|
||||
@@ -87,8 +87,8 @@ TEST_F(WireDecodeTextClientTest, ErrorBadJson2) {
|
||||
logger,
|
||||
Call(_, _, _,
|
||||
"could not decode JSON message: [json.exception.parse_error.101] "
|
||||
"parse error at 3: syntax error - "
|
||||
"unexpected end of input; expected string literal"sv));
|
||||
"parse error at line 1, column 3: syntax error while parsing object "
|
||||
"key - unexpected end of input; expected string literal"sv));
|
||||
net::WireDecodeText("[{", handler, logger);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user