Skip to content

Commit

Permalink
lib/srv/regular: remove redundant ssh.Dial() from TestAllowedUsers()
Browse files Browse the repository at this point in the history
  • Loading branch information
alrs authored and russjones committed Mar 21, 2020
1 parent 6646c31 commit 235a146
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/srv/regular/sshserver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -376,9 +376,6 @@ func (s *SrvSuite) TestAllowedUsers(c *C) {

client, err := ssh.Dial("tcp", s.srv.Addr(), sshConfig)
c.Assert(err, IsNil)

client, err = ssh.Dial("tcp", s.srv.Addr(), sshConfig)
c.Assert(err, IsNil)
c.Assert(client.Close(), IsNil)

// now remove OS user from valid principals
Expand Down

0 comments on commit 235a146

Please sign in to comment.