Skip to content

Commit

Permalink
More.
Browse files Browse the repository at this point in the history
  • Loading branch information
sunfishcode committed Sep 21, 2024
1 parent ada3793 commit 6e18070
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions tests/fs_additional.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1056,12 +1056,11 @@ fn dotdot_in_middle_of_symlink() {
let mut data = Vec::new();
check!(file.read_to_end(&mut data));
assert_eq!(data, foo);

assert!(false);
}

/// Same as `dotdot_in_middle_of_symlink`, but use two levels of `..`.
#[test]
#[cfg(not(windows))]
fn dotdot_more_in_middle_of_symlink() {
let tmpdir = tmpdir();

Expand All @@ -1076,12 +1075,11 @@ fn dotdot_more_in_middle_of_symlink() {
let mut data = Vec::new();
check!(file.read_to_end(&mut data));
assert_eq!(data, foo);

assert!(false);
}

/// Same as `dotdot_in_middle_of_symlink`, but use two levels of `..`.
#[test]
#[cfg(not(windows))]
fn dotdot_other_in_middle_of_symlink() {
let tmpdir = tmpdir();

Expand All @@ -1096,8 +1094,6 @@ fn dotdot_other_in_middle_of_symlink() {
let mut data = Vec::new();
check!(file.read_to_end(&mut data));
assert_eq!(data, foo);

assert!(false);
}

/// Same as `dotdot_more_in_middle_of_symlink`, but use a symlink that
Expand All @@ -1117,8 +1113,6 @@ fn dotdot_even_more_in_middle_of_symlink() {
let mut data = Vec::new();
check!(file.read_to_end(&mut data));
assert_eq!(data, foo);

assert!(false);
}

/// Same as `dotdot_more_in_middle_of_symlink`, but use a symlink that
Expand All @@ -1138,8 +1132,6 @@ fn dotdot_even_other_in_middle_of_symlink() {
let mut data = Vec::new();
check!(file.read_to_end(&mut data));
assert_eq!(data, foo);

assert!(false);
}

/// Similar to `dotdot_in_middle_of_symlink`, but this time the symlink to
Expand Down

0 comments on commit 6e18070

Please sign in to comment.