trill-lang / trill

A type safe, compiled language inspired by (and written in) Swift
MIT License
275 stars 15 forks source link

[stdlib] Fix hasSuffix #53

Closed segiddins closed 7 years ago

segiddins commented 7 years ago

It was previously totally borked

harlanhaskins commented 7 years ago

Wanna add a test?

segiddins commented 7 years ago

We don't really have tests yet 😅 given the behavior was just wrong, rather than a crasher, I don't know that adding an example would help

harlanhaskins commented 7 years ago

Right -- this can just be added later once we finish the unit testing framework.