mirror of
https://github.com/caddyserver/caddy.git
synced 2024-11-26 02:09:47 +08:00
Merge pull request #1746 from JoshHarmon/proxy-ci-fix
proxy: Fix CI fail from format token in Error call
This commit is contained in:
commit
2d9273f915
|
@ -477,7 +477,7 @@ func TestHealthCheckContentString(t *testing.T) {
|
|||
for i, test := range tests {
|
||||
u, err := NewStaticUpstreams(caddyfile.NewDispenser("Testfile", strings.NewReader(test.config)), "")
|
||||
if err != nil {
|
||||
t.Error("Expected no error. Test %d Got:", i, err.Error())
|
||||
t.Errorf("Expected no error. Test %d Got: %s", i, err.Error())
|
||||
}
|
||||
for _, upstream := range u {
|
||||
staticUpstream, ok := upstream.(*staticUpstream)
|
||||
|
|
Loading…
Reference in New Issue
Block a user