feat: functional options to New() (#149)
This commit is contained in:
committed by
Ludovic Fernandez
parent
798252e020
commit
8910769b77
@@ -51,7 +51,7 @@ func runCheck(t *testing.T, p string) {
|
||||
r, w, _ := os.Pipe()
|
||||
os.Stdout = w
|
||||
|
||||
i := interp.New(interp.Opt{Entry: "main"})
|
||||
i := interp.New()
|
||||
i.Use(interp.ExportValue)
|
||||
i.Use(stdlib.Value)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user