mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-21 15:05:47 +00:00
Test suite: Don't print 'expected' in red.
This commit is contained in:
@@ -69,16 +69,14 @@ test fn name (input, expected) =
|
||||
|
||||
vividize :: (DI,String) -> String
|
||||
vividize (B,s) = s
|
||||
vividize (_,s) = vivid s
|
||||
vividize (F,s) = s
|
||||
vividize (S,s) = setSGRCode [SetColor Background Dull Red
|
||||
, SetColor Foreground Vivid White] ++ s
|
||||
++ setSGRCode [Reset]
|
||||
|
||||
property :: QP.Testable a => TestName -> a -> Test
|
||||
property = testProperty
|
||||
|
||||
vivid :: String -> String
|
||||
vivid s = setSGRCode [SetColor Background Dull Red
|
||||
, SetColor Foreground Vivid White] ++ s
|
||||
++ setSGRCode [Reset]
|
||||
|
||||
infix 5 =?>
|
||||
(=?>) :: a -> b -> (a,b)
|
||||
x =?> y = (x, y)
|
||||
|
||||
Reference in New Issue
Block a user