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:
@@ -937,7 +937,7 @@ const A3 A3::expand (const A3& input) const
|
|||||||
else if (mod == "none")
|
else if (mod == "none")
|
||||||
{
|
{
|
||||||
expanded.push_back (Arg (name, "dom"));
|
expanded.push_back (Arg (name, "dom"));
|
||||||
expanded.push_back (Arg ("==", "op"));
|
expanded.push_back (Arg ("=", "op"));
|
||||||
expanded.push_back (Arg ("", "string"));
|
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 with +tag};
|
||||||
qx{../src/task rc:bug.rc add without};
|
qx{../src/task rc:bug.rc add without};
|
||||||
my $output = qx{../src/task rc:bug.rc list tags.none:};
|
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');
|
like ($output, qr/without/, 'tags.none: finds tagless');
|
||||||
|
|
||||||
# Cleanup.
|
# Cleanup.
|
||||||
|
|||||||
Reference in New Issue
Block a user