Fix tests from terminal API revert

This commit is contained in:
Daniel Imms
2016-09-01 14:24:59 -07:00
parent acb8b0cc00
commit b1174ea3d4

View File

@@ -253,7 +253,7 @@ suite('window namespace tests', () => {
});
test('createTerminal, Terminal.name', () => {
var terminal = window.createTerminal({ name: 'foo' });
var terminal = window.createTerminal('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"');
});