ruby-changes:53869
From: k0kubun <ko1@a...>
Date: Thu, 29 Nov 2018 15:51:19 +0900 (JST)
Subject: [ruby-changes:53869] k0kubun:r66088 (trunk): Revert "using_spec.rb: skip broken test for MinGW for now"
k0kubun 2018-11-29 15:51:08 +0900 (Thu, 29 Nov 2018) New Revision: 66088 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66088 Log: Revert "using_spec.rb: skip broken test for MinGW for now" This reverts commit 110273c53461a9a7ecdcca705346be21f25f50c6. Try this with r66087 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 66087) +++ spec/ruby/core/main/using_spec.rb (revision 66088) @@ -2,16 +2,14 @@ require_relative '../../spec_helper' https://github.com/ruby/ruby/blob/trunk/spec/ruby/core/main/using_spec.rb#L2 require_relative 'fixtures/classes' describe "main.using" do - platform_is_not :mingw do # This is broken after TracePoint target [Feature #15289], and ko1 is fixing this - it "requires one Module argument" do - lambda do - eval('using', TOPLEVEL_BINDING) - end.should raise_error(ArgumentError) + it "requires one Module argument" do + lambda do + eval('using', TOPLEVEL_BINDING) + end.should raise_error(ArgumentError) - lambda do - eval('using "foo"', TOPLEVEL_BINDING) - end.should raise_error(TypeError) - end + lambda do + eval('using "foo"', TOPLEVEL_BINDING) + end.should raise_error(TypeError) 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/