Skip to content

Commit

Permalink
updatehub: update toml parsing error message
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathas-Conceicao <jonathas.conceicao@ossystems.com.br>
  • Loading branch information
Jonathas-Conceicao authored and otavio committed Oct 14, 2020
1 parent 3773951 commit c5829b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions updatehub/tests/failed_integration_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ fn failing_invalid_file_config() {
insta::assert_snapshot!(output_server_trce, @r###"
<timestamp> INFO starting UpdateHub Agent <version>
<timestamp> DEBG loading system settings from "<file>"
unexpected character found: `/` at line 2 column 26
invalid TOML value, did you mean to use a quoted string? at line 2 column 20
"###);
}

Expand All @@ -130,7 +130,7 @@ fn failing_invalid_file_config() {
insta::assert_snapshot!(output_server_trce, @r###"
<timestamp> INFO starting UpdateHub Agent <version>
<timestamp> DEBG loading system settings from "<file>"
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`")
"###);
}

Expand Down

0 comments on commit c5829b2

Please sign in to comment.