X Tutup
Skip to content

Commit c8b9486

Browse files
committed
spelling: nonexistent
1 parent 76bd377 commit c8b9486

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

context/remote_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ func Test_Remotes_FindByName(t *testing.T) {
2828
eq(t, err, nil)
2929
eq(t, r.Name, "upstream")
3030

31-
r, err = list.FindByName("nonexist", "*")
31+
r, err = list.FindByName("nonexistent", "*")
3232
eq(t, err, nil)
3333
eq(t, r.Name, "mona")
3434

35-
_, err = list.FindByName("nonexist")
35+
_, err = list.FindByName("nonexistent")
3636
eq(t, err, errors.New(`no GitHub remotes found`))
3737
}
3838

git/ssh_config_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ func Test_sshParse(t *testing.T) {
2525
`))
2626
eq(t, m["foo"], "example.com")
2727
eq(t, m["bar"], "%bar.net%")
28-
eq(t, m["nonexist"], "")
28+
eq(t, m["nonexistent"], "")
2929
}
3030

3131
func Test_Translator(t *testing.T) {

internal/config/config_file_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ example.com:
9090
val, err = config.Get("github.com", "git_protocol")
9191
eq(t, err, nil)
9292
eq(t, val, "ssh")
93-
val, err = config.Get("nonexist.io", "git_protocol")
93+
val, err = config.Get("nonexistent.io", "git_protocol")
9494
eq(t, err, nil)
9595
eq(t, val, "ssh")
9696
}

0 commit comments

Comments
 (0)
X Tutup