Skip to content

Commit

Permalink
test: fix files
Browse files Browse the repository at this point in the history
  • Loading branch information
sjfhsjfh committed Feb 16, 2025
1 parent bff7a20 commit 94066fe
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/walker_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ fn test_files(
#[test]
fn test_ignore() -> io::Result<()> {
test_files(
["src", "src/lib.typ", "excludes_test.txt"].into(),
["src", "src/lib.typ", "excludes_test.txt", "typst.toml"].into(),
walker_publish(&walker_test_path()).into_iter().collect(),
)
}
Expand All @@ -55,5 +55,8 @@ fn test_exclude() -> io::Result<()> {
let walker = walker_install(&walker_test_path())
.map_err(|_| panic!("Walker not ok"))
.unwrap();
test_files(["src", "src/lib.typ"].into(), walker.into_iter().collect())
test_files(
["src", "src/lib.typ", "typst.toml"].into(),
walker.into_iter().collect(),
)
}

0 comments on commit 94066fe

Please sign in to comment.