Skip to content

Commit

Permalink
test: ignore data_relative test
Browse files Browse the repository at this point in the history
This is the same as 6e84d11, which is reverted mistakenly at 3875660.
  • Loading branch information
wangl-cc committed Oct 22, 2024
1 parent 186d8b7 commit 60cb64a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions maa-dirs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,7 @@ mod tests {
}

#[test]
#[ignore = "need installed MaaCore and resource"]
fn data_relative() {
let dirs = clean_dirs();

Expand Down Expand Up @@ -827,9 +828,10 @@ mod tests {

std::fs::File::create(&test_file).unwrap();

assert_eq!(global_path([&test_dir1, &test_dir2], "test"), vec![
test_file.clone()
]);
assert_eq!(
global_path([&test_dir1, &test_dir2], "test"),
vec![test_file.clone()]
);
assert_eq!(
global_path([&test_dir1, &test_dir2], "not_exist"),
Vec::<PathBuf>::new()
Expand Down

0 comments on commit 60cb64a

Please sign in to comment.