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