Skip to content

Commit

Permalink
Add GitHub App Token test (#185)
Browse files Browse the repository at this point in the history
Adds test for the GitHub App Token regex.
  • Loading branch information
SkeletalDemise authored Oct 8, 2021
1 parent 61bf3f7 commit fbf9150
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_regex_identifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -896,6 +896,11 @@ def test_github_refresh_token():
_assert_match_first_item("GitHub Refresh Token", res)


def test_github_app_token():
res = r.check(["ghu_16C7e42F292c6912E7710c838347Ae178B4a"])
_assert_match_first_item("GitHub App Token", res)


def test_zapier_webhook():
res = r.check(["https://hooks.zapier.com/hooks/catch/1234567/f8f22dgg/"])
_assert_match_first_item("Zapier Webhook Token", res)
Expand Down

0 comments on commit fbf9150

Please # to comment.