add dependency from mruby-string-utf8 to mruby-string-ext to ensure loading order

This commit is contained in:
Yukihiro "Matz" Matsumoto
2014-06-04 09:47:01 +09:00
parent c31c6c0833
commit 9763eee616
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -2,4 +2,5 @@ MRuby::Gem::Specification.new('mruby-string-utf8') do |spec|
spec.license = 'MIT'
spec.author = 'mruby developers'
spec.summary = 'UTF-8 support in String class'
spec.add_dependency('mruby-string-ext', :core => 'mruby-string-ext')
end
+1 -1
View File
@@ -67,6 +67,6 @@ assert('String#rindex') do
assert_equal 3, str.rindex('ち', 10)
end
assert('String#chr') do
assert('String#chr(utf-8)') do
assert_equal "", "こんにちは世界!".chr
end