From c8eadd2ce507ba85f4785df2e4fefc7804670e1e Mon Sep 17 00:00:00 2001 From: kyle pollina <> Date: Sun, 22 Aug 2021 20:49:28 -0500 Subject: [PATCH] add test --- tests/test_panel.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_panel.py b/tests/test_panel.py index 1c11bdc8..e685bbc4 100644 --- a/tests/test_panel.py +++ b/tests/test_panel.py @@ -12,6 +12,7 @@ tests = [ Panel("Hello, World", width=8, padding=0), Panel(Panel("Hello, World", padding=0), padding=0), Panel("Hello, World", title="FOO", padding=0), + Panel("Hello, World", footer="FOO", padding=0), ] expected = [ @@ -21,6 +22,7 @@ expected = [ "╭──────╮\n│Hello,│\n│World │\n╰──────╯\n", "╭────────────────────────────────────────────────╮\n│╭──────────────────────────────────────────────╮│\n││Hello, World ││\n│╰──────────────────────────────────────────────╯│\n╰────────────────────────────────────────────────╯\n", "╭───────────────────── FOO ──────────────────────╮\n│Hello, World │\n╰────────────────────────────────────────────────╯\n", + "╭────────────────────────────────────────────────╮\n│Hello, World │\n╰───────────────────── FOO ──────────────────────╯\n", ]