diff --git a/lib/ingreedy/continuous_language_locale.rb b/lib/ingreedy/continuous_language_locale.rb index 1773f2b..9143114 100644 --- a/lib/ingreedy/continuous_language_locale.rb +++ b/lib/ingreedy/continuous_language_locale.rb @@ -1,6 +1,6 @@ module Ingreedy module ContinuousLanguageLocale - CONTINUOUS_LANGUAGES_LOCALES = %i(ja th zh-TW) + CONTINUOUS_LANGUAGES_LOCALES = %i(ja zh-TW) def use_whitespace?(locale) !CONTINUOUS_LANGUAGES_LOCALES.include?(locale) diff --git a/spec/ingreedy/continuouse_language_locale_spec.rb b/spec/ingreedy/continuouse_language_locale_spec.rb index 3b62b92..d306f8f 100644 --- a/spec/ingreedy/continuouse_language_locale_spec.rb +++ b/spec/ingreedy/continuouse_language_locale_spec.rb @@ -7,7 +7,6 @@ context 'when the locale is a continuous language' do it 'returns false' do expect(use_whitespace?(:ja)).to be_falsey - expect(use_whitespace?(:th)).to be_falsey expect(use_whitespace?(:'zh-TW')).to be_falsey end end