packages feed

postgresql-syntax-0.5.0.2: hspec-test/Ast/InsertStmtSpec.hs

module Ast.InsertStmtSpec (spec) where

import Helpers.Specs
import PostgresqlSyntax.Ast.InsertStmt
import Test.Hspec

spec :: Spec
spec = do
  itSatisfiesIsAst @InsertStmt
  itSatisfiesArbitrary @InsertStmt
  -- https://github.com/nikita-volkov/postgresql-syntax/issues/35
  itParses @InsertStmt "insert into ta.xa (values (default))"