We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8abc50a commit 79cdcfaCopy full SHA for 79cdcfa
test/console/print_test.rb
@@ -15,7 +15,7 @@ def test_p_prints_the_expression
15
debug_code(program) do
16
type "c"
17
type "p h"
18
- assert_line_text('{:foo=>"bar"}')
+ assert_line_text({ foo: "bar" }.inspect)
19
20
end
21
@@ -24,7 +24,7 @@ def test_pp_pretty_prints_the_expression
24
25
26
type "pp h"
27
- assert_line_text([/\{:foo=>/, /"bar"\}/])
+ assert_line_text({ foo: "bar" }.pretty_print_inspect)
28
29
30
0 commit comments