Skip to content

Commit 33008e5

Browse files
committed
By mistake the @depends_on directive (and others) is allowed to go after the body #183 : tests
1 parent 720b6f7 commit 33008e5

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

Diff for: tests/33_issue_183_directives_order.sh

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
@goal a
2+
echo a
3+
4+
@goal b
5+
echo b
6+
@depends_on a # should be disallowed in this position

Diff for: tests/33_issue_183_directives_order.tush

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
$ ./$MAKESURE -f tests/33_issue_183_directives_order.sh -l

0 commit comments

Comments
 (0)