make expansion of internal command unambiguous
This commit is contained in:
@ -30,8 +30,8 @@ class LammpsShell(unittest.TestCase):
|
|||||||
|
|
||||||
def testExpandClear(self):
|
def testExpandClear(self):
|
||||||
"""Test expansion of a shell specific command"""
|
"""Test expansion of a shell specific command"""
|
||||||
matches = re.findall(shell_prompt_re, self.InputRunner(b'cle\t\n'), re.MULTILINE)
|
matches = re.findall(shell_prompt_re, self.InputRunner(b'clear_his\t\n'), re.MULTILINE)
|
||||||
self.assertEqual(matches[0][1],"clear")
|
self.assertEqual(matches[0][1],"clear_history")
|
||||||
|
|
||||||
def testExpandSource(self):
|
def testExpandSource(self):
|
||||||
"""Test expansion of a shell command and a file name"""
|
"""Test expansion of a shell command and a file name"""
|
||||||
|
|||||||
Reference in New Issue
Block a user