diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-06 08:18:57 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-06 19:34:32 +1000 |
commit | 28ffaf93488756f9d257d07e8b7eae9dbd9fb8ad (patch) | |
tree | 6cb3340217a5bfe730bc9bcb6625acf071ef8dd5 /pkg/gui/gui_test.go | |
parent | d7da6dde0eac7f67350af7292873f976559899f3 (diff) |
tiny refactor
Diffstat (limited to 'pkg/gui/gui_test.go')
-rw-r--r-- | pkg/gui/gui_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/gui/gui_test.go b/pkg/gui/gui_test.go index c6f945ae9..677b77f7c 100644 --- a/pkg/gui/gui_test.go +++ b/pkg/gui/gui_test.go @@ -57,7 +57,8 @@ func Test(t *testing.T) { test := test t.Run(test.Name, func(t *testing.T) { - speeds := integration.GetTestSpeeds(test.Speed, updateSnapshots) + speedEnv := os.Getenv("SPEED") + speeds := integration.GetTestSpeeds(test.Speed, updateSnapshots, speedEnv) testPath := filepath.Join(testDir, test.Name) actualDir := filepath.Join(testPath, "actual") expectedDir := filepath.Join(testPath, "expected") |