| Index: cipd/client/cipd/client_test.go
|
| diff --git a/cipd/client/cipd/client_test.go b/cipd/client/cipd/client_test.go
|
| index 1eb385e7d3cf84087861cfa5e5cc3780f5a56f9f..65e85365031d23f38ba9e7a11351e4068c1b1bc0 100644
|
| --- a/cipd/client/cipd/client_test.go
|
| +++ b/cipd/client/cipd/client_test.go
|
| @@ -605,6 +605,16 @@ func TestProcessEnsureFile(t *testing.T) {
|
| _, err := call(c, "pkg/a", nil)
|
| So(err, ShouldNotBeNil)
|
| })
|
| +
|
| + Convey("ProcessEnsureFile template package", t, func(c C) {
|
| + pins, _ := call(c, "something/${platform}-${arch} 0000000000000000000000000000000000000000", nil)
|
| + So(pins, ShouldResemble, []common.Pin{
|
| + {
|
| + fmt.Sprintf("something/%s-%s", platformExpansion, archExpansion),
|
| + "0000000000000000000000000000000000000000",
|
| + },
|
| + })
|
| + })
|
| }
|
|
|
| func TestListPackages(t *testing.T) {
|
|
|