diff options
author | Matthew Draper <matthew@trebex.net> | 2018-01-19 17:49:21 +1030 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-19 17:49:21 +1030 |
commit | acbcef6094d61eb8c4820295620d170743a4bd71 (patch) | |
tree | f0a6d4d0d145464307c2578a7fb43d799bb8d337 /activesupport/lib/active_support/multibyte/unicode.rb | |
parent | 6559577d1d3fdb16187eda124bb71dd48d217c9d (diff) | |
parent | 5ac6ec54a673e493cddf6bf2eff5b98e52b3c268 (diff) | |
download | rails-acbcef6094d61eb8c4820295620d170743a4bd71.tar.gz rails-acbcef6094d61eb8c4820295620d170743a4bd71.tar.bz2 rails-acbcef6094d61eb8c4820295620d170743a4bd71.zip |
Merge pull request #31732 from koic/enable_autocorrect_for_lint_end_alignment_cop
Enable autocorrect for `Lint/EndAlignment` cop
Diffstat (limited to 'activesupport/lib/active_support/multibyte/unicode.rb')
-rw-r--r-- | activesupport/lib/active_support/multibyte/unicode.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/multibyte/unicode.rb b/activesupport/lib/active_support/multibyte/unicode.rb index a64223c0e0..f923061fae 100644 --- a/activesupport/lib/active_support/multibyte/unicode.rb +++ b/activesupport/lib/active_support/multibyte/unicode.rb @@ -276,7 +276,7 @@ module ActiveSupport 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 |