Run invalid-utf8 on Linux only

This commit is contained in:
sharkdp 2018-02-25 23:45:59 +01:00 committed by David Peter
parent 47d95284aa
commit 3386b854b0
1 changed files with 1 additions and 0 deletions

View File

@ -889,6 +889,7 @@ fn test_fixed_strings() {
}
/// Filenames with invalid UTF-8 sequences
#[cfg(target_os = "linux")]
#[test]
fn test_invalid_utf8() {
use std::ffi::OsStr;