mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +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
10
test/info.t
10
test/info.t
|
@ -40,16 +40,16 @@ if (open my $fh, '>', 'info.rc')
|
|||
}
|
||||
|
||||
# Test the add command.
|
||||
qx{../task rc:info.rc add test one};
|
||||
qx{../task rc:info.rc add test two};
|
||||
qx{../task rc:info.rc add test three};
|
||||
qx{../src/task rc:info.rc add test one};
|
||||
qx{../src/task rc:info.rc add test two};
|
||||
qx{../src/task rc:info.rc add test three};
|
||||
|
||||
my $output = qx{../task rc:info.rc 1};
|
||||
my $output = qx{../src/task rc:info.rc 1};
|
||||
like ($output, qr/Description\s+test one\n/, 'single auto-info one');
|
||||
unlike ($output, qr/Description\s+test two\n/, 'single auto-info !two');
|
||||
unlike ($output, qr/Description\s+test three\n/, 'single auto-info !three');
|
||||
|
||||
$output = qx{../task rc:info.rc 1-2};
|
||||
$output = qx{../src/task rc:info.rc 1-2};
|
||||
like ($output, qr/Description\s+test one\n/, 'single auto-info one');
|
||||
like ($output, qr/Description\s+test two\n/, 'single auto-info two');
|
||||
unlike ($output, qr/Description\s+test three\n/, 'single auto-info !three');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue