mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
Align isolation oracle with complete constructor removal
This commit is contained in:
1 parent
acd961e40e
commit
a15b174c72
1 file changed
-7
@@ -100,11 +100,4 @@ func TestLegacyFixtureIsolationRejectsFunctionValues(t *testing.T) {
|
||||
}
|
||||
})
|
||||
}
|
||||
f, err := parser.ParseFile(token.NewFileSet(), "legacy.go", "package storage\nfunc createLegacyWALStoreWithOptions() {}", 0)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if refs := legacyConstructorReferences(f, map[string]bool{name: true}); len(refs) != 0 {
|
||||
t.Fatalf("declaration is not a use: %v", refs)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user