Brightify / Cuckoo

Boilerplate-free mocking framework for Swift!
MIT License
1.67k stars 172 forks source link

Fixed crashes when the file contains Japanese etc. #466

Closed nanashiki closed 1 year ago

nanashiki commented 1 year ago

overview

Fixed: https://github.com/Brightify/Cuckoo/issues/465

MatyasKriz commented 1 year ago

Hey, @nanashiki, thank you so much for fixing the crash. Would you mind adding a japanese comment into the tests' TestedClass.swift file to make sure this is caught if it happens again? 🙂

nanashiki commented 1 year ago

@MatyasKriz Added test case. b13ce83

This test case fails on master

MatyasKriz commented 1 year ago

@MatyasKriz Added test case. b13ce83

This test case fails on master

Looks good! Thanks for testing it on master as well, I'm merging it and a patch release should go out momentarily. 🙂