parent 962fdbcb
...@@ -31,12 +31,12 @@ func TestGetNameFromCallsite(t *testing.T) { ...@@ -31,12 +31,12 @@ func TestGetNameFromCallsite(t *testing.T) {
{ {
name: "ignore-package", name: "ignore-package",
ignoredPackages: []string{"k8s.io/apimachinery/pkg/util/naming"}, ignoredPackages: []string{"k8s.io/apimachinery/pkg/util/naming"},
expected: "testing/testing.go:777", expected: "testing/testing.go:827",
}, },
{ {
name: "ignore-file", name: "ignore-file",
ignoredPackages: []string{"k8s.io/apimachinery/pkg/util/naming/from_stack_test.go"}, 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", name: "ignore-multiple",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment