mirror of
https://github.com/mudler/luet.git
synced 2025-09-09 02:59:30 +00:00
Bump ginkgo (#310)
This commit is contained in:
committed by
GitHub
parent
eecde087e9
commit
5f231da649
5
vendor/github.com/onsi/ginkgo/v2/internal/spec.go
generated
vendored
5
vendor/github.com/onsi/ginkgo/v2/internal/spec.go
generated
vendored
@@ -2,6 +2,7 @@ package internal
|
||||
|
||||
import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/onsi/ginkgo/v2/types"
|
||||
)
|
||||
@@ -40,6 +41,10 @@ func (s Spec) FlakeAttempts() int {
|
||||
return flakeAttempts
|
||||
}
|
||||
|
||||
func (s Spec) SpecTimeout() time.Duration {
|
||||
return s.FirstNodeWithType(types.NodeTypeIt).SpecTimeout
|
||||
}
|
||||
|
||||
type Specs []Spec
|
||||
|
||||
func (s Specs) HasAnySpecsMarkedPending() bool {
|
||||
|
Reference in New Issue
Block a user