aboutsummaryrefslogtreecommitdiffstats
path: root/mux_test.go
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2024-08-24 17:13:44 -0400
committerSam Anthony <sam@samanthony.xyz>2024-08-24 17:13:44 -0400
commit0422e505333513beef8172cc79f2ec208293fc14 (patch)
tree5bc87db442c9c0a9cf92f5c37d651be471e83076 /mux_test.go
parent9bf3236dc993a3d8dbf4caf14bd448ab4de70a72 (diff)
downloadgui-0422e505333513beef8172cc79f2ec208293fc14.zip
move functionality of makeEventsChan() to external library
Diffstat (limited to 'mux_test.go')
-rw-r--r--mux_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/mux_test.go b/mux_test.go
index 75f6cac..4736641 100644
--- a/mux_test.go
+++ b/mux_test.go
@@ -25,7 +25,7 @@ func TestMuxEvent(t *testing.T) {
events := []Event{Resize{rect}, dummyEvent{"fooEvent"}, dummyEvent{"barEvent"}, dummyEvent{"bazEvent"}}
go func() {
for _, event := range events[1:] { // skip resize—it's sent automatically by the root Env
- root.eventsIn <- event
+ root.events.Enqueue <- event
}
}()