aboutsummaryrefslogtreecommitdiffhomepage
path: root/transform
diff options
context:
space:
mode:
authorJosé Carlos Chávez <[email protected]>2022-06-07 00:39:12 +0200
committerRon Evans <[email protected]>2022-06-11 12:11:08 +0200
commita07287d3c670b516685c58bb7e7be159253b5372 (patch)
treec68e8b30645fe47e9673e98571bf008bc3886265 /transform
parent1b2e764835fb5278de144caf059cb094bad4db23 (diff)
downloadtinygo-a07287d3c670b516685c58bb7e7be159253b5372.tar.gz
tinygo-a07287d3c670b516685c58bb7e7be159253b5372.zip
fix: fixes tinygo test ./... syntax.
Diffstat (limited to 'transform')
-rw-r--r--transform/transform_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/transform/transform_test.go b/transform/transform_test.go
index 9ad724346..1c6b5df39 100644
--- a/transform/transform_test.go
+++ b/transform/transform_test.go
@@ -146,7 +146,7 @@ func compileGoFileForTesting(t *testing.T, filename string) llvm.Module {
defer machine.Dispose()
// Load entire program AST into memory.
- lprogram, err := loader.Load(config, []string{filename}, config.ClangHeaders, types.Config{
+ lprogram, err := loader.Load(config, filename, config.ClangHeaders, types.Config{
Sizes: compiler.Sizes(machine),
})
if err != nil {