Skip to content

Conversation

@ikesyo
Copy link
Member

@ikesyo ikesyo commented Jun 20, 2014

If we don't use if let x = actual {}, it causes a compile error like the screenshot.

2014-06-20 15 27 27

@ikesyo ikesyo changed the title Use switch-case statement in Contain Matcher [Nimble] Use switch-case statement in Contain Matcher Jun 20, 2014
Copy link
Member

Choose a reason for hiding this comment

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

Awesome!! 👍 🎆

@modocache
Copy link
Member

@ikesyo Thanks! Weird compilation error, but I love the change. Very Swift-y. 💃 ✨

modocache added a commit that referenced this pull request Jun 20, 2014
[Nimble] Use switch-case statement in Contain Matcher
@modocache modocache merged commit a4c057c into Quick:master Jun 20, 2014
@ikesyo
Copy link
Member Author

ikesyo commented Jun 20, 2014

Thank you for merging! 🤘

@ikesyo ikesyo deleted the use-switch-case branch June 20, 2014 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants