Skip to content

Commit

Permalink
Fixing failed tests from #454 and #459 merge
Browse files Browse the repository at this point in the history
  • Loading branch information
deepthirera committed Jul 19, 2024
1 parent c66e843 commit e4d92e0
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 e4d92e0

Please sign in to comment.