summaryrefslogtreecommitdiffstats
path: root/pkg/gui/gui_test.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2021-04-06 08:18:57 +1000
committerJesse Duffield <jessedduffield@gmail.com>2021-04-06 19:34:32 +1000
commit28ffaf93488756f9d257d07e8b7eae9dbd9fb8ad (patch)
tree6cb3340217a5bfe730bc9bcb6625acf071ef8dd5 /pkg/gui/gui_test.go
parentd7da6dde0eac7f67350af7292873f976559899f3 (diff)
tiny refactor
Diffstat (limited to 'pkg/gui/gui_test.go')
-rw-r--r--pkg/gui/gui_test.go3
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")