mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-17 11:13:27 +00:00
all: use new testing features of Go 1.14 and 1.15
This simplifies the tests a bit.
This commit is contained in:
committed by
Ron Evans
parent
25c7bfd404
commit
59d53182bb
@@ -11,8 +11,7 @@ func TestEvent(t *testing.T) {
|
||||
|
||||
t.Parallel()
|
||||
|
||||
wasmTmpDir, server, cleanup := startServer(t)
|
||||
defer cleanup()
|
||||
wasmTmpDir, server := startServer(t)
|
||||
|
||||
err := run("tinygo build -o " + wasmTmpDir + "/event.wasm -target wasm testdata/event.go")
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user