Skip to content

Commit

Permalink
fix a test
Browse files Browse the repository at this point in the history
  • Loading branch information
r3dArch committed Oct 14, 2022
1 parent c554bac commit 962fb55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/meta/filetype.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ mod test {
let metadata = tmp_dir.path().metadata().expect("failed to get metas");

let colors = Colors::new(ThemeOption::NoLscolors);
let file_type = FileType::new(&metadata, None, &meta.permissions);
let file_type = FileType::new(&metadata, None, &meta.permissions.unwrap());

assert_eq!(
"d".to_string().with(Color::AnsiValue(33)),
Expand Down

0 comments on commit 962fb55

Please sign in to comment.