Permalink
Browse files

removing trailing whitespace /cc @schmurfy

  • Loading branch information...
1 parent ff03a68 commit 363155d4febef2a8ff8329f9c74d1f982cea5ddd @tmm1 tmm1 committed Dec 17, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/encoder_test.rb
View
4 test/encoder_test.rb
@@ -80,12 +80,12 @@ class EncoderTest < Test::Unit::TestCase
assert cruby[0].instance_of?(Symbol)
assert cruby[1].instance_of?(BERT::Tuple)
end
-
+
should 'handle utf8 strings' do
bert = [131, 109, 0, 0, 0, 5, 195, 169, 116, 195, 169].pack('C*')
assert_equal bert, BERT::Encoder.encode("été")
end
-
+
should 'handle utf8 symbols' do
bert = [131, 100, 0, 5, 195, 169, 116, 195, 169].pack('C*')
assert_equal bert, BERT::Encoder.encode(:'été')

1 comment on commit 363155d

@schmurfy

sorry xD

Please sign in to comment.