Skip to content

Commit

Permalink
move original dist corpus aside, to create another for more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
karenetheridge committed Apr 10, 2012
1 parent 4890f9d commit fd2785a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 7 additions & 5 deletions t/checkhascontent.t
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@ use Dist::Zilla::Tester;
use Test::More 0.88; END { done_testing }
use Try::Tiny;

my $root = 'corpus/DZ_CheckChangesHasContent';

## Tests start here

{
my $tzil;
try {
$tzil = Dist::Zilla::Tester->from_config(
{ dist_root => 'corpus/DZ' },
{ dist_root => $root },
);
ok( $tzil, "created test dist with no Changes file");

Expand All @@ -37,7 +39,7 @@ use Try::Tiny;
my $tzil;
try {
$tzil = Dist::Zilla::Tester->from_config(
{ dist_root => 'corpus/DZ' },
{ dist_root => $root },
{
add_files => {
'source/Changes' => <<'END',
Expand Down Expand Up @@ -70,7 +72,7 @@ END
my $tzil;
try {
$tzil = Dist::Zilla::Tester->from_config(
{ dist_root => 'corpus/DZ' },
{ dist_root => $root },
{
add_files => {
'source/Changes' => <<'END',
Expand Down Expand Up @@ -108,7 +110,7 @@ END
my $tzil;
try {
$tzil = Dist::Zilla::Tester->from_config(
{ dist_root => 'corpus/DZ' },
{ dist_root => $root },
{
add_files => {
'source/Changes' => <<'END',
Expand Down Expand Up @@ -147,7 +149,7 @@ END
my $tzil;
try {
$tzil = Dist::Zilla::Tester->from_config(
{ dist_root => 'corpus/DZ' },
{ dist_root => $root },
{
add_files => {
'source/Changes' => <<'END',
Expand Down

0 comments on commit fd2785a

Please sign in to comment.