From a04200b1edd6e47240a91bb8e95d79ef28ae1a26 Mon Sep 17 00:00:00 2001 From: Hedy Li Date: Wed, 5 Aug 2020 20:31:57 +0800 Subject: [PATCH] add more tests --- tests/test_rule.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_rule.py b/tests/test_rule.py index 08274932..1deef26c 100644 --- a/tests/test_rule.py +++ b/tests/test_rule.py @@ -50,8 +50,10 @@ def test_characters(): ) console.rule(characters="+*") console.rule("foo", characters="+*") + console.print(Rule(characters=".,")) expected = "+*+*+*+*+*+*+*+*\n" expected += "+*+*+ foo +*+*++\n" + expected += ".,.,.,.,.,.,.,.,\n" assert console.file.getvalue() == expected