File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 golangci-lint run ./...
1111
1212lint-allow-list :
13- golangci-lint run ./modules/random/...
13+ golangci-lint run ./modules/random/... ./modules/testing/...
1414
1515.PHONY : lint update-lint-config
Original file line number Diff line number Diff line change 1+ // Package testing provides the TestingT interface used throughout Terratest.
12package testing
23
34// TestingT is an interface that describes the implementation of the testing object
45// that the majority of Terratest functions accept as first argument.
56// Using an interface that describes testing.T instead of the actual implementation
67// makes terratest usable in a wider variety of contexts (e.g. use with ginkgo : https://godoc.org/github.com/onsi/ginkgo#GinkgoT)
78type TestingT interface {
8- //Fail marks the function as having failed but continues execution.
9+ // Fail marks the function as having failed but continues execution.
910 Fail ()
1011 // FailNow marks the function as having failed and stops its execution
1112 // by calling runtime.Goexit (which then runs all deferred calls in the
You can’t perform that action at this time.
0 commit comments