diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2023-08-16 15:32:05 +0200 |
|---|---|---|
| committer | Jeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com> | 2023-09-25 09:43:37 +0200 |
| commit | 9316c4d826e813bcb26c520bfde4e4352ae9d67a (patch) | |
| tree | 1846906f9a79c9d58a640c1a13c6c71ad825a3d5 /client/client_test.go | |
| parent | 15588a55a8c00fcfd9994eb87cff91c352a850d4 (diff) | |
Client + l18n: Make some errors internal only
Diffstat (limited to 'client/client_test.go')
| -rw-r--r-- | client/client_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/client_test.go b/client/client_test.go index de47022..7d070f3 100644 --- a/client/client_test.go +++ b/client/client_test.go @@ -397,7 +397,7 @@ func TestInvalidClientID(t *testing.T) { if err == nil { t.Fatalf("expected invalid register with clientID: %v, but got no error", k) } - if !strings.HasPrefix(err.Error(), "The client registered with an invalid client ID") { + if !strings.HasPrefix(err.Error(), "An internal error occurred with cause: The client registered with an invalid client ID") { t.Fatalf("register error has invalid prefix: %v", err.Error()) } } |
