mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-24 18:06:42 +02:00
Cmake:
- adapted makefile and unit tests to new place of test dir
This commit is contained in:
parent
17ef077e27
commit
5d775fdc3e
176 changed files with 1288 additions and 1287 deletions
|
@ -40,13 +40,13 @@ if (open my $fh, '>', 'bug.rc')
|
|||
}
|
||||
|
||||
# Setup: Add three unique tasks with different project names.
|
||||
qx{../task rc:bug.rc add project:one foo};
|
||||
qx{../task rc:bug.rc add project:two bar};
|
||||
qx{../task rc:bug.rc add project:three baz};
|
||||
qx{../src/task rc:bug.rc add project:one foo};
|
||||
qx{../src/task rc:bug.rc add project:two bar};
|
||||
qx{../src/task rc:bug.rc add project:three baz};
|
||||
|
||||
# Result: Run list but exclude two of the three projects names using
|
||||
# project.hasnt:<name>
|
||||
my $output = qx{../task rc:bug.rc list project.isnt:one project.isnt:two};
|
||||
my $output = qx{../src/task rc:bug.rc list project.isnt:one project.isnt:two};
|
||||
unlike ($output, qr/one.*foo/ms, 'project.isnt:one project.isnt:two - no foo');
|
||||
unlike ($output, qr/two.*bar/ms, 'project.isnt:one project.isnt:two - no bar');
|
||||
like ($output, qr/three.*baz/ms, 'project.isnt:one project.isnt:two - yes baz');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue