Skip to content

Commit

Permalink
test(teler): invoke threat.Get instead of panicking
Browse files Browse the repository at this point in the history
when fails to checks if datasets is updated.

Signed-off-by: Dwi Siswanto <[email protected]>
  • Loading branch information
dwisiswant0 committed Feb 26, 2024
1 parent 4464fc5 commit 4d5f3dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion teler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func init() {

updated, err := threat.IsUpdated()
if err != nil {
panic(err)
_ = threat.Get()
}

verified, err := threat.Verify()
Expand Down

0 comments on commit 4d5f3dc

Please sign in to comment.