mirror of
https://github.com/x-motemen/ghq.git
synced 2026-09-10 07:26:27 -04:00
test
This commit is contained in:
parent
106b7cf7d3
commit
853d3527f8
|
|
@ -11,5 +11,5 @@ func TestNewLocalRepository(t *testing.T) {
|
|||
r, err := LocalRepositoryFromFullPath("/repos/github.com/motemen/ghq")
|
||||
Expect(err).To(BeNil())
|
||||
Expect(r.NonHostPath()).To(Equal("motemen/ghq"))
|
||||
Expect(r.Subpaths()).To(Equal([]string{"github.com/motemen/ghq", "motemen/ghq", "ghq"}))
|
||||
Expect(r.Subpaths()).To(Equal([]string{"ghq", "motemen/ghq", "github.com/motemen/ghq"}))
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue