fix(cli): handle nested tags test files

This commit is contained in:
Amaan Qureshi 2024-12-15 23:28:28 -05:00
parent 2374bca62a
commit 214b3dc2e6
2 changed files with 73 additions and 36 deletions

View file

@ -74,7 +74,7 @@ fn test_highlights_indented(
indent_level = indent_level * 2
);
if test_file_path.is_dir() && test_file_path.read_dir()?.next().is_some() {
println!("{}:", test_file_name.into_string().unwrap());
println!("{}:", test_file_name.to_string_lossy());
if test_highlights_indented(
loader,
loader_config,