mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-11-28 11:23:03 +01:00
test(cli): improve resized banner assertion
This commit is contained in:
1 parent
94b961d129
commit
e5e07b4aed
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user