summaryrefslogtreecommitdiffstats
path: root/test/test_layout.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2013-02-23 22:21:41 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2013-02-23 22:21:41 +0100
commitff8a988bc749278b3b49db50f5da01d4d996f340 (patch)
treeab2f2bccbbb78868d3e260ab834c44d8349861d7 /test/test_layout.rb
parente417bd57d7c213f2a50a94ec8690ae76c7f0ebba (diff)
downloadffi-efl-ff8a988bc749278b3b49db50f5da01d4d996f340.zip
ffi-efl-ff8a988bc749278b3b49db50f5da01d4d996f340.tar.gz
add missing 'delete,request' smart callback in some tests
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