test/unit/glyph_map_test.rb in compass-fontcustom-1.0.0 vs test/unit/glyph_map_test.rb in compass-fontcustom-1.1.0
- old
+ new
@@ -14,6 +14,12 @@
def test_glyph_index_access
assert_equal 0, @glyph_map.index_for_glyph('C')
end
+ def test_glyph_name_normalization
+ glyphs = @glyph_map.instance_variable_get(:@glyphs)
+ assert ! glyphs.include?('google+')
+ assert glyphs.include?('google')
+ end
+
end