From 8fe2c1622b6f9c3260e3ffea380143cad4f81bcb Mon Sep 17 00:00:00 2001 From: mozillazg Date: Sun, 3 Mar 2024 22:21:48 +0800 Subject: [PATCH] fix tests --- tests/test_cmd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_cmd.py b/tests/test_cmd.py index fedc3fff..195715c9 100644 --- a/tests/test_cmd.py +++ b/tests/test_cmd.py @@ -12,7 +12,7 @@ def test_default(): assert options.style == 'zh4ao' assert options.separator == '-' assert not options.heteronym - assert options.hans == '你好' + assert options.hans == ['你好'] assert options.errors == 'default' @@ -27,7 +27,7 @@ def test_custom(): assert options.separator == ' ' assert options.errors == 'ignore' assert options.heteronym - assert options.hans == '你好啊' + assert options.hans == ['你好啊'] if __name__ == '__main__':