--- FAIL: TestBadScanStructArgs (0.00 seconds)
panic: reflect: NumField of non-struct type [recovered]
panic: reflect: NumField of non-struct type
goroutine 26 [running]:
runtime.panic(0x1491e0, 0xc210086620)
/usr/local/Cellar/go/1.2/libexec/src/pkg/runtime/panic.c:266 +0xb6
testing.func·005()
/usr/local/Cellar/go/1.2/libexec/src/pkg/testing/testing.go:385 +0xe8
runtime.panic(0x1491e0, 0xc210086620)
/usr/local/Cellar/go/1.2/libexec/src/pkg/runtime/panic.c:248 +0x106
reflect.(*rtype).NumField(0x148c40, 0x191f20)
/usr/local/Cellar/go/1.2/libexec/src/pkg/reflect/type.go:654 +0x6d
github.com/garyburd/redigo/redis.compileStructSpec(0x45eea8, 0x148c40, 0xc21008eb40, 0x0, 0x0, ...)
/Users/mattetti/Code/golang/src/github.com/garyburd/redigo/redis/scan.go:230 +0x52
github.com/garyburd/redigo/redis.structSpecForType(0x45eea8, 0x148c40, 0x0)
/Users/mattetti/Code/golang/src/github.com/garyburd/redigo/redis/scan.go:312 +0x1bd
github.com/garyburd/redigo/redis.ScanStruct(0xc21008b860, 0x2, 0x2, 0x139c20, 0xc210000f38, ...)
/Users/mattetti/Code/golang/src/github.com/garyburd/redigo/redis/scan.go:332 +0x144
github.com/mattetti/redigo/redis.func·008(0x139c20, 0xc210000f38)
/Users/mattetti/Code/golang/src/github.com/mattetti/redigo/redis/scan_test.go:190 +0x5f
github.com/mattetti/redigo/redis.TestBadScanStructArgs(0xc210090000)
/Users/mattetti/Code/golang/src/github.com/mattetti/redigo/redis/scan_test.go:201 +0x15d
testing.tRunner(0xc210090000, 0x38cb08)
/usr/local/Cellar/go/1.2/libexec/src/pkg/testing/testing.go:391 +0x8b
created by testing.RunTests
/usr/local/Cellar/go/1.2/libexec/src/pkg/testing/testing.go:471 +0x8b2
goroutine 1 [chan receive]:
testing.RunTests(0x20f910, 0x38c940, 0x17, 0x17, 0x1)
/usr/local/Cellar/go/1.2/libexec/src/pkg/testing/testing.go:472 +0x8d5
testing.Main(0x20f910, 0x38c940, 0x17, 0x17, 0x38f660, ...)
/usr/local/Cellar/go/1.2/libexec/src/pkg/testing/testing.go:403 +0x84
main.main()
github.com/mattetti/redigo/redis/_test/_testmain.go:107 +0x9c
goroutine 12 [sleep]:
time.Sleep(0x3b9aca00)
/usr/local/Cellar/go/1.2/libexec/src/pkg/runtime/time.goc:31 +0x31
github.com/mattetti/redigo/redis.func·001()
/Users/mattetti/Code/golang/src/github.com/mattetti/redigo/redis/conn_test.go:366 +0x2f
created by github.com/mattetti/redigo/redis.func·002
/Users/mattetti/Code/golang/src/github.com/mattetti/redigo/redis/conn_test.go:369 +0xa0
goroutine 13 [sleep]:
time.Sleep(0x3b9aca00)
/usr/local/Cellar/go/1.2/libexec/src/pkg/runtime/time.goc:31 +0x31
github.com/mattetti/redigo/redis.func·001()
/Users/mattetti/Code/golang/src/github.com/mattetti/redigo/redis/conn_test.go:366 +0x2f
created by github.com/mattetti/redigo/redis.func·002
/Users/mattetti/Code/golang/src/github.com/mattetti/redigo/redis/conn_test.go:369 +0xa0
exit status 2
FAIL github.com/mattetti/redigo/redis 0.025s
runtime.panic(0x1491e0, 0xc210086620)
/usr/local/Cellar/go/1.2/libexec/src/pkg/runtime/panic.c:248 +0x106
reflect.(*rtype).NumField(0x148c40, 0x191f20)
/usr/local/Cellar/go/1.2/libexec/src/pkg/reflect/type.go:654 +0x6d
github.com/garyburd/redigo/redis.compileStructSpec(0x45eea8, 0x148c40, 0xc21008eb40, 0x0, 0x0, ...)
/Users/mattetti/Code/golang/src/github.com/garyburd/redigo/redis/scan.go:230 +0x52
github.com/garyburd/redigo/redis.structSpecForType(0x45eea8, 0x148c40, 0x0)
/Users/mattetti/Code/golang/src/github.com/garyburd/redigo/redis/scan.go:312 +0x1bd
github.com/garyburd/redigo/redis.ScanStruct(0xc21008b860, 0x2, 0x2, 0x139c20, 0xc210000f38, ...)
/Users/mattetti/Code/golang/src/github.com/garyburd/redigo/redis/scan.go:332 +0x144
github.com/mattetti/redigo/redis.func·008(0x139c20, 0xc210000f38)
/Users/mattetti/Code/golang/src/github.com/mattetti/redigo/redis/scan_test.go:190 +0x5f
github.com/mattetti/redigo/redis.TestBadScanStructArgs(0xc210090000)
/Users/mattetti/Code/golang/src/github.com/mattetti/redigo/redis/scan_test.go:201 +0x15d
This is more than likely the desired expectation but since the test suite now fails, I figured I should report it.