mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-20 22:52:58 -05:00
Fix format verbs for funcs
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
This commit is contained in:
parent
80db177f5a
commit
1236e492a9
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ md5:$apr1$l42y8rex$pOA2VJ0x/0TwaFeAF9nX61`
|
||||||
pwd = fmt.Sprintf("%s%d", pwd, j+1)
|
pwd = fmt.Sprintf("%s%d", pwd, j+1)
|
||||||
}
|
}
|
||||||
if !actualRule.Password(pwd) || actualRule.Password(test.password+"!") {
|
if !actualRule.Password(pwd) || actualRule.Password(test.password+"!") {
|
||||||
t.Errorf("Test %d, rule %d: Expected password '%s', got '%s'",
|
t.Errorf("Test %d, rule %d: Expected password '%v', got '%v'",
|
||||||
i, j, test.password, actualRule.Password)
|
i, j, test.password, actualRule.Password)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue