From a9ace57505c1430889f3e3eefa0e3f6f5294756a Mon Sep 17 00:00:00 2001 From: ko1 Date: Tue, 27 Nov 2018 03:12:58 +0000 Subject: enable another assertion git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- spec/ruby/core/main/using_spec.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/spec/ruby/core/main/using_spec.rb b/spec/ruby/core/main/using_spec.rb index 04acd536e1..c9449a6fe9 100644 --- a/spec/ruby/core/main/using_spec.rb +++ b/spec/ruby/core/main/using_spec.rb @@ -3,15 +3,14 @@ require_relative 'fixtures/classes' describe "main.using" do it "requires one Module argument" do -=begin lambda do eval('using', TOPLEVEL_BINDING) end.should raise_error(ArgumentError) -=end - +=begin lambda do eval('using "foo"', TOPLEVEL_BINDING) end.should raise_error(TypeError) +=end end it "uses refinements from the given module only in the target file" do -- cgit v1.2.3