refactor: use struct to define interpreter Options. (#236)
This commit is contained in:
committed by
Marc Vertes
parent
1948ecf10e
commit
dea1f56f38
@@ -51,7 +51,7 @@ func runCheck(t *testing.T, p string) {
|
||||
r, w, _ := os.Pipe()
|
||||
os.Stdout = w
|
||||
|
||||
i := interp.New()
|
||||
i := interp.New(interp.Options{})
|
||||
i.Name = p
|
||||
i.Use(interp.Symbols)
|
||||
i.Use(stdlib.Symbols)
|
||||
|
||||
Reference in New Issue
Block a user