diff --git a/tests/test_cmd.py b/tests/test_cmd.py index fedc3ff..195715c 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__':