Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add toNotIncludeSuspiciousCharacters() expectation #1287

Open
wants to merge 1 commit into
base: 3.x
Choose a base branch
from

Conversation

mortenscheel
Copy link

What:

  • Bug Fix
  • New Feature

Description:

I recently had to debug an issue that turned out to be caused by a small cyrillic c in the source code.
There are probably lots of other ways to prevent things like this from happening, but I wanted to see if it was possible with an Arch expectation in Pest.

I'm not sure if this feature has a broad enough appeal, or if the spoof check should be implemented on the base Expectation in stead, allowing users to run it on string literals.

If you're interested in this feature, I'll obviously add tests. And since I'm new to Pest I'd appreciate any feedback about better ways to implement this.

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.

1 participant