packages feed

postgresql-syntax-0.5.0.0: hspec-test/Ast/SconstSpec.hs

module Ast.SconstSpec (spec) where

import Helpers.Specs
import PostgresqlSyntax.Ast.Sconst
import Test.Hspec
import Prelude

spec :: Spec
spec = do
  itSatisfiesIsAst @Sconst
  itSatisfiesArbitrary @Sconst
  describe "Parsers" $ do
    itParses @Sconst "'it''s good'"
    itParses @Sconst "$$it's good$$"
    itParses @Sconst "$x$it's good$x$"