diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2023-05-15 11:52:20 +0200 |
|---|---|---|
| committer | Jeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com> | 2023-09-25 09:43:37 +0200 |
| commit | 76e709193614b3668d3c31a078e667473af20369 (patch) | |
| tree | 66f0e6caf03e19b5034c687e3b4c3cbd904be03a /client/client_test.go | |
| parent | c1847c9cf76cb17e5b027ac4c0aea99d15852d45 (diff) | |
Initial i18n implementation
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 7077ce4..e60fd46 100644 --- a/client/client_test.go +++ b/client/client_test.go @@ -462,7 +462,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(), "client ID is not allowed") { + if !strings.HasPrefix(err.Error(), "The client registered with an invalid client ID") { t.Fatalf("register error has invalid prefix: %v", err.Error()) } } |
