ormolu/data/examples/declaration/splice/splice-decl.hs
Utku Demir 9a1f5ebd87 Split large examples
There has been a lot of good intense work lately and as a result of that
some examples have grown considerably. The problem is that we do not show
diffs when something is not formatted as expected, we show entire
"expected/got" files. It works well when files are small, but not so well
where they are huge (some of our examples are well beyond 100 lines). It can
be hard to understand where the problem is.

This commit split long examples into smaller ones to make it easier to see
what went wrong when a test fails.
2019-08-25 12:35:31 +02:00

19 lines
170 B
Haskell

{-# LANGUAGE TemplateHaskell #-}
$( foo bar)
$foo
$$( foo bar)
$$foo
foo bar
[|booya|]
-- TemplateHaskell allows Q () at the top level
do
pure []