michael@0: /* michael@0: * Copyright 2012, Mozilla Foundation and contributors michael@0: * michael@0: * Licensed under the Apache License, Version 2.0 (the "License"); michael@0: * you may not use this file except in compliance with the License. michael@0: * You may obtain a copy of the License at michael@0: * michael@0: * http://www.apache.org/licenses/LICENSE-2.0 michael@0: * michael@0: * Unless required by applicable law or agreed to in writing, software michael@0: * distributed under the License is distributed on an "AS IS" BASIS, michael@0: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. michael@0: * See the License for the specific language governing permissions and michael@0: * limitations under the License. michael@0: */ michael@0: michael@0: 'use strict'; michael@0: // michael@0: michael@0: // THIS FILE IS GENERATED FROM SOURCE IN THE GCLI PROJECT michael@0: // DO NOT EDIT IT DIRECTLY michael@0: michael@0: var exports = {}; michael@0: michael@0: var TEST_URI = "data:text/html;charset=utf-8,

gcli-testCli2.js

"; michael@0: michael@0: function test() { michael@0: return Task.spawn(function() { michael@0: let options = yield helpers.openTab(TEST_URI); michael@0: yield helpers.openToolbar(options); michael@0: gcli.addItems(mockCommands.items); michael@0: michael@0: yield helpers.runTests(options, exports); michael@0: michael@0: gcli.removeItems(mockCommands.items); michael@0: yield helpers.closeToolbar(options); michael@0: yield helpers.closeTab(options); michael@0: }).then(finish, helpers.handleError); michael@0: } michael@0: michael@0: // michael@0: michael@0: // var helpers = require('./helpers'); michael@0: michael@0: var nodetype = require('gcli/types/node'); michael@0: michael@0: exports.setup = function(options) { michael@0: if (options.window) { michael@0: nodetype.setDocument(options.window.document); michael@0: } michael@0: }; michael@0: michael@0: exports.shutdown = function(options) { michael@0: nodetype.unsetDocument(); michael@0: }; michael@0: michael@0: exports.testSingleString = function(options) { michael@0: return helpers.audit(options, [ michael@0: { michael@0: setup: 'tsr', michael@0: check: { michael@0: input: 'tsr', michael@0: hints: ' ', michael@0: markup: 'VVV', michael@0: cursor: 3, michael@0: current: '__command', michael@0: status: 'ERROR', michael@0: unassigned: [ ], michael@0: args: { michael@0: command: { name: 'tsr' }, michael@0: text: { michael@0: value: undefined, michael@0: arg: '', michael@0: status: 'INCOMPLETE', michael@0: message: 'Value required for \'text\'.' michael@0: } michael@0: } michael@0: } michael@0: }, michael@0: { michael@0: setup: 'tsr ', michael@0: check: { michael@0: input: 'tsr ', michael@0: hints: '', michael@0: markup: 'VVVV', michael@0: cursor: 4, michael@0: current: 'text', michael@0: status: 'ERROR', michael@0: predictions: [ ], michael@0: unassigned: [ ], michael@0: args: { michael@0: command: { name: 'tsr' }, michael@0: text: { michael@0: value: undefined, michael@0: arg: '', michael@0: status: 'INCOMPLETE', michael@0: message: 'Value required for \'text\'.' michael@0: } michael@0: } michael@0: } michael@0: }, michael@0: { michael@0: setup: 'tsr h', michael@0: check: { michael@0: input: 'tsr h', michael@0: hints: '', michael@0: markup: 'VVVVV', michael@0: cursor: 5, michael@0: current: 'text', michael@0: status: 'VALID', michael@0: predictions: [ ], michael@0: unassigned: [ ], michael@0: args: { michael@0: command: { name: 'tsr' }, michael@0: text: { michael@0: value: 'h', michael@0: arg: ' h', michael@0: status: 'VALID', michael@0: message: '' michael@0: } michael@0: } michael@0: } michael@0: }, michael@0: { michael@0: setup: 'tsr "h h"', michael@0: check: { michael@0: input: 'tsr "h h"', michael@0: hints: '', michael@0: markup: 'VVVVVVVVV', michael@0: cursor: 9, michael@0: current: 'text', michael@0: status: 'VALID', michael@0: predictions: [ ], michael@0: unassigned: [ ], michael@0: args: { michael@0: command: { name: 'tsr' }, michael@0: text: { michael@0: value: 'h h', michael@0: arg: ' "h h"', michael@0: status: 'VALID', michael@0: message: '' michael@0: } michael@0: } michael@0: } michael@0: }, michael@0: { michael@0: setup: 'tsr h h h', michael@0: check: { michael@0: input: 'tsr h h h', michael@0: hints: '', michael@0: markup: 'VVVVVVVVV', michael@0: cursor: 9, michael@0: current: 'text', michael@0: status: 'VALID', michael@0: predictions: [ ], michael@0: unassigned: [ ], michael@0: args: { michael@0: command: { name: 'tsr' }, michael@0: text: { michael@0: value: 'h h h', michael@0: arg: ' h h h', michael@0: status: 'VALID', michael@0: message: '' michael@0: } michael@0: } michael@0: } michael@0: } michael@0: ]); michael@0: }; michael@0: michael@0: exports.testSingleNumber = function(options) { michael@0: return helpers.audit(options, [ michael@0: { michael@0: setup: 'tsu', michael@0: check: { michael@0: input: 'tsu', michael@0: hints: ' ', michael@0: markup: 'VVV', michael@0: cursor: 3, michael@0: current: '__command', michael@0: status: 'ERROR', michael@0: predictions: [ ], michael@0: unassigned: [ ], michael@0: args: { michael@0: command: { name: 'tsu' }, michael@0: num: { michael@0: value: undefined, michael@0: arg: '', michael@0: status: 'INCOMPLETE', michael@0: message: 'Value required for \'num\'.' michael@0: } michael@0: } michael@0: } michael@0: }, michael@0: { michael@0: setup: 'tsu ', michael@0: check: { michael@0: input: 'tsu ', michael@0: hints: '', michael@0: markup: 'VVVV', michael@0: cursor: 4, michael@0: current: 'num', michael@0: status: 'ERROR', michael@0: predictions: [ ], michael@0: unassigned: [ ], michael@0: args: { michael@0: command: { name: 'tsu' }, michael@0: num: { michael@0: value: undefined, michael@0: arg: '', michael@0: status: 'INCOMPLETE', michael@0: message: 'Value required for \'num\'.' michael@0: } michael@0: } michael@0: } michael@0: }, michael@0: { michael@0: setup: 'tsu 1', michael@0: check: { michael@0: input: 'tsu 1', michael@0: hints: '', michael@0: markup: 'VVVVV', michael@0: cursor: 5, michael@0: current: 'num', michael@0: status: 'VALID', michael@0: predictions: [ ], michael@0: unassigned: [ ], michael@0: args: { michael@0: command: { name: 'tsu' }, michael@0: num: { value: 1, arg: ' 1', status: 'VALID', message: '' } michael@0: } michael@0: } michael@0: }, michael@0: { michael@0: setup: 'tsu x', michael@0: check: { michael@0: input: 'tsu x', michael@0: hints: '', michael@0: markup: 'VVVVE', michael@0: cursor: 5, michael@0: current: 'num', michael@0: status: 'ERROR', michael@0: predictions: [ ], michael@0: unassigned: [ ], michael@0: tooltipState: 'true:isError', michael@0: args: { michael@0: command: { name: 'tsu' }, michael@0: num: { michael@0: value: undefined, michael@0: arg: ' x', michael@0: status: 'ERROR', michael@0: message: 'Can\'t convert "x" to a number.' michael@0: } michael@0: } michael@0: } michael@0: }, michael@0: { michael@0: setup: 'tsu 1.5', michael@0: check: { michael@0: input: 'tsu 1.5', michael@0: hints: '', michael@0: markup: 'VVVVEEE', michael@0: cursor: 7, michael@0: current: 'num', michael@0: status: 'ERROR', michael@0: predictions: [ ], michael@0: unassigned: [ ], michael@0: args: { michael@0: command: { name: 'tsu' }, michael@0: num: { michael@0: value: undefined, michael@0: arg: ' 1.5', michael@0: status: 'ERROR', michael@0: message: 'Can\'t convert "1.5" to an integer.' michael@0: } michael@0: } michael@0: } michael@0: } michael@0: ]); michael@0: }; michael@0: michael@0: exports.testSingleFloat = function(options) { michael@0: return helpers.audit(options, [ michael@0: { michael@0: setup: 'tsf', michael@0: check: { michael@0: input: 'tsf', michael@0: hints: ' ', michael@0: markup: 'VVV', michael@0: cursor: 3, michael@0: current: '__command', michael@0: status: 'ERROR', michael@0: error: '', michael@0: unassigned: [ ], michael@0: args: { michael@0: command: { name: 'tsf' }, michael@0: num: { michael@0: value: undefined, michael@0: arg: '', michael@0: status: 'INCOMPLETE', michael@0: message: 'Value required for \'num\'.' michael@0: } michael@0: } michael@0: } michael@0: }, michael@0: { michael@0: setup: 'tsf 1', michael@0: check: { michael@0: input: 'tsf 1', michael@0: hints: '', michael@0: markup: 'VVVVV', michael@0: cursor: 5, michael@0: current: 'num', michael@0: status: 'VALID', michael@0: error: '', michael@0: predictions: [ ], michael@0: unassigned: [ ], michael@0: args: { michael@0: command: { name: 'tsf' }, michael@0: num: { value: 1, arg: ' 1', status: 'VALID', message: '' } michael@0: } michael@0: } michael@0: }, michael@0: { michael@0: setup: 'tsf 1.', michael@0: check: { michael@0: input: 'tsf 1.', michael@0: hints: '', michael@0: markup: 'VVVVVV', michael@0: cursor: 6, michael@0: current: 'num', michael@0: status: 'VALID', michael@0: error: '', michael@0: predictions: [ ], michael@0: unassigned: [ ], michael@0: args: { michael@0: command: { name: 'tsf' }, michael@0: num: { value: 1, arg: ' 1.', status: 'VALID', message: '' } michael@0: } michael@0: } michael@0: }, michael@0: { michael@0: setup: 'tsf 1.5', michael@0: check: { michael@0: input: 'tsf 1.5', michael@0: hints: '', michael@0: markup: 'VVVVVVV', michael@0: cursor: 7, michael@0: current: 'num', michael@0: status: 'VALID', michael@0: error: '', michael@0: predictions: [ ], michael@0: unassigned: [ ], michael@0: args: { michael@0: command: { name: 'tsf' }, michael@0: num: { value: 1.5, arg: ' 1.5', status: 'VALID', message: '' } michael@0: } michael@0: } michael@0: }, michael@0: { michael@0: setup: 'tsf 1.5x', michael@0: check: { michael@0: input: 'tsf 1.5x', michael@0: hints: '', michael@0: markup: 'VVVVVVVV', michael@0: cursor: 8, michael@0: current: 'num', michael@0: status: 'VALID', michael@0: error: '', michael@0: predictions: [ ], michael@0: unassigned: [ ], michael@0: args: { michael@0: command: { name: 'tsf' }, michael@0: num: { value: 1.5, arg: ' 1.5x', status: 'VALID', message: '' } michael@0: } michael@0: } michael@0: }, michael@0: { michael@0: skipRemainingIf: options.isNoDom, michael@0: name: 'tsf x (cursor=4)', michael@0: setup: function() { michael@0: return helpers.setInput(options, 'tsf x', 4); michael@0: }, michael@0: check: { michael@0: input: 'tsf x', michael@0: hints: '', michael@0: markup: 'VVVVE', michael@0: cursor: 4, michael@0: current: 'num', michael@0: status: 'ERROR', michael@0: error: 'Can\'t convert "x" to a number.', michael@0: predictions: [ ], michael@0: unassigned: [ ], michael@0: args: { michael@0: command: { name: 'tsf' }, michael@0: num: { michael@0: value: undefined, michael@0: arg: ' x', michael@0: status: 'ERROR', michael@0: message: 'Can\'t convert "x" to a number.' michael@0: } michael@0: } michael@0: } michael@0: } michael@0: ]); michael@0: }; michael@0: michael@0: exports.testElementWeb = function(options) { michael@0: var inputElement = options.isNoDom ? michael@0: null : michael@0: options.window.document.getElementById('gcli-input'); michael@0: michael@0: return helpers.audit(options, [ michael@0: { michael@0: skipIf: function gcliInputElementExists() { michael@0: return inputElement == null; michael@0: }, michael@0: setup: 'tse #gcli-input', michael@0: check: { michael@0: input: 'tse #gcli-input', michael@0: hints: ' [options]', michael@0: markup: 'VVVVVVVVVVVVVVV', michael@0: cursor: 15, michael@0: current: 'node', michael@0: status: 'VALID', michael@0: predictions: [ ], michael@0: unassigned: [ ], michael@0: args: { michael@0: command: { name: 'tse' }, michael@0: node: { michael@0: value: inputElement, michael@0: arg: ' #gcli-input', michael@0: status: 'VALID', michael@0: message: '' michael@0: }, michael@0: nodes: { arg: '', status: 'VALID', message: '' }, michael@0: nodes2: { arg: '', status: 'VALID', message: '' }, michael@0: } michael@0: } michael@0: } michael@0: ]); michael@0: }; michael@0: michael@0: exports.testElement = function(options) { michael@0: return helpers.audit(options, [ michael@0: { michael@0: skipRemainingIf: options.isNoDom, michael@0: setup: 'tse', michael@0: check: { michael@0: input: 'tse', michael@0: hints: ' [options]', michael@0: markup: 'VVV', michael@0: cursor: 3, michael@0: current: '__command', michael@0: status: 'ERROR', michael@0: predictions: [ 'tse', 'tselarr' ], michael@0: unassigned: [ ], michael@0: args: { michael@0: command: { name: 'tse' }, michael@0: node: { value: undefined, arg: '', status: 'INCOMPLETE' }, michael@0: nodes: { arg: '', status: 'VALID', message: '' }, michael@0: nodes2: { arg: '', status: 'VALID', message: '' }, michael@0: } michael@0: } michael@0: }, michael@0: { michael@0: setup: 'tse #gcli-nomatch', michael@0: check: { michael@0: input: 'tse #gcli-nomatch', michael@0: hints: ' [options]', michael@0: markup: 'VVVVIIIIIIIIIIIII', michael@0: cursor: 17, michael@0: current: 'node', michael@0: status: 'ERROR', michael@0: predictions: [ ], michael@0: unassigned: [ ], michael@0: outputState: 'false:default', michael@0: tooltipState: 'true:isError', michael@0: args: { michael@0: command: { name: 'tse' }, michael@0: node: { michael@0: value: undefined, michael@0: arg: ' #gcli-nomatch', michael@0: // This is somewhat debatable because this input can't be corrected michael@0: // simply by typing so it's and error rather than incomplete, michael@0: // however without digging into the CSS engine we can't tell that michael@0: // so we default to incomplete michael@0: status: 'INCOMPLETE', michael@0: message: 'No matches' michael@0: }, michael@0: nodes: { arg: '', status: 'VALID', message: '' }, michael@0: nodes2: { arg: '', status: 'VALID', message: '' }, michael@0: } michael@0: } michael@0: }, michael@0: { michael@0: setup: 'tse #', michael@0: check: { michael@0: input: 'tse #', michael@0: hints: ' [options]', michael@0: markup: 'VVVVE', michael@0: cursor: 5, michael@0: current: 'node', michael@0: status: 'ERROR', michael@0: predictions: [ ], michael@0: unassigned: [ ], michael@0: tooltipState: 'true:isError', michael@0: args: { michael@0: command: { name: 'tse' }, michael@0: node: { michael@0: value: undefined, michael@0: arg: ' #', michael@0: status: 'ERROR', michael@0: message: 'Syntax error in CSS query' michael@0: }, michael@0: nodes: { arg: '', status: 'VALID', message: '' }, michael@0: nodes2: { arg: '', status: 'VALID', message: '' }, michael@0: } michael@0: } michael@0: }, michael@0: { michael@0: setup: 'tse .', michael@0: check: { michael@0: input: 'tse .', michael@0: hints: ' [options]', michael@0: markup: 'VVVVE', michael@0: cursor: 5, michael@0: current: 'node', michael@0: status: 'ERROR', michael@0: predictions: [ ], michael@0: unassigned: [ ], michael@0: tooltipState: 'true:isError', michael@0: args: { michael@0: command: { name: 'tse' }, michael@0: node: { michael@0: value: undefined, michael@0: arg: ' .', michael@0: status: 'ERROR', michael@0: message: 'Syntax error in CSS query' michael@0: }, michael@0: nodes: { arg: '', status: 'VALID', message: '' }, michael@0: nodes2: { arg: '', status: 'VALID', message: '' }, michael@0: } michael@0: } michael@0: }, michael@0: { michael@0: setup: 'tse *', michael@0: check: { michael@0: input: 'tse *', michael@0: hints: ' [options]', michael@0: markup: 'VVVVE', michael@0: cursor: 5, michael@0: current: 'node', michael@0: status: 'ERROR', michael@0: predictions: [ ], michael@0: unassigned: [ ], michael@0: tooltipState: 'true:isError', michael@0: args: { michael@0: command: { name: 'tse' }, michael@0: node: { michael@0: value: undefined, michael@0: arg: ' *', michael@0: status: 'ERROR', michael@0: message: /^Too many matches \([0-9]*\)/ michael@0: }, michael@0: nodes: { arg: '', status: 'VALID', message: '' }, michael@0: nodes2: { arg: '', status: 'VALID', message: '' }, michael@0: } michael@0: } michael@0: } michael@0: ]); michael@0: }; michael@0: michael@0: exports.testNestedCommand = function(options) { michael@0: return helpers.audit(options, [ michael@0: { michael@0: setup: 'tsn', michael@0: check: { michael@0: input: 'tsn', michael@0: hints: ' deep down nested cmd', michael@0: markup: 'III', michael@0: cursor: 3, michael@0: current: '__command', michael@0: status: 'ERROR', michael@0: predictionsInclude: [ michael@0: 'tsn deep', 'tsn deep down', 'tsn deep down nested', michael@0: 'tsn deep down nested cmd', 'tsn dif' michael@0: ], michael@0: unassigned: [ ], michael@0: args: { michael@0: command: { name: 'tsn' } michael@0: } michael@0: } michael@0: }, michael@0: { michael@0: setup: 'tsn ', michael@0: check: { michael@0: input: 'tsn ', michael@0: hints: ' deep down nested cmd', michael@0: markup: 'IIIV', michael@0: cursor: 4, michael@0: current: '__command', michael@0: status: 'ERROR', michael@0: unassigned: [ ] michael@0: } michael@0: }, michael@0: { michael@0: skipIf: options.isPhantomjs, michael@0: setup: 'tsn x', michael@0: check: { michael@0: input: 'tsn x', michael@0: hints: ' -> tsn ext', michael@0: markup: 'IIIVI', michael@0: cursor: 5, michael@0: current: '__command', michael@0: status: 'ERROR', michael@0: predictions: [ 'tsn ext' ], michael@0: unassigned: [ ] michael@0: } michael@0: }, michael@0: { michael@0: setup: 'tsn dif', michael@0: check: { michael@0: input: 'tsn dif', michael@0: hints: ' ', michael@0: markup: 'VVVVVVV', michael@0: cursor: 7, michael@0: current: '__command', michael@0: status: 'ERROR', michael@0: predictions: [ ], michael@0: unassigned: [ ], michael@0: args: { michael@0: command: { name: 'tsn dif' }, michael@0: text: { michael@0: value: undefined, michael@0: arg: '', michael@0: status: 'INCOMPLETE', michael@0: message: 'Value required for \'text\'.' michael@0: } michael@0: } michael@0: } michael@0: }, michael@0: { michael@0: setup: 'tsn dif ', michael@0: check: { michael@0: input: 'tsn dif ', michael@0: hints: '', michael@0: markup: 'VVVVVVVV', michael@0: cursor: 8, michael@0: current: 'text', michael@0: status: 'ERROR', michael@0: predictions: [ ], michael@0: unassigned: [ ], michael@0: args: { michael@0: command: { name: 'tsn dif' }, michael@0: text: { michael@0: value: undefined, michael@0: arg: '', michael@0: status: 'INCOMPLETE', michael@0: message: 'Value required for \'text\'.' michael@0: } michael@0: } michael@0: } michael@0: }, michael@0: { michael@0: setup: 'tsn dif x', michael@0: check: { michael@0: input: 'tsn dif x', michael@0: hints: '', michael@0: markup: 'VVVVVVVVV', michael@0: cursor: 9, michael@0: current: 'text', michael@0: status: 'VALID', michael@0: predictions: [ ], michael@0: unassigned: [ ], michael@0: args: { michael@0: command: { name: 'tsn dif' }, michael@0: text: { value: 'x', arg: ' x', status: 'VALID', message: '' } michael@0: } michael@0: } michael@0: }, michael@0: { michael@0: setup: 'tsn ext', michael@0: check: { michael@0: input: 'tsn ext', michael@0: hints: ' ', michael@0: markup: 'VVVVVVV', michael@0: cursor: 7, michael@0: current: '__command', michael@0: status: 'ERROR', michael@0: predictions: [ 'tsn ext', 'tsn exte', 'tsn exten', 'tsn extend' ], michael@0: unassigned: [ ], michael@0: args: { michael@0: command: { name: 'tsn ext' }, michael@0: text: { michael@0: value: undefined, michael@0: arg: '', michael@0: status: 'INCOMPLETE', michael@0: message: 'Value required for \'text\'.' michael@0: } michael@0: } michael@0: } michael@0: }, michael@0: { michael@0: setup: 'tsn exte', michael@0: check: { michael@0: input: 'tsn exte', michael@0: hints: ' ', michael@0: markup: 'VVVVVVVV', michael@0: cursor: 8, michael@0: current: '__command', michael@0: status: 'ERROR', michael@0: predictions: [ 'tsn exte', 'tsn exten', 'tsn extend' ], michael@0: unassigned: [ ], michael@0: args: { michael@0: command: { name: 'tsn exte' }, michael@0: text: { michael@0: value: undefined, michael@0: arg: '', michael@0: status: 'INCOMPLETE', michael@0: message: 'Value required for \'text\'.' michael@0: } michael@0: } michael@0: } michael@0: }, michael@0: { michael@0: setup: 'tsn exten', michael@0: check: { michael@0: input: 'tsn exten', michael@0: hints: ' ', michael@0: markup: 'VVVVVVVVV', michael@0: cursor: 9, michael@0: current: '__command', michael@0: status: 'ERROR', michael@0: predictions: [ 'tsn exten', 'tsn extend' ], michael@0: unassigned: [ ], michael@0: args: { michael@0: command: { name: 'tsn exten' }, michael@0: text: { michael@0: value: undefined, michael@0: arg: '', michael@0: status: 'INCOMPLETE', michael@0: message: 'Value required for \'text\'.' michael@0: } michael@0: } michael@0: } michael@0: }, michael@0: { michael@0: setup: 'tsn extend', michael@0: check: { michael@0: input: 'tsn extend', michael@0: hints: ' ', michael@0: markup: 'VVVVVVVVVV', michael@0: cursor: 10, michael@0: current: '__command', michael@0: status: 'ERROR', michael@0: predictions: [ ], michael@0: unassigned: [ ], michael@0: args: { michael@0: command: { name: 'tsn extend' }, michael@0: text: { michael@0: value: undefined, michael@0: arg: '', michael@0: status: 'INCOMPLETE', michael@0: message: 'Value required for \'text\'.' michael@0: } michael@0: } michael@0: } michael@0: }, michael@0: { michael@0: setup: 'ts ', michael@0: check: { michael@0: input: 'ts ', michael@0: hints: '', michael@0: markup: 'EEV', michael@0: cursor: 3, michael@0: current: '__command', michael@0: status: 'ERROR', michael@0: predictions: [ ], michael@0: unassigned: [ ], michael@0: tooltipState: 'true:isError' michael@0: } michael@0: }, michael@0: ]); michael@0: }; michael@0: michael@0: // From Bug 664203 michael@0: exports.testDeeplyNested = function(options) { michael@0: return helpers.audit(options, [ michael@0: { michael@0: setup: 'tsn deep down nested', michael@0: check: { michael@0: input: 'tsn deep down nested', michael@0: hints: ' cmd', michael@0: markup: 'IIIVIIIIVIIIIVIIIIII', michael@0: cursor: 20, michael@0: current: '__command', michael@0: status: 'ERROR', michael@0: predictions: [ 'tsn deep down nested cmd' ], michael@0: unassigned: [ ], michael@0: outputState: 'false:default', michael@0: tooltipState: 'false:default', michael@0: args: { michael@0: command: { name: 'tsn deep down nested' }, michael@0: } michael@0: } michael@0: }, michael@0: { michael@0: setup: 'tsn deep down nested cmd', michael@0: check: { michael@0: input: 'tsn deep down nested cmd', michael@0: hints: '', michael@0: markup: 'VVVVVVVVVVVVVVVVVVVVVVVV', michael@0: cursor: 24, michael@0: current: '__command', michael@0: status: 'VALID', michael@0: predictions: [ ], michael@0: unassigned: [ ], michael@0: args: { michael@0: command: { name: 'tsn deep down nested cmd' }, michael@0: } michael@0: } michael@0: } michael@0: ]); michael@0: };