From fcfa75a46cca3b1ed8b2c75c4f6f0a88df581baa Mon Sep 17 00:00:00 2001 From: Dmitri Shuralyov Date: Fri, 20 Apr 2018 14:00:45 -0400 Subject: [PATCH] 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. --- {js => tests}/js_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename {js => tests}/js_test.go (99%) diff --git a/js/js_test.go b/tests/js_test.go similarity index 99% rename from js/js_test.go rename to tests/js_test.go index 39afc530d..a51ee2767 100644 --- a/js/js_test.go +++ b/tests/js_test.go @@ -1,6 +1,6 @@ // +build js -package js_test +package tests_test import ( "fmt"