Last active
July 4, 2018 09:57
-
-
Save KaneCheshire/583086b8ce01b0ae524ef1da009c44ad to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct Step { | |
@discardableResult | |
init(I handler: () -> Void) { | |
handler() | |
} | |
@discardableResult | |
init(I handler: @autoclosure () -> Void) { | |
handler() | |
} | |
} | |
typealias Given = Step | |
typealias When = Step | |
typealias Then = Step | |
typealias And = Step |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment