aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-06-30 12:41:48 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-06-30 12:41:48 +0200
commit33a31f36b2552173b0b1c290b9a3c9704d8cd0ef (patch)
tree578cbdf26bc6e57af99b719c5f4bfcef8b7f689c /tests
parentbde7128035080e5618aa4a09d398ec94761fd3ea (diff)
Fix expected diagnostics in tests
Diffstat (limited to 'tests')
-rw-r--r--tests/new.testscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/new.testscript b/tests/new.testscript
index fd95a94..6d1888a 100644
--- a/tests/new.testscript
+++ b/tests/new.testscript
@@ -836,7 +836,7 @@ status += -d prj
: substitution
:
$* prj --post-hook 'echo foo >>@bar@' 2>>EOE &prj/*** != 0
- error: invalid post hook 'echo foo >>@bar@': unknown variable 'bar'
+ error: invalid post hook 'echo foo >>@bar@': unknown substitution variable 'bar'
EOE
: open-redirect
@@ -884,7 +884,7 @@ status += -d prj
: substitution
:
$* prj --pre-hook 'echo foo >>@bar@' 2>>EOE &prj/*** != 0
- error: invalid pre hook 'echo foo >>@bar@': unknown variable 'bar'
+ error: invalid pre hook 'echo foo >>@bar@': unknown substitution variable 'bar'
EOE
}
}