mirror of
https://github.com/uutils/coreutils.git
synced 2025-12-23 08:47:37 +00:00
head: remove old test that we know support it
This commit is contained in:
parent
98224ed0cf
commit
faf3f7e526
1 changed files with 0 additions and 9 deletions
|
|
@ -693,15 +693,6 @@ mod tests {
|
|||
assert_eq!(arg_outputs("head"), Ok("head".to_owned()));
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn test_arg_iterate_bad_encoding() {
|
||||
use std::os::unix::ffi::OsStringExt;
|
||||
let invalid = OsString::from_vec(vec![b'\x80', b'\x81']);
|
||||
// this arises from a conversion from OsString to &str
|
||||
assert!(arg_iterate(vec![OsString::from("head"), invalid].into_iter()).is_err());
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn read_early_exit() {
|
||||
let mut empty = io::BufReader::new(Cursor::new(Vec::new()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue