All Downloads are FREE. Search and download functionalities are using the official Maven repository.

haskell-http-client.tests.Test.mustache Maven / Gradle / Ivy

There is a newer version: 7.8.0
Show newest version
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE PartialTypeSignatures #-}

module Main where

import Data.Typeable (Proxy(..))
import Test.Hspec
import Test.Hspec.QuickCheck

import PropMime
import Instances ()

import {{baseModule}}.Model
import {{baseModule}}.MimeTypes

main :: IO ()
main =
  hspec $ modifyMaxSize (const 5) $ do
    describe "JSON instances" $ do
      pure ()
      {{#models}}{{#model}}propMimeEq MimeJSON (Proxy :: Proxy {{classname}})
      {{/model}}{{/models}}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy