mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 10:11:03 +00:00
By default, tests should be in package pkg_test. If they need to test package internals, they can be in package pkg, but then should carry a suffix of foo_internal_test.go. This changeset enforces that idiom across the codebase, and adds a check to the linter to make sure it remains. Also, some fixes to comments.
Experimental Code
- Code in this directory must always compile (enforced by CircleCI)
- This directory is ignored for testing but should lint cleanly
- Changes to code in this directory does not need to be PR'd