db71e006bb
Code-quality nits flagged in review of 2692c66. Mirrors the existing
pattern in host_credentials_test.go.