go test and tags

55 views
Skip to first unread message

Manlio Perillo

unread,
Feb 8, 2016, 3:06:29 PM2/8/16
to GopherJS
Hi.

I have started to learn gopherjs and found a possible issue.

I have some test code, but running
  $gopherjs test
returns: [no test files]

After a while I found the problem is with the build tag
// +build js

If I remove it, gopherjs test process my test file correctly.

I found the same problem when testing the js github.com/gopherjs/gopherjs/js package.


Thanks  Manlio
Reply all
Reply to author
Forward
0 new messages