add failing test for os:argv issue

See https://github.com/mthom/scryer-prolog/pull/2263#issuecomment-1874400820
This commit is contained in:
Skgland
2024-01-02 19:51:09 +01:00
committed by Bennet Bleßmann
parent 1dc546ac36
commit 9a05ca0667
4 changed files with 10 additions and 0 deletions

View File

View File

@@ -0,0 +1,4 @@
os:argv(V).
os:argv(["test1"|_]).
os:argv(["--"|_]).
os:argv(["test2"|_]).

View File

@@ -0,0 +1,4 @@
V = ["test1","--","test2"].
true.
false.
false.

View File

@@ -0,0 +1,2 @@
# https://github.com/mthom/scryer-prolog/pull/2263#issuecomment-1874400820
args = ["-f", "--no-add-history", "--", "test1", "--", "test2"]