Skip to content

Commit

Permalink
tests/layout: assert slices ignoring the order
Browse files Browse the repository at this point in the history
  • Loading branch information
demget committed Feb 5, 2022
1 parent 67d873f commit 8adfab4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layout/layout_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func TestLayout(t *testing.T) {
assert.Equal(t, "html", pref.ParseMode)
assert.Equal(t, &tele.LongPoller{}, pref.Poller)

assert.Equal(t, []tele.Command{{
assert.ElementsMatch(t, []tele.Command{{
Text: "start",
Description: "Start the bot",
}, {
Expand Down

0 comments on commit 8adfab4

Please sign in to comment.