summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPatrickBrisbin <>2012-04-14 00:46:55 (GMT)
committerhdiff <hdiff@luite.com>2012-04-14 00:46:55 (GMT)
commite1820e6bb2977686f778cc769db3f3848869245e (patch)
tree74310a703462bfbd6083c0943228613420c50ab4 /tests
parentbdf6d48c6817e547c0ce82a5a2e35120aec01404 (diff)
version 0.5.10.5.1
Diffstat (limited to 'tests')
-rw-r--r--tests/tests.hs12
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/tests.hs b/tests/tests.hs
deleted file mode 100644
index 60ab08e..0000000
--- a/tests/tests.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-import Network.Gravatar
-
-main = do
- print $ gravatar "dons@galois.com" == "http://www.gravatar.com/avatar.php?gravatar_id=f21827076a1d0725c4f4bd5a640102e9"
-
- print $ (gravatarWith "dons@galois.com" (Just R) Nothing (Just "http://haskell.org") ) == "http://www.gravatar.com/avatar.php?gravatar_id=f21827076a1d0725c4f4bd5a640102e9&rating=R&default=http%3A%2F%2Fhaskell.org"
-
- print $ (gravatarWith "dons@galois.com" (Just R) (size 20) (Just "http://haskell.org") ) == "http://www.gravatar.com/avatar.php?gravatar_id=f21827076a1d0725c4f4bd5a640102e9&rating=R&size=20&default=http%3A%2F%2Fhaskell.org"
-
- -- illegal size
- print $ (gravatarWith "dons@galois.com" (Just R) (size 200) (Just "http://haskell.org") ) == "http://www.gravatar.com/avatar.php?gravatar_id=f21827076a1d0725c4f4bd5a640102e9&rating=R&default=http%3A%2F%2Fhaskell.org"
-