mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-23 14:36:44 +02:00
Unit Tests
- Modified testing to accomodate new split between stdout/stderr.
This commit is contained in:
parent
75822eed47
commit
da575c4043
185 changed files with 1591 additions and 1591 deletions
|
@ -39,10 +39,10 @@ if (open my $fh, '>', 'bug.rc')
|
|||
}
|
||||
|
||||
# Bug 924: '1.0' --> '1.0000'
|
||||
qx{../src/task rc:bug.rc add release 1.0};
|
||||
qx{../src/task rc:bug.rc add 'release 2.0'};
|
||||
qx{../src/task rc:bug.rc add "release 3.0"};
|
||||
my $output = qx{../src/task rc:bug.rc list};
|
||||
qx{../src/task rc:bug.rc add release 1.0 2>&1};
|
||||
qx{../src/task rc:bug.rc add 'release 2.0' 2>&1};
|
||||
qx{../src/task rc:bug.rc add "release 3.0" 2>&1};
|
||||
my $output = qx{../src/task rc:bug.rc list 2>&1};
|
||||
like ($output, qr/\s1.0\n/ms, 'Plain text floating point preserved');
|
||||
like ($output, qr/\s2.0\n/ms, 'Single quote floating point preserved');
|
||||
like ($output, qr/\s3.0\n/ms, 'Double quote floating point preserved');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue