Skip to content

Commit

Permalink
Fixing failed tests from 454 and 459 merge (#461)
Browse files Browse the repository at this point in the history
Fixing failed tests from #454 and #459 merge
  • Loading branch information
deepthirera authored Jul 20, 2024
1 parent c66e843 commit bb7e5ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions talismanrc/talismanrc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@ custom_severities:
- detector: Base64Content
severity: low
`)
persistedRC := newPersistedRC(talismanRCContents)
persistedRC, _ := newPersistedRC(talismanRCContents)
talismanRC := fromPersistedRC(persistedRC, ScanMode)
assert.Equal(t, newPersistedRC(talismanRCContents).Threshold, severity.High)
assert.Equal(t, len(newPersistedRC(talismanRCContents).CustomSeverities), 1)
assert.Equal(t, persistedRC.Threshold, severity.High)
assert.Equal(t, len(persistedRC.CustomSeverities), 1)
assert.Equal(t, persistedRC.CustomSeverities, talismanRC.CustomSeverities)
}

Expand Down

0 comments on commit bb7e5ef

Please sign in to comment.