X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=src%2FAssertions.hs;h=33b79b9b8ba68bb3dabc2002ad284498705bc335;hb=3f0b6b7faecc561af0b7312a11c73a44a1b416f6;hp=6641e8c988c146026bd79191f8d7f7c4273f64c8;hpb=23f7d3668482dfbe768bc3009b92836e94578137;p=spline3.git diff --git a/src/Assertions.hs b/src/Assertions.hs index 6641e8c..33b79b9 100644 --- a/src/Assertions.hs +++ b/src/Assertions.hs @@ -28,4 +28,5 @@ assertClose preface expected actual = "expected: " ++ show expected ++ "\n but got: " ++ show actual -- | It's asinine that this doesn't exist already. +assertTrue :: String -> Bool -> Assertion assertTrue = assertBool