runtime: config overlay

This commit is contained in:
visualfc
2025-02-06 11:02:09 +08:00
parent 1b3464b610
commit 0d218bb4b9
7 changed files with 16 additions and 9 deletions

View File

@@ -329,6 +329,12 @@ 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")