Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(208)

Unified Diff: go/src/infra/tools/cipd/local/files_test.go

Issue 1154423015: cipd: Extract high level file system operations into the separate interface. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « go/src/infra/tools/cipd/local/files.go ('k') | go/src/infra/tools/cipd/local/fs.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: go/src/infra/tools/cipd/local/files_test.go
diff --git a/go/src/infra/tools/cipd/local/files_test.go b/go/src/infra/tools/cipd/local/files_test.go
index 9eba367ab641cc601c5cae98f7f9e8d36f312215..9f197bbad67012ef50d00aa328d1b3191cf632e2 100644
--- a/go/src/infra/tools/cipd/local/files_test.go
+++ b/go/src/infra/tools/cipd/local/files_test.go
@@ -263,7 +263,7 @@ func TestFileSystemDestination(t *testing.T) {
tempDir, err := ioutil.TempDir("", "cipd_test")
destDir := filepath.Join(tempDir, "dest")
So(err, ShouldBeNil)
- dest := NewFileSystemDestination(destDir)
+ dest := NewFileSystemDestination(destDir, nil)
Reset(func() { os.RemoveAll(tempDir) })
writeFileToDest := func(name string, executable bool, data string) {
« no previous file with comments | « go/src/infra/tools/cipd/local/files.go ('k') | go/src/infra/tools/cipd/local/fs.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698