git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eregon 2017-05-14 14:09:56 +00:00
parent d593aed7b7
commit a5b83b03ad
47 changed files with 254 additions and 172 deletions

View file

@ -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=)