| 1 | package pkg4_test |
| 2 | |
| 3 | import ( |
| 4 | "fmt" |
| 5 | "testing" |
| 6 | "time" |
| 7 | |
| 8 | "github.com/gorilla/mux" |
| 9 | . "github.com/onsi/ginkgo/v2" |
| 10 | . "github.com/onsi/gomega" |
| 11 | "github.com/tdewolff/minify/v2" |
| 12 | "golang.org/x/crypto/bcrypt" |
| 13 | "gopkg.in/yaml.v2" |
| 14 | ) |
| 15 | |
| 16 | func TestPkg4(t *testing.T) { |
| 17 | RegisterFailHandler(Fail) |
| 18 | RunSpecs(t, "Pkg4 Suite") |
| 19 | |
| 20 | mux.NewRouter() |
| 21 | fmt.Println(bcrypt.MinCost) |
| 22 | fmt.Println(yaml.Decoder{}) |
| 23 | fmt.Println(minify.MinInt) |
| 24 | } |
| 25 | |
| 26 | var _ = Describe("Pkg4", func() { |
| 27 | for i := 0; i < 10; i++ { |
| 28 | It(fmt.Sprintf("sleeps %d", i), func() { |
| 29 | time.Sleep(time.Millisecond * 10) |
| 30 | }) |
| 31 | } |
| 32 | }) |