From f6b8891508f4eb751e0344cf45d19b342a603f4f Mon Sep 17 00:00:00 2001 From: Matthew Rich Date: Mon, 6 May 2024 13:26:38 -0700 Subject: [PATCH] fix dup var names --- internal/resource/file_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/resource/file_test.go b/internal/resource/file_test.go index 3c37cdd..2315cad 100644 --- a/internal/resource/file_test.go +++ b/internal/resource/file_test.go @@ -310,7 +310,7 @@ func TestFileClone(t *testing.T) { f.State = "present" assert.Nil(t, f.Apply()) - _, readErr := f.Read(ctx) + _,readErr := f.Read(ctx) assert.Nil(t, readErr) time.Sleep(100 * time.Millisecond) @@ -321,8 +321,8 @@ func TestFileClone(t *testing.T) { clone.Path = testCloneFile assert.Nil(t, clone.Apply()) - _, readErr := f.Read(ctx) - assert.Nil(t, readErr) + _,updateReadErr := f.Read(ctx) + assert.Nil(t, updateReadErr) clone.Read(ctx)