mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-07-04 21:37:47 +02:00
test(chromium): rename shadowed loop var to path
This commit is contained in:
@@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user