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.
13 lines
145 B
Haskell
13 lines
145 B
Haskell
-- | Foo
|
|
class Foo a where
|
|
foo :: a -> a
|
|
foo a = a
|
|
|
|
-- | Bar
|
|
class Bar a where
|
|
bar ::
|
|
a
|
|
-> Int
|
|
bar = const 0
|
|
|