Skip to content

Commit

Permalink
Fix test for odd variant (#15), fix #14
Browse files Browse the repository at this point in the history
  • Loading branch information
Akos0628 authored Dec 14, 2023
1 parent 7374a8e commit 23435f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 08-arrays/03-filtering-data/.exercise_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func TestFilterData(t *testing.T) {

keys = []string{"a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k"}
indices = []int{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
assert.Equal(t, [10]string{"a", "c", "e", "g", "i", "", "", "", "", ""} , filterData(keys, indices))
assert.Equal(t, [10]string{"a", "c", "e", "g", "i", "k", "", "", "", ""} , filterData(keys, indices))

keys = []string{"a", "b"}
indices = []int{0, 1}
Expand Down

0 comments on commit 23435f9

Please sign in to comment.