diff options
Diffstat (limited to 'vendor/github.com/moricho/tparallel/testmap.go')
| -rw-r--r-- | vendor/github.com/moricho/tparallel/testmap.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/github.com/moricho/tparallel/testmap.go b/vendor/github.com/moricho/tparallel/testmap.go index fa9bed708..fd6a3b432 100644 --- a/vendor/github.com/moricho/tparallel/testmap.go +++ b/vendor/github.com/moricho/tparallel/testmap.go @@ -49,6 +49,10 @@ func appendTestMap(subtests []*ssa.Function, instr ssa.Instruction) []*ssa.Funct } ssaCall := call.Value() + if ssaCall == nil { + return subtests + } + for _, arg := range ssaCall.Call.Args { switch arg := arg.(type) { case *ssa.Function: |
