Commit e40c3fa
committed
Fix test_nonexistent_file_produces_error expectation
Nonexistent files are filtered out gracefully by get_added_files(),
so the hook returns 0 when all files are filtered out. This is the
correct behavior.
Changed test to verify the actual behavior: returncode == 0 when
nonexistent files are filtered out.1 parent a0bac7b commit e40c3fa
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | | - | |
| 78 | + | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
0 commit comments