mirror of https://github.com/erickguan/ffi-icu.git
Add (failing) transliteration spec
This commit is contained in:
parent
2924ebef0e
commit
721a60c3b1
|
@ -0,0 +1,18 @@
|
|||
# encoding: utf-8
|
||||
|
||||
module ICU
|
||||
module Transliteration
|
||||
|
||||
describe Transliterator do
|
||||
|
||||
before { @t = Transliterator.new("Greek-Latin", :reverse) }
|
||||
after { @t.close }
|
||||
|
||||
it "should transliterate a string" do
|
||||
@t.transliterate("Hello World").should == "Χελλο Ωορλδ"
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue