Skip to content

Commit a1766a4

Browse files
committed
tests: rename dir -> pkg
Signed-off-by: Henry Schreiner <[email protected]>
1 parent bd08bbe commit a1766a4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/test_file_processor.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,17 +76,17 @@ def test_on_each_with_symlink(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -
7676
gitignore = Path(".gitignore")
7777
gitignore.write_text("/hidden_dir")
7878
# Create a directory with a symlink to a file in the same directory
79-
dir_dir = Path("dir")
80-
dir_dir.mkdir()
81-
file1 = dir_dir / "file"
79+
pkg_dir = Path("pkg")
80+
pkg_dir.mkdir()
81+
file1 = pkg_dir / "file"
8282
file1.write_text("content")
83-
file2 = dir_dir / "link"
83+
file2 = pkg_dir / "link"
8484
file2.symlink_to("file")
8585
hidden_dir = Path("hidden_dir")
8686
hidden_dir.mkdir()
8787
hidden_file = hidden_dir / "file2"
8888
hidden_file.write_text("content2")
89-
exposed_symlink = dir_dir / "exposed_symlink"
89+
exposed_symlink = pkg_dir / "exposed_symlink"
9090
exposed_symlink.symlink_to("../hidden_dir")
9191

9292
local_ignored_file = Path("local_ignored_file.txt")

0 commit comments

Comments
 (0)