Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Test suite: more helpful error messages when dynamic way test fails

  • Loading branch information...
commit d81b805814e764adc58a6ae6fb114cc941f4b6a0 1 parent 9e6baf3
Johan Tibell authored October 04, 2012
5  Cabal/tests/PackageTests/TemplateHaskell/Check.hs
@@ -31,7 +31,7 @@ profiling = TestCase $ do
31 31
                ,"--enable-executable-profiling"]
32 32
        spec = PackageSpec ("PackageTests" </> "TemplateHaskell" </> "profiling") flags
33 33
    result <- cabal_build spec
34  
-   assertEqual "cabal build should succeed - see test-log.txt" True (successful result)
  34
+   assertBuildSucceeded result
35 35
 
36 36
 dynamic :: Test
37 37
 dynamic = TestCase $ do
@@ -40,5 +40,4 @@ dynamic = TestCase $ do
40 40
                 ,"--enable-executable-dynamic"]
41 41
         spec = PackageSpec ("PackageTests" </> "TemplateHaskell" </> "dynamic") flags
42 42
     result <- cabal_build spec
43  
-    assertEqual "cabal build should succeed - see test-log.txt" True (successful result)
44  
-
  43
+    assertBuildSucceeded result

0 notes on commit d81b805

Please sign in to comment.
Something went wrong with that request. Please try again.