Skip to content

Commit

Permalink
remove old test
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Goodman <[email protected]>
  • Loading branch information
wagoodman committed Feb 28, 2025
1 parent c12e153 commit f7056b0
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions grype/presenter/json/presenter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,15 +122,6 @@ func TestEmptyJsonPresenter(t *testing.T) {

}

// TODO: fix me
//func TestPresenter_Present_NewDocumentSorted(t *testing.T) {
// _, doc := internal.GenerateAnalysis(t, internal.ImageSource)
//
// if !sort.IsSorted(models.NewMatchSorter(doc.Matches, models.SortByPackage)) {
// t.Errorf("expected matches to be sorted")
// }
//}

func redact(content []byte) []byte {
return timestampRegexp.ReplaceAll(content, []byte(`"timestamp":""`))
}

0 comments on commit f7056b0

Please sign in to comment.