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

Use new tag negation syntax everywhere #373

Merged
merged 2 commits into from
Apr 11, 2018
Merged

Use new tag negation syntax everywhere #373

merged 2 commits into from
Apr 11, 2018

Conversation

mvz
Copy link
Contributor

@mvz mvz commented Apr 7, 2018

Summary

The old tag negation syntax was left in a few places. This replaces them with the new syntax.

This is WIP because it depends on #372 which touches some of the same lines.

Motivation and Context

Fixes remaining causes of #346.

How Has This Been Tested?

Existing tests should still pass.

Types of changes

  • Bug fix (non-breaking change which fixes an issue).
  • New feature (non-breaking change which adds functionality).
  • Breaking change (fix or feature that would cause existing functionality to not work as expected).

Checklist:

  • I've added tests for my code.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

@@ -33,7 +33,7 @@ end
# DatabaseCleaner.strategy = :truncation
# end
#
# Before('~@no-txn', '~@selenium', '~@culerity', '~@celerity', '~@javascript') do
# Before('no @no-txn', 'no @selenium', 'no @culerity', 'no @celerity', 'no @javascript') do
Copy link
Member

Choose a reason for hiding this comment

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

Just to confirm: Is no a valid negation prefix? I haven't been able to find it in tag-expressions-ruby.

Copy link
Contributor

@aslakhellesoy aslakhellesoy Apr 10, 2018

Choose a reason for hiding this comment

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

No, no is not a negation prefix. It should be not.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@xtrasimplicity thanks for the keen eye!

Copy link
Contributor

@aslakhellesoy aslakhellesoy left a comment

Choose a reason for hiding this comment

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

LGTM!

@mvz mvz changed the title [WIP] Use new tag negation syntax everywhere Use new tag negation syntax everywhere Apr 11, 2018
@mvz mvz merged commit e99f91f into cucumber:master Apr 11, 2018
@mvz mvz deleted the fix-tags branch April 11, 2018 15:42
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.

3 participants