Skip to content

Commit

Permalink
fix missing .pl file for singleton test case and move .pl files under…
Browse files Browse the repository at this point in the history
… `<testcase>.in/`

follow up to #2205
  • Loading branch information
Skgland committed Dec 6, 2023
1 parent 43556f6 commit 147e47c
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
['tests/scryer/cli/issues/do_not_duplicate_path_components.pl'].
['tests/scryer/cli/issues/do_not_duplicate_path_components.pl'].
['throw_e.pl'].
['throw_e.pl'].
halt.
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/scryer/cli/issues/goals_compound_goal.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# issue 820
args = ["-f", "--no-add-history", "-g", "test,halt", "tests/scryer/cli/issues/goals.pl"]
args = ["-f", "--no-add-history", "-g", "test,halt", "goals.pl"]
3 changes: 3 additions & 0 deletions tests/scryer/cli/issues/goals_multiple_goals.in/goals.pl
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
test :- write(world), nl.

:- initialization(write(hello)).
2 changes: 1 addition & 1 deletion tests/scryer/cli/issues/goals_multiple_goals.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# issue 820
args = ["-f", "--no-add-history", "-g", "test", "-g", "halt", "tests/scryer/cli/issues/goals.pl"]
args = ["-f", "--no-add-history", "-g", "test", "-g", "halt", "goals.pl"]
2 changes: 1 addition & 1 deletion tests/scryer/cli/issues/occurs_check_flag.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# issue 841
args = ["-f", "--no-add-history", "tests/scryer/cli/issues/occurs_check_flag.pl"]
args = ["-f", "--no-add-history", "occurs_check_example.pl"]
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/scryer/cli/issues/op3.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# issue 839
args = ["-f", "--no-add-history", "tests/scryer/cli/issues/op3.pl", "-g", "halt"]
args = ["-f", "--no-add-history", "op3.pl", "-g", "halt"]
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
% hello
% line!

a :- b(X).
2 changes: 1 addition & 1 deletion tests/scryer/cli/issues/singleton_warning.stdin
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
['tests/scryer/cli/issues/issue812-singleton-warning.pl'].
['singleton_example.pl'].
halt.
2 changes: 1 addition & 1 deletion tests/scryer/cli/issues/singleton_warning.stdout
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Warning: singleton variables X at line 4 of issue812-singleton-warning.pl
Warning: singleton variables X at line 4 of singleton_example.pl
true.

0 comments on commit 147e47c

Please sign in to comment.