Merge pull request #265 from motemen/look-test

fix testing for 'ghq get --look'
This commit is contained in:
Masayuki Matsuki 2020-01-05 22:28:17 +09:00 committed by GitHub
commit 29bcff53dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -206,7 +206,7 @@ func TestLook(t *testing.T) {
}
sh := detectShell()
err := look("https://github.com/motemen/ghq")
err := newApp().Run([]string{"", "get", "--look", "https://github.com/motemen/ghq"})
if err != nil {
t.Errorf("error should be nil, but: %s", err)
}