From c5829b20ee087bb82189446a3fd67ccde5113c19 Mon Sep 17 00:00:00 2001 From: Jonathas-Conceicao Date: Wed, 14 Oct 2020 09:51:10 -0300 Subject: [PATCH] updatehub: update toml parsing error message Signed-off-by: Jonathas-Conceicao --- updatehub/tests/failed_integration_test.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/updatehub/tests/failed_integration_test.rs b/updatehub/tests/failed_integration_test.rs index 21a52a58..19bf8bac 100644 --- a/updatehub/tests/failed_integration_test.rs +++ b/updatehub/tests/failed_integration_test.rs @@ -103,7 +103,7 @@ fn failing_invalid_file_config() { insta::assert_snapshot!(output_server_trce, @r###" INFO starting UpdateHub Agent DEBG loading system settings from "" - unexpected character found: `/` at line 2 column 26 + invalid TOML value, did you mean to use a quoted string? at line 2 column 20 "###); } @@ -130,7 +130,7 @@ fn failing_invalid_file_config() { insta::assert_snapshot!(output_server_trce, @r###" INFO starting UpdateHub Agent DEBG loading system settings from "" - Parsing error: toml: unexpected character found: `/` at line 2 column 26, ini: Custom("missing field `Network`") + Parsing error: toml: invalid TOML value, did you mean to use a quoted string? at line 2 column 20, ini: Custom("missing field `Network`") "###); }