refactor: fix bare errors in tests, extract magic numbers #93
Reference in New Issue
Block a user
Delete Branch "refactor/test-errors-and-constants"
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?
Two small refactors bundled:
_error discards insqlstore_test.gonow check errors witht.Fatalfchecker.goandmonitor.goextracted into named constants (maxErrorLength, defaultAcceptedCodes, defaultHTTPStatus{Min,Max}, defaultTimeout, defaultDNSServer, defaultDNSPort)Closes #74, closes #75
e5b76fd187tocc139bdb73