k3s/pkg/probe/http
Eric Chiang a1b310e004 pkg/probe/http: don't compare error strings in tests
TestHTTPProbeChecker fails on the Go1.7 release candidates. The
package's history show that this was the case for Go1.5 and Go1.6
as well.

The test depend on errors holding specific string values, behavior
not guarenteed in the standard library API, and causing new test
failures every minor Go release. Just look for an error rather than
trying to inspect it using string comparison. If we feel this
impacts coverage we can add more test cases.
2016-07-19 11:13:36 -07:00
..
http.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
http_test.go pkg/probe/http: don't compare error strings in tests 2016-07-19 11:13:36 -07:00