From beac5ed7e981833d4dfdfe125c809165a5a41014 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 13 Aug 2011 23:40:22 -0400 Subject: [PATCH] Unit Tests - bug.489.t - The command line construct "tags.none:" is translated into the expression "tags = ''", but instead of '=' I had entered '=='. Force of C/C++/Perl habit. --- src/A3.cpp | 2 +- test/bug.489.t | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/A3.cpp b/src/A3.cpp index eb5215de6..e7f83364b 100644 --- a/src/A3.cpp +++ b/src/A3.cpp @@ -937,7 +937,7 @@ const A3 A3::expand (const A3& input) const else if (mod == "none") { expanded.push_back (Arg (name, "dom")); - expanded.push_back (Arg ("==", "op")); + expanded.push_back (Arg ("=", "op")); expanded.push_back (Arg ("", "string")); } diff --git a/test/bug.489.t b/test/bug.489.t index be9d65c98..747a01f75 100755 --- a/test/bug.489.t +++ b/test/bug.489.t @@ -43,7 +43,7 @@ if (open my $fh, '>', 'bug.rc') qx{../src/task rc:bug.rc add with +tag}; qx{../src/task rc:bug.rc add without}; my $output = qx{../src/task rc:bug.rc list tags.none:}; -unlike ($output, qr/with /, 'tags.none: skips tagged'); +unlike ($output, qr/with /, 'tags.none: skips tagged'); like ($output, qr/without/, 'tags.none: finds tagless'); # Cleanup.