From b7f6b1fa31ba3cf4565caebcc004454bb671aa49 Mon Sep 17 00:00:00 2001 From: Nathan Vegdahl Date: Sun, 22 Sep 2024 20:34:13 +0200 Subject: [PATCH] Remove one of the substitutions. --- src/lib.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index ae78db7..2ba555b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -28,7 +28,6 @@ const COMMON_SUBS: &[(&str, &str, (&str, &str))] = &[ ("額", "ガク", ("ヒタイ", "ヒタイ")), ("他", "タ", ("ホカ", "ホカ")), ("私", "ワタクシ", ("ワタシ", "ワタシ")), - ("等", "トー", ("ナド", "ナド")), ("大分", "オーイタ", ("ダイブ", "ダイブ")), ("日本", "ニッポン", ("ニホン", "ニホン")), ("日本人", "ニッポンジン", ("ニホンジン", "ニホンジン")), @@ -769,12 +768,6 @@ mod tests { r#"ワタシ"# ); - // The added 卵 is to trigger the parse we're testing of 等. - assert_eq!( - gen.add_html_furigana("卵等"), - r#"タマゴナド"# - ); - assert_eq!( gen.add_html_furigana("大分"), r#"大分ダイブ"#