From 5a50bfd1792f1518c3442ebfec836ce95b785683 Mon Sep 17 00:00:00 2001 From: Stefan Haller Date: Sun, 26 Feb 2023 09:53:02 +0100 Subject: [PATCH] Fix opening the current test file from the integration test gui --- pkg/integration/clients/tui.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/integration/clients/tui.go b/pkg/integration/clients/tui.go index f93f4589a..6778bc012 100644 --- a/pkg/integration/clients/tui.go +++ b/pkg/integration/clients/tui.go @@ -121,7 +121,7 @@ func RunTUI() { return nil } - cmd := secureexec.Command("sh", "-c", fmt.Sprintf("code -r pkg/integration/tests/%s", currentTest.Name())) + cmd := secureexec.Command("sh", "-c", fmt.Sprintf("code -r pkg/integration/tests/%s.go", currentTest.Name())) if err := cmd.Run(); err != nil { return err }