Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Ensure a Changes file looks exactly like it would if it was machine generated.

v0.2.0

 [00 Major]
 - Internals overhauled into a more logical object per-file.
 - Test::MockObject logic eliminated.

 [Dependencies::Noteworthy]
 - Class::Tiny⁺
 - Try::Tiny⁺
 - Test::MockObject¯
 - perl → 5.008

 [Dependencies::Stats]
 - Dependencies changed since 0.1.6, see Changes.deps{,.all,.dev} for
   details
 - develop: ↑1
 - runtime: +3 ↑1
 - test: +1 -1
latest commit ab2f80c146
Kent Fredric authored December 30, 2013
Octocat-spinner-32 corpus Split the bad file into 2 December 29, 2013
Octocat-spinner-32 lib Object.pm: Doc coverage, critic December 30, 2013
Octocat-spinner-32 maint-travis-ci Merge commit 'f92ac802b825974d0b5c4b4d15ea5aa6182b118f' as 'maint-tra… December 29, 2013
Octocat-spinner-32 t add note dummy sub December 30, 2013
Octocat-spinner-32 util Tidy code December 29, 2013
Octocat-spinner-32 .gitignore initial commit April 14, 2011
Octocat-spinner-32 .perltidyrc initial commit April 14, 2011
Octocat-spinner-32 .travis.yml Enable travis December 29, 2013
Octocat-spinner-32 Changes v0.2.0 December 30, 2013
Octocat-spinner-32 Changes.deps Update README/Changes December 30, 2013
Octocat-spinner-32 Changes.deps.all Update README/Changes December 30, 2013
Octocat-spinner-32 Changes.deps.dev Update README/Changes December 30, 2013
Octocat-spinner-32 README.mkdn Update README/Changes December 30, 2013
Octocat-spinner-32 dist.ini RM ws from dist.ini December 30, 2013
Octocat-spinner-32 perlcritic.rc Critic tidyup, match the upstream spec April 14, 2011
Octocat-spinner-32 weaver.ini working, documented, etc April 14, 2011
README.mkdn

NAME

Test::CPAN::Changes::ReallyStrict - Ensure a Changes file looks exactly like it would if it was machine generated.

VERSION

version 0.2.0

SYNOPSIS

use Test::More;
eval 'use Test::CPAN::Changes::ReallyStrict';
plan skip_all => 'Test::CPAN::Changes::ReallyStrict required for this test' if $@;
changes_ok();
done_testing();

DESCRIPTION

This module is for people who want their Changes file to be 1:1 Identical to how it would be if they'd generated it programmatically with CPAN::Changes.

This is not for the faint of heart, and will whine about even minor changes of white-space.

You are also at upstream's mercy as to what a changes file looks like, and in order to keep this test happy, you'll have to update your whole changes file if upstream changes how they format things.

EXPORTED FUNCTIONS

changes_ok

changes_ok();

changes_ok({
  delete_empty_groups => 1,
  keep_comparing => 1,
  next_style => 'dzil'
});

changes_file_ok

changes_file_ok();

changes_file_ok('ChangeLog');

changes_ok('ChangeLog', {
  delete_empty_groups => 1,
  keep_comparing => 1,
  next_style => 'dzil'
});

AUTHOR

Kent Fredric kentnl@cpan.org

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Kent Fredric kentnl@cpan.org.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

Something went wrong with that request. Please try again.