From ac6f85f8be957198f349a4ed613dc58733e2e003 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Wed, 21 Oct 2020 21:14:53 -0400 Subject: [PATCH] make expansion of internal command unambiguous --- unittest/tools/test_lammps_shell.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unittest/tools/test_lammps_shell.py b/unittest/tools/test_lammps_shell.py index 36c375fa59..10f24b1809 100644 --- a/unittest/tools/test_lammps_shell.py +++ b/unittest/tools/test_lammps_shell.py @@ -30,8 +30,8 @@ class LammpsShell(unittest.TestCase): def testExpandClear(self): """Test expansion of a shell specific command""" - matches = re.findall(shell_prompt_re, self.InputRunner(b'cle\t\n'), re.MULTILINE) - self.assertEqual(matches[0][1],"clear") + matches = re.findall(shell_prompt_re, self.InputRunner(b'clear_his\t\n'), re.MULTILINE) + self.assertEqual(matches[0][1],"clear_history") def testExpandSource(self): """Test expansion of a shell command and a file name"""