test(cli): improve resized banner assertion

This commit is contained in:
Robby Russell committed 2026-10-08 18:40:09 -07:00
1 parent 94b961d129
commit e5e07b4aed
1 file changed
+1 -1
+1 -1
View File
@@ -135,7 +135,7 @@ class AquariumTests(unittest.TestCase):
boundary = len(terminal.output)
terminal.resize(40, 140)
terminal.collect(0.7)
self.assertTrue(b"O H M Y Z S H" in terminal.output[boundary:])
self.assertIn(b"O H M Y Z S H", terminal.output[boundary:])
os.write(terminal.master, b"q")
self.assertEqual(terminal.finish(), 0)
self.assert_restored(terminal)