mirror of
https://github.com/google/ormolu.git
synced 2024-11-30 14:46:39 +03:00
9a1f5ebd87
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.
15 lines
172 B
Haskell
15 lines
172 B
Haskell
{-# LANGUAGE TypeFamilies #-}
|
|
|
|
class Foo a where data FooBar a
|
|
|
|
-- | Something.
|
|
class Bar a where
|
|
|
|
-- | Bar bar
|
|
data BarBar a
|
|
|
|
-- | Bar baz
|
|
data
|
|
BarBaz
|
|
a
|