Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
directionless committed Jul 6, 2020
1 parent 031b93a commit 6054e82
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/osquery/tables/tablehelpers/getconstraints_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package tablehelpers

import (
"sort"
"testing"

"github.com/stretchr/testify/require"
Expand Down Expand Up @@ -76,6 +77,7 @@ func TestGetConstraints(t *testing.T) {
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
actual := GetConstraints(mockQC, tt.name, tt.defaults...)
sort.Strings(actual)
require.Equal(t, tt.expected, actual)
})
}
Expand Down

0 comments on commit 6054e82

Please sign in to comment.