Skip to content

Commit

Permalink
Fixed simplified test, added character to simplified converter
Browse files Browse the repository at this point in the history
  • Loading branch information
andreihar committed Apr 29, 2024
1 parent 5f86066 commit d67a477
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion taibun/data/simplified.json
Original file line number Diff line number Diff line change
Expand Up @@ -901,5 +901,6 @@
"枢": "",
"崭": "",
"泻": "",
"俭": ""
"俭": "",
"几": ""
}
1 change: 0 additions & 1 deletion tests/test_additional.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ def test_convert_simplified():

def test_to_traditional():
assert '漢字是台灣用來寫幾若種現代佮古代語文个書寫文字系統' == to_traditional('汉字是台湾用来写几若种现代佮古代语文个书写文字系统')

def test_to_simplified():
assert '汉字是台湾用来写几若种现代佮古代语文个书写文字系统' == to_simplified('漢字是臺灣用來寫幾若種現代佮古代語文个書寫文字系統')

Expand Down

0 comments on commit d67a477

Please sign in to comment.