Subject: | END block wreaks havoc |
Hello,
Thanks for writing this module, I still use it :)
However, since I'm switching to Dist::Zilla and a strange thing started
happening when I'm building my dists. It kept printing "1..1" and "# No
tests run!".
I tracked it down to the END block in this module. I was doing version
introspection and simply did "require Test::CheckChanges; print
Test::CheckChanges->VERSION" and wondered why it kept executing the test
stuff.
Looking at your code, I think it's ok to remove the END block, and just
specify done_testing in the ok_changes sub. That way it will play nicely
with other test modules that are loaded and not cause spurious errors.
I'm not sure of the reasoning behind creating the END block, so you
might have more answers for me :)
Thanks again for taking the time to figure this out, I appreciate it!
--
~Apocalypse