Skip to content

Commit

Permalink
skip test for go1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
taoso committed Jun 20, 2018
1 parent feac8a6 commit f6690a3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@ func TestLoadHTMLGlob(t *testing.T) {
}

func TestLoadHTMLGlobOverH2c(t *testing.T) {
// go1.6's http client does not support h2c
if strings.Contains(v, "go1.6") {
return
}

td := setupHTMLGlob(t, DebugMode, false)

http := http.Client{
Expand Down

0 comments on commit f6690a3

Please sign in to comment.