From 981e71dba63fa09ca1aeb47290c4085a254475c8 Mon Sep 17 00:00:00 2001 From: syumai Date: Sat, 8 Jun 2024 16:04:21 +0900 Subject: [PATCH] fix typo in the cache example test function name (#2238) Signed-off-by: Shuichiro Fukuoka --- cache_example_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cache_example_test.go b/cache_example_test.go index e40754cc15..3ed57028cb 100644 --- a/cache_example_test.go +++ b/cache_example_test.go @@ -47,7 +47,7 @@ func newCompilationCacheWithDir(cacheDir string) wazero.CompilationCache { return cache } -// newRuntimeCompileDestroy creates a new wazero.Runtime, compile a binary, and then delete the runtime. +// newRuntimeCompileClose creates a new wazero.Runtime, compile a binary, and then delete the runtime. func newRuntimeCompileClose(ctx context.Context, config wazero.RuntimeConfig) { r := wazero.NewRuntimeWithConfig(ctx, config) defer r.Close(ctx) // This closes everything this Runtime created except the file system cache.