summaryrefslogtreecommitdiffstats
path: root/test/test_naviframe.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_naviframe.rb')
-rw-r--r--test/test_naviframe.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_naviframe.rb b/test/test_naviframe.rb
index 9350d06..b0e200e 100644
--- a/test/test_naviframe.rb
+++ b/test/test_naviframe.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