Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(780)

Unified Diff: worker/uniter/charm/git_test.go

Issue 6489112: trivial renames in uniter/charm
Patch Set: trivial renames in uniter/charm Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « worker/uniter/charm/git.go ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: worker/uniter/charm/git_test.go
=== modified file 'worker/uniter/charm/git_test.go'
--- worker/uniter/charm/git_test.go 2012-09-07 07:10:57 +0000
+++ worker/uniter/charm/git_test.go 2012-09-11 15:34:31 +0000
@@ -61,7 +61,7 @@
c.Assert(err, IsNil)
c.Assert(exists, Equals, true)
- _, err = repo.ReadCharmURL()
+ _, err = charm.ReadCharmURL(repo)
c.Assert(os.IsNotExist(err), Equals, true)
err = repo.Init()
@@ -74,7 +74,7 @@
c.Assert(err, IsNil)
err = ioutil.WriteFile(filepath.Join(target.Path(), "initial"), []byte("initial"), 0644)
c.Assert(err, IsNil)
- err = target.WriteCharmURL(curl)
+ err = charm.WriteCharmURL(target, curl)
c.Assert(err, IsNil)
err = target.AddAll()
c.Assert(err, IsNil)
@@ -90,7 +90,7 @@
source := newRepo(c)
err = target.Pull(source)
c.Assert(err, IsNil)
- url, err := target.ReadCharmURL()
+ url, err := charm.ReadCharmURL(target)
c.Assert(err, IsNil)
c.Assert(url, DeepEquals, curl)
fi, err := os.Stat(filepath.Join(target.Path(), "some-dir"))
« no previous file with comments | « worker/uniter/charm/git.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b