-
-
Notifications
You must be signed in to change notification settings - Fork 410
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests failing on ruby 2.2 #324
Comments
It happens because these methods: https://github.com/svenfuchs/i18n/blob/master/lib/i18n/backend/metadata.rb#L22-L30 try to modify instance variable inside true/false class which are frozen (https://bugs.ruby-lang.org/issues/8923) These setters and getters are initialised called here: https://github.com/svenfuchs/i18n/blob/master/lib/i18n/backend/metadata.rb#L47 I'm just curious why it doesn't fail on other frozen classes like For debugging purposes I prepended Maybe these true/false tests are useless? I'm not quite sure what functionality they really test. 73dc34b#diff-c97f106685f92dbd8a677b3e77b1b1b4R25 |
is there any update on this one? |
Haven't touched this since last post |
#305 has been merged into master, and it solves this issue. Thanks everyone for reporting it! |
runing with:
bundle exec rake test
The text was updated successfully, but these errors were encountered: