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:
parent
2b44228d6f
commit
a9ace57505
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue