From d67a47768357360b2324fbfce69c7c7df4d68f72 Mon Sep 17 00:00:00 2001 From: andreihar <95883512+andreihar@users.noreply.github.com> Date: Mon, 29 Apr 2024 14:06:03 -0700 Subject: [PATCH] Fixed simplified test, added character to simplified converter --- taibun/data/simplified.json | 3 ++- tests/test_additional.py | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/taibun/data/simplified.json b/taibun/data/simplified.json index 8f0e748..d210d30 100644 --- a/taibun/data/simplified.json +++ b/taibun/data/simplified.json @@ -901,5 +901,6 @@ "枢": "樞", "崭": "嶄", "泻": "瀉", - "俭": "儉" + "俭": "儉", + "几": "幾" } \ No newline at end of file diff --git a/tests/test_additional.py b/tests/test_additional.py index 13497e9..23a9241 100644 --- a/tests/test_additional.py +++ b/tests/test_additional.py @@ -6,7 +6,6 @@ def test_convert_simplified(): def test_to_traditional(): assert '漢字是台灣用來寫幾若種現代佮古代語文个書寫文字系統' == to_traditional('汉字是台湾用来写几若种现代佮古代语文个书写文字系统') - def test_to_simplified(): assert '汉字是台湾用来写几若种现代佮古代语文个书写文字系统' == to_simplified('漢字是臺灣用來寫幾若種現代佮古代語文个書寫文字系統')