Merge pull request #75 from coreos/fix

travis: Add Go 1.6 to test matrix, change invalid MAC test
This commit is contained in:
Dalton Hubble
2016-03-01 12:45:38 -08:00
2 changed files with 2 additions and 1 deletions

View File

@@ -4,6 +4,7 @@ services:
- docker
go:
- 1.5.3
- 1.6
- tip
env:
global:

View File

@@ -25,7 +25,7 @@ func TestLabelsFromRequest(t *testing.T) {
// parse and set MAC regardless of query argument case
{"http://a.io?UUID=a1b2c3&MAC=52:DA:00:89:d8:10", map[string]string{"UUID": "a1b2c3", "MAC": validMACStr}},
// ignore MAC addresses which do not parse
{"http://a.io?mac=?:?:?", emptyMap},
{"http://a.io?mac=x:x:x:x:x:x", emptyMap},
}
for _, c := range cases {
req, err := http.NewRequest("GET", c.urlString, nil)