Skip to content

Commit

Permalink
card-tricks: add test to fail solutions checking index == len(slice) (#…
Browse files Browse the repository at this point in the history
…2763)

[no important files changed]
  • Loading branch information
CodeBleu authored Jul 25, 2024
1 parent aede71e commit 166f24d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/concept/card-tricks/card_tricks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func TestGetItem(t *testing.T) {
name: "Index out of bounds",
args: args{
slice: []int{5, 2, 10, 6, 8, 7, 0, 9},
index: 8,
index: 9,
},
want: -1,
},
Expand Down

0 comments on commit 166f24d

Please sign in to comment.