Closed sindrig closed 7 months ago
@sindrig thank you for your contribution 😄 could you please merge master into your branch?
@sindrig thank you for your contribution 😄 could you please merge master into your branch?
Done :heavy_check_mark:
@sindrig thank you for that! Looks like one of the pre-commit checks is failing. Please, run make test
and then push the changes
@sindrig thank you for that! Looks like one of the pre-commit checks is failing. Please, run
make test
and then push the changes
Import order got mixed up. Fixed :white_check_mark:
@sindrig Thank you for your contribution! I went ahead and merged your changes. Really appreciate your work and hope to see another PR of yours soon 😄
[x] Tests for the changes have been added
[ ] Docs have been added / updated
[x] All CI checks are green
What kind of change does this PR introduce?
As shown by the test, we want to return False for the empty string when checking if it is prefixed with a dollar.
The function
is_prefixed_with_dollar_sign
raisesIndexError
when called with the empty string.is_prefixed_with_dollar_sign
returns False for the empty string.