-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test .gitignore with
*/*
is applied correctly
The test contains two cases: when the .gitignore with the special rule to ignore every subfolder and its contents (*/*) is in the root, and when the file is inside a subfolder relative to root (nested). In both cases, we compare the files that are visible by Black with a known list of paths containing the expected values. Before the fix introduced in the previous commit, this test failed when the .gitignore file was nested (second case). Now, the test is passed for both cases. Signed-off-by: Antonio Ossa Guerra <aaossa@uc.cl>
- Loading branch information
Showing
5 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*/* |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters