summaryrefslogtreecommitdiffstats
path: root/test/test_panes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_panes.rb')
-rw-r--r--test/test_panes.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_panes.rb b/test/test_panes.rb
index db2de03..1554df3 100644
--- a/test/test_panes.rb
+++ b/test/test_panes.rb
@@ -13,6 +13,7 @@ class MyWin < Elm::ElmWin
def initialize
super(nil, "Greetings") do
title_set "Hello, World!"
+ smart_callback_add("delete,request", ->(*_) { Elm.exit }, nil)
resize 320, 400
show
end