Skip to content

Commit

Permalink
Add @lib for code reuse #36
Browse files Browse the repository at this point in the history
  • Loading branch information
xonixx committed Aug 24, 2021
1 parent 98e7752 commit 3c2a9ff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions tests/13_errors.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
@reached_if true
@depends_on g1
@doc Doc in prelude
@options usupported
@shell usupported
@options unsupported
@shell unsupported
@use_lib lib1

@goal
Expand Down
8 changes: 4 additions & 4 deletions tests/13_errors.tush
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ $ cd "$MYDIR"; ./makesure -f tests/13_errors.sh
@ tests/13_errors.sh:3: @depends_on g1
@ Only use @doc in @goal:
@ tests/13_errors.sh:4: @doc Doc in prelude
@ Option 'usupported' is not supported:
@ tests/13_errors.sh:5: @options usupported
@ Shell 'usupported' is not supported:
@ tests/13_errors.sh:6: @shell usupported
@ Option 'unsupported' is not supported:
@ tests/13_errors.sh:5: @options unsupported
@ Shell 'unsupported' is not supported:
@ tests/13_errors.sh:6: @shell unsupported
@ Only use @use_lib in @goal:
@ tests/13_errors.sh:7: @use_lib lib1
@ Goal must have a name:
Expand Down

0 comments on commit 3c2a9ff

Please sign in to comment.