Skip to content

Commit

Permalink
Assert ElementsMatch instead of Equal for slices returned by Discover…
Browse files Browse the repository at this point in the history
…VTGates in discovery_static_file_test.go

Signed-off-by: Sara Bee <855595+doeg@users.noreply.github.com>
  • Loading branch information
doeg committed Dec 28, 2020
1 parent 3bfb75b commit 0a7df91
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ func TestDiscoverVTGates(t *testing.T) {
}

assert.NoError(t, err)
assert.Equal(t, tt.expected, gates)
assert.ElementsMatch(t, tt.expected, gates)
})
}
}

0 comments on commit 0a7df91

Please sign in to comment.