spelling: nonexistent

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref
2023-04-27 09:02:32 -04:00
parent 8fdc29da34
commit a1a05c4a65
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -508,7 +508,7 @@ func TestDeviceTokenResponse(t *testing.T) {
expectedResponseCode: http.StatusBadRequest,
},
{
testName: "Test Non-existent Device Code",
testName: "Test Nonexistent Device Code",
testDeviceRequest: baseDeviceRequest,
testDeviceToken: storage.DeviceToken{
DeviceCode: "foo",
+1 -1
View File
@@ -63,7 +63,7 @@ func mustLoadJWK(b string) *jose.JSONWebKey {
func mustBeErrNotFound(t *testing.T, kind string, err error) {
switch {
case err == nil:
t.Errorf("deleting non-existent %s should return an error", kind)
t.Errorf("deleting nonexistent %s should return an error", kind)
case err != storage.ErrNotFound:
t.Errorf("deleting %s expected storage.ErrNotFound, got %v", kind, err)
}