Skip to content

Commit

Permalink
fix broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mthom committed Feb 3, 2024
1 parent de6c460 commit 6a421dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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", "goals.pl"]
args = ["-f", "--no-add-history", "goals.pl", "-g", "test,halt"]
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", "goals.pl"]
args = ["-f", "--no-add-history", "goals.pl", "-g", "test", "-g", "halt"]

1 comment on commit 6a421dd

@triska
Copy link
Contributor

@triska triska commented on 6a421dd Feb 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test should work as it was: -g is a switch of Scryer itself (and not an argument to be processed by goals.pl), it must therefore be specified before the files.

Please sign in to comment.