mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-31 10:13:14 -04:00 
			
		
		
		
	test: add t.Helper() calls to test helper functions (#7351)
This commit is contained in:
		| @@ -99,10 +99,11 @@ func TestTtlRewrite(t *testing.T) { | ||||
| 		} | ||||
| 		rules = append(rules, rule) | ||||
| 	} | ||||
| 	doTTLTests(rules, t) | ||||
| 	doTTLTests(t, rules) | ||||
| } | ||||
|  | ||||
| func doTTLTests(rules []Rule, t *testing.T) { | ||||
| func doTTLTests(t *testing.T, rules []Rule) { | ||||
| 	t.Helper() | ||||
| 	tests := []struct { | ||||
| 		from      string | ||||
| 		fromType  uint16 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user