From 445e6371237f26439fa1b1841ce8e4d835c054e0 Mon Sep 17 00:00:00 2001 From: Nigel van Keulen Date: Thu, 9 May 2024 02:01:28 +0200 Subject: [PATCH] Fix tests --- quickgo/js/js_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickgo/js/js_test.go b/quickgo/js/js_test.go index e35448d..4812bb7 100644 --- a/quickgo/js/js_test.go +++ b/quickgo/js/js_test.go @@ -10,7 +10,7 @@ import ( func NewScript(funcName string, retValue any, retMessage string) string { return fmt.Sprintf(` function %s() { - return %v, "%s"; + return Result(%v, "%s"); } `, funcName, retValue, retMessage) }