aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/transport/ssh/auth_method_test.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2017-11-21 11:44:21 +0100
committerMáximo Cuadros <mcuadros@gmail.com>2017-11-21 11:44:21 +0100
commit2f51048cd2599d61d49085dc8ed2d51fe6dadd17 (patch)
treea08a49d64718262d455ec5f754aac4b4f9b94dab /plumbing/transport/ssh/auth_method_test.go
parent97fb5e93083fbe4ea02078312ae2cbca3b145ab1 (diff)
downloadgo-git-2f51048cd2599d61d49085dc8ed2d51fe6dadd17.tar.gz
transport: made public all the fields and standardize AuthMethod
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
Diffstat (limited to 'plumbing/transport/ssh/auth_method_test.go')
-rw-r--r--plumbing/transport/ssh/auth_method_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/plumbing/transport/ssh/auth_method_test.go b/plumbing/transport/ssh/auth_method_test.go
index 2ee5100..1e77ca0 100644
--- a/plumbing/transport/ssh/auth_method_test.go
+++ b/plumbing/transport/ssh/auth_method_test.go
@@ -32,16 +32,16 @@ func (s *SuiteCommon) TestKeyboardInteractiveString(c *C) {
func (s *SuiteCommon) TestPasswordName(c *C) {
a := &Password{
- User: "test",
- Pass: "",
+ User: "test",
+ Password: "",
}
c.Assert(a.Name(), Equals, PasswordName)
}
func (s *SuiteCommon) TestPasswordString(c *C) {
a := &Password{
- User: "test",
- Pass: "",
+ User: "test",
+ Password: "",
}
c.Assert(a.String(), Equals, fmt.Sprintf("user: test, name: %s", PasswordName))
}