diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-06-08 08:43:27 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-06-08 08:45:04 +0900 |
commit | d93317534ca6350ae9f8a9f285250e5b63728ba3 (patch) | |
tree | 7dacb42257b435f44ddb761d477c26288f47fc26 /actionview/test/template/erb/tag_helper_test.rb | |
parent | ac8b79d553592b3c9515940b5fe5e9d3c7ec9a45 (diff) | |
download | rails-d93317534ca6350ae9f8a9f285250e5b63728ba3.tar.gz rails-d93317534ca6350ae9f8a9f285250e5b63728ba3.tar.bz2 rails-d93317534ca6350ae9f8a9f285250e5b63728ba3.zip |
Remove unreachable code
`Time.find_zone!` raise `ArgumentError` if invalid value is specified.
https://github.com/rails/rails/blob/379a0b42daf0d8e14130db7fd886d05d8d88e3f2/activesupport/lib/active_support/core_ext/time/zones.rb#L97..L99
Therefore, the return value never becomes nil.
Diffstat (limited to 'actionview/test/template/erb/tag_helper_test.rb')
0 files changed, 0 insertions, 0 deletions