| OLD | NEW |
| 1 // Copyright 2016 The LUCI Authors. All rights reserved. | 1 // Copyright 2016 The LUCI Authors. All rights reserved. |
| 2 // Use of this source code is governed under the Apache License, Version 2.0 | 2 // Use of this source code is governed under the Apache License, Version 2.0 |
| 3 // that can be found in the LICENSE file. | 3 // that can be found in the LICENSE file. |
| 4 | 4 |
| 5 package main | 5 package main |
| 6 | 6 |
| 7 import ( | 7 import ( |
| 8 "testing" | 8 "testing" |
| 9 | 9 |
| 10 "github.com/luci/luci-go/deploytool/api/deploy" | 10 "github.com/luci/luci-go/deploytool/api/deploy" |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 | 54 |
| 55 s := v.String() | 55 s := v.String() |
| 56 So(s, ShouldEqual, "__minor-major-tainted-test_person") | 56 So(s, ShouldEqual, "__minor-major-tainted-test_person") |
| 57 | 57 |
| 58 parsed, err := parseCloudProjectVersion(deploy.Deploymen
t_CloudProject_DEFAULT, s) | 58 parsed, err := parseCloudProjectVersion(deploy.Deploymen
t_CloudProject_DEFAULT, s) |
| 59 So(err, ShouldBeNil) | 59 So(err, ShouldBeNil) |
| 60 So(parsed, ShouldResemble, v) | 60 So(parsed, ShouldResemble, v) |
| 61 }) | 61 }) |
| 62 }) | 62 }) |
| 63 } | 63 } |
| OLD | NEW |