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.rb10
1 files changed, 4 insertions, 6 deletions
diff --git a/spec/ruby/core/main/using_spec.rb b/spec/ruby/core/main/using_spec.rb
index 8a23970c4b..5b9a751595 100644
--- a/spec/ruby/core/main/using_spec.rb
+++ b/spec/ruby/core/main/using_spec.rb
@@ -142,11 +142,9 @@ describe "main.using" do
end.should raise_error(RuntimeError)
end
- ruby_version_is "3.2" do
- it "does not raise error when wrapped with module" do
- -> do
- load File.expand_path('../fixtures/using.rb', __FILE__), true
- end.should_not raise_error
- end
+ it "does not raise error when wrapped with module" do
+ -> do
+ load File.expand_path('../fixtures/using.rb', __FILE__), true
+ end.should_not raise_error
end
end