Skip to content


Browse files Browse the repository at this point in the history
Formatter: reduce spec's requires (#4188)
`./bin/crystal run ./spec/compiler/formatter/` is
7.5x faster than old.
  • Loading branch information
makenowjust authored and Martin Verzilli committed Apr 23, 2017
1 parent 9265f7f commit 65a3f5a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/compiler/formatter/
@@ -1,4 +1,5 @@
require "../../spec_helper"
require "spec"
require "../../../src/compiler/crystal/formatter"

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

0 comments on commit 65a3f5a

Please sign in to comment.