Skip to content

Commit

Permalink
Parameterized goals #115
Browse files Browse the repository at this point in the history
  • Loading branch information
xonixx committed Jan 22, 2023
1 parent a9c4fb3 commit 60bcc0c
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions tests/27_parameterized_goals.tush
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ $ cd "$MYDIR"; ./$MAKESURE -f tests/27_parameterized_goals_1.sh -la
| a
| b@hello

$ cd "$MYDIR"; ./$MAKESURE -f tests/27_parameterized_goals_1.sh -d a
| Resolved goals to reach for 'a':
| b@hello

$ cd "$MYDIR"; ./$MAKESURE -f tests/27_parameterized_goals_1.sh a
| goal 'b@hello' ...
| hello world
| goal 'a' [empty].

$ cd "$MYDIR"; ./$MAKESURE -f tests/27_parameterized_goals_2.sh -l
| Available goals:
| a
Expand All @@ -20,3 +29,30 @@ $ cd "$MYDIR"; ./$MAKESURE -f tests/27_parameterized_goals_2.sh -la
| a
| b@hello
| c@hello

$ cd "$MYDIR"; ./$MAKESURE -f tests/27_parameterized_goals_2.sh -d a
| Resolved goals to reach for 'a':
| c@hello
| b@hello

$ cd "$MYDIR"; ./$MAKESURE -f tests/27_parameterized_goals_2.sh -d b@hello
| Resolved goals to reach for 'b@hello':
| c@hello
| b@hello

$ cd "$MYDIR"; ./$MAKESURE -f tests/27_parameterized_goals_2.sh a
| goal 'c@hello' ...
| hello world from c
| goal 'b@hello' ...
| hello world from b
| goal 'a' [empty].

$ cd "$MYDIR"; ./$MAKESURE -f tests/27_parameterized_goals_2.sh b@hello
| goal 'c@hello' ...
| hello world from c
| goal 'b@hello' ...
| hello world from b

$ cd "$MYDIR"; ./$MAKESURE -f tests/27_parameterized_goals_2.sh c@hello
| goal 'c@hello' ...
| hello world from c

0 comments on commit 60bcc0c

Please sign in to comment.