on master help sign in
fix compilation error on GHC 7.10 in static optimizer test
commitcdaee56f7dc81a959260cfabf22d6eec44778f9c authorAgentM <agentm@themactionfaction.com> dateTue 26 Dec 2017, 12:31 (9 years ago) parentd284006
1 file changed+1−1
test/Relation/StaticOptimizer.hs+1−1
test/Relation/StaticOptimizer.hs+1−1
@@ -126,7 +126,7 @@ testPushDownRestrictionPredicate = TestCase $ do
126126 let rvs = RelationVariable "s" ()
127127 stevens <- case mkRelationFromList (attributes suppliersRel) [
128128 [TextAtom "S6", TextAtom "Stevens", IntegerAtom 50, TextAtom "Boston"]] of
129− Left err -> assertFailure $ "stevens relation: " ++ show err
129+ Left err -> (assertFailure ("stevens relation: " ++ show err)) >> pure relationTrue
130130 Right rel -> pure rel
131131 let expr1 = Restrict status30 (Union rvs (ExistingRelation stevens))
132132 status30 = AttributeEqualityPredicate "status" (NakedAtomExpr (IntAtom 30))