Coding style
- formatting
This commit is contained in:
parent
9439af4061
commit
fd066f3338
1 changed files with 3 additions and 3 deletions
|
|
@ -24,13 +24,13 @@ class WidgetTests(unittest.TestCase):
|
|||
def test_columns_widget(self):
|
||||
columns = fill3.Column([self.TEXT_A, self.TEXT_B])
|
||||
self.assert_string(columns.appearance(), "A\n"
|
||||
"B")
|
||||
"B")
|
||||
|
||||
def test_text_widget(self):
|
||||
self.assert_string(self.TEXT_A.appearance(), "A")
|
||||
text = "foo\nbar"
|
||||
self.assert_string(fill3.Text(text).appearance(), "foo\n"
|
||||
"bar")
|
||||
"bar")
|
||||
|
||||
def test_portal_widget(self):
|
||||
row = fill3.Row([fill3.Text("foo"), fill3.Text("bar")])
|
||||
|
|
@ -55,7 +55,7 @@ class WidgetTests(unittest.TestCase):
|
|||
self.assert_string(fill3.Border(empty_contents).appearance_for((2, 2)), "┌┐\n"
|
||||
"└┘")
|
||||
self.assert_string(fill3.Border(fill3.Column([])).appearance(), "┌┐\n"
|
||||
"└┘")
|
||||
"└┘")
|
||||
self.assert_string(fill3.Border(empty_contents).appearance_for((3, 3)), "┌─┐\n"
|
||||
"│ │\n"
|
||||
"└─┘")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue