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.
This commit is contained in:
Paul Beckingham 2011-08-13 23:40:22 -04:00
parent 38959d6446
commit beac5ed7e9
2 changed files with 2 additions and 2 deletions

View file

@ -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"));
}

View file

@ -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.