8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ec1720 commit 110273cCopy full SHA for 110273c
spec/ruby/core/main/using_spec.rb
@@ -2,14 +2,16 @@
2
require_relative 'fixtures/classes'
3
4
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)
+ 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)
9
+ end.should raise_error(ArgumentError)
10
11
- eval('using "foo"', TOPLEVEL_BINDING)
12
- end.should raise_error(TypeError)
+ eval('using "foo"', TOPLEVEL_BINDING)
13
+ end.should raise_error(TypeError)
14
+ end
15
end
16
17
it "uses refinements from the given module only in the target file" do
0 commit comments