Skip to content

Commit

Permalink
Fix typo 'stritc' in PrettyPrint spec (#5977)
Browse files Browse the repository at this point in the history
  • Loading branch information
makenowjust authored and RX14 committed Apr 21, 2018
1 parent 980492c commit 7539c01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/std/pretty_print_spec.cr
Expand Up @@ -350,7 +350,7 @@ private def hello(width)
end
end

private def stritc_pretty(width)
private def strict_pretty(width)
String.build do |io|
PrettyPrint.format(io, width) do |q|
q.group do
Expand Down Expand Up @@ -443,7 +443,7 @@ end
private def assert_strict_pretty(range, expected)
it "pretty prints strict pretty #{range}" do
range.each do |width|
stritc_pretty(width).should eq(expected)
strict_pretty(width).should eq(expected)
end
end
end
Expand Down

0 comments on commit 7539c01

Please sign in to comment.