提交 d0ec4e6a 编写于 作者: D Daniel Imms

Fix terminal API tests

上级 410fd89b
......@@ -253,7 +253,7 @@ suite('window namespace tests', () => {
});
test('createTerminal, Terminal.name', () => {
var terminal = window.createTerminal('foo');
var terminal = window.createTerminal({ name: 'foo' });
assert.equal(terminal.name, 'foo');
assert.throws(() => {
......@@ -262,7 +262,7 @@ suite('window namespace tests', () => {
});
test('createTerminal, immediate Terminal.sendText', () => {
var terminal = window.createTerminal();
var terminal = window.createTerminal({});
// This should not throw an exception
terminal.sendText('echo "foo"');
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册