Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Nigel2392 committed May 9, 2024
1 parent ea9437b commit 445e637
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quickgo/js/js_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 445e637

Please sign in to comment.