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
This commit is contained in:
k0kubun 2018-11-28 01:53:46 +00:00
Родитель 6ec1720aa3
Коммит 110273c534
1 изменённых файлов: 9 добавлений и 7 удалений

Просмотреть файл

@ -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