aboutsummaryrefslogtreecommitdiff
path: root/tests/tests/QuasiQuote.hs
diff options
context:
space:
mode:
authorDavid Waern <david.waern@gmail.com>2009-01-22 19:57:47 +0000
committerDavid Waern <david.waern@gmail.com>2009-01-22 19:57:47 +0000
commit1eea663ab4072ca68ac3144fe9e66c5beadf2d42 (patch)
tree86af14a02e924ccac3b98e47eb858fa6a8e64068 /tests/tests/QuasiQuote.hs
parent1abb4b96ff98b49e0b55c8cf55f2fdf1a35299e1 (diff)
Improve quasi-quotation test and add reference output
Diffstat (limited to 'tests/tests/QuasiQuote.hs')
-rw-r--r--tests/tests/QuasiQuote.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tests/QuasiQuote.hs b/tests/tests/QuasiQuote.hs
index a1aa7256..ed3c3787 100644
--- a/tests/tests/QuasiQuote.hs
+++ b/tests/tests/QuasiQuote.hs
@@ -5,5 +5,5 @@ module QuasiQuote where
import QuasiExpr
-run :: IO ()
-run = do { print $ eval [$expr|1 + 2|] }
+val :: Integer
+val = eval [$expr|1 + 2|]