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

ruby-changes:58355

From: MSP-Greg <ko1@a...>
Date: Tue, 22 Oct 2019 14:07:32 +0900 (JST)
Subject: [ruby-changes:58355] 22845176d7 (master): test/ruby/test_exception typo fix

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

From 22845176d70576ea9a331dca019c46d3c0605f12 Mon Sep 17 00:00:00 2001
From: MSP-Greg <MSP-Greg@u...>
Date: Mon, 21 Oct 2019 16:36:38 -0500
Subject: test/ruby/test_exception typo fix


diff --git a/test/ruby/test_exception.rb b/test/ruby/test_exception.rb
index 85ca4dd..442a36b 100644
--- a/test/ruby/test_exception.rb
+++ b/test/ruby/test_exception.rb
@@ -995,7 +995,7 @@ end.join https://github.com/ruby/ruby/blob/trunk/test/ruby/test_exception.rb#L995
     error = NoMethodError.new("Message", :foo)
     assert_raise(ArgumentError) {error.receiver}
 
-    msg = defined?(:DidYouMean.formatter) ?
+    msg = defined?(DidYouMean.formatter) ?
       "Message\nDid you mean?  for" : "Message"
 
     error = NoMethodError.new("Message", :foo, receiver: receiver)
-- 
cgit v0.10.2


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

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