Skip to content

Commit e707c27

Browse files
committed
fix unittest issue
1 parent ad57296 commit e707c27

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

PythonScript/python_tests/tests/test_NotepadWrapperTestCase.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,7 @@ def test_nppCommandLineDir(self):
461461
cur_dir = notepad.getNppDir()
462462
commandLine = notepad.getCommandLine()
463463

464+
commandLine = commandLine.lstrip('\"')
464465
nppExe = shlex.split(commandLine, posix=False)[0]
465466
nppDirOfExe = os.path.dirname(nppExe)
466467
if nppDirOfExe:

0 commit comments

Comments
 (0)