mirror of
https://github.com/github/semantic.git
synced 2024-12-24 23:42:31 +03:00
Run the builders.
This commit is contained in:
parent
fc70382d5b
commit
b979e9757c
@ -14,13 +14,13 @@ spec = parallel $ do
|
||||
for_ diffFixtures $ \ (diffRenderer, diffMode, expected) ->
|
||||
it ("renders to " <> show diffRenderer <> " in mode " <> show diffMode) $ do
|
||||
output <- runTask $ runDiff diffRenderer diffMode
|
||||
output `shouldBe'` expected
|
||||
runBuilder output `shouldBe'` expected
|
||||
|
||||
describe "runParse" $
|
||||
for_ parseFixtures $ \ (parseTreeRenderer, parseMode, expected) ->
|
||||
it ("renders to " <> show parseTreeRenderer <> " in mode " <> show parseMode) $ do
|
||||
output <- runTask $ runParse parseTreeRenderer parseMode
|
||||
output `shouldBe'` expected
|
||||
runBuilder output `shouldBe'` expected
|
||||
where
|
||||
shouldBe' actual expected = do
|
||||
when (actual /= expected) $ print actual
|
||||
|
Loading…
Reference in New Issue
Block a user