From 3c2a9ffe5776d3d7f71ee964f3d7204e21a3cfa6 Mon Sep 17 00:00:00 2001 From: xonix Date: Tue, 24 Aug 2021 20:16:23 +0300 Subject: [PATCH] Add `@lib` for code reuse #36 --- tests/13_errors.sh | 4 ++-- tests/13_errors.tush | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/13_errors.sh b/tests/13_errors.sh index 224b831..c359c5d 100644 --- a/tests/13_errors.sh +++ b/tests/13_errors.sh @@ -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 diff --git a/tests/13_errors.tush b/tests/13_errors.tush index 9591d8b..7144cef 100644 --- a/tests/13_errors.tush +++ b/tests/13_errors.tush @@ -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: