diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2024-08-24 17:13:44 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2024-08-24 17:13:44 -0400 |
| commit | 0422e505333513beef8172cc79f2ec208293fc14 (patch) | |
| tree | 5bc87db442c9c0a9cf92f5c37d651be471e83076 /mux_test.go | |
| parent | 9bf3236dc993a3d8dbf4caf14bd448ab4de70a72 (diff) | |
| download | gui-0422e505333513beef8172cc79f2ec208293fc14.zip | |
move functionality of makeEventsChan() to external library
Diffstat (limited to 'mux_test.go')
| -rw-r--r-- | mux_test.go | 2 |
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 } }() |