ruby-changes:53844
From: k0kubun <ko1@a...>
Date: Wed, 28 Nov 2018 10:53:50 +0900 (JST)
Subject: [ruby-changes:53844] k0kubun:r66062 (trunk): using_spec.rb: skip broken test for MinGW for now
k0kubun 2018-11-28 10:53:46 +0900 (Wed, 28 Nov 2018) New Revision: 66062 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66062 Log: using_spec.rb: skip broken test for MinGW for now ko1 is fixing this and he suggested to skip it for now 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 66061) +++ spec/ruby/core/main/using_spec.rb (revision 66062) @@ -2,14 +2,16 @@ 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 - it "requires one Module argument" do - lambda do - eval('using', TOPLEVEL_BINDING) - end.should raise_error(ArgumentError) + 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) - lambda do - eval('using "foo"', TOPLEVEL_BINDING) - end.should raise_error(TypeError) + 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/