summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorShaun Taheri <shaun@advancedtelematic.com>2016-05-18 17:36:09 +0200
committerShaun Taheri <git@taheris.co.uk>2016-05-21 15:39:37 +0200
commit742a96cd993404ac2ae0de95115c992fd9c6d44d (patch)
tree69c3a10be99773b922d6ee05cf38f40d13df2310 /tests
parent044d86d7e0541d1217a3cd6e2cab99336419d476 (diff)
downloadrvi_sota_client-742a96cd993404ac2ae0de95115c992fd9c6d44d.tar.gz
Add HTTP Gateway
Diffstat (limited to 'tests')
-rw-r--r--tests/ota_plus_client_tests.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ota_plus_client_tests.rs b/tests/ota_plus_client_tests.rs
index 0192825..3f92284 100644
--- a/tests/ota_plus_client_tests.rs
+++ b/tests/ota_plus_client_tests.rs
@@ -57,6 +57,7 @@ Options:
--ota-package-manager MANAGER
change package manager
--repl enable repl
+ --http enable interaction via http requests
"#, bin_dir()));
}
@@ -82,7 +83,7 @@ fn no_auth_server_to_connect_to() {
#[test]
fn bad_section() {
- assert_eq!(client_with_config(&[""], "[uth]"),
+ assert_eq!(client_with_config(&[""], "[uth]\n"),
"parse_toml_table, invalid section: auth\n")
}