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

fix Issue 12067 - std.datetime.measureTime() has incomplete example, and does not work #1903

Closed
wants to merge 1 commit into from

Conversation

WalterBright
Copy link
Member

@jmdavis
Copy link
Member

jmdavis commented Feb 3, 2014

Wouldn't it be better to rewrite the examples so that they can be documented unittest blocks and run as part of the unit tests? The problem the lambda missing the explicit TickDuration would have been caught long before now if the examples were actually unit tested. If you don't want to do that, I can create a pull request that does.

@WalterBright
Copy link
Member Author

sure, go ahead

@jmdavis jmdavis mentioned this pull request Feb 4, 2014
@jmdavis
Copy link
Member

jmdavis commented Feb 4, 2014

Okay. I've created a similar pull request which actually unit tests the examples:

#1907

@jmdavis jmdavis closed this Feb 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants