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

Fix regexp for $ensure params #609

Merged
merged 1 commit into from
Jun 6, 2016
Merged

Fix regexp for $ensure params #609

merged 1 commit into from
Jun 6, 2016

Conversation

hfm
Copy link

@hfm hfm commented Jun 4, 2016

\Aabsent|present\Z match wrong values like 'absentaaa' or 'aaapresent'.

@daenney
Copy link

daenney commented Jun 4, 2016

Can you add a test that checks for the old behaviour with an expectation that it'll now fail?

@hfm
Copy link
Author

hfm commented Jun 5, 2016

I added tests :)

@daenney
Copy link

daenney commented Jun 5, 2016

Great, please squash everything down to 1 commit and then we can merge.

/\Aabsent|present\Z/ match wrong values like 'absentaaa' or 'aaapresent'.

And add tests to the context of 'invalid ensure'.
@hfm
Copy link
Author

hfm commented Jun 5, 2016

okay, I squashed it.

@daenney
Copy link

daenney commented Jun 5, 2016

Perfect, thanks! I'll bring this up during the next module triage.

cc @tphoney @bmjen @hunner

@bmjen bmjen merged commit efbe46b into puppetlabs:master Jun 6, 2016
@bmjen
Copy link

bmjen commented Jun 6, 2016

Thanks @hfm and @daenney !

@hfm hfm deleted the fix-regexp branch June 6, 2016 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants