update go client test dependencies (#468)

This commit is contained in:
John Wang 2018-07-05 05:34:32 -07:00 committed by William Cheng
parent 0bffdf2463
commit 7eb2acaf71
4 changed files with 8 additions and 9 deletions

View File

@ -1,14 +1,13 @@
package main
import (
"context"
"net/http"
"net/http/httputil"
"strings"
"testing"
"time"
"golang.org/x/net/context"
"golang.org/x/oauth2"
sw "./go-petstore"

View File

@ -1,15 +1,15 @@
package main
import (
"context"
"fmt"
"os"
"testing"
sw "./go-petstore"
"golang.org/x/net/context"
"github.com/antihax/optional"
"github.com/stretchr/testify/assert"
sw "./go-petstore"
)
var client *sw.APIClient

View File

@ -1,11 +1,11 @@
package main
import (
"context"
"testing"
"time"
sw "./go-petstore"
"golang.org/x/net/context"
)
func TestPlaceOrder(t *testing.T) {

View File

@ -1,12 +1,12 @@
package main
import (
"context"
"testing"
sw "./go-petstore"
"golang.org/x/net/context"
"github.com/stretchr/testify/assert"
sw "./go-petstore"
)
func TestCreateUser(t *testing.T) {