aboutsummaryrefslogtreecommitdiffstats
path: root/mux_test.go
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2024-08-22 00:29:35 -0400
committerSam Anthony <sam@samanthony.xyz>2024-08-22 00:29:35 -0400
commitf3f79a425119f6e8dd161645447f668d25cd9626 (patch)
treef4f90971ff6635a7bb6d32ee002f532c9451a948 /mux_test.go
parentf2dfba2cddc18f756473588bdbe6fc4ae651cc77 (diff)
downloadgui-f3f79a425119f6e8dd161645447f668d25cd9626.zip
simplify killer interface
Diffstat (limited to 'mux_test.go')
-rw-r--r--mux_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/mux_test.go b/mux_test.go
index 9ffca83..95fe4ae 100644
--- a/mux_test.go
+++ b/mux_test.go
@@ -152,7 +152,7 @@ type dummyEnv struct {
kill chan<- bool
dead <-chan bool
- attachChan chan<- attachMsg
+ attachChan chan<- attachable
}
func newDummyEnv(size image.Rectangle) dummyEnv {
@@ -212,7 +212,7 @@ func (de dummyEnv) Dead() <-chan bool {
return de.dead
}
-func (de dummyEnv) attach() chan<- attachMsg {
+func (de dummyEnv) attach() chan<- attachable {
return de.attachChan
}