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

Update testing examples #997

Merged
merged 1 commit into from
Aug 6, 2023
Merged

Update testing examples #997

merged 1 commit into from
Aug 6, 2023

Conversation

oatovar
Copy link
Contributor

@oatovar oatovar commented Jul 31, 2023

This PR updates the examples in the testing section so that they function. With the recent updates to testing, the examples were no longer working. Primarily, they were still recommending the usage of test_<name> to recognize tests instead of using the test annotations. Also, the use directives were no longer accurate, and could also be condensed. I've updated the example so that it could be copied and run successfully.

Update the testing examples and instructions to use functioning examples.
Copy link
Member

@amtoine amtoine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks much better, thanks for updating this long out-of-date documentation 🙏

@rgwood rgwood merged commit e29776f into nushell:main Aug 6, 2023
2 checks passed
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.

None yet

3 participants