mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
restore using_spec.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
aa44935969
commit
b02f3731b6
1 changed files with 0 additions and 2 deletions
|
|
@ -6,11 +6,9 @@ describe "main.using" do
|
|||
lambda do
|
||||
eval('using', TOPLEVEL_BINDING)
|
||||
end.should raise_error(ArgumentError)
|
||||
=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
Add a link
Reference in a new issue