tests/slugify_test.rb in slugify-1.0.6 vs tests/slugify_test.rb in slugify-1.0.7
- old
+ new
@@ -91,10 +91,12 @@
assert_equal 'pqrstuvwxyz-', Slugify.convert('PQRSTUVWXYZ[\]^_')
assert_equal '', Slugify.convert('[\]^{|}')
assert_equal 'abcdefghijklmno', Slugify.convert('`abcdefghijklmno')
assert_equal 'pqrstuvwxyz-', Slugify.convert('pqrstuvwxyz{|}~')
+ assert_equal 'abvgdklmnzh', Slugify.convert('АБВГДклмнж')
+
assert_equal 'abcdefghijklmnopqrstuvwxyz', Slugify.convert('abcdefghijklmnopqrstuvwxyz')
assert_equal 'abcdefghijklmnopqrstuvwxyz', Slugify.convert('ABCDEFGHIJKLMNOPQRSTUVWXYZ')
assert_equal '0123456789', Slugify.convert('0123456789')
assert_equal '23', Slugify.convert('²³')
assert_equal '------------------', Slugify.convert('({})-_[],.;:=~+<>&')
@@ -109,6 +111,6 @@
assert_equal 'test', Slugify.convert('-test-', true)
assert_equal 'test-test', Slugify.convert('-test-test-', true)
assert_equal 'test-test', Slugify.convert('-test--test-', true)
end
-end
\ No newline at end of file
+end