From 4357f9c54574ebac9dd8db004ff85d03131b06f0 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 11 May 2014 15:05:56 -0400 Subject: [PATCH] Unit Tests - hyphenate.t was maing assumptions about report output that can be reduced. --- test/hyphenate.t | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/hyphenate.t b/test/hyphenate.t index d3fe4a8b1..7b24a7686 100755 --- a/test/hyphenate.t +++ b/test/hyphenate.t @@ -40,13 +40,14 @@ if (open my $fh, '>', 'bug.rc') print $fh "confirmation=no\n"; print $fh "defaultwidth=50\n"; print $fh "detection=off\n"; + print $fh "verbose=nothing\n"; close $fh; ok (-r 'bug.rc', 'Created bug.rc'); } # Split on comma instead of hyphenating -my $output = qx{../src/task rc:bug.rc show report.next.columns | tail -n +4 2>&1}; +my $output = qx{../src/task rc:bug.rc show report.next.columns 2>&1}; unlike ($output, qr/-/, 'split on comma for comma-separated lists'); # Cleanup.