Updating check.v1

This commit is contained in:
Frederick F. Kautz IV 2015-03-25 00:21:43 -07:00
parent 2aa1da16d7
commit 2e857a6f94
3 changed files with 78 additions and 73 deletions

View File

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

View File

@ -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() {