mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
enable at least one behavior
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b0ba0595fa
commit
eea3fe0a3b
1 changed files with 1 additions and 1 deletions
|
@ -7,11 +7,11 @@ describe "main.using" do
|
|||
lambda do
|
||||
eval('using', TOPLEVEL_BINDING)
|
||||
end.should raise_error(ArgumentError)
|
||||
=end
|
||||
|
||||
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
Add a link
Reference in a new issue