File tree 2 files changed +7
-6
lines changed
2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ language: go
2
2
sudo : false
3
3
4
4
go :
5
- - 1.11.x
6
- - 1.12.x
5
+ - " 1.12.x "
6
+ - " 1.13.x "
7
7
- tip
8
8
9
9
env :
Original file line number Diff line number Diff line change @@ -147,12 +147,13 @@ func TestCrashNSEC3(t *testing.T) {
147
147
// TestNewRRCommentLengthCrasherString test inputs to NewRR that generated crashes.
148
148
func TestNewRRCommentLengthCrasherString (t * testing.T ) {
149
149
tests := []struct {
150
- in string
151
- err string
150
+ name string
151
+ in string
152
+ err string
152
153
}{
153
154
154
155
{
155
- " HINFO ;;;;;;;;;;;;;" +
156
+ "HINFO1" , " HINFO ;;;;;;;;;;;;;" +
156
157
";;;;;;;;\x00 \x19 ;;;;;;;;;;" +
157
158
";\u007f ;;;;;;;;;;;;;;;;;;" +
158
159
";;}mP_Qq_3sJ_1_84X_5" +
@@ -255,7 +256,7 @@ func TestNewRRCommentLengthCrasherString(t *testing.T) {
255
256
}
256
257
257
258
for _ , tc := range tests {
258
- t .Run (tc .in , func (t * testing.T ) {
259
+ t .Run (tc .name , func (t * testing.T ) {
259
260
_ , err := NewRR (tc .in )
260
261
if err == nil {
261
262
t .Errorf ("Expecting error for crasher line %s" , tc .in )
You can’t perform that action at this time.
0 commit comments