You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var _ = ginkgo.Describe("something", func() {
ginkgo.It("fails", func(ctx context.Context) {
ginkgo.GinkgoT().Fatal("this failure is intentional")
})
})
Output:
[FAILED] this failure is intentional
In [It] at: /nvme/gopath/src/k8s.io/kubernetes/vendor/github.com/onsi/ginkgo/v2/internal/suite.go:889 @ 01/03/24 12:02:50.498
It works when using ginkgo.GinkgoT(1).
Either that should be the default or stack unwinding needs to know that it can skip ginkgo/v2/internal.
The text was updated successfully, but these errors were encountered:
Reproducer:
Output:
It works when using
ginkgo.GinkgoT(1)
.Either that should be the default or stack unwinding needs to know that it can skip
ginkgo/v2/internal
.The text was updated successfully, but these errors were encountered: