aboutsummaryrefslogtreecommitdiffhomepage
path: root/transform
diff options
context:
space:
mode:
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 {