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

Cleaned up tests #5

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Cleaned up tests #5

wants to merge 3 commits into from

Conversation

AdamColton
Copy link

Tests no longer produce additional side effects, comparisons are more accurate.

Tests output misleading warnings when tests were passing. Added
printer to hold a reference to fmt.Print, then changed it out
with voidPrinter during testing.
Made testing more accurate, there was a bug that prevented err
string comparisons. Now looks for the error as a substring, to
ignore the file and line.
Had been working on Contains, removed it to isolate the
improvements to testing.
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.

1 participant