mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-04-27 13:25:40 +00:00
fix test names for script.wasm
This commit is contained in:
@@ -38,7 +38,7 @@ func TestGoodScriptWASM(t *testing.T) {
|
|||||||
expected []byte
|
expected []byte
|
||||||
}{
|
}{
|
||||||
{
|
{
|
||||||
name: "number",
|
name: "string input, default process function with wasi",
|
||||||
params: map[string]any{
|
params: map[string]any{
|
||||||
"path": "good.wasm",
|
"path": "good.wasm",
|
||||||
"enableWasi": true,
|
"enableWasi": true,
|
||||||
@@ -47,7 +47,7 @@ func TestGoodScriptWASM(t *testing.T) {
|
|||||||
expected: []byte("Processed: hello"),
|
expected: []byte("Processed: hello"),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "number",
|
name: "string input, specified function with wasi",
|
||||||
params: map[string]any{
|
params: map[string]any{
|
||||||
"path": "good.wasm",
|
"path": "good.wasm",
|
||||||
"enableWasi": true,
|
"enableWasi": true,
|
||||||
|
|||||||
Reference in New Issue
Block a user