Merge pull request #109256 from chendave/nullpointer
Fix the nil pointer dereference for comformance spec validation
This commit is contained in:
commit
a1a9dc066c
@ -108,10 +108,9 @@ func main() {
|
|||||||
testInfo := getTestInfo(spec)
|
testInfo := getTestInfo(spec)
|
||||||
if testInfo != nil {
|
if testInfo != nil {
|
||||||
testInfos = append(testInfos, testInfo)
|
testInfos = append(testInfos, testInfo)
|
||||||
}
|
if err := validateTestName(testInfo.CodeName); err != nil {
|
||||||
|
log.Fatal(err)
|
||||||
if err := validateTestName(testInfo.CodeName); err != nil {
|
}
|
||||||
log.Fatal(err)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user