This script misses a trivial -chain in one of its tests,
but it also has a weird reverse: it includes an -chain
outside of any test_expect block! This cat should never
fail, but if it did, we would not notice, as it would cause
us to skip the follow-on test entirely (which does not
appear
Am 20.03.2015 um 11:13 schrieb Jeff King:
This script misses a trivial -chain in one of its tests,
but it also has a weird reverse: it includes an -chain
outside of any test_expect block! This cat should never
fail, but if it did, we would not notice, as it would cause
us to skip the follow-on
On Fri, Mar 20, 2015 at 06:48:35PM +0100, Johannes Sixt wrote:
-cat gitweb_config.perl \EOF
-$feature{'forks'}{'default'} = [1];
-EOF
+test_expect_success 'enable forks feature' '
+cat gitweb_config.perl -\EOF
+$feature{'forks'}{'default'} = [1];
+EOF
+'
This loses the
3 matches
Mail list logo