提交 504ab3bb 编写于 作者: J Johannes Rieken

fix terminal test

上级 3f12ef35
......@@ -49,7 +49,7 @@ suite('Workbench - TerminalEnvironment', () => {
VSCODE_NLS_CONFIG: 'x',
VSCODE_PORTABLE: 'x',
VSCODE_PID: 'x',
VSCODE_NODE_CACHED_DATA_DIR_12345: 'x'
VSCODE_NODE_CACHED_DATA_DIR: 'x'
};
terminalEnvironment.sanitizeEnvironment(env);
assert.equal(env['FOO'], 'bar');
......@@ -181,4 +181,4 @@ suite('Workbench - TerminalEnvironment', () => {
assert.equal(terminalEnvironment.preparePathForTerminal('/a/\\foo bar"\'? ;\'?? :'), '/a/\\\\foo\\ bar\\"\\\'\\?\\ \\;\\\'\\?\\?\\ \\ \\:');
assert.equal(terminalEnvironment.preparePathForTerminal('/\\\'"?:;!*(){}[]'), '/\\\\\\\'\\"\\?\\:\\;\\!\\*\\(\\)\\{\\}\\[\\]');
});
});
\ No newline at end of file
});
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册