1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

enable another assertion

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2018-11-27 03:12:58 +00:00
parent 2b44228d6f
commit a9ace57505

View file

@ -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