From 23435f9735da650ed4cc240d12d95b845f9dba67 Mon Sep 17 00:00:00 2001 From: Akos0628 <75949273+Akos0628@users.noreply.github.com> Date: Thu, 14 Dec 2023 23:29:54 +0100 Subject: [PATCH] Fix test for odd variant (#15), fix #14 --- 08-arrays/03-filtering-data/.exercise_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/08-arrays/03-filtering-data/.exercise_test.go b/08-arrays/03-filtering-data/.exercise_test.go index 02a8abb..0f547a0 100644 --- a/08-arrays/03-filtering-data/.exercise_test.go +++ b/08-arrays/03-filtering-data/.exercise_test.go @@ -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}