Updating check.v1

master
Frederick F. Kautz IV 10 years ago
parent 2aa1da16d7
commit 2e857a6f94
  1. 2
      Godeps/_workspace/src/gopkg.in/check.v1/benchmark_test.go
  2. 15
      Godeps/_workspace/src/gopkg.in/check.v1/printer_test.go

@ -3,8 +3,8 @@
package check_test
import (
"time"
. "gopkg.in/check.v1"
"time"
)
var benchmarkS = Suite(&BenchmarkS{})

@ -24,22 +24,27 @@ func printTestFunc() {
println(3) // Comment3
}
switch 5 {
case 6: println(6) // Comment6
case 6:
println(6) // Comment6
println(7)
}
switch interface{}(9).(type) { // Comment9
case int: println(10)
case int:
println(10)
println(11)
}
select {
case <-(chan bool)(nil): println(14)
case <-(chan bool)(nil):
println(14)
println(15)
default: println(16)
default:
println(16)
println(17)
}
println(19,
20)
_ = func() { println(21)
_ = func() {
println(21)
println(22)
}
println(24, func() {

Loading…
Cancel
Save