mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
to debug 20566898/job/hda29416yal9h6hn
use binary search
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
51196cf518
commit
b0ba0595fa
1 changed files with 2 additions and 0 deletions
|
@ -3,6 +3,7 @@ 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)
|
||||
|
@ -10,6 +11,7 @@ describe "main.using" do
|
|||
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