ruby-changes:53804
From: ko1 <ko1@a...>
Date: Tue, 27 Nov 2018 14:42:40 +0900 (JST)
Subject: [ruby-changes:53804] ko1:r66022 (trunk): restore using_spec.rb
ko1 2018-11-27 14:42:33 +0900 (Tue, 27 Nov 2018) New Revision: 66022 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66022 Log: restore using_spec.rb 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 66021) +++ spec/ruby/core/main/using_spec.rb (revision 66022) @@ -6,11 +6,9 @@ describe "main.using" do https://github.com/ruby/ruby/blob/trunk/spec/ruby/core/main/using_spec.rb#L6 lambda do eval('using', TOPLEVEL_BINDING) end.should raise_error(ArgumentError) -=begin 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/