Skip to content

Commit

Permalink
Use fail directive in test
Browse files Browse the repository at this point in the history
Co-authored-by: Facundo Domínguez <facundominguez@gmail.com>
  • Loading branch information
AlecsFerra and facundominguez authored Nov 11, 2024
1 parent 446d5c5 commit 6db3ffc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/neg/RefinedProp.hs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{-# Language GADTs #-}

{-@ LIQUID "--expect-any-error" @-}

module RefinedProp where

import Language.Haskell.Liquid.ProofCombinators
Expand All @@ -12,5 +10,6 @@ data Id where
data ID = Id Int

-- Should error as False is supposed to not be satisfied
{-@ fail bad @-}
{-@ bad :: { v:Prop (Id 12) | False } @-}
bad = MkId

0 comments on commit 6db3ffc

Please sign in to comment.