mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Use file:// protocol for cloning under test
This commit is contained in:
parent
e76bc17f53
commit
989bcfe9ca
4 changed files with 7 additions and 3 deletions
|
|
@ -10,6 +10,7 @@ from pre_commit.languages.golang import guess_go_dir
|
|||
('url', 'expected'),
|
||||
(
|
||||
('/im/a/path/on/disk', 'unknown_src_dir'),
|
||||
('file:///im/a/path/on/disk', 'unknown_src_dir'),
|
||||
('git@github.com:golang/lint', 'github.com/golang/lint'),
|
||||
('git://github.com/golang/lint', 'github.com/golang/lint'),
|
||||
('http://github.com/golang/lint', 'github.com/golang/lint'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue