NAME

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

VERSION

version 1.000004

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) 2017 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.