cl: don't ignore standard libraries

This commit is contained in:
Li Jie
2025-01-16 21:55:25 +08:00
parent 727ec8a5cf
commit 491a23b21e
4 changed files with 2 additions and 39 deletions

View File

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