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

examples: fix (2020-04) #9203

Merged
merged 1 commit into from
May 3, 2020

Conversation

maiha
Copy link
Contributor

@maiha maiha commented Apr 29, 2020

Catched up examples for crystal-0.34.0.

Optional fixes

There are two more corrections due to the limitations of my tools. These are not required fixes, so I will remove them if it's not appropriate.

  • src/json/to_json.cr: The Timestamp class has been defined three times. I changed the duplicated names to TimestampArray and TimestampHash because defining the same class name would break my testing.

  • src/levenshtein.cr: Since my comment based testing needs to be completed on a row-by-row basis, I put the execution result of the block in a temporary variable.

Best regards,

@bcardiff bcardiff added kind:bug A bug in the code. Does not apply to documentation, specs, etc. kind:docs labels Apr 29, 2020
@bcardiff bcardiff added this to the 0.35.0 milestone Apr 29, 2020
@straight-shoota straight-shoota merged commit 5450740 into crystal-lang:master May 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug A bug in the code. Does not apply to documentation, specs, etc. kind:docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants