aboutsummaryrefslogtreecommitdiff
path: root/hotline/server_blackbox_test.go
diff options
context:
space:
mode:
authorJeff Halter <868228+jhalter@users.noreply.github.com>2021-08-03 18:00:05 -0700
committerJeff Halter <868228+jhalter@users.noreply.github.com>2021-08-03 13:00:05 -0700
commitb25c4a19420c2fde1f290dd360c68b84e4eaa1ed (patch)
tree86c7611bf22f75f0cb13eddd815c9c8e55e47e10 /hotline/server_blackbox_test.go
parent4c3b4c7fe03bcc7e70fd846b954ffc83bdbcfaa3 (diff)
Fix string negation bug
Diffstat (limited to 'hotline/server_blackbox_test.go')
-rw-r--r--hotline/server_blackbox_test.go2
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
}