Skip to content

Commit

Permalink
👻 count analysis tags only. (#137) (#151)
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Ortel <jortel@redhat.com>
Co-authored-by: Jeff Ortel <jortel@redhat.com>
  • Loading branch information
shawn-hurley and jortel committed Jul 3, 2024
1 parent 6bbeebc commit 33bab4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions analysis/analysis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,8 @@ func TestApplicationAnalysis(t *testing.T) {

// Check Tags (if specified by TestCase).
if len(tc.AnalysisTags) > 0 {
if len(tc.AnalysisTags) != len(gotApp.Tags) {
t.Errorf("Different Tags amount error. Got: %d, expected: %d.\n", len(gotApp.Tags), len(tc.AnalysisTags))
if len(tc.AnalysisTags) != len(gotTags) {
t.Errorf("Different Tags amount error. Got: %d, expected: %d.\n", len(gotTags), len(tc.AnalysisTags))
notFoundTags, unexpectedTags := getTagsDiff(tc.AnalysisTags, gotTags)
for _, notFoundTag := range notFoundTags {
pp.Println("Expected tag not found", notFoundTag)
Expand Down

0 comments on commit 33bab4c

Please sign in to comment.