Skip to content

Commit

Permalink
Fix engine test (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
v-byte-cpu authored Apr 22, 2021
1 parent 80d18f4 commit 9b59f22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/scan/engine_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -324,10 +324,10 @@ func TestScanEngineWithResults(t *testing.T) {
sort.Slice(results, func(i, j int) bool {
return results[i].ID() < results[j].ID()
})
require.Equal(t, results, []Result{
require.Equal(t, []Result{
&mockScanResult{"id1"},
&mockScanResult{"id2"},
})
}, results)
}()
waitDone(t, done)
}
Expand Down

0 comments on commit 9b59f22

Please sign in to comment.