diff --git a/internal/command/test.go b/internal/command/test.go index 7fb84b6847..75e3f6344e 100644 --- a/internal/command/test.go +++ b/internal/command/test.go @@ -225,7 +225,7 @@ func (c *TestCommand) ExecuteTestFile(ctx *terraform.Context, file *moduletest.F c.View.Diagnostics(diags) for _, run := range file.Runs { - view.Run(run) + view.Run(run, file) } }