aboutsummaryrefslogtreecommitdiff
path: root/test/T000-basic.sh
diff options
context:
space:
mode:
authorJani Nikula <jani@nikula.org>2017-02-26 15:42:59 +0200
committerDavid Bremner <david@tethera.net>2017-03-09 09:00:16 -0400
commitb8f12bd3717aa446ef04197734af7a055e6909fe (patch)
treeaeb2be8ef5516a3b2652b736a927151bca8b7b7a /test/T000-basic.sh
parente563b8cafd394f673f0a768d46c18dd5da7411a5 (diff)
test: drop the implicit prereq check mechanism from test_expect_*
The only place where we use the implicit prereq check is T000-basic.sh where we check that it works. It's an added complication that we don't use. Remove it. The test_have_prereq function can still be used for the same effect in subtests that use test_begin_subtest. For now, this will make it impossible to have prereqs in one-line subtests that don't require test_begin_subtest. This will be fixed in follow-up work.
Diffstat (limited to 'test/T000-basic.sh')
-rwxr-xr-xtest/T000-basic.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/T000-basic.sh b/test/T000-basic.sh
index 0a8d6cdf..78e18336 100755
--- a/test/T000-basic.sh
+++ b/test/T000-basic.sh
@@ -23,7 +23,7 @@ test_expect_success 'success is reported like this' '
'
test_set_prereq HAVEIT
haveit=no
-test_expect_success HAVEIT 'test runs if prerequisite is satisfied' '
+test_expect_success 'test runs if prerequisite is satisfied' '
test_have_prereq HAVEIT &&
haveit=yes
'