Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikus1993 committed Feb 13, 2022
1 parent 799a251 commit 0ff86ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/model/article_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func TestGetRandomArticlesWhenTakeIsGreaterThanLenOfArticlesArray(t *testing.T)
}
close(articles)
randomArticles := TakeRandomArticles(articles, 5)
assert.Len(t, randomArticles, len(articles))
assert.Len(t, randomArticles, 3)
}

func TestGetRandomArticlesWhenTakeIsSmallerThanLenOfArticlesArray(t *testing.T) {
Expand Down

0 comments on commit 0ff86ec

Please sign in to comment.