diff options
author | Jean Boussier <[email protected]> | 2024-03-13 12:50:11 +0100 |
---|---|---|
committer | Jean Boussier <[email protected]> | 2024-03-14 17:56:15 +0100 |
commit | 09d8c99cdcb04fb6c6c8e61c9dea28927a3a0b46 () | |
tree | 646ab40dec94c5bd405b485e62f00343cc50db72 /tool/rbinstall.rb | |
parent | 4e03d56e21e3df98a828c8efb7011b01db1a8d52 (diff) |
Ensure test suite is compatible with --frozen-string-literal
As preparation for https://bugs.ruby-lang.org/issues/20205 making sure the test suite is compatible with frozen string literals is making things easier.
-rwxr-xr-x | tool/rbinstall.rb | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -100,11 +100,11 @@ def parse_args(argv = ARGV) unless $install_procs.empty? w = (w = ENV["COLUMNS"] and (w = w.to_i) > 80) ? w - 30 : 50 opt.on("\n""Types for --install and --exclude:") - mesg = " " $install_procs.each_key do |t| if mesg.size + t.size > w opt.on(mesg) - mesg = " " end mesg << " " << t.to_s end |