diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-27 03:12:58 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-27 03:12:58 +0000 |
commit | a9ace57505c1430889f3e3eefa0e3f6f5294756a (patch) | |
tree | 31bc40e4ad1cbf0be305d61b440313c33037644a /spec/ruby | |
parent | 2b44228d6f4e504bbadc576efedbf26b9c12ecc8 (diff) |
enable another assertion
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/ruby')
-rw-r--r-- | spec/ruby/core/main/using_spec.rb | 5 |
1 files 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 |