Skip to content

Commit 981e71d

Browse files
authored
fix typo in the cache example test function name (#2238)
Signed-off-by: Shuichiro Fukuoka <syumai@gmail.com>
1 parent 9995367 commit 981e71d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cache_example_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func newCompilationCacheWithDir(cacheDir string) wazero.CompilationCache {
4747
return cache
4848
}
4949

50-
// newRuntimeCompileDestroy creates a new wazero.Runtime, compile a binary, and then delete the runtime.
50+
// newRuntimeCompileClose creates a new wazero.Runtime, compile a binary, and then delete the runtime.
5151
func newRuntimeCompileClose(ctx context.Context, config wazero.RuntimeConfig) {
5252
r := wazero.NewRuntimeWithConfig(ctx, config)
5353
defer r.Close(ctx) // This closes everything this Runtime created except the file system cache.

0 commit comments

Comments
 (0)