diff options
author | Oleksandr Redko <oleksandr.red+github@gmail.com> | 2019-10-24 23:33:57 +0300 |
---|---|---|
committer | Oleksandr Redko <oleksandr.red+github@gmail.com> | 2019-10-24 23:37:27 +0300 |
commit | 81627ab53e269a762b769b47c004cb4309452492 (patch) | |
tree | cc7274d6f63f02112d407f9d0da5ddbc5ea2eaa1 /config/modules_test.go | |
parent | aac20cc0e86f9f563bc74c42e9b9c598dfe271da (diff) | |
download | go-git-81627ab53e269a762b769b47c004cb4309452492.tar.gz |
Fix typos in comments, variables and function names
Signed-off-by: Oleksandr Redko <oleksandr.red+github@gmail.com>
Diffstat (limited to 'config/modules_test.go')
-rw-r--r-- | config/modules_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/modules_test.go b/config/modules_test.go index 8e10d70..8ea68e7 100644 --- a/config/modules_test.go +++ b/config/modules_test.go @@ -39,7 +39,7 @@ func (s *ModulesSuite) TestValidateMissingName(c *C) { c.Assert(m.Validate(), Equals, ErrModuleEmptyPath) } -func (s *ModulesSuite) TestMarshall(c *C) { +func (s *ModulesSuite) TestMarshal(c *C) { input := []byte(`[submodule "qux"] path = qux url = baz @@ -54,7 +54,7 @@ func (s *ModulesSuite) TestMarshall(c *C) { c.Assert(output, DeepEquals, input) } -func (s *ModulesSuite) TestUnmarshall(c *C) { +func (s *ModulesSuite) TestUnmarshal(c *C) { input := []byte(`[submodule "qux"] path = qux url = https://github.com/foo/qux.git @@ -79,7 +79,7 @@ func (s *ModulesSuite) TestUnmarshall(c *C) { c.Assert(cfg.Submodules["foo/bar"].Branch, Equals, "dev") } -func (s *ModulesSuite) TestUnmarshallMarshall(c *C) { +func (s *ModulesSuite) TestUnmarshalMarshal(c *C) { input := []byte(`[submodule "foo/bar"] path = foo/bar url = https://github.com/foo/bar.git |