Skip to content

Commit

Permalink
Fix index
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanratcliffe committed Jul 9, 2024
1 parent fe45121 commit 9b3de66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/changes_submit_plan_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,8 @@ func TestHandleKnownAfterApply(t *testing.T) {
}

if list, ok := i.([]interface{}); ok {
if list[3] != KnownAfterApply {
t.Errorf("expected third string_value to be %v, got %v", KnownAfterApply, list[3])
if list[2] != KnownAfterApply {
t.Errorf("expected third string_value to be %v, got %v", KnownAfterApply, list[2])
}
} else {
t.Error("list_value is not a string slice")
Expand Down

0 comments on commit 9b3de66

Please sign in to comment.