Permalink
Browse files

Move js package tests into tests package.

This way, all GopherJS-specific tests are in tests package, rather than
having an arbitrary split. None of the package js tests were internal
to the package.

This helps a future change where the js package becomes embedded into
the compiler. It makes it easier to add and modify GopherJS tests
without having to regenerate the js package.

Resolves #792.
  • Loading branch information...
dmitshur committed Apr 20, 2018
1 parent e1d10e7 commit fcfa75a46cca3b1ed8b2c75c4f6f0a88df581baa
Showing with 1 addition and 1 deletion.
  1. +1 −1 {js → tests}/js_test.go
@@ -1,6 +1,6 @@
// +build js
package js_test
package tests_test
import (
"fmt"

0 comments on commit fcfa75a

Please sign in to comment.