8000 using_spec.rb: skip broken test for MinGW for now · github/ruby@110273c · GitHub
[go: up one dir, main page]

Skip to content

Commit 110273c

Browse files
committed
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
1 parent 6ec1720 commit 110273c

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

spec/ruby/core/main/using_spec.rb

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22
require_relative 'fixtures/classes'
33

44
describe "main.using" do
5-
it "requires one Module argument" do
6-
lambda do
7-
eval('using', TOPLEVEL_BINDING)
8-
end.should raise_error(ArgumentError)
5+
platform_is_not :mingw do # This is broken after TracePoint target [Feature #15289], and ko1 is fixing this
6+
it "requires one Module argument" do
7+
lambda do
8+
eval('using', TOPLEVEL_BINDING)
9+
end.should raise_error(ArgumentError)
910

10-
lambda do
11-
eval('using "foo"', TOPLEVEL_BINDING)
12-
end.should raise_error(TypeError)
11+
lambda do
12+
eval('using "foo"', TOPLEVEL_BINDING)
13+
end.should raise_error(TypeError)
14+
end
1315
end
1416

1517
it "uses refinements from the given module only in the target file" do

0 commit comments

Comments
 (0)
0