Skip to content

Instantly share code, notes, and snippets.

@autarch
Created March 3, 2014 20:30
Show Gist options
  • Save autarch/9333954 to your computer and use it in GitHub Desktop.
Save autarch/9333954 to your computer and use it in GitHub Desktop.
my $mtime = ( stat $exists1 )[9];
ok(
!$step1->is_up_to_date_since( $mtime ),
q{step 1 is older than a file that exists when the step hasn't been run yet}
);
-------------------
ok(
!$step1->is_up_to_date_since( ( stat $exists1 )[9] ),
q{step 1 is older than a file that exists when the step hasn't been run yet}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment