diff options
author | Sven-Hendrik Haase <svenstaro@gmail.com> | 2020-08-24 23:39:23 +0000 |
---|---|---|
committer | Sven-Hendrik Haase <svenstaro@gmail.com> | 2020-08-24 23:39:23 +0000 |
commit | 5315c7ab1639e7f2f75921b64287a03450622dd9 (patch) | |
tree | da78b8fe4f1c34c8bded9dfc7e30dac7fa5487a8 /tests/fixtures/mod.rs | |
parent | Bump lockfile (diff) | |
download | miniserve-5315c7ab1639e7f2f75921b64287a03450622dd9.tar.gz miniserve-5315c7ab1639e7f2f75921b64287a03450622dd9.zip |
Try to fix file names on Windows
Diffstat (limited to '')
-rw-r--r-- | tests/fixtures/mod.rs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/fixtures/mod.rs b/tests/fixtures/mod.rs index 49ed7bd..4dcd350 100644 --- a/tests/fixtures/mod.rs +++ b/tests/fixtures/mod.rs @@ -8,7 +8,14 @@ pub type Error = Box<dyn std::error::Error>; /// File names for testing purpose #[allow(dead_code)] -pub static FILES: &[&str] = &["test.txt", "test.html", "test.mkv", "test \" \' & < >.csv"]; +pub static FILES: &[&str] = &[ + "test.txt", + "test.html", + "test.mkv", + #[cfg(not(windows))]"test \" \' & < >.csv", + "😀.data", + "⎙.mp4", +]; /// Directory names for testing purpose #[allow(dead_code)] |