mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 16:24:19 -04:00
remove redundant continue in test (#5529)
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
This commit is contained in:
@@ -83,7 +83,6 @@ func TestTtlRewrite(t *testing.T) {
|
||||
rule, err := newRule(r.args...)
|
||||
if err != nil {
|
||||
t.Fatalf("Rule %d: FAIL, %s: %s", i, r.args, err)
|
||||
continue
|
||||
}
|
||||
if reflect.TypeOf(rule) != r.expectedType {
|
||||
t.Fatalf("Rule %d: FAIL, %s: rule type mismatch, expected %q, but got %q", i, r.args, r.expectedType, rule)
|
||||
|
||||
Reference in New Issue
Block a user