mirror of
https://github.com/netbirdio/dex.git
synced 2026-05-22 18:43:53 -07:00
spelling: nonexistent
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user