66604c92c1
GitOrigin-RevId: 32b8ed738096bafb4cdb7f70347a0f63f9f40151
13 lines
385 B
Diff
13 lines
385 B
Diff
diff --git a/src/assets.rs b/src/assets.rs
|
|
index 4f8556f..222abc2 100644
|
|
--- a/src/assets.rs
|
|
+++ b/src/assets.rs
|
|
@@ -336,7 +336,7 @@ mod tests {
|
|
assert_eq!(test.syntax_for_file("Makefile"), "Makefile");
|
|
}
|
|
|
|
- #[cfg(unix)]
|
|
+ #[cfg(all(unix,not(target_os = "macos")))]
|
|
#[test]
|
|
fn syntax_detection_invalid_utf8() {
|
|
use std::os::unix::ffi::OsStrExt;
|