mirror of
https://github.com/storytold/AniCraft.git
synced 2026-11-28 17:19:31 +01:00
test(cli): the non-Unicode path test skips macOS, whose file system refuses such names
This commit is contained in:
1 parent
982ea57f90
commit
3bdd2dbef7
1 file changed
+2
-2
@@ -240,8 +240,8 @@ fn an_output_never_replaces_its_input_unless_in_place_is_given() {
|
||||
}
|
||||
|
||||
/// A path that is not valid Unicode reaches the command: a document is read from it, and the
|
||||
/// engine's JSON-valued commands say so by name.
|
||||
#[cfg(unix)]
|
||||
/// engine's JSON-valued commands say so by name. (macOS refuses such a file name, so it runs elsewhere.)
|
||||
#[cfg(all(unix, not(target_os = "macos")))]
|
||||
#[test]
|
||||
fn a_path_that_is_not_unicode_is_a_path_not_a_panic() {
|
||||
use std::ffi::OsString;
|
||||
|
||||
Reference in new issue
Block a user