rails / thor

Thor is a toolkit for building powerful command-line interfaces.
http://whatisthor.com/
MIT License
5.14k stars 553 forks source link

Silence encoding warnings in specs #857

Closed p8 closed 1 year ago

p8 commented 1 year ago

Setting Encoding.default_external prints a warning when running specs:

 warning: setting Encoding.default_external

Wrapping this with a silence_warnings block, silences the warnings.