- assert_equal EN.variant, Locale.tag("en").variant
- assert_equal EN_GB.variant, Locale.tag("en-GB").variant
- assert_equal FR.variant, Locale.tag("fr").variant
- assert_equal ZH_HANS.variant, Locale.tag("zh-Hans").variant
- assert_equal ZH_HANT_TW.variant, Locale.tag("zh-Hant-TW").variant
- assert_equal ZH_YUE.variant, Locale.tag("zh-yue").variant
- assert_equal ZH_YUE.variant, Locale.tag("zh-YUE").variant
- assert_equal BE_TARASK.variant, Locale.tag("be-tarask").variant
- assert_equal BE_TARASK.variant, Locale.tag("be-Tarask").variant
+ assert_equal_allowing_nil EN.variant, Locale.tag("en").variant
+ assert_equal_allowing_nil EN_GB.variant, Locale.tag("en-GB").variant
+ assert_equal_allowing_nil FR.variant, Locale.tag("fr").variant
+ assert_equal_allowing_nil ZH_HANS.variant, Locale.tag("zh-Hans").variant
+ assert_equal_allowing_nil ZH_HANT_TW.variant, Locale.tag("zh-Hant-TW").variant
+ assert_equal_allowing_nil ZH_YUE.variant, Locale.tag("zh-yue").variant
+ assert_equal_allowing_nil ZH_YUE.variant, Locale.tag("zh-YUE").variant
+ assert_equal_allowing_nil BE_TARASK.variant, Locale.tag("be-tarask").variant
+ assert_equal_allowing_nil BE_TARASK.variant, Locale.tag("be-Tarask").variant