diff options
author | Sven-Hendrik Haase <svenstaro@gmail.com> | 2022-02-06 12:23:21 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-06 12:23:21 +0000 |
commit | be047cb646418cb45bafc8444b00c9676a6c36bc (patch) | |
tree | 1f65ab57c3f606d612e2419faa25cf041583f010 /tests/bind.rs | |
parent | Merge pull request #727 from svenstaro/dependabot/cargo/rustls-pemfile-0.3.0 (diff) | |
parent | Fix route_prefix for css and favicon (diff) | |
download | miniserve-be047cb646418cb45bafc8444b00c9676a6c36bc.tar.gz miniserve-be047cb646418cb45bafc8444b00c9676a6c36bc.zip |
Merge pull request #728 from aliemjay/custom_route_prefix
Custom route prefix
Diffstat (limited to 'tests/bind.rs')
-rw-r--r-- | tests/bind.rs | 1 |
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()) |