summaryrefslogtreecommitdiffstats
path: root/test/test_layout.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_layout.rb')
-rw-r--r--test/test_layout.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_layout.rb b/test/test_layout.rb
index 34cc4aa..5065e49 100644
--- a/test/test_layout.rb
+++ b/test/test_layout.rb
@@ -17,6 +17,7 @@ class MyWin < Elm::ElmWin
@current = 0
super(nil, "Layout") do
title_set "Layout"
+ smart_callback_add("delete,request", ->(*_) { Elm.exit }, nil)
resize 320, 320
show
end