b0VIM 7.4W{nzdanhac~dan/dev/gems/unicode-name/spec/unicode_name_spec.rbutf-8 3210#"! Utp+ad1 +QK P H G  l 9 1 0 S  q l end end end assert_includesend end end assert_includes Unicoend eend end end assert_includes end end end assert_equal ["NUL"], Unicode::Name.aliases("\0")[:abbreviation] assert_equal ["NULL"], Unicode::Name.aliases("\0")[:control] it "will return aliases grouped by type" do end assert_equal Hash, Unicode::Name.aliases("\0").class it "will always return a Hash" do end assert_equal nil, Unicode::Name.aliases("A") it "will return nil if no alias available" do describe ".aliases" do end end assert_equal "LATIN CAPITAL LETTER GHA", Unicode::Name.correct("Ƣ") it "will return corrected name, if one exists" do end assert_equal "LATIN CAPITAL LETTER A", Unicode::Name.correct("A") it "usually just returns name" do describe ".correct" do end end assert_equal nil, Unicode::Name.of("\0") assert_equal nil, Unicode::Name.of("\u{10c50}") it "will return nil for characters without name" do end assert_equal "REPLACEMENT CHARACTER", Unicode::Name.of("�") assert_equal "AERIAL TRAMWAY", Unicode::Name.of("🚡") assert_equal "LATIN CAPITAL LETTER A", Unicode::Name.of("A") it "will return name for that character" do describe ".name (alias .of)" dodescribe Unicode::Name dorequire "minitest/autorun"require_relative "../lib/unicode/name"