railsware / Sleipnir

BDD-style framework for Swift
http://railsware.com/blog/2014/07/04/bdd-style-testing-in-swift-with-sleipnir
MIT License
844 stars 48 forks source link

Fix String related matchers #22

Open atermenji opened 8 years ago

atermenji commented 8 years ago

In Swift 2.2 String is not SequenceType anymore. One should try to use String.CharacterView instead. E.g.

public func endWith(item: String) -> EndWith<String.CharacterView, Character>