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

Unified Diff: vpython/cipd/pep425_test.go

Issue 2927573002: [vpython] Fix PEP425 naming. (Closed)
Patch Set: rebase and update Created 3 years, 6 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 | « vpython/cipd/pep425.go ('k') | vpython/spec/match.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vpython/cipd/pep425_test.go
diff --git a/vpython/cipd/pep425_test.go b/vpython/cipd/pep425_test.go
index 46ef7d5d3446b9d28d5937481c433cffdb31be09..0e88f4c2af30a4b1cd6b183c9b9488cf57f0922c 100644
--- a/vpython/cipd/pep425_test.go
+++ b/vpython/cipd/pep425_test.go
@@ -13,11 +13,11 @@ import (
. "github.com/smartystreets/goconvey/convey"
)
-func mkTag(arch string) *vpython.Pep425Tag {
- return &vpython.Pep425Tag{
- Version: "cp27",
- Abi: "none",
- Arch: arch,
+func mkTag(plat string) *vpython.PEP425Tag {
+ return &vpython.PEP425Tag{
+ Python: "cp27",
+ Abi: "none",
+ Platform: plat,
}
}
@@ -25,7 +25,7 @@ func TestPlatformForPEP425Tag(t *testing.T) {
t.Parallel()
testCases := []struct {
- tag *vpython.Pep425Tag
+ tag *vpython.PEP425Tag
platform string
}{
{mkTag("junk_i686"), ""},
« no previous file with comments | « vpython/cipd/pep425.go ('k') | vpython/spec/match.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698