We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33259e4 commit a52e727Copy full SHA for a52e727
lib/minitest.rb
@@ -189,8 +189,12 @@ def self.process_args args = [] # :nodoc:
189
end
190
191
# omg wtf
192
- def opts.short_alias(from, to) = top.short[to] = top.short[from]
193
- def opts.long_alias(from, to) = top.long[to] = top.long[from]
+ def opts.short_alias(from, to)
+ top.short[to] = top.short[from]
194
+ end
195
+ def opts.long_alias(from, to)
196
+ top.long[to] = top.long[from]
197
198
199
# these will work but won't show up in --help output:
200
opts.long_alias "name", "include"
0 commit comments