Skip to content

Commit 65a3f5a

Browse files
makenowjustMartin Verzilli
authored and
Martin Verzilli
committedApr 23, 2017
Formatter: reduce spec's requires (#4188)
`./bin/crystal run ./spec/compiler/formatter/formatter_spec.cr` is 7.5x faster than old.
1 parent 9265f7f commit 65a3f5a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

Diff for: ‎spec/compiler/formatter/formatter_spec.cr

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
require "../../spec_helper"
1+
require "spec"
2+
require "../../../src/compiler/crystal/formatter"
23

34
private def assert_format(input, output = input, strict = false, file = __FILE__, line = __LINE__)
45
it "formats #{input.inspect}", file, line do

0 commit comments

Comments
 (0)
Please sign in to comment.