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

Skip to content

Commit 16d6a91

Browse files
committed
Revert "using_spec.rb: skip broken test for MinGW for now"
This reverts commit 110273c. Try this with r66087 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 66e9bfd commit 16d6a91

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

spec/ruby/core/main/using_spec.rb

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

44
describe "main.using" do
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)
5+
it "requires one Module argument" do
6+
lambda do
7+
eval('using', TOPLEVEL_BINDING)
8+
end.should raise_error(ArgumentError)
109

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

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

0 commit comments

Comments
 (0)
0