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)