Skip to content

Commit

Permalink
tests: add fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
ice1000 committed Jan 6, 2023
1 parent 92be278 commit ef94733
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion base/src/test/resources/failure/holes/issue747.aya.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Goal: Goal of type
Context:
{a : Nat}
To ensure confluence:
Given (i ⇒ _), we should have: 0
Given (_ ⇒ 0, i ⇒ _), we should have: 0

In file $FILE:11:13 ->

Expand Down
8 changes: 8 additions & 0 deletions base/src/test/resources/success/src/Prop.aya
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
open import Paths

open struct Squash (A: Type): Prop
| value: A

Expand All @@ -9,3 +11,9 @@ def squashElim {A: Type} {P: Prop} (f: A -> P) (squash: Squash A): P => f squash
def squash2Elim {A: Type} {P: Prop} (f: A -> P) (squash: Squash2 A): P
| f, (squash a) => f a

open data Carry (A : Prop) : Type
| carry A

open data Bool : Prop | true | false

def check : carry true = carry false => idp

0 comments on commit ef94733

Please sign in to comment.