aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bind.rs
diff options
context:
space:
mode:
authorAli MJ Al-Nasrawy <alimjalnasrawy@gmail.com>2022-02-06 11:48:33 +0000
committerAli MJ Al-Nasrawy <alimjalnasrawy@gmail.com>2022-02-06 11:48:33 +0000
commit0e6adbb3b53147f2e78a907909f6c470190ebaf3 (patch)
treedc25926d212f9f4cdd0ef2e3115e4c9496b6e01e /tests/bind.rs
parentMerge 'jikstra/feat_route_prefix' #682 (diff)
downloadminiserve-0e6adbb3b53147f2e78a907909f6c470190ebaf3.tar.gz
miniserve-0e6adbb3b53147f2e78a907909f6c470190ebaf3.zip
Fix route_prefix for css and favicon
Diffstat (limited to 'tests/bind.rs')
-rw-r--r--tests/bind.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/bind.rs b/tests/bind.rs
index 1c816f0..0fa914e 100644
--- a/tests/bind.rs
+++ b/tests/bind.rs
@@ -53,6 +53,7 @@ fn bind_ipv4_ipv6(
#[case(&["-i", "0.0.0.0"])]
#[case(&["-i", "::", "-i", "0.0.0.0"])]
#[case(&["--random-route"])]
+#[case(&["--route-prefix", "/prefix"])]
fn validate_printed_urls(tmpdir: TempDir, port: u16, #[case] args: &[&str]) -> Result<(), Error> {
let mut child = Command::cargo_bin("miniserve")?
.arg(tmpdir.path())