diff options
author | Sean Griffin <sean@seantheprogrammer.com> | 2015-10-15 09:55:30 -0700 |
---|---|---|
committer | Sean Griffin <sean@seantheprogrammer.com> | 2015-10-15 09:55:30 -0700 |
commit | d6919c524ab441429579a75af9335865d1b7d42a (patch) | |
tree | 3f349ceb1a91c9dce5cc8dedf8a5d0f2a5d8e6d1 /activesupport/test/i18n_test.rb | |
parent | 34321e4a433bb7eef48fd743286601403f8f7d82 (diff) | |
download | rails-d6919c524ab441429579a75af9335865d1b7d42a.tar.gz rails-d6919c524ab441429579a75af9335865d1b7d42a.tar.bz2 rails-d6919c524ab441429579a75af9335865d1b7d42a.zip |
All strings returned by `ImmutableString` should be frozen
I seriously don't even know why we handle booleans, but those strings
should technically be frozen. Additionally, we don't need to actually
check the class in the mutable string type, since the `cast_value`
function will always return a string.
Diffstat (limited to 'activesupport/test/i18n_test.rb')
0 files changed, 0 insertions, 0 deletions