Cmake:
- adapted makefile and unit tests to new place of test dir
This commit is contained in:
@@ -47,12 +47,12 @@ if (open my $fh, '>', 'bug_concat.rc')
|
||||
#
|
||||
# Thisisanewdescription
|
||||
|
||||
qx{../task rc:bug_concat.rc add This is the original text};
|
||||
my $output = qx{../task rc:bug_concat.rc info 1};
|
||||
qx{../src/task rc:bug_concat.rc add This is the original text};
|
||||
my $output = qx{../src/task rc:bug_concat.rc info 1};
|
||||
like ($output, qr/Description\s+This is the original text\n/, 'original correct');
|
||||
|
||||
qx{../task rc:bug_concat.rc 1 This is the modified text};
|
||||
$output = qx{../task rc:bug_concat.rc info 1};
|
||||
qx{../src/task rc:bug_concat.rc 1 This is the modified text};
|
||||
$output = qx{../src/task rc:bug_concat.rc info 1};
|
||||
like ($output, qr/Description\s+This is the modified text\n/, 'modified correct');
|
||||
|
||||
# When a task is added like this:
|
||||
@@ -63,8 +63,8 @@ like ($output, qr/Description\s+This is the modified text\n/, 'modified correct'
|
||||
#
|
||||
# aaabbb:ccc ddd
|
||||
|
||||
qx{../task rc:bug_concat.rc add aaa bbb:ccc ddd};
|
||||
$output = qx{../task rc:bug_concat.rc info 2};
|
||||
qx{../src/task rc:bug_concat.rc add aaa bbb:ccc ddd};
|
||||
$output = qx{../src/task rc:bug_concat.rc info 2};
|
||||
like ($output, qr/Description\s+aaa bbb:ccc ddd\n/, 'properly concatenated');
|
||||
|
||||
# Cleanup.
|
||||
|
||||
Reference in New Issue
Block a user