New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more iterator tests #133

Merged
merged 6 commits into from Aug 27, 2015

Conversation

Projects
None yet
2 participants
@paultcochrane
Contributor

paultcochrane commented Aug 22, 2015

This adds more tests of the Template::Flute::Iterator class. The coverage is now up to 94%.

paultcochrane added some commits Aug 22, 2015

Refactor iterator tests into subtests
This retains the logic of the original set of tests, however sets it up for
extension and further refactoring.
Remove cart from test of iterator seed test
The iterator is seeded from the given data in the method call, and thus an
empty object is sufficient for initialisation.
Use direct method syntax for "new" calls
This is as recommended in perlobj.

racke added a commit that referenced this pull request Aug 27, 2015

@racke racke merged commit 6f77b02 into racke:master Aug 27, 2015

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment