summaryrefslogtreecommitdiff
path: root/cli/tests/integration/test_tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/integration/test_tests.rs')
-rw-r--r--cli/tests/integration/test_tests.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/cli/tests/integration/test_tests.rs b/cli/tests/integration/test_tests.rs
index 3a7f37db8..8e2404530 100644
--- a/cli/tests/integration/test_tests.rs
+++ b/cli/tests/integration/test_tests.rs
@@ -406,10 +406,9 @@ fn file_protocol() {
.unwrap()
.to_string();
- let context = TestContext::default();
- context
+ TestContext::default()
.new_command()
- .args_vec(vec!["test".to_string(), file_url])
+ .args_vec(["test", file_url.as_str()])
.run()
.assert_matches_file("test/file_protocol.out");
}