Commits

Sergio Tulentsev  committed 0a0ef3c

Change test file also

  • Participants
  • Parent commits 481eb5f

Comments (0)

Files changed (1)

File stackexchange_test.go

 	}
 }
 
-func TestJoinIDs(t *testing.T) {
-	tests := []struct {
-		IDs    []int
-		String string
-	}{
-		{nil, ""},
-		{[]int{}, ""},
-		{[]int{1}, "1"},
-		{[]int{40}, "40"},
-		{[]int{1, 40}, "1;40"},
-		{[]int{1, 40, 72}, "1;40;72"},
-		{[]int{1, 5, 2, 3}, "1;5;2;3"},
-	}
-	for _, test := range tests {
-		if out := JoinIDs(test.IDs); out != test.String {
-			t.Errorf("JoinIDs(%v) = %q; want %q", test.IDs, out, test.String)
-		}
-	}
-}
-
 func ExampleDo() {
 	var questions []Question
 	wrapper, err := Do(PathQuestions, &questions, &Params{