update.
[chise/ruby.git] / test / test-char.rb
index 697d2c7..8917498 100755 (executable)
@@ -33,6 +33,7 @@ class TestCharacter < Test::Unit::TestCase
       #qp f, v
       assert_instance_of(String, f)
     }
+
     h = "字".hash_feature
     assert_instance_of(Hash, h)
   end
@@ -63,7 +64,7 @@ class TestCharacter < Test::Unit::TestCase
     assert_equal("DIGIT ONE", "1".name)
     assert_equal("DIGIT ONE", "1".char.name)
     assert_equal("DIGIT ONE", "1".char["name"])
-    assert_equal("(((name . \"FULLWIDTH DIGIT ONE\") (=ucs . 65297)))", "1".char["->fullwidth"])
+    #assert_equal("(((name . \"FULLWIDTH DIGIT ONE\") (=ucs . 65297)))", "1".char["->fullwidth"])
     assert_equal("(((name . \"FULLWIDTH DIGIT ONE\") (=ucs . 65297)))", "1".to_fullwidth)
     assert_equal("(((name . \"DIGIT ONE\") (=ucs . 49)))", "1".char["<-fullwidth"])
     assert_equal("(((name . \"DIGIT ONE\") (=ucs . 49)))", "1".from_fullwidth)