aboutsummaryrefslogtreecommitdiffhomepage
path: root/transform/globals_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'transform/globals_test.go')
-rw-r--r--transform/globals_test.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/transform/globals_test.go b/transform/globals_test.go
index 0dcb0608d..1b6f243b8 100644
--- a/transform/globals_test.go
+++ b/transform/globals_test.go
@@ -1,14 +1,15 @@
-package transform
+package transform_test
import (
"testing"
+ "github.com/tinygo-org/tinygo/transform"
"tinygo.org/x/go-llvm"
)
func TestApplyFunctionSections(t *testing.T) {
t.Parallel()
testTransform(t, "testdata/globals-function-sections", func(mod llvm.Module) {
- ApplyFunctionSections(mod)
+ transform.ApplyFunctionSections(mod)
})
}