diff --git a/suite.go b/suite.go index 5c79a74..0666778 100644 --- a/suite.go +++ b/suite.go @@ -748,7 +748,10 @@ func (s sortByOrderGiven) Swap(i, j int) { s[i], s[j] = s[j], s[i] } func filterFeatures(tags string, collected map[string]*feature) (features []*feature) { for _, ft := range collected { applyTagFilter(tags, ft) - features = append(features, ft) + + if ft.Feature != nil { + features = append(features, ft) + } } sort.Sort(sortByOrderGiven(features))