File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed
ignoring_somethings/tests Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ initialization :
2+ steps :
3+ - type : commit
4+ empty : true
5+ message : Empty commit
6+ id : start
7+ - type : new-file
8+ filename : .gitignore
9+ contents : |
10+ many/*
11+ !many/file22.txt
12+ ignore_me.txt
13+ this/is/very/nested/runaway.txt
14+ - type : add
15+ files :
16+ - .gitignore
17+ - type : commit
18+ message : Add .gitignore
Original file line number Diff line number Diff line change 33from ..verify import (
44 NOT_IGNORING_IGNORE_ME ,
55 NOT_IGNORING_RUNAWAY ,
6+ NOT_PATTERN_MATCHING_RUNAWAY ,
67 STILL_HIDING ,
78 STILL_IGNORING_FILE_22 ,
89 verify ,
@@ -34,3 +35,12 @@ def test_no_change():
3435 NOT_IGNORING_RUNAWAY ,
3536 ],
3637 )
38+
39+
40+ def test_not_pattern_matching ():
41+ with loader .load ("specs/not_pattern_matching.yml" , "start" ) as output :
42+ assert_output (
43+ output ,
44+ GitAutograderStatus .UNSUCCESSFUL ,
45+ [NOT_PATTERN_MATCHING_RUNAWAY ],
46+ )
You can’t perform that action at this time.
0 commit comments