Skip to content

Commit

Permalink
Add CLI test
Browse files Browse the repository at this point in the history
  • Loading branch information
hurufu committed Dec 15, 2024
1 parent 98d48e1 commit 6706d38
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
:- use_module(library(dcgs)).
:- initialization(abolish(null/0)).
:- dynamic(null/0).

d -->
( { true } -> []
; { true } -> []
).
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
error(representation_error(dcg_body),[culprit-({true}->[])]).
7 changes: 7 additions & 0 deletions tests/scryer/cli/issues/not_supported_dcg_constructs.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# issue 2675
args = [
"-f",
"--no-add-history",
"-g", "halt",
"main.pl"
]

0 comments on commit 6706d38

Please sign in to comment.