[Action] go fmt
parent
dfaaa0ef4c
commit
df6f11aa6f
|
@ -19,10 +19,10 @@ func TestChooseTemplate(t *testing.T) {
|
||||||
template string
|
template string
|
||||||
}
|
}
|
||||||
tests := []chooseTest{
|
tests := []chooseTest{
|
||||||
chooseTest{"text/html", true, "index.html"},
|
{"text/html", true, "index.html"},
|
||||||
chooseTest{"text/html;q=0.9,text/plain", true, "index.txt"},
|
{"text/html;q=0.9,text/plain", true, "index.txt"},
|
||||||
chooseTest{"image/png", false, ""},
|
{"image/png", false, ""},
|
||||||
chooseTest{"*/*", true, "index.txt"},
|
{"*/*", true, "index.txt"},
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, test := range tests {
|
for _, test := range tests {
|
||||||
|
|
Loading…
Reference in New Issue