mirror of https://github.com/k3s-io/k3s
Fix TestGetNameFromCallsite as the test runner line changed.
https://github.com/golang/go/blob/release-branch.go1.10/src/testing/testing.go#L777 https://github.com/golang/go/blob/release-branch.go1.11/src/testing/testing.go#L827pull/58/head
parent
962fdbcbca
commit
e2893bbc94
|
@ -31,12 +31,12 @@ func TestGetNameFromCallsite(t *testing.T) {
|
|||
{
|
||||
name: "ignore-package",
|
||||
ignoredPackages: []string{"k8s.io/apimachinery/pkg/util/naming"},
|
||||
expected: "testing/testing.go:777",
|
||||
expected: "testing/testing.go:827",
|
||||
},
|
||||
{
|
||||
name: "ignore-file",
|
||||
ignoredPackages: []string{"k8s.io/apimachinery/pkg/util/naming/from_stack_test.go"},
|
||||
expected: "testing/testing.go:777",
|
||||
expected: "testing/testing.go:827",
|
||||
},
|
||||
{
|
||||
name: "ignore-multiple",
|
||||
|
|
Loading…
Reference in New Issue