Skip to content

Commit

Permalink
Implement basic tests for "coq.extra-dep"
Browse files Browse the repository at this point in the history
  • Loading branch information
phikal committed Oct 21, 2023
1 parent c598a25 commit c8e9e2c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions _CoqProject.test
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,4 @@ tests/test_link_order_import0.v
tests/test_link_order_import1.v
tests/test_link_order_import2.v
tests/test_link_order_import3.v
tests/test_query_extra_dep.v
7 changes: 7 additions & 0 deletions tests/test_query_extra_dep.v
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
From elpi Require Import elpi.

From unreleased Extra Dependency "elpi_elaborator.elpi" as elab.

Elpi Query lp:{{ coq.extra-dep "elab" _ }}.

Fail Elpi Query lp:{{ coq.extra-dep "foo" (some _) }}.

0 comments on commit c8e9e2c

Please sign in to comment.