runtime: rm ignoreName

This commit is contained in:
visualfc
2025-02-15 14:51:11 +08:00
parent 0d218bb4b9
commit 8be9a560e9
3 changed files with 13 additions and 40 deletions

View File

@@ -329,12 +329,6 @@ func TestIntVal(t *testing.T) {
intVal(&ssa.Parameter{})
}
func TestIgnoreName(t *testing.T) {
if !ignoreName("runtime/foo.bar") || ignoreName("internal/abi.Type") {
t.Fatal("ignoreName failed")
}
}
func TestErrImport(t *testing.T) {
var ctx context
pkg := types.NewPackage("foo", "foo")