mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-05 00:41:00 +01:00
Merge pull request #524 from bpollack/maketestfix
Fix use-before-define error in "make test"
This commit is contained in:
commit
a26a4338fb
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ elif len($ARGS) == 2 and $ARG1 == 'edited':
|
|||
if os.path.exists(test_fname):
|
||||
tests.add(test_fname)
|
||||
elif edited_fname.startswith('tests/'):
|
||||
tests.add(test_fname)
|
||||
tests.add(edited_fname)
|
||||
else:
|
||||
print('Ignoring file because I cannot find a test for: {!r}.'.
|
||||
format(edited_fname), file=sys.stderr)
|
||||
|
|
Loading…
Add table
Reference in a new issue