1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Remove unnecessary string formats

Signed-off-by: Ke Li <kel@splunk.com>
This commit is contained in:
Ke Li 2016-11-22 09:29:53 +08:00
parent 38f5d5c634
commit 23ac56fdd0
42 changed files with 260 additions and 250 deletions

View file

@ -52,7 +52,7 @@ func TestReloaded(t *testing.T) {
"-j", "ACCEPT"}
if !Exists(fwdChain.Table, fwdChain.Name, rule1...) {
t.Fatalf("rule1 does not exist")
t.Fatal("rule1 does not exist")
}
// flush all rules
@ -62,7 +62,7 @@ func TestReloaded(t *testing.T) {
// make sure the rules have been recreated
if !Exists(fwdChain.Table, fwdChain.Name, rule1...) {
t.Fatalf("rule1 hasn't been recreated")
t.Fatal("rule1 hasn't been recreated")
}
}
@ -79,7 +79,7 @@ func TestPassthrough(t *testing.T) {
t.Fatal(err)
}
if !Exists(Filter, "INPUT", rule1...) {
t.Fatalf("rule1 does not exist")
t.Fatal("rule1 does not exist")
}
}