From f909669dd0f2e46042c9e3f08996ddecd86e3e63 Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Sun, 1 Jan 2012 17:24:16 +0200 Subject: [PATCH] Get tests to compile --- yesod-routes/test/main.hs | 2 +- yesod-routes/yesod-routes.cabal | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/yesod-routes/test/main.hs b/yesod-routes/test/main.hs index 35d93567..f2e6ffc9 100644 --- a/yesod-routes/test/main.hs +++ b/yesod-routes/test/main.hs @@ -73,7 +73,7 @@ do , Resource "SubsiteR" [Static "subsite"] $ Subsite (ConT ''MySub) "getMySub" ] rrinst <- mkRenderRouteInstance "MyAppRoute" ress - dispatch <- mkDispatchClause ress [|dispatchHelper|] + dispatch <- mkDispatchClause ress [|error "FIXME" dispatchHelper|] return [ mkRouteType "MyAppRoute" ress , rrinst diff --git a/yesod-routes/yesod-routes.cabal b/yesod-routes/yesod-routes.cabal index 20153acb..0727af45 100644 --- a/yesod-routes/yesod-routes.cabal +++ b/yesod-routes/yesod-routes.cabal @@ -35,6 +35,8 @@ test-suite runtests , HUnit >= 1.2 && < 1.3 , hspec >= 0.6 && < 0.10 , yesod-core >= 0.9.3 && < 0.10 + , containers + , template-haskell ghc-options: -Wall source-repository head