Skip to content

Commit

Permalink
Update tests/contest/contest/src/tests/linux_masked_paths/masked_path…
Browse files Browse the repository at this point in the history
…s.rs

Signed-off-by: nayuta-ai <nayuta723@gmail.com>
  • Loading branch information
nayuta-ai committed Oct 13, 2024
1 parent 6d0604c commit 448504e
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,8 @@ fn check_masked_paths() -> TestResult {
use std::{fs, io};

Check warning on line 55 in tests/contest/contest/src/tests/linux_masked_paths/masked_paths.rs

View workflow job for this annotation

GitHub Actions / check (aarch64, gnu)

Diff in /home/runner/work/youki/youki/tests/contest/contest/src/tests/linux_masked_paths/masked_paths.rs

Check warning on line 55 in tests/contest/contest/src/tests/linux_masked_paths/masked_paths.rs

View workflow job for this annotation

GitHub Actions / check (aarch64, gnu)

Diff in /home/runner/work/youki/youki/tests/contest/contest/src/tests/linux_masked_paths/masked_paths.rs

Check warning on line 55 in tests/contest/contest/src/tests/linux_masked_paths/masked_paths.rs

View workflow job for this annotation

GitHub Actions / check (aarch64, musl)

Diff in /home/runner/work/youki/youki/tests/contest/contest/src/tests/linux_masked_paths/masked_paths.rs

Check warning on line 55 in tests/contest/contest/src/tests/linux_masked_paths/masked_paths.rs

View workflow job for this annotation

GitHub Actions / check (aarch64, musl)

Diff in /home/runner/work/youki/youki/tests/contest/contest/src/tests/linux_masked_paths/masked_paths.rs
let test_dir = bundle_path.join(&masked_dir_sub);

match fs::create_dir_all(&test_dir) {
io::Result::Ok(_) => { /*This is expected*/ }
io::Result::Err(e) => {
bail!(e)
}
if let Err(e) = fs::create_dir_all(&test_dir) {
bail!(e)
}

match fs::File::create(test_dir.join("tmp")) {
Expand Down

0 comments on commit 448504e

Please sign in to comment.