mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
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:
parent
38959d6446
commit
beac5ed7e9
2 changed files with 2 additions and 2 deletions
|
@ -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"));
|
||||
}
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue