Skip to content
Snippets Groups Projects
Commit b470f38b authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

Add tests.

parent 6da588fd
No related branches found
No related tags found
No related merge requests found
......@@ -727,6 +727,14 @@ The command has indeed failed with message:
Tactic failure:
"Only non-mask-changing update modalities can be introduced directly.
Use [iApply fupd_mask_intro] to introduce mask-changing update modalities".
"iRevert_wrong_sel_pat"
: string
The command has indeed failed with message:
Tactic failure: sel_pat.parse: n has unexpected type nat.
"iInduction_wrong_sel_pat"
: string
The command has indeed failed with message:
Tactic failure: sel_pat.parse: m has unexpected type nat.
"test_pure_name"
: string
1 goal
......
......@@ -1435,6 +1435,20 @@ Proof.
Fail iIntros "!>".
Abort.
Check "iRevert_wrong_sel_pat".
Lemma iRevert_wrong_sel_pat (n m : nat) (P Q : nat PROP) :
n = m -∗ P n -∗ P m.
Proof.
Fail iRevert n.
Abort.
Check "iInduction_wrong_sel_pat".
Lemma iInduction_wrong_sel_pat (n m : nat) (P Q : nat PROP) :
n = m -∗ P n -∗ P m.
Proof.
Fail iInduction n as [|n] "IH" forall m.
Abort.
End error_tests.
Section pure_name_tests.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment