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

Unified Diff: vpython/cipd/cipd_test.go

Issue 2702873002: vpython: Add primary execution package. (Closed)
Patch Set: format Created 3 years, 10 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 | « no previous file | vpython/doc.go » ('j') | vpython/options.go » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vpython/cipd/cipd_test.go
diff --git a/vpython/cipd/cipd_test.go b/vpython/cipd/cipd_test.go
index 7baeb88d41e2884989b25cbe8bac2aedd0ad6f10..d52ba3facef50307d169fcc0436fa3850db18b2a 100644
--- a/vpython/cipd/cipd_test.go
+++ b/vpython/cipd/cipd_test.go
@@ -31,8 +31,8 @@ func TestWriteEnsureFile(t *testing.T) {
Convey(`Can write a manifest for packages`, func() {
err := writeEnsureFile(&buf, []*env.Spec_Package{
- &env.Spec_Package{"foo/bar", "baz"},
- &env.Spec_Package{"pants", "key:value"},
+ {"foo/bar", "baz"},
+ {"pants", "key:value"},
})
So(err, ShouldBeNil)
So(buf.String(), ShouldResemble, "foo/bar baz\npants key:value\n")
« no previous file with comments | « no previous file | vpython/doc.go » ('j') | vpython/options.go » ('J')

Powered by Google App Engine
This is Rietveld 408576698