Skip to content

Added / fixed tests and regex #175

Merged
bee-san merged 10 commits intobee-san:mainfrom
mostafamohamed8881:main
Oct 6, 2021
Merged

Added / fixed tests and regex #175
bee-san merged 10 commits intobee-san:mainfrom
mostafamohamed8881:main

Conversation

@mostafamohamed8881
Copy link
Copy Markdown
Contributor

Hello Again 👋

  • Added tests and regex for Visual Studio Token and NPM Token
  • Correct me if i am wrong but Bitly regex was incorrect because according to this video, https://www.youtube.com/watch?v=2rL4K4YOop8 and i even registered for a account to try it, the secret key was combosed of 40 hex characters
  • I couldn't use _assert_match_first_item because Visual Studio Token and Bitly now has the same regex, and i noticed that there was an unused function called _assert_match_in_items so i rewrote it and used it for both of them

and if you want to me to refactor the tests so that all of them uses either _assert_match_in_items and _assert_match_first_item only i can do it

Copy link
Copy Markdown
Owner

@bee-san bee-san left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some great work here 👏👏👏👏 Thank you!!! 💖💖💖

@bee-san bee-san merged commit 9394f5b into bee-san:main Oct 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants