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

Unified Diff: cipd/client/cipd/local/deployer_test.go

Issue 2657873002: [cipd] use new pin types in common (Closed)
Patch Set: rebase Created 3 years, 11 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 | « cipd/client/cipd/local/deployer.go ('k') | cipd/client/cipd/remote.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cipd/client/cipd/local/deployer_test.go
diff --git a/cipd/client/cipd/local/deployer_test.go b/cipd/client/cipd/local/deployer_test.go
index fbc566f9ef92135b06cb3e8d28c922c376a44976..42ca2ef65b9c2df92bc5e88ffb044ea85ff135b8 100644
--- a/cipd/client/cipd/local/deployer_test.go
+++ b/cipd/client/cipd/local/deployer_test.go
@@ -654,7 +654,7 @@ func TestFindDeployed(t *testing.T) {
// Verify it is discoverable.
out, err := d.FindDeployed(ctx)
So(err, ShouldBeNil)
- So(out, ShouldResemble, []Pin{
+ So(out, ShouldResemble, PinSlice{
{"test", "0123456789abcdef00000123456789abcdef0000"},
{"test/pkg", "0123456789abcdef00000123456789abcdef0000"},
{"test/pkg/123", "0123456789abcdef00000123456789abcdef0000"},
@@ -801,7 +801,7 @@ func TestUpgradeOldPkgDir(t *testing.T) {
Convey("reading the packages finds it", func() {
pins, err := d.FindDeployed(ctx)
So(err, ShouldBeNil)
- So(pins, ShouldResemble, []Pin{
+ So(pins, ShouldResemble, PinSlice{
{"test/package", "0123456789abcdef00000123456789abcdef0000"},
})
« no previous file with comments | « cipd/client/cipd/local/deployer.go ('k') | cipd/client/cipd/remote.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698