Name no node in the last residuals: asus-zephyrus-g14's denylist, lab's and mosquitto's comments, mesh-issues's help texts, mesh-knowledge's decision fixture and ssh-client's forge-URL fixture (issue 1838)
This commit is contained in:
@@ -98,7 +98,7 @@ var sampleBound = map[string]string{
|
||||
"ssh_alias": "mesh-forge",
|
||||
"ssh_port": "222",
|
||||
"ssh_base": "ssh://git@node-c.internal:222/",
|
||||
"https_base": "https://git.novox.be/",
|
||||
"https_base": "https://git.example.org/",
|
||||
}
|
||||
|
||||
// renderBound fills ${bound:forge-account:<key>} with the sample values, as the provisioner client does.
|
||||
@@ -160,7 +160,7 @@ func TestForgeFilesRenderFromTheBoundValues(t *testing.T) {
|
||||
if g["into"] != "block" {
|
||||
t.Errorf("git config is %v, want a block", g["into"])
|
||||
}
|
||||
wantGit := "[url \"ssh://mesh-forge/\"]\n\tinsteadOf = https://git.novox.be/\n"
|
||||
wantGit := "[url \"ssh://mesh-forge/\"]\n\tinsteadOf = https://git.example.org/\n"
|
||||
if got := renderBound(t, templateText(t, g)); got != wantGit {
|
||||
t.Errorf("git config block = %q, want %q", got, wantGit)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user