From 110273c53461a9a7ecdcca705346be21f25f50c6 Mon Sep 17 00:00:00 2001 From: k0kubun Date: Wed, 28 Nov 2018 01:53:46 +0000 Subject: [PATCH] using_spec.rb: skip broken test for MinGW for now ko1 is fixing this and he suggested to skip it for now git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- spec/ruby/core/main/using_spec.rb | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/spec/ruby/core/main/using_spec.rb b/spec/ruby/core/main/using_spec.rb index 1fb812f5cc..b8e6eebc1b 100644 --- a/spec/ruby/core/main/using_spec.rb +++ b/spec/ruby/core/main/using_spec.rb @@ -2,14 +2,16 @@ require_relative '../../spec_helper' 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