summaryrefslogtreecommitdiff
path: root/spec/ruby/library/pp
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/pp')
-rw-r--r--spec/ruby/library/pp/pp_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/pp/pp_spec.rb b/spec/ruby/library/pp/pp_spec.rb
index 243478efd9..e45a6bb94f 100644
--- a/spec/ruby/library/pp/pp_spec.rb
+++ b/spec/ruby/library/pp/pp_spec.rb
@@ -25,6 +25,6 @@ describe "PP.pp" do
hash = { 'key' => 42 }
-> {
PP.pp hash
- }.should output('{"key"=>42}' + "\n")
+ }.should output("#{hash.inspect}\n")
end
end