diff --git a/browser/chromium/profile_test.go b/browser/chromium/profile_test.go index 20c9c74..725a984 100644 --- a/browser/chromium/profile_test.go +++ b/browser/chromium/profile_test.go @@ -75,8 +75,8 @@ func TestAcquireFiles(t *testing.T) { paths := p.acquireFiles(session, cats) assert.Len(t, paths, len(cats)) - for _, p := range paths { - _, err := os.Stat(p) + for _, path := range paths { + _, err := os.Stat(path) require.NoError(t, err, "acquired file should exist") } }