fix dup var names
Some checks failed
Lint / golangci-lint (push) Failing after 9m50s
Declarative Tests / test (push) Successful in 59s

This commit is contained in:
Matthew Rich 2024-05-06 13:26:38 -07:00
parent cf97af96b3
commit f6b8891508

View File

@ -310,7 +310,7 @@ func TestFileClone(t *testing.T) {
f.State = "present" f.State = "present"
assert.Nil(t, f.Apply()) assert.Nil(t, f.Apply())
_, readErr := f.Read(ctx) _,readErr := f.Read(ctx)
assert.Nil(t, readErr) assert.Nil(t, readErr)
time.Sleep(100 * time.Millisecond) time.Sleep(100 * time.Millisecond)
@ -321,8 +321,8 @@ func TestFileClone(t *testing.T) {
clone.Path = testCloneFile clone.Path = testCloneFile
assert.Nil(t, clone.Apply()) assert.Nil(t, clone.Apply())
_, readErr := f.Read(ctx) _,updateReadErr := f.Read(ctx)
assert.Nil(t, readErr) assert.Nil(t, updateReadErr)
clone.Read(ctx) clone.Read(ctx)