Debian Codegraph @

compiler/natives/src/net/http/cookiejar/example_test.go

raw
1 // +build js
2
3 package cookiejar_test
4
5 import "fmt"
6
7 func ExampleNew() {
8 // network access not supported by GopherJS, and this test depends on httptest.NewServer
9
10 fmt.Println(`After 1st request:
11 Flavor: Chocolate Chip
12 After 2nd request:
13 Flavor: Oatmeal Raisin`)
14 }