Skip to content

Commit 7539c01

Browse files
makenowjustRX14
authored andcommittedApr 21, 2018
Fix typo 'stritc' in PrettyPrint spec (#5977)
1 parent 980492c commit 7539c01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

Diff for: ‎spec/std/pretty_print_spec.cr

+2-2
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ private def hello(width)
350350
end
351351
end
352352

353-
private def stritc_pretty(width)
353+
private def strict_pretty(width)
354354
String.build do |io|
355355
PrettyPrint.format(io, width) do |q|
356356
q.group do
@@ -443,7 +443,7 @@ end
443443
private def assert_strict_pretty(range, expected)
444444
it "pretty prints strict pretty #{range}" do
445445
range.each do |width|
446-
stritc_pretty(width).should eq(expected)
446+
strict_pretty(width).should eq(expected)
447447
end
448448
end
449449
end

0 commit comments

Comments
 (0)