lib/active_support/multibyte/unicode.rb in activesupport-5.2.0.beta2 vs lib/active_support/multibyte/unicode.rb in activesupport-5.2.0.rc1

- old
+ new

@@ -274,10 +274,10 @@ compose(reorder_characters(decompose(:canonical, codepoints))) when :kd reorder_characters(decompose(:compatibility, codepoints)) when :kc compose(reorder_characters(decompose(:compatibility, codepoints))) - else + else raise ArgumentError, "#{form} is not a valid normalization variant", caller end.pack("U*".freeze) end def downcase(string)