summaryrefslogtreecommitdiffstats
path: root/pkg/integration/integration.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2022-08-11 21:28:55 +1000
committerJesse Duffield <jessedduffield@gmail.com>2022-08-13 13:55:09 +1000
commit610eddfe05cf68861bcfa1566d0d2d43aacab3fc (patch)
tree5bf0bfa66a92161f2a22f2fa952530ce3ab8a79e /pkg/integration/integration.go
parent1ef6f4c0e1f71d1285b9892b94c6e519d2739521 (diff)
fix CI
Diffstat (limited to 'pkg/integration/integration.go')
-rw-r--r--pkg/integration/integration.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/integration/integration.go b/pkg/integration/integration.go
index b479614c9..6227649e6 100644
--- a/pkg/integration/integration.go
+++ b/pkg/integration/integration.go
@@ -45,7 +45,7 @@ type (
func RunTests(
logf logf,
runCmd func(cmd *exec.Cmd) error,
- fnWrapper func(test *helpers.Test, f func() error),
+ fnWrapper func(test *helpers.IntegrationTest, f func() error),
mode Mode,
includeSkipped bool,
) error {
@@ -229,7 +229,7 @@ func compareSnapshots(logf logf, configDir string, actualDir string, expectedDir
return nil
}
-func createFixture(test *helpers.Test, actualDir string, rootDir string) error {
+func createFixture(test *helpers.IntegrationTest, actualDir string, rootDir string) error {
if err := os.Chdir(actualDir); err != nil {
panic(err)
}
@@ -249,7 +249,7 @@ func createFixture(test *helpers.Test, actualDir string, rootDir string) error {
return nil
}
-func getLazygitCommand(test *helpers.Test, testPath string, rootDir string) (*exec.Cmd, error) {
+func getLazygitCommand(test *helpers.IntegrationTest, testPath string, rootDir string) (*exec.Cmd, error) {
osCommand := oscommands.NewDummyOSCommand()
templateConfigDir := filepath.Join(rootDir, "test", "default_test_config")