summaryrefslogtreecommitdiff
path: root/spec/ruby/core/main/using_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/main/using_spec.rb')
-rw-r--r--spec/ruby/core/main/using_spec.rb16
1 files changed, 7 insertions, 9 deletions
diff --git a/spec/ruby/core/main/using_spec.rb b/spec/ruby/core/main/using_spec.rb
index b8e6eebc1b..1fb812f5cc 100644
--- a/spec/ruby/core/main/using_spec.rb
+++ b/spec/ruby/core/main/using_spec.rb
@@ -2,16 +2,14 @@ require_relative '../../spec_helper'
require_relative 'fixtures/classes'
describe "main.using" do
- 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)
+ 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)
- end
+ lambda do
+ eval('using "foo"', TOPLEVEL_BINDING)
+ end.should raise_error(TypeError)
end
it "uses refinements from the given module only in the target file" do