Skip to content
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

Remove TB2::Counter #119

Closed
schwern opened this issue Jan 24, 2011 · 0 comments
Closed

Remove TB2::Counter #119

schwern opened this issue Jan 24, 2011 · 0 comments

Comments

@schwern
Copy link
Contributor

schwern commented Jan 24, 2011

Every formatter gets every event, so there's no need for a shared counter object. An integer will do fine as part of the History object.

There's some complications in Test::Builder because it expects the TAP formatter to retain the count, it being mostly a TAP thing. I'd rather the counter was handled by history, it can't hurt and it removes a special case from the TAP formatter.

@ghost ghost assigned schwern Mar 31, 2012
schwern added a commit that referenced this issue Mar 31, 2012
TB2::Counter is a relic from back when the counter was going to be shared amongst
many builders.  Now we have TB2::History for that.

For #119
@schwern schwern closed this as completed Mar 31, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant