1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fixed exception message

This commit is contained in:
Nobuyoshi Nakada 2019-07-22 13:51:14 +09:00
parent f6461fa890
commit d1c2b19698
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -9,7 +9,7 @@ when /\A--test-target-dir=(.*?)\z/
ARGV.shift
src_testdir = File.realpath($1)
else
raise "unknown runner option: #{ opt }"
raise "unknown runner option: #{ ARGV.first }"
end
raise "#$0: specify --test-target-dir" if !src_testdir