mirror of
https://github.com/storytold/wordcraft.git
synced 2026-10-18 18:00:54 -05:00
cli: keep the non-UTF-8 file name test off macOS (#2993)
* cli: keep the non-UTF-8 file name test off macOS APFS refuses file names that aren't valid UTF-8, so the fixture can't be made there (as in tests/non_utf8_args.rs); the unit test runs on the other unixes. * chore: add @maxm11 to About-window contributors with their own name
This commit is contained in:
1 parent
d82f17ac58
commit
72328ab521
2 files changed
+6
-1
No files matched your search
@@ -1125,7 +1125,9 @@ mod tests {
|
||||
assert!(!dir.join("a.docx").exists());
|
||||
}
|
||||
|
||||
#[cfg(unix)]
|
||||
/// APFS refuses file names that aren't valid UTF-8, so the fixture can't be made on macOS
|
||||
/// (as in `tests/non_utf8_args.rs`).
|
||||
#[cfg(all(unix, not(target_os = "macos")))]
|
||||
#[test]
|
||||
fn script_file_name_need_not_be_unicode() {
|
||||
use std::os::unix::ffi::OsStringExt;
|
||||
|
||||
@@ -160,3 +160,6 @@ sync_github_name = true
|
||||
|
||||
[people.lucAmbr0]
|
||||
sync_github_name = true
|
||||
|
||||
[people.maxm11]
|
||||
real_name = "Max Murphy"
|
||||
Reference in new issue
Block a user