Merge pull request #486 from mxr/patch-1

Fix typo
This commit is contained in:
Anthony Sottile 2020-05-18 18:47:48 -07:00 committed by GitHub
commit 37d0e19fd8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -104,7 +104,7 @@ def test_git_executable_shebang(temp_git_dir, content, mode, expected):
cmd_output('chmod', mode, str(path))
cmd_output('git', 'update-index', f'--chmod={mode}', str(path))
# simulate how identify choses that something is executable
# simulate how identify chooses that something is executable
filenames = [path for path in [str(path)] if os.access(path, os.X_OK)]
assert main(filenames) == expected