diff options
| author | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2021-08-03 18:00:05 -0700 |
|---|---|---|
| committer | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2021-08-03 13:00:05 -0700 |
| commit | b25c4a19420c2fde1f290dd360c68b84e4eaa1ed (patch) | |
| tree | 86c7611bf22f75f0cb13eddd815c9c8e55e47e10 /hotline/server_blackbox_test.go | |
| parent | 4c3b4c7fe03bcc7e70fd846b954ffc83bdbcfaa3 (diff) | |
Fix string negation bug
Diffstat (limited to 'hotline/server_blackbox_test.go')
| -rw-r--r-- | hotline/server_blackbox_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hotline/server_blackbox_test.go b/hotline/server_blackbox_test.go index b8990ad..41d331b 100644 --- a/hotline/server_blackbox_test.go +++ b/hotline/server_blackbox_test.go @@ -22,7 +22,7 @@ type testCase struct { } func (tt *testCase) Setup(srv *Server) error { - if err := srv.NewUser(tt.account.Login, tt.account.Name, NegatedUserString([]byte(tt.account.Password)), *tt.account.Access); err != nil { + if err := srv.NewUser(tt.account.Login, tt.account.Name, string(negateString([]byte(tt.account.Password))), *tt.account.Access); err != nil { return err } |