Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Address
warning: literal string will be frozen in the future
This commit addresses the following warnings. - Steps to reproduce: ```ruby $ ruby -v ruby 3.4.0dev (2024-10-26T13:20:34Z master 484ea00d2e) +PRISM [x86_64-linux] $ RUBYOPT="--debug-frozen-string-literal" bundle exec thor spec ``` - Warnings addressed by this commit: ``` /path/to/thor/spec/base_spec.rb:322: warning: literal string will be frozen in the future /path/to/thor/spec/base_spec.rb:321: info: the string was created here ``` ``` /path/to/thor/spec/parser/options_spec.rb:121: warning: literal string will be frozen in the future /path/to/thor/spec/parser/options_spec.rb:120: info: the string was created here ``` Refer to: https://bugs.ruby-lang.org/issues/20205 ruby/ruby#11893
- Loading branch information