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

ruby-changes:53794

From: ko1 <ko1@a...>
Date: Tue, 27 Nov 2018 09:44:19 +0900 (JST)
Subject: [ruby-changes:53794] ko1:r66012 (trunk): enable at least one behavior

ko1	2018-11-27 09:44:14 +0900 (Tue, 27 Nov 2018)

  New Revision: 66012

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66012

  Log:
    enable at least one behavior

  Modified files:
    trunk/spec/ruby/core/main/using_spec.rb
Index: spec/ruby/core/main/using_spec.rb
===================================================================
--- spec/ruby/core/main/using_spec.rb	(revision 66011)
+++ spec/ruby/core/main/using_spec.rb	(revision 66012)
@@ -7,11 +7,11 @@ describe "main.using" do https://github.com/ruby/ruby/blob/trunk/spec/ruby/core/main/using_spec.rb#L7
     lambda do
       eval('using', TOPLEVEL_BINDING)
     end.should raise_error(ArgumentError)
+=end
 
     lambda do
       eval('using "foo"', TOPLEVEL_BINDING)
     end.should raise_error(TypeError)
-=end
   end
 
   it "uses refinements from the given module only in the target file" do

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

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