lazyengineering / faststatus

Simple API for sharing if a resource is free, busy, or very busy
MIT License
1 stars 2 forks source link

Move tests to testing packages #23

Closed jessecarl closed 7 years ago

jessecarl commented 7 years ago

Ensure that all tests are run from the _test package. Tests that need access to internals should be considered for removal unless there are particularly tricky bits that cannot be removed to a dependency. Methods like Generate that are used for testing only will remain in the main package under an exports_test.go package so that they are only exported for testing.

jessecarl commented 7 years ago

Updated tests and cleaned up a little after.