summaryrefslogtreecommitdiff
path: root/tests/tests.hs
diff options
context:
space:
mode:
authorDonaldStewart <>2008-03-04 02:20:35 (GMT)
committerLuite Stegeman <luite@luite.com>2008-03-04 02:20:35 (GMT)
commita16a3af579df098a308860b9c00fea4ff1f8cc31 (patch)
tree35424e37eea5ed2ef8db62621bc7294ec3ee53f2 /tests/tests.hs
parente3b717112ccdb4a30ea88ae831283f17a3423740 (diff)
version 0.20.2
Diffstat (limited to 'tests/tests.hs')
-rw-r--r--tests/tests.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/tests.hs b/tests/tests.hs
index 000d205..2964df0 100644
--- a/tests/tests.hs
+++ b/tests/tests.hs
@@ -2,3 +2,6 @@ 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"
+