Skip to content

Change unless -> not#558

Merged
albertvaka merged 2 commits intomasterfrom
albertvaka/fix-double-end
Sep 3, 2019
Merged

Change unless -> not#558
albertvaka merged 2 commits intomasterfrom
albertvaka/fix-double-end

Conversation

@albertvaka
Copy link
Copy Markdown
Contributor

@albertvaka albertvaka commented Sep 3, 2019

unless starts a new conditional block, so we needed an extra end keyword (which was incorrectly nested).

Unless starts a new conditional block, so we needed an extra end keyword.
Copy link
Copy Markdown
Member

@truthbk truthbk left a comment

Choose a reason for hiding this comment

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

Can we add a tiny spec test to catch this (previously) broken scenario? It would've been nice to have caught this earlier with the tests (I think this was me introducing it too).

Other than that, LGTM.

@albertvaka albertvaka merged commit 425a6bf into master Sep 3, 2019
@albertvaka albertvaka deleted the albertvaka/fix-double-end branch September 3, 2019 10:30
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