Migrate to '_test' package idiom #273
No reviewers
Labels
No labels
bug
discussion
documentation
duplicate
ignore
new feature
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
golibs/gms-gods!273
Loading…
Reference in a new issue
No description provided.
Delete branch "jdimaria/test-package"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Resolves https://github.com/emirpasic/gods/issues/272, simple adoption of the
_testpackage to enforce testing strictly against the public data structure APIsPrevious tests have been confirmed to still pass with updated imports
Only test that needed additional updates was inside
btree_test.go, which was the only test that broke convention by testing unexported fields beyond simple reads (seeTestBTreeSearch())The intended test behavior has been replicated as closely as possible using exported methods
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
See analysis details on SonarQube Cloud
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.