Unit Tests
- Old unit test was escaping quotes, which is no longer necessary.
This commit is contained in:
@@ -65,7 +65,7 @@ like ($output, qr/The project 'foo' has changed\. Project 'foo' is 50% complete
|
|||||||
like ($output, qr/The project 'bar' has changed\. Project 'bar' is 0% complete \(1 of 1 tasks remaining\)\./, 'change project');
|
like ($output, qr/The project 'bar' has changed\. Project 'bar' is 0% complete \(1 of 1 tasks remaining\)\./, 'change project');
|
||||||
|
|
||||||
# Test projects with spaces in them.
|
# Test projects with spaces in them.
|
||||||
$output = qx{../src/task rc:pro.rc 3 modify pro:\\"foo bar\\" 2>&1 >/dev/null};
|
$output = qx{../src/task rc:pro.rc 3 modify pro:"foo bar" 2>&1 >/dev/null};
|
||||||
like ($output, qr/The project 'foo bar' has changed\./, 'project with spaces');
|
like ($output, qr/The project 'foo bar' has changed\./, 'project with spaces');
|
||||||
|
|
||||||
# Bug 1056: Project indentation.
|
# Bug 1056: Project indentation.
|
||||||
|
|||||||
Reference in New Issue
Block a user