summaryrefslogtreecommitdiffstats
path: root/test/test_elementary.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-08-18 17:11:26 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-08-18 17:11:26 +0200
commit80784a05349a01824530606482d0d15db811ce5e (patch)
tree90d5284292bfd2654ec5f805298e09e28c1df2f8 /test/test_elementary.rb
parentab842f70d9e03b17f07209fe70f6fa54a3d62e9e (diff)
downloadffi-efl-80784a05349a01824530606482d0d15db811ce5e.zip
ffi-efl-80784a05349a01824530606482d0d15db811ce5e.tar.gz
test_elementary: 1.8 compatibility
Diffstat (limited to 'test/test_elementary.rb')
-rw-r--r--test/test_elementary.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_elementary.rb b/test/test_elementary.rb
index a6af9ca..5356294 100644
--- a/test/test_elementary.rb
+++ b/test/test_elementary.rb
@@ -1,6 +1,7 @@
#! /usr/bin/env ruby
# -*- coding: UTF-8 -*-
#
+require 'efl/elementary'
require 'efl'
#
include Efl;
@@ -201,7 +202,7 @@ class TestWin < Elm::ElmWin
it = @li.item_append l, nil, nil, method(:fake)
if l[0]!=ch
ch = l[0]
- @idx.item_append ch, it
+ @idx.item_append ch.to_s, it
end
end
@idx.item_go 0