Skip to content

gopherjs test fails #395

Closed
Closed
@dave

Description

@dave

GopherJS: 0faf2ef
Node: node/5.6.0
Go: go version go1.5.1 darwin/amd64

Given the following project:

gotest.go:

package jstest

gotest_test.go

package jstest

import "testing"

func TestNil(t *testing.T) {

}

... running gopherjs test produces an error:

$ gopherjs test
gopherjs: Source maps disabled. Use Node.js 4.x with source-map-support module for nice stack traces.
PASS
fatal error: all goroutines are asleep - deadlock!
FAIL    github.com/davelondon/jstest    0.359s

Of course go test passes:

$ go test
PASS
ok      github.com/davelondon/jstest    0.008s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions