[前][次][番号順一覧][スレッド一覧]

ruby-changes:56617

From: Nobuyoshi <ko1@a...>
Date: Mon, 22 Jul 2019 13:51:32 +0900 (JST)
Subject: [ruby-changes:56617] Nobuyoshi Nakada: d1c2b19698 (master): Fixed exception message

https://git.ruby-lang.org/ruby.git/commit/?id=d1c2b19698

From d1c2b1969814fee14a01296aa2867abd07f70d04 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Mon, 22 Jul 2019 13:51:14 +0900
Subject: Fixed exception message


diff --git a/tool/test/runner.rb b/tool/test/runner.rb
index b3cdba6..20ae9aa 100644
--- a/tool/test/runner.rb
+++ b/tool/test/runner.rb
@@ -9,7 +9,7 @@ when /\A--test-target-dir=(.*?)\z/ https://github.com/ruby/ruby/blob/trunk/tool/test/runner.rb#L9
   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
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]