diff options
-rw-r--r-- | starlark/example_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/starlark/example_test.go b/starlark/example_test.go index 4bd0c74..5feca38 100644 --- a/starlark/example_test.go +++ b/starlark/example_test.go @@ -116,8 +116,7 @@ func ExampleThread_Load_sequential() { return e.globals, e.err } - thread := &starlark.Thread{Name: "exec c.star", Load: load} - globals, err := load(thread, "c.star") + globals, err := load(nil, "c.star") if err != nil { log.Fatal(err) } |