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

Add test for TOML parser #155

Merged
merged 3 commits into from Jun 1, 2022
Merged

Add test for TOML parser #155

merged 3 commits into from Jun 1, 2022

Conversation

amarlearning
Copy link
Contributor

Changes:

  1. Add test for TOML parser
  2. Removed comments and print statement from test.

Removed comments and print statement from test.
@amarlearning
Copy link
Contributor Author

@knadh ready for review.

parsers/toml/toml_test.go Outdated Show resolved Hide resolved
parsers/toml/toml_test.go Outdated Show resolved Hide resolved
@jxsl13
Copy link
Contributor

jxsl13 commented May 26, 2022

check out the require package of the testify library. Same as assert but aborts test execution on the first error in case there are multiple tests and 'asserts' (require) statements.

@knadh knadh merged commit bf5e190 into knadh:master Jun 1, 2022
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

4 participants