Skip to content

Commit

Permalink
simplify TestCommonCategory() assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
arianaw66 committed Nov 15, 2024
1 parent 72ffa84 commit 28a4d37
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/kubernetes/e2e/features/CRD_categories/suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ func (s *testingSuite) TestCommonCategory() {
err := cmd.WithStdout(io.Writer(&out)).Run().Cause()
s.NoError(err)

// output should include the installed VS
outCRs := strings.Split(strings.TrimSpace(out.String()), "\n")
s.Len(outCRs, 1)
s.Equal(outCRs[0], installedVs)
// output should match the installed VS
s.Equal(strings.TrimSpace(out.String()), installedVs)
}

0 comments on commit 28a4d37

Please sign in to comment.