reddit-0.2.2.0: test-utils/Utils.hs
module Utils where
import Reddit
import Data.Default.Class
runAnon :: Reddit a -> IO (Either (APIError RedditError) a)
runAnon =
runRedditWith def { customUserAgent = Just "reddit-haskell test suite" }
module Utils where
import Reddit
import Data.Default.Class
runAnon :: Reddit a -> IO (Either (APIError RedditError) a)
runAnon =
runRedditWith def { customUserAgent = Just "reddit-haskell test suite" }