Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/ruby/core/string/modulo_spec.rb
Original file line number Diff line number Diff line change
@@ -517,6 +517,7 @@ def universal.to_f() 0.0 end
("%1$p" % [10, 5]).should == "10"
("%-22p" % 10).should == "10 "
("%*p" % [10, 10]).should == " 10"
("%p" % {capture: 1}).should == "{:capture=>1}"
end

it "calls inspect on arguments for %p format" do

0 comments on commit e66f638

Please sign in to comment.