mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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:
parent
6ec1720aa3
commit
110273c534
1 changed files with 9 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue