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 3ae0ad4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions gin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ import (
"net"
"net/http"
"reflect"
"runtime"
"strings"
"testing"
"time"

Expand Down Expand Up @@ -96,6 +98,11 @@ func TestLoadHTMLGlob(t *testing.T) {
}

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

td := setupHTMLGlob(t, DebugMode, false)

http := http.Client{
Expand Down

0 comments on commit 3ae0ad4

Please sign in to comment.