aboutsummaryrefslogtreecommitdiffstats
path: root/t/basic_test.py
diff options
context:
space:
mode:
Diffstat (limited to 't/basic_test.py')
-rw-r--r--t/basic_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/basic_test.py b/t/basic_test.py
index eb2a1a9..7922e6d 100644
--- a/t/basic_test.py
+++ b/t/basic_test.py
@@ -7,7 +7,7 @@ class BasicTest(unittest.TestCase):
vt = vt100.vt100(24, 80)
string = b"foo\033[31m\033[32mb\033[3;7;42ma\033[23mr"
vt.process(string)
- assert vt.get_string_plaintext(0, 0, 0, 50) == "foobar\n"
+ assert vt.window_contents(0, 0, 0, 50) == "foobar\n"
assert vt.cell(0, 0).fgcolor() is None
assert vt.cell(0, 3).fgcolor() == 2
assert vt.cell(0, 4).fgcolor() == 2