--- FAIL: TestWithTwoListeners (0.00 seconds)
panic: interface conversion: interface is nil, not chan int [recovered]
panic: interface conversion: interface is nil, not chan int
goroutine 4 [running]:
testing.func·004()
/usr/local/lib/go/src/pkg/testing/testing.go:348 +0x105
_/tmp/d20141203-11237-15o6vk7.TestWithTwoListeners(0x182571e0)
/tmp/d20141203-11237-15o6vk7/solution_test.go:10 +0x3c
testing.tRunner(0x182571e0, 0x81acd80)
/usr/local/lib/go/src/pkg/testing/testing.go:353 +0x87
created by testing.RunTests
/usr/local/lib/go/src/pkg/testing/testing.go:433 +0x684
goroutine 1 [chan receive]:
testing.RunTests(0x813b2f8, 0x81acd80, 0x5, 0x5, 0x1, ...)
/usr/local/lib/go/src/pkg/testing/testing.go:434 +0x69f
testing.Main(0x813b2f8, 0x81acd80, 0x5, 0x5, 0x81b0500, ...)
/usr/local/lib/go/src/pkg/testing/testing.go:365 +0x69
main.main()
_/tmp/d20141203-11237-15o6vk7/_test/_testmain.go:51 +0x81
exit status 2
FAIL _/tmp/d20141203-11237-15o6vk7 0.012s
--- FAIL: TestLateToTheParty (0.00 seconds)
panic: interface conversion: interface is nil, not chan int [recovered]
panic: interface conversion: interface is nil, not chan int
goroutine 4 [running]:
testing.func·004()
/usr/local/lib/go/src/pkg/testing/testing.go:348 +0x105
_/tmp/d20141203-11237-15o6vk7.TestLateToTheParty(0x18257120)
/tmp/d20141203-11237-15o6vk7/solution_test.go:24 +0x44
testing.tRunner(0x18257120, 0x81acd8c)
/usr/local/lib/go/src/pkg/testing/testing.go:353 +0x87
created by testing.RunTests
/usr/local/lib/go/src/pkg/testing/testing.go:433 +0x684
goroutine 1 [chan receive]:
testing.RunTests(0x813b2f8, 0x81acd80, 0x5, 0x5, 0x1, ...)
/usr/local/lib/go/src/pkg/testing/testing.go:434 +0x69f
testing.Main(0x813b2f8, 0x81acd80, 0x5, 0x5, 0x81b0500, ...)
/usr/local/lib/go/src/pkg/testing/testing.go:365 +0x69
main.main()
_/tmp/d20141203-11237-15o6vk7/_test/_testmain.go:51 +0x81
exit status 2
FAIL _/tmp/d20141203-11237-15o6vk7 0.012s
panic: interface conversion: interface is nil, not chan int
goroutine 5 [running]:
_/tmp/d20141203-11237-15o6vk7.func·001(0x0)
/tmp/d20141203-11237-15o6vk7/solution_test.go:49 +0x4a
created by _/tmp/d20141203-11237-15o6vk7.TestWithConccurentListeners
/tmp/d20141203-11237-15o6vk7/solution_test.go:56 +0x122
goroutine 1 [chan receive]:
testing.RunTests(0x813b2f8, 0x81acd80, 0x5, 0x5, 0x1, ...)
/usr/local/lib/go/src/pkg/testing/testing.go:434 +0x69f
testing.Main(0x813b2f8, 0x81acd80, 0x5, 0x5, 0x81b0500, ...)
/usr/local/lib/go/src/pkg/testing/testing.go:365 +0x69
main.main()
_/tmp/d20141203-11237-15o6vk7/_test/_testmain.go:51 +0x81
goroutine 4 [chan receive]:
_/tmp/d20141203-11237-15o6vk7.TestWithConccurentListeners(0x18257120)
/tmp/d20141203-11237-15o6vk7/solution_test.go:60 +0x159
testing.tRunner(0x18257120, 0x81acd98)
/usr/local/lib/go/src/pkg/testing/testing.go:353 +0x87
created by testing.RunTests
/usr/local/lib/go/src/pkg/testing/testing.go:433 +0x684
goroutine 6 [runnable]:
_/tmp/d20141203-11237-15o6vk7.func·001(0x1)
/tmp/d20141203-11237-15o6vk7/solution_test.go:48
created by _/tmp/d20141203-11237-15o6vk7.TestWithConccurentListeners
/tmp/d20141203-11237-15o6vk7/solution_test.go:56 +0x122
goroutine 7 [runnable]:
_/tmp/d20141203-11237-15o6vk7.func·001(0x2)
/tmp/d20141203-11237-15o6vk7/solution_test.go:48
created by _/tmp/d20141203-11237-15o6vk7.TestWithConccurentListeners
/tmp/d20141203-11237-15o6vk7/solution_test.go:56 +0x122
goroutine 8 [runnable]:
_/tmp/d20141203-11237-15o6vk7.func·001(0x3)
/tmp/d20141203-11237-15o6vk7/solution_test.go:48
created by _/tmp/d20141203-11237-15o6vk7.TestWithConccurentListeners
/tmp/d20141203-11237-15o6vk7/solution_test.go:56 +0x122
goroutine 9 [runnable]:
_/tmp/d20141203-11237-15o6vk7.func·001(0x4)
/tmp/d20141203-11237-15o6vk7/solution_test.go:48
created by _/tmp/d20141203-11237-15o6vk7.TestWithConccurentListeners
/tmp/d20141203-11237-15o6vk7/solution_test.go:56 +0x122
goroutine 10 [runnable]:
_/tmp/d20141203-11237-15o6vk7.func·001(0x5)
/tmp/d20141203-11237-15o6vk7/solution_test.go:48
created by _/tmp/d20141203-11237-15o6vk7.TestWithConccurentListeners
/tmp/d20141203-11237-15o6vk7/solution_test.go:56 +0x122
goroutine 11 [runnable]:
_/tmp/d20141203-11237-15o6vk7.func·001(0x6)
/tmp/d20141203-11237-15o6vk7/solution_test.go:48
created by _/tmp/d20141203-11237-15o6vk7.TestWithConccurentListeners
/tmp/d20141203-11237-15o6vk7/solution_test.go:56 +0x122
goroutine 12 [runnable]:
_/tmp/d20141203-11237-15o6vk7.func·001(0x7)
/tmp/d20141203-11237-15o6vk7/solution_test.go:48
created by _/tmp/d20141203-11237-15o6vk7.TestWithConccurentListeners
/tmp/d20141203-11237-15o6vk7/solution_test.go:56 +0x122
goroutine 13 [runnable]:
_/tmp/d20141203-11237-15o6vk7.func·001(0x8)
/tmp/d20141203-11237-15o6vk7/solution_test.go:48
created by _/tmp/d20141203-11237-15o6vk7.TestWithConccurentListeners
/tmp/d20141203-11237-15o6vk7/solution_test.go:56 +0x122
goroutine 14 [runnable]:
_/tmp/d20141203-11237-15o6vk7.func·001(0x9)
/tmp/d20141203-11237-15o6vk7/solution_test.go:48
created by _/tmp/d20141203-11237-15o6vk7.TestWithConccurentListeners
/tmp/d20141203-11237-15o6vk7/solution_test.go:56 +0x122
goroutine 15 [runnable]:
_/tmp/d20141203-11237-15o6vk7.func·001(0xa)
/tmp/d20141203-11237-15o6vk7/solution_test.go:48
created by _/tmp/d20141203-11237-15o6vk7.TestWithConccurentListeners
/tmp/d20141203-11237-15o6vk7/solution_test.go:56 +0x122
goroutine 16 [runnable]:
_/tmp/d20141203-11237-15o6vk7.func·001(0xb)
/tmp/d20141203-11237-15o6vk7/solution_test.go:48
created by _/tmp/d20141203-11237-15o6vk7.TestWithConccurentListeners
/tmp/d20141203-11237-15o6vk7/solution_test.go:56 +0x122
goroutine 17 [runnable]:
_/tmp/d20141203-11237-15o6vk7.func·001(0xc)
/tmp/d20141203-11237-15o6vk7/solution_test.go:48
created by _/tmp/d20141203-11237-15o6vk7.TestWithConccurentListeners
/tmp/d20141203-11237-15o6vk7/solution_test.go:56 +0x122
goroutine 18 [runnable]:
_/tmp/d20141203-11237-15o6vk7.func·001(0xd)
/tmp/d20141203-11237-15o6vk7/solution_test.go:48
created by _/tmp/d20141203-11237-15o6vk7.TestWithConccurentListeners
/tmp/d20141203-11237-15o6vk7/solution_test.go:56 +0x122
goroutine 19 [runnable]:
_/tmp/d20141203-11237-15o6vk7.func·001(0xe)
/tmp/d20141203-11237-15o6vk7/solution_test.go:48
created by _/tmp/d20141203-11237-15o6vk7.TestWithConccurentListeners
/tmp/d20141203-11237-15o6vk7/solution_test.go:56 +0x122
goroutine 20 [runnable]:
_/tmp/d20141203-11237-15o6vk7.func·001(0xf)
/tmp/d20141203-11237-15o6vk7/solution_test.go:48
created by _/tmp/d20141203-11237-15o6vk7.TestWithConccurentListeners
/tmp/d20141203-11237-15o6vk7/solution_test.go:56 +0x122
goroutine 21 [runnable]:
_/tmp/d20141203-11237-15o6vk7.func·001(0x10)
/tmp/d20141203-11237-15o6vk7/solution_test.go:48
created by _/tmp/d20141203-11237-15o6vk7.TestWithConccurentListeners
/tmp/d20141203-11237-15o6vk7/solution_test.go:56 +0x122
goroutine 22 [runnable]:
_/tmp/d20141203-11237-15o6vk7.func·001(0x11)
/tmp/d20141203-11237-15o6vk7/solution_test.go:48
created by _/tmp/d20141203-11237-15o6vk7.TestWithConccurentListeners
/tmp/d20141203-11237-15o6vk7/solution_test.go:56 +0x122
goroutine 23 [runnable]:
_/tmp/d20141203-11237-15o6vk7.func·001(0x12)
/tmp/d20141203-11237-15o6vk7/solution_test.go:48
created by _/tmp/d20141203-11237-15o6vk7.TestWithConccurentListeners
/tmp/d20141203-11237-15o6vk7/solution_test.go:56 +0x122
goroutine 24 [runnable]:
_/tmp/d20141203-11237-15o6vk7.func·001(0x13)
/tmp/d20141203-11237-15o6vk7/solution_test.go:48
created by _/tmp/d20141203-11237-15o6vk7.TestWithConccurentListeners
/tmp/d20141203-11237-15o6vk7/solution_test.go:56 +0x122
exit status 2
FAIL _/tmp/d20141203-11237-15o6vk7 0.012s
--- FAIL: TestMultipleMessagesWithoutListeners (0.00 seconds)
panic: interface conversion: interface is nil, not chan int [recovered]
panic: interface conversion: interface is nil, not chan int
goroutine 4 [running]:
testing.func·004()
/usr/local/lib/go/src/pkg/testing/testing.go:348 +0x105
_/tmp/d20141203-11237-15o6vk7.TestMultipleMessagesWithoutListeners(0x18258120)
/tmp/d20141203-11237-15o6vk7/solution_test.go:74 +0x4b
testing.tRunner(0x18258120, 0x81acda4)
/usr/local/lib/go/src/pkg/testing/testing.go:353 +0x87
created by testing.RunTests
/usr/local/lib/go/src/pkg/testing/testing.go:433 +0x684
goroutine 1 [chan receive]:
testing.RunTests(0x813b2f8, 0x81acd80, 0x5, 0x5, 0x1, ...)
/usr/local/lib/go/src/pkg/testing/testing.go:434 +0x69f
testing.Main(0x813b2f8, 0x81acd80, 0x5, 0x5, 0x81b0500, ...)
/usr/local/lib/go/src/pkg/testing/testing.go:365 +0x69
main.main()
_/tmp/d20141203-11237-15o6vk7/_test/_testmain.go:51 +0x81
exit status 2
FAIL _/tmp/d20141203-11237-15o6vk7 0.012s
panic: interface conversion: interface is nil, not chan int
goroutine 5 [running]:
_/tmp/d20141203-11237-15o6vk7.func·002()
/tmp/d20141203-11237-15o6vk7/solution_test.go:84 +0x48
created by _/tmp/d20141203-11237-15o6vk7.TestMultipleMessagesWithOneListener
/tmp/d20141203-11237-15o6vk7/solution_test.go:94 +0xca
goroutine 1 [chan receive]:
testing.RunTests(0x813b2f8, 0x81acd80, 0x5, 0x5, 0x1, ...)
/usr/local/lib/go/src/pkg/testing/testing.go:434 +0x69f
testing.Main(0x813b2f8, 0x81acd80, 0x5, 0x5, 0x81b0500, ...)
/usr/local/lib/go/src/pkg/testing/testing.go:365 +0x69
main.main()
_/tmp/d20141203-11237-15o6vk7/_test/_testmain.go:51 +0x81
goroutine 4 [chan receive]:
_/tmp/d20141203-11237-15o6vk7.TestMultipleMessagesWithOneListener(0x18258120)
/tmp/d20141203-11237-15o6vk7/solution_test.go:102 +0x10d
testing.tRunner(0x18258120, 0x81acdb0)
/usr/local/lib/go/src/pkg/testing/testing.go:353 +0x87
created by testing.RunTests
/usr/local/lib/go/src/pkg/testing/testing.go:433 +0x684
goroutine 6 [runnable]:
_/tmp/d20141203-11237-15o6vk7.func·003()
/tmp/d20141203-11237-15o6vk7/solution_test.go:96
created by _/tmp/d20141203-11237-15o6vk7.TestMultipleMessagesWithOneListener
/tmp/d20141203-11237-15o6vk7/solution_test.go:100 +0xf5
exit status 2
FAIL _/tmp/d20141203-11237-15o6vk7 0.012s