Unit tests

- The dependencies.t unit test script failed to unlink completed.data,
  which polluted the subsequent test script.
- Simplified some Perl in start.t.
- Allowed for line wrapping in start.t.
This commit is contained in:
Paul Beckingham
2010-08-02 17:56:34 -04:00
parent e090f556da
commit db27328558
3 changed files with 12 additions and 10 deletions

View File

@@ -49,7 +49,6 @@ if (open my $fh, '<', './export.txt')
@lines = <$fh>;
close $fh;
}
like ($lines[0], qr/^%YAML 1.1$/, 'export.yaml line 0');
like ($lines[1], qr/^---$/, 'export.yaml line 1');
like ($lines[2], qr/^ task:$/, 'export.yaml line 2');