Unit Tests - bug.628.t

- Quoting problem.  To prevent the shell from stripping quotes, the
  command line must include \" ... \", but in a Perl string, that
  needs to be \\" ... \\".  Silly mistake.
This commit is contained in:
Paul Beckingham
2011-08-13 22:27:59 -04:00
parent 77dc2c47d4
commit a4fc8aee6a

View File

@@ -43,7 +43,7 @@ if (open my $fh, '>', 'bug.rc')
# Bug 628: task wait: with non-standard dateformat bug
# Setup: Add a task
qx{../src/task rc:bug.rc add wait:"Wed Jan 01 2020" A buggy task};
qx{../src/task rc:bug.rc add wait:\\"Wed Jan 01 2020\\" A buggy task};
# Result: Immediately delete the created task
my $output = qx{../src/task rc:bug.rc waiting};