Skip to content

Commit 9c73848

Browse files
committed
automatic_rename test: "man echo" instead of nano
1 parent 423a478 commit 9c73848

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tmuxp/testsuite/test_workspacebuilder.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ class WindowAutomaticRename(TmuxTestCase):
218218
automatic-rename: on
219219
panes:
220220
- shell_command:
221-
- nano
221+
- man echo
222222
start_directory: '~'
223223
- shell_command:
224224
- echo "hey"
@@ -254,20 +254,20 @@ def test_automatic_rename_option(self):
254254

255255
for i in range(5):
256256
w = s.attached_window()
257-
if w['window_name'] == 'nano':
257+
if w['window_name'] == 'man':
258258
break
259259
time.sleep(.1)
260260

261-
self.assertEqual(w.get('window_name'), 'nano')
261+
self.assertEqual(w.get('window_name'), 'man')
262262

263263
w.select_pane('-D')
264264
for i in range(5):
265265
w = s.attached_window()
266-
if w['window_name'] != 'nano':
266+
if w['window_name'] != 'man':
267267
break
268268
time.sleep(.1)
269269

270-
self.assertNotEqual(w.get('window_name'), 'nano')
270+
self.assertNotEqual(w.get('window_name'), 'man')
271271

272272

273273
class TestsToDo(object):

0 commit comments

Comments
 (0)