Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork940
Commitcd175a5
committed
Remove no-effect
It looked like test_untracked_files was sometimes skipped, andspecifically that it would be skipped on Cygwin. But the `@skipIf`on it had the condition: HIDE_WINDOWS_KNOWN_ERRORS and Git.is_cygwin()HIDE_WINDOWS_KNOWN_ERRORS can only ever be true if it is set to atruthy value directly (not an intended use as it's a "constant"),or on native Windows systems: no matter how the environmentvariable related to it is set, it's only checked if is_win, whichis set by checking os.name, which is only "nt" on native Windowssystems, not Cygwin.So whenever HIDE_WINDOWS_KNOWN_ERRORS is true Git.is_cygwin() willbe false. Thus this condition is never true and the test was neverbeing skipped anyway: it was running and passing on Cygwin.@skipIf
on test_untracked_files1 parentb198bf1 commitcd175a5
1 file changed
+2
-12
lines changedLines changed: 2 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
| 16 | + | |
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| |||
42 | 42 |
| |
43 | 43 |
| |
44 | 44 |
| |
45 |
| - | |
| 45 | + | |
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
| |||
764 | 764 |
| |
765 | 765 |
| |
766 | 766 |
| |
767 |
| - | |
768 |
| - | |
769 |
| - | |
770 |
| - | |
771 |
| - | |
772 |
| - | |
773 |
| - | |
774 |
| - | |
775 |
| - | |
776 |
| - | |
777 | 767 |
| |
778 | 768 |
| |
779 | 769 |
| |
|
0 commit comments
Comments
(0)