mirror of
https://github.com/ruby/ruby.git
synced 2025-08-25 22:14:37 +02:00
Update to ruby/spec@032022ca
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d593aed7b7
commit
a5b83b03ad
47 changed files with 254 additions and 172 deletions
|
@ -127,7 +127,7 @@ describe "The while expression" do
|
|||
a.should == [1, 2]
|
||||
end
|
||||
|
||||
it "stops running body if interrupted by break in a parenthesized attribute op-assign-or value" do
|
||||
it "stops running body if interrupted by break with unless in a parenthesized attribute op-assign-or value" do
|
||||
a = mock("attribute assignment break")
|
||||
a.should_receive(:m).twice.and_return(nil)
|
||||
a.should_receive(:m=)
|
||||
|
@ -142,7 +142,7 @@ describe "The while expression" do
|
|||
end.should be_nil
|
||||
end
|
||||
|
||||
it "stops running body if interrupted by break in a begin ... end attribute op-assign-or value" do
|
||||
it "stops running body if interrupted by break with unless in a begin ... end attribute op-assign-or value" do
|
||||
a = mock("attribute assignment break")
|
||||
a.should_receive(:m).twice.and_return(nil)
|
||||
a.should_receive(:m=)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue