pax_global_header00006660000000000000000000000064132013561000014501gustar00rootroot0000000000000052 comment=2e400d65f00fb199ae557ffb412edffbdfa92f82 tap-parser-7.0.0/000077500000000000000000000000001320135610000135635ustar00rootroot00000000000000tap-parser-7.0.0/.gitignore000066400000000000000000000000421320135610000155470ustar00rootroot00000000000000.nyc_output coverage node_modules tap-parser-7.0.0/.travis.yml000066400000000000000000000001121320135610000156660ustar00rootroot00000000000000sudo: false language: node_js node_js: - '0.10' - '4' - '5' - '6' tap-parser-7.0.0/LICENSE000066400000000000000000000020611320135610000145670ustar00rootroot00000000000000This software is released under the MIT license: Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. tap-parser-7.0.0/bin/000077500000000000000000000000001320135610000143335ustar00rootroot00000000000000tap-parser-7.0.0/bin/cmd.js000077500000000000000000000100641320135610000154400ustar00rootroot00000000000000#!/usr/bin/env node var Parser = require('../') var etoa = require('events-to-array') var util = require('util') var args = process.argv.slice(2) var json = null var bail = false var preserveWhitespace = true var omitVersion = false function version () { console.log(require('../package.json').version) process.exit(0) } args.forEach(function (arg, i) { if (arg === '-j') { json = args[i + 1] || 2 } else { var m = arg.match(/^--json(?:=([0-9]+))$/) if (m) json = +m[1] || args[i + 1] || 2 } if (arg === '-v' || arg === '--version') version() else if (arg === '-o' || arg === '--omit-version') omitVersion = true else if (arg === '-w' || arg === '--ignore-all-whitespace') preserveWhitespace = false else if (arg === '-b' || arg === '--bail') bail = true else if (arg === '-t' || arg === '--tap') json = 'tap' else if (arg === '-l' || arg === '--lines') json = 'lines' else if (arg === '-h' || arg === '--help') usage() else console.error('Unrecognized arg: %j', arg) if (arg === '-v' || arg === '--version') console.log(require('../package.json').version) }) function usage () { console.log(function () {/* Usage: tap-parser Parses TAP data from stdin, and outputs the parsed result in the format specified by the options. Default output is uses node's `util.format()` method. Options: -j [] | --json[=indent] Output event data as JSON with the specified indentation (default=2) -t | --tap Output data as reconstituted TAP based on parsed results -l | --lines Output each parsed line as it is recognized by the parser -b | --bail Emit a `Bail out!` at the first failed test point encountered -w | --ignore-all-whitespace Skip over blank lines outside of YAML blocks -o | --omit-version Ignore the `TAP version 13` line at the start of tests */}.toString().split('\n').slice(1, -1).join('\n')) if (!process.stdin.isTTY) process.stdin.resume() process.exit() } var yaml = require('js-yaml') function tapFormat (msg, indent) { return indent + msg.map(function (item) { switch (item[0]) { case 'child': var comment = item[1][0] var child = item[1].slice(1) return tapFormat([comment], '') + tapFormat(child, ' ') case 'version': return 'TAP version ' + item[1] + '\n' case 'plan': var p = item[1].start + '..' + item[1].end if (item[1].comment) p += ' # ' + item[1].comment return p + '\n' case 'pragma': return 'pragma ' + (item[2] ? '+' : '-') + item[1] + '\n' case 'bailout': var r = item[1] === true ? '' : (' ' + item[1]) return 'Bail out!' + r + '\n' case 'assert': var res = item[1] return (res.ok ? '' : 'not ') + 'ok ' + res.id + (res.name ? ' - ' + res.name.replace(/ \{$/, '') : '') + (res.skip ? ' # SKIP' + (res.skip === true ? '' : ' ' + res.skip) : '') + (res.todo ? ' # TODO' + (res.todo === true ? '' : ' ' + res.todo) : '') + (res.time ? ' # time=' + res.time + 'ms' : '') + '\n' + (res.diag ? ' ---\n ' + yaml.safeDump(res.diag).split('\n').join('\n ').trim() + '\n ...\n' : '') case 'extra': case 'comment': return item[1] } }).join('').split('\n').join('\n' + indent).trim() + '\n' } function format (msg) { if (json === 'tap') return tapFormat(msg, '') else if (json !== null) return JSON.stringify(msg, null, +json) else return util.inspect(events, null, Infinity) } var options = { bail: bail, preserveWhitespace: preserveWhitespace, omitVersion: omitVersion } var parser = new Parser(options) var events = etoa(parser, [ 'pipe', 'unpipe', 'prefinish', 'finish', 'line' ]) process.stdin.pipe(parser) if (json === 'lines') parser.on('line', function (l) { process.stdout.write(l) }) else process.on('exit', function () { console.log(format(events)) if (!parser.ok) process.exit(1) }) tap-parser-7.0.0/bin/usage.txt000066400000000000000000000006551320135610000162060ustar00rootroot00000000000000usage: tap-parser OPTIONS Parse TAP from INPUT. If there are any failures, exits with a non-zero status code. OPTIONS are: -i, --input Read from INPUT. Default: stdin. -o, --output Write to OUTPUT. Default: stdout. -r, --results Print results as json. Otherwise pass INPUT through to OUTPUT. -h, --help Show this help message. -v, --version Print the current version of tap-parser. tap-parser-7.0.0/example/000077500000000000000000000000001320135610000152165ustar00rootroot00000000000000tap-parser-7.0.0/example/parse.js000066400000000000000000000001661320135610000166710ustar00rootroot00000000000000var parser = require('../'); var p = parser(function (results) { console.dir(results); }); process.stdin.pipe(p); tap-parser-7.0.0/example/test.js000066400000000000000000000004171320135610000165350ustar00rootroot00000000000000var test = require('tap').test; test('beep', function (t) { t.plan(2); t.equal(2+2,4); t.same({a:1,b:2},{a:1,b:1+1}); }); test('boop', function (t) { t.plan(2); t.equal(1+1,2); setTimeout(function () { t.ok(true); }, 1000); }); tap-parser-7.0.0/index.js000066400000000000000000000640671320135610000152450ustar00rootroot00000000000000'use strict' // Transforms a stream of TAP into a stream of result objects // and string comments. Emits "results" event with summary. const MiniPass = require('minipass') const yaml = require('js-yaml') const util = require('util') const assert = require('assert') // every line outside of a yaml block is one of these things, or // a comment, or garbage. const lineTypes = { testPoint: /^(not )?ok(?: ([0-9]+))?(?:(?: -)?( .*?))?(\{?)\n$/, pragma: /^pragma ([+-])([a-z]+)\n$/, bailout: /^bail out!(.*)\n$/i, version: /^TAP version ([0-9]+)\n$/i, childVersion: /^( )+TAP version ([0-9]+)\n$/i, plan: /^([0-9]+)\.\.([0-9]+)(?:\s+(?:#\s*(.*)))?\n$/, subtest: /^# Subtest(?:: (.*))?\n$/, subtestIndent: /^ # Subtest(?:: (.*))?\n$/, comment: /^\s*#.*\n$/ } const lineTypeNames = Object.keys(lineTypes) const lineType = line => { for (let t in lineTypes) { const match = line.match(lineTypes[t]) if (match) return [t, match] } return null } const parseDirective = line => { if (!line.trim()) return false line = line.replace(/\{\s*$/, '').trim() const time = line.match(/^time=((?:[1-9][0-9]*|0)(?:\.[0-9]+)?)(ms|s)$/i) if (time) { let n = +time[1] if (time[2] === 's') { // JS does weird things with floats. Round it off a bit. n *= 1000000 n = Math.round(n) n /= 1000 } return [ 'time', n ] } const type = line.match(/^(todo|skip)\b/i) if (!type) return false return [ type[1].toLowerCase(), line.substr(type[1].length).trim() || true ] } class Result { constructor (parsed, count) { const ok = !parsed[1] const id = +(parsed[2] || count + 1) let buffered = parsed[4] this.ok = ok this.id = id let rest = parsed[3] || '' let name rest = rest.replace(/([^\\]|^)((?:\\\\)*)#/g, '$1\n$2').split('\n') name = rest.shift() rest = rest.filter(r => r.trim()).join('#') // now, let's see if there's a directive in there. const dir = parseDirective(rest.trim()) if (!dir) name += (rest ? '#' + rest : '') + buffered else { // handle buffered subtests with todo/skip on them, like // ok 1 - bar # todo foo {\n const dirKey = dir[0] const dirValue = dir[1] this[dirKey] = dirValue } if (/\{\s*$/.test(name)) { name = name.replace(/\{\s*$/, '') buffered = '{' } if (buffered === '{') this.buffered = true if (name) this.name = name.trim() } } class Parser extends MiniPass { constructor (options, onComplete) { if (typeof options === 'function') { onComplete = options options = {} } options = options || {} super(options) this.resume() if (onComplete) this.on('complete', onComplete) this.comments = [] this.results = null this.braceLevel = null this.parent = options.parent || null this.failures = [] if (options.passes) this.passes = [] this.level = options.level || 0 this.buffer = '' this.bail = !!options.bail this.bailingOut = false this.bailedOut = false this.syntheticBailout = false this.syntheticPlan = false this.omitVersion = !!options.omitVersion this.planStart = -1 this.planEnd = -1 this.planComment = '' this.yamlish = '' this.yind = '' this.child = null this.current = null this.maybeSubtest = null this.extraQueue = [] this.buffered = options.buffered || null this.aborted = false this.preserveWhitespace = options.preserveWhitespace || false this.count = 0 this.pass = 0 this.fail = 0 this.todo = 0 this.skip = 0 this.ok = true this.strict = options.strict || false this.pragmas = { strict: this.strict } this.postPlan = false } tapError (error, line) { if (line) this.emit('line', line) this.ok = false this.fail ++ if (typeof error === 'string') { error = { tapError: error } } this.failures.push(error) } parseTestPoint (testPoint, line) { this.emitResult() if (this.bailedOut) return this.emit('line', line) const res = new Result(testPoint, this.count) if (this.planStart !== -1) { const lessThanStart = +res.id < this.planStart const greaterThanEnd = +res.id > this.planEnd if (lessThanStart || greaterThanEnd) { if (lessThanStart) res.tapError = 'id less than plan start' else res.tapError = 'id greater than plan end' res.plan = { start: this.planStart, end: this.planEnd } this.tapError(res) } } if (res.id) { if (!this.first || res.id < this.first) this.first = res.id if (!this.last || res.id > this.last) this.last = res.id } if (!res.skip && !res.todo) this.ok = this.ok && res.ok // hold onto it, because we might get yamlish diagnostics this.current = res } nonTap (data, didLine) { if (this.bailingOut && /^( {4})*\}\n$/.test(data)) return if (this.strict) { const err = { tapError: 'Non-TAP data encountered in strict mode', data: data } this.tapError(err) if (this.parent) this.parent.tapError(err) } // emit each line, then the extra as a whole if (!didLine) data.split('\n').slice(0, -1).forEach(line => { line += '\n' if (this.current || this.extraQueue.length) this.extraQueue.push(['line', line]) else this.emit('line', line) }) if (this.current || this.extraQueue.length) this.extraQueue.push(['extra', data]) else this.emit('extra', data) } plan (start, end, comment, line) { // not allowed to have more than one plan if (this.planStart !== -1) { this.nonTap(line) return } // can't put a plan in a child. if (this.child || this.yind) { this.nonTap(line) return } this.emitResult() if (this.bailedOut) return // 1..0 is a special case. Otherwise, end must be >= start if (end < start && end !== 0 && start !== 1) { if (this.strict) this.tapError({ tapError: 'plan end cannot be less than plan start', plan: { start: start, end: end } }, line) else this.nonTap(line) return } this.planStart = start this.planEnd = end const p = { start: start, end: end } if (comment) this.planComment = p.comment = comment // This means that the plan is coming at the END of all the tests // Plans MUST be either at the beginning or the very end. We treat // plans like '1..0' the same, since they indicate that no tests // will be coming. if (this.count !== 0 || this.planEnd === 0) this.postPlan = true this.emit('line', line) this.emit('plan', p) } resetYamlish () { this.yind = '' this.yamlish = '' } // that moment when you realize it's not what you thought it was yamlGarbage () { const yamlGarbage = this.yind + '---\n' + this.yamlish this.emitResult() if (this.bailedOut) return this.nonTap(yamlGarbage, true) } yamlishLine (line) { if (line === this.yind + '...\n') { // end the yaml block this.processYamlish() } else { this.yamlish += line } } processYamlish () { const yamlish = this.yamlish this.resetYamlish() let diags try { diags = yaml.safeLoad(yamlish) } catch (er) { this.nonTap(this.yind + '---\n' + yamlish + this.yind + '...\n', true) return } this.current.diag = diags // we still don't emit the result here yet, to support diags // that come ahead of buffered subtests. } write (chunk, encoding, cb) { if (this.aborted) return if (typeof encoding === 'string' && encoding !== 'utf8') chunk = new Buffer(chunk, encoding) if (Buffer.isBuffer(chunk)) chunk += '' if (typeof encoding === 'function') { cb = encoding encoding = null } this.buffer += chunk do { const match = this.buffer.match(/^.*\r?\n/) if (!match) break this.buffer = this.buffer.substr(match[0].length) this.parse(match[0]) } while (this.buffer.length) if (cb) process.nextTick(cb) return true } end (chunk, encoding, cb) { if (chunk) { if (typeof encoding === 'function') { cb = encoding encoding = null } this.write(chunk, encoding) } if (this.buffer) this.write('\n') // if we have yamlish, means we didn't finish with a ... if (this.yamlish) this.yamlGarbage() this.emitResult() if (this.syntheticBailout && this.level === 0) { this.syntheticBailout = false let reason = this.bailedOut if (reason === true) reason = '' else reason = ' ' + reason this.emit('line', 'Bail out!' + reason + '\n') } let skipAll if (this.planEnd === 0 && this.planStart === 1) { skipAll = true if (this.count === 0) { this.ok = true } else { this.tapError('Plan of 1..0, but test points encountered') } } else if (!this.bailedOut && this.planStart === -1) { if (this.count === 0 && !this.syntheticPlan) { this.syntheticPlan = true if (this.buffered) { this.planStart = 1 this.planEnd = 0 } else this.plan(1, 0, 'no tests found', '1..0 # no tests found\n') skipAll = true } else { this.tapError('no plan') } } else if (this.ok && this.count !== (this.planEnd - this.planStart + 1)) { this.tapError('incorrect number of tests') } if (this.ok && !skipAll && this.first !== this.planStart) { this.tapError('first test id does not match plan start') } if (this.ok && !skipAll && this.last !== this.planEnd) { this.tapError('last test id does not match plan end') } this.emitComplete(skipAll) if (cb) process.nextTick(cb) } emitComplete (skipAll) { if (!this.results) { const res = this.results = new FinalResults(!!skipAll, this) if (!res.bailout) { // comment a bit at the end so we know what happened. // but don't repeat these comments if they're already present. if (res.plan.end !== res.count) this.emitComment('test count(' + res.count + ') != plan(' + res.plan.end + ')', false, true) if (res.fail > 0 && !res.ok) this.emitComment('failed ' + res.fail + (res.count > 1 ? ' of ' + res.count + ' tests' : ' test'), false, true) if (res.todo > 0) this.emitComment('todo: ' + res.todo, false, true) if (res.skip > 0) this.emitComment('skip: ' + res.skip, false, true) } this.emit('complete', this.results) } } version (version, line) { // If version is specified, must be at the very beginning. if (version >= 13 && this.planStart === -1 && this.count === 0 && !this.current) { this.emit('line', line) this.emit('version', version) } else this.nonTap(line) } pragma (key, value, line) { // can't put a pragma in a child or yaml block if (this.child) { this.nonTap(line) return } this.emitResult() if (this.bailedOut) return // only the 'strict' pragma is currently relevant if (key === 'strict') { this.strict = value } this.pragmas[key] = value this.emit('line', line) this.emit('pragma', key, value) } bailout (reason, synthetic) { this.syntheticBailout = synthetic if (this.bailingOut) return // Guard because emitting a result can trigger a forced bailout // if the harness decides that failures should be bailouts. this.bailingOut = reason || true if (!synthetic) this.emitResult() else this.current = null this.bailedOut = this.bailingOut this.ok = false if (!synthetic) { // synthetic bailouts get emitted on end let line = 'Bail out!' if (reason) line += ' ' + reason this.emit('line', line + '\n') } this.emit('bailout', reason) if (this.parent) { this.end() this.parent.bailout(reason, true) } } clearExtraQueue () { for (let c = 0; c < this.extraQueue.length; c++) { this.emit(this.extraQueue[c][0], this.extraQueue[c][1]) } this.extraQueue.length = 0 } endChild () { if (this.child && (!this.bailingOut || this.child.count)) { this.child.end() this.child = null } } emitResult () { if (this.bailedOut) return this.endChild() this.resetYamlish() if (!this.current) return this.clearExtraQueue() const res = this.current this.current = null this.count++ if (res.ok) { this.pass++ if (this.passes) this.passes.push(res) } else { this.fail++ if (!res.todo && !res.skip) { this.ok = false this.failures.push(res) } } if (res.skip) this.skip++ if (res.todo) this.todo++ this.emit('assert', res) if (this.bail && !res.ok && !res.todo && !res.skip && !this.bailingOut) { this.maybeChild = null const ind = new Array(this.level + 1).join(' ') let p for (p = this; p.parent; p = p.parent); const bailName = res.name ? ' # ' + res.name : '' p.parse(ind + 'Bail out!' + bailName + '\n') } this.clearExtraQueue() } // TODO: We COULD say that any "relevant tap" line that's indented // by 4 spaces starts a child test, and just call it 'unnamed' if // it does not have a prefix comment. In that case, any number of // 4-space indents can be plucked off to try to find a relevant // TAP line type, and if so, start the unnamed child. startChild (line) { const maybeBuffered = this.current && this.current.buffered const unindentStream = !maybeBuffered && this.maybeChild const indentStream = !maybeBuffered && !unindentStream && lineTypes.subtestIndent.test(line) const unnamed = !maybeBuffered && !unindentStream && !indentStream // If we have any other result waiting in the wings, we need to emit // that now. A buffered test emits its test point at the *end* of // the child subtest block, so as to match streamed test semantics. if (!maybeBuffered) this.emitResult() if (this.bailedOut) return this.child = new Parser({ bail: this.bail, parent: this, level: this.level + 1, buffered: maybeBuffered, preserveWhitespace: this.preserveWhitespace, omitVersion: true, strict: this.strict }) this.child.on('complete', results => { if (!results.ok) this.ok = false }) this.child.on('line', l => { if (l.trim() || this.preserveWhitespace) l = ' ' + l this.emit('line', l) }) // Canonicalize the parsing result of any kind of subtest // if it's a buffered subtest or a non-indented Subtest directive, // then synthetically emit the Subtest comment line = line.substr(4) let subtestComment if (indentStream) { subtestComment = line line = null } else if (maybeBuffered) { subtestComment = '# Subtest: ' + this.current.name + '\n' } else { subtestComment = this.maybeChild || '# Subtest\n' } this.maybeChild = null this.child.name = subtestComment.substr('# Subtest: '.length).trim() // at some point, we may wish to move 100% to preferring // the Subtest comment on the parent level. If so, uncomment // this line, and remove the child.emitComment below. // this.emit('comment', subtestComment) if (!this.child.buffered) this.emit('line', subtestComment) this.emit('child', this.child) this.child.emitComment(subtestComment, true) if (line) this.child.parse(line) } abort (message, extra) { if (this.child) { const b = this.child.buffered this.child.abort(message, extra) extra = null if (b) this.write('\n}\n') } let dump if (extra && Object.keys(extra).length) { try { dump = yaml.safeDump(extra).trimRight() } catch (er) {} } let y if (dump) y = ' ---\n ' + dump.split('\n').join('\n ') + '\n ...\n' else y = '\n' let n = (this.count || 0) + 1 if (this.current) n += 1 if (this.planEnd !== -1 && this.planEnd < n && this.parent) { // skip it, let the parent do this. this.aborted = true return } let ind = '' // new Array(this.level + 1).join(' ') message = message.replace(/[\n\r\s\t]/g, ' ') let point = '\nnot ok ' + n + ' - ' + message + '\n' + y if (this.planEnd === -1) point += '1..' + n + '\n' this.write(point) this.aborted = true this.end() } emitComment (line, skipLine, noDuplicate) { if (line.trim().charAt(0) !== '#') line = '# ' + line if (line.slice(-1) !== '\n') line += '\n' if (noDuplicate && this.comments.indexOf(line) !== -1) return this.comments.push(line) if (this.current || this.extraQueue.length) { // no way to get here with skipLine being true this.extraQueue.push(['line', line]) this.extraQueue.push(['comment', line]) } else { if (!skipLine) this.emit('line', line) this.emit('comment', line) } } parse (line) { // normalize line endings line = line.replace(/\r\n$/, '\n') // sometimes empty lines get trimmed, but are still part of // a subtest or a yaml block. Otherwise, nothing to parse! if (line === '\n') { if (this.child) line = ' ' + line else if (this.yind) line = this.yind + line } // If we're bailing out, then the only thing we want to see is the // end of a buffered child test. Anything else should be ignored. // But! if we're bailing out a nested child, and ANOTHER nested child // comes after that one, then we don't want the second child's } to // also show up, or it looks weird. if (this.bailingOut) { if (!/^\s*}\n$/.test(line)) return else if (!this.braceLevel || line.length < this.braceLevel) this.braceLevel = line.length else return } // This allows omitting even parsing the version if the test is // an indented child test. Several parsers get upset when they // see an indented version field. if (this.omitVersion && lineTypes.version.test(line) && !this.yind) return // check to see if the line is indented. // if it is, then it's either a subtest, yaml, or garbage. const indent = line.match(/^[ \t]*/)[0] if (indent) { this.parseIndent(line, indent) return } // In any case where we're going to emitResult, that can trigger // a bailout, so we need to only emit the line once we know that // isn't happening, to prevent cases where there's a bailout, and // then one more line of output. That'll also prevent the case // where the test point is emitted AFTER the line that follows it. // buffered subtests must end with a } if (this.child && this.child.buffered && line === '}\n') { this.endChild() this.emit('line', line) this.emitResult() return } // just a \n, emit only if we care about whitespace const validLine = this.preserveWhitespace || line.trim() || this.yind if (line === '\n') return validLine && this.emit('line', line) // buffered subtest with diagnostics if (this.current && line === '{\n' && !this.current.buffered && !this.child) { this.emit('line', line) this.current.buffered = true return } // now we know it's not indented, so if it's either valid tap // or garbage. Get the type of line. const type = lineType(line) if (!type) { this.nonTap(line) return } if (type[0] === 'comment') { this.emitComment(line) return } // if we have any yamlish, it's garbage now. We tolerate non-TAP and // comments in the midst of yaml (though, perhaps, that's questionable // behavior), but any actual TAP means that the yaml block was just // not valid. if (this.yind) this.yamlGarbage() // If it's anything other than a comment or garbage, then any // maybeChild is just an unsatisfied promise. if (this.maybeChild) { this.emitComment(this.maybeChild) this.maybeChild = null } // nothing but comments can come after a trailing plan if (this.postPlan) { this.nonTap(line) return } // ok, now it's maybe a thing if (type[0] === 'bailout') { this.bailout(type[1][1].trim(), false) return } if (type[0] === 'pragma') { const pragma = type[1] this.pragma(pragma[2], pragma[1] === '+', line) return } if (type[0] === 'version') { const version = type[1] this.version(parseInt(version[1], 10), line) return } if (type[0] === 'plan') { const plan = type[1] this.plan(+plan[1], +plan[2], (plan[3] || '').trim(), line) return } // streamed subtests will end when this test point is emitted if (type[0] === 'testPoint') { // note: it's weird, but possible, to have a testpoint ending in // { before a streamed subtest which ends with a test point // instead of a }. In this case, the parser gets confused, but // also, even beginning to handle that means doing a much more // involved multi-line parse. By that point, the subtest block // has already been emitted as a 'child' event, so it's too late // to really do the optimal thing. The only way around would be // to buffer up everything and do a multi-line parse. This is // rare and weird, and a multi-line parse would be a bigger // rewrite, so I'm allowing it as it currently is. this.parseTestPoint(type[1], line) return } // We already detected nontap up above, so the only case left // should be a `# Subtest:` comment. Ignore for coverage, but // include the error here just for good measure. /* istanbul ignore else */ if (type[0] === 'subtest') { // this is potentially a subtest. Not indented. // hold until later. this.maybeChild = line } else { throw new Error('Unhandled case: ' + type[0]) } } parseIndent (line, indent) { // still belongs to the child, so pass it along. if (this.child && line.substr(0, 4) === ' ') { line = line.substr(4) this.child.write(line) return } // one of: // - continuing yaml block // - starting yaml block // - ending yaml block // - body of a new child subtest that was previously introduced // - An indented subtest directive // - A comment, or garbage // continuing/ending yaml block if (this.yind) { if (line.indexOf(this.yind) === 0) { this.emit('line', line) this.yamlishLine(line) return } else { // oops! that was not actually yamlish, I guess. // this is a case where the indent is shortened mid-yamlish block // treat existing yaml as garbage, continue parsing this line this.yamlGarbage() } } // start a yaml block under a test point if (this.current && !this.yind && line === indent + '---\n') { this.yind = indent this.emit('line', line) return } // at this point, not yamlish, and not an existing child test. // We may have already seen an unindented Subtest directive, or // a test point that ended in { indicating a buffered subtest // Child tests are always indented 4 spaces. if (line.substr(0, 4) === ' ') { if (this.maybeChild || this.current && this.current.buffered || lineTypes.subtestIndent.test(line)) { this.startChild(line) return } // It's _something_ indented, if the indentation is divisible by // 4 spaces, and the result is actual TAP of some sort, then do // a child subtest for it as well. // // This will lead to some ambiguity in cases where there are multiple // levels of non-signaled subtests, but a Subtest comment in the // middle of them, which may or may not be considered "indented" // See the subtest-no-comment-mid-comment fixture for an example // of this. As it happens, the preference is towards an indented // Subtest comment as the interpretation, which is the only possible // way to resolve this, since otherwise there's no way to distinguish // between an anonymous subtest with a non-indented Subtest comment, // and an indented Subtest comment. const s = line.match(/( {4})+(.*\n)$/) if (s[2].charAt(0) !== ' ') { // integer number of indentations. const type = lineType(s[2]) if (type) { if (type[0] === 'comment') { this.emit('line', line) this.emitComment(line) } else { // it's relevant! start as an "unnamed" child subtest this.startChild(line) } return } } } // at this point, it's either a non-subtest comment, or garbage. if (lineTypes.comment.test(line)) { this.emitComment(line) return } this.nonTap(line) } } class FinalResults { constructor (skipAll, self) { this.ok = self.ok this.count = self.count this.pass = self.pass this.fail = self.fail || 0 this.bailout = self.bailedOut || false this.todo = self.todo || 0 this.skip = skipAll ? self.count : self.skip || 0 this.plan = new FinalPlan(skipAll, self) this.failures = self.failures if (self.passes) this.passes = self.passes } } class FinalPlan { constructor (skipAll, self) { this.start = self.planStart === -1 ? null : self.planStart this.end = self.planStart === -1 ? null : self.planEnd this.skipAll = skipAll this.skipReason = skipAll ? self.planComment : '' this.comment = self.planComment || '' } } module.exports = Parser tap-parser-7.0.0/package-lock.json000066400000000000000000003260071320135610000170070ustar00rootroot00000000000000{ "name": "tap-parser", "version": "7.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { "ansi-regex": { "version": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.0.0.tgz", "integrity": "sha1-xQYbbg74qBd15Q9dZhUb9r83EQc=", "dev": true }, "ansi-styles": { "version": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", "dev": true }, "argparse": { "version": "https://registry.npmjs.org/argparse/-/argparse-1.0.7.tgz", "integrity": "sha1-wolQZIBVeBDxSovGLXoG9j7X+VE=", "requires": { "sprintf-js": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz" } }, "asn1": { "version": "https://registry.npmjs.org/asn1/-/asn1-0.2.3.tgz", "integrity": "sha1-2sh4dxPJlmhJ/IGAd36+nB3fO4Y=", "dev": true }, "assert-plus": { "version": "https://registry.npmjs.org/assert-plus/-/assert-plus-0.2.0.tgz", "integrity": "sha1-104bh+ev/A24qttwIfP+SBAasjQ=", "dev": true }, "asynckit": { "version": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", "dev": true }, "aws-sign2": { "version": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.6.0.tgz", "integrity": "sha1-FDQt0428yU0OW4fXY81jYSwOeU8=", "dev": true }, "aws4": { "version": "https://registry.npmjs.org/aws4/-/aws4-1.6.0.tgz", "integrity": "sha1-g+9cqGCysy5KDe7e6MdxudtXRx4=", "dev": true }, "balanced-match": { "version": "https://registry.npmjs.org/balanced-match/-/balanced-match-0.4.2.tgz", "integrity": "sha1-yz8+PHMtwPAe5wtAPzAuYddwmDg=", "dev": true }, "bcrypt-pbkdf": { "version": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz", "integrity": "sha1-Y7xdy2EzG5K8Bf1SiVPDNGKgb40=", "dev": true, "optional": true, "requires": { "tweetnacl": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz" } }, "bind-obj-methods": { "version": "https://registry.npmjs.org/bind-obj-methods/-/bind-obj-methods-1.0.0.tgz", "integrity": "sha1-T1l5ysFXk633DkiBYeRj4gnKUJw=", "dev": true }, "bluebird": { "version": "https://registry.npmjs.org/bluebird/-/bluebird-3.4.7.tgz", "integrity": "sha1-9y12C+Cbf3bQjtj66Ysomo0F+rM=", "dev": true }, "boom": { "version": "https://registry.npmjs.org/boom/-/boom-2.10.1.tgz", "integrity": "sha1-OciRjO/1eZ+D+UkqhI9iWt0Mdm8=", "dev": true, "requires": { "hoek": "https://registry.npmjs.org/hoek/-/hoek-2.16.3.tgz" } }, "buffer-shims": { "version": "https://registry.npmjs.org/buffer-shims/-/buffer-shims-1.0.0.tgz", "integrity": "sha1-mXjOMXOIxkmth5MCjDR37wRKi1E=", "dev": true }, "caseless": { "version": "https://registry.npmjs.org/caseless/-/caseless-0.11.0.tgz", "integrity": "sha1-cVuW6phBWTzDMGeSP17GDr2k99c=", "dev": true }, "chalk": { "version": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", "dev": true, "requires": { "ansi-styles": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", "escape-string-regexp": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", "has-ansi": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", "strip-ansi": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", "supports-color": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz" } }, "clean-yaml-object": { "version": "https://registry.npmjs.org/clean-yaml-object/-/clean-yaml-object-0.1.0.tgz", "integrity": "sha1-Y/sRDcLOGoTcIfbZM0h20BCui2g=", "dev": true }, "color-support": { "version": "https://registry.npmjs.org/color-support/-/color-support-1.1.2.tgz", "integrity": "sha1-ScyZuJ0b3vEpLp2TI8ZpcaM+uJ0=", "dev": true }, "combined-stream": { "version": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.5.tgz", "integrity": "sha1-k4NwpXtKUd6ix3wV1cX9+JUWQAk=", "dev": true, "requires": { "delayed-stream": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz" } }, "commander": { "version": "https://registry.npmjs.org/commander/-/commander-2.9.0.tgz", "integrity": "sha1-nJkJQXbhIkDLItbFFGCYQA/g99Q=", "dev": true, "requires": { "graceful-readlink": "https://registry.npmjs.org/graceful-readlink/-/graceful-readlink-1.0.1.tgz" } }, "concat-map": { "version": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", "dev": true }, "core-util-is": { "version": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", "dev": true }, "coveralls": { "version": "https://registry.npmjs.org/coveralls/-/coveralls-2.11.16.tgz", "integrity": "sha1-2pBhJlFC3e6VT2g3kSK+l76KtLE=", "dev": true, "requires": { "js-yaml": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.6.1.tgz", "lcov-parse": "https://registry.npmjs.org/lcov-parse/-/lcov-parse-0.0.10.tgz", "log-driver": "https://registry.npmjs.org/log-driver/-/log-driver-1.2.5.tgz", "minimist": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", "request": "https://registry.npmjs.org/request/-/request-2.79.0.tgz" } }, "cross-spawn": { "version": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-4.0.2.tgz", "integrity": "sha1-e5JHYhwjrf3ThWAEqCPL45dCTUE=", "dev": true, "requires": { "lru-cache": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.0.2.tgz", "which": "https://registry.npmjs.org/which/-/which-1.2.12.tgz" } }, "cryptiles": { "version": "https://registry.npmjs.org/cryptiles/-/cryptiles-2.0.5.tgz", "integrity": "sha1-O9/s3GCBR8HGcgL6KR59ylnqo7g=", "dev": true, "requires": { "boom": "https://registry.npmjs.org/boom/-/boom-2.10.1.tgz" } }, "dashdash": { "version": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", "dev": true, "requires": { "assert-plus": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz" }, "dependencies": { "assert-plus": { "version": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", "dev": true } } }, "debug": { "version": "https://registry.npmjs.org/debug/-/debug-2.3.3.tgz", "integrity": "sha1-QMRT5n5uE8kB3ewxeviYbNqe/4w=", "dev": true, "requires": { "ms": "https://registry.npmjs.org/ms/-/ms-0.7.2.tgz" } }, "deeper": { "version": "https://registry.npmjs.org/deeper/-/deeper-2.1.0.tgz", "integrity": "sha1-vFZOX3MXT98gHgiwADDooU2nQ2g=", "dev": true }, "delayed-stream": { "version": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", "dev": true }, "diff": { "version": "https://registry.npmjs.org/diff/-/diff-1.4.0.tgz", "integrity": "sha1-fyjS657nsVqX79ic5j3P2qPMur8=", "dev": true }, "ecc-jsbn": { "version": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz", "integrity": "sha1-D8c6ntXw1Tw4GTOYUj735UN3dQU=", "dev": true, "optional": true, "requires": { "jsbn": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.0.tgz" } }, "escape-string-regexp": { "version": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", "dev": true }, "esprima": { "version": "https://registry.npmjs.org/esprima/-/esprima-2.7.3.tgz", "integrity": "sha1-luO3DVd59q1JzQMmc9HDEnZ7pYE=" }, "events-to-array": { "version": "https://registry.npmjs.org/events-to-array/-/events-to-array-1.0.2.tgz", "integrity": "sha1-s0hEZVNP5P9m+90ag7d3cTukBKo=" }, "extend": { "version": "https://registry.npmjs.org/extend/-/extend-3.0.0.tgz", "integrity": "sha1-WkdDU7nzNT3dgXbf03uRyDpG8dQ=", "dev": true }, "extsprintf": { "version": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.0.2.tgz", "integrity": "sha1-4QgOBljjALBilJkMxw4VAiNf1VA=", "dev": true }, "foreground-child": { "version": "https://registry.npmjs.org/foreground-child/-/foreground-child-1.5.6.tgz", "integrity": "sha1-T9ca0t/elnibmApcCilZN8svXOk=", "dev": true, "requires": { "cross-spawn": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-4.0.2.tgz", "signal-exit": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz" } }, "forever-agent": { "version": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", "dev": true }, "form-data": { "version": "https://registry.npmjs.org/form-data/-/form-data-2.1.2.tgz", "integrity": "sha1-icNTQAi5fq2ky7FX1Y9vXfAl6uQ=", "dev": true, "requires": { "asynckit": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", "combined-stream": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.5.tgz", "mime-types": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.14.tgz" } }, "fs-exists-cached": { "version": "https://registry.npmjs.org/fs-exists-cached/-/fs-exists-cached-1.0.0.tgz", "integrity": "sha1-zyVVTKBQ3EmuZla0HeQiWJidy84=", "dev": true }, "fs.realpath": { "version": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", "dev": true }, "function-loop": { "version": "https://registry.npmjs.org/function-loop/-/function-loop-1.0.1.tgz", "integrity": "sha1-gHa7MF6OajzO7ikgdl8zDRkPNAw=", "dev": true }, "generate-function": { "version": "https://registry.npmjs.org/generate-function/-/generate-function-2.0.0.tgz", "integrity": "sha1-aFj+fAlpt9TpCTM3ZHrHn2DfvnQ=", "dev": true }, "generate-object-property": { "version": "https://registry.npmjs.org/generate-object-property/-/generate-object-property-1.2.0.tgz", "integrity": "sha1-nA4cQDCM6AT0eDYYuTf6iPmdUNA=", "dev": true, "requires": { "is-property": "https://registry.npmjs.org/is-property/-/is-property-1.0.2.tgz" } }, "getpass": { "version": "https://registry.npmjs.org/getpass/-/getpass-0.1.6.tgz", "integrity": "sha1-KD/9n8ElaECHUxHBtg6MQBhxEOY=", "dev": true, "requires": { "assert-plus": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz" }, "dependencies": { "assert-plus": { "version": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", "dev": true } } }, "glob": { "version": "https://registry.npmjs.org/glob/-/glob-7.0.5.tgz", "integrity": "sha1-tCAqaQmbu00pKnwblbZoK2fr3JU=", "dev": true, "requires": { "fs.realpath": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", "inflight": "https://registry.npmjs.org/inflight/-/inflight-1.0.5.tgz", "inherits": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz", "minimatch": "3.0.4", "once": "https://registry.npmjs.org/once/-/once-1.3.3.tgz", "path-is-absolute": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.0.tgz" } }, "graceful-readlink": { "version": "https://registry.npmjs.org/graceful-readlink/-/graceful-readlink-1.0.1.tgz", "integrity": "sha1-TK+tdrxi8C+gObL5Tpo906ORpyU=", "dev": true }, "har-validator": { "version": "https://registry.npmjs.org/har-validator/-/har-validator-2.0.6.tgz", "integrity": "sha1-zcvAgYgmWtEZtqWnyKtw7s+10n0=", "dev": true, "requires": { "chalk": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", "commander": "https://registry.npmjs.org/commander/-/commander-2.9.0.tgz", "is-my-json-valid": "https://registry.npmjs.org/is-my-json-valid/-/is-my-json-valid-2.15.0.tgz", "pinkie-promise": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz" } }, "has-ansi": { "version": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", "dev": true, "requires": { "ansi-regex": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.0.0.tgz" } }, "hawk": { "version": "https://registry.npmjs.org/hawk/-/hawk-3.1.3.tgz", "integrity": "sha1-B4REvXwWQLD+VA0sm3PVlnjo4cQ=", "dev": true, "requires": { "boom": "https://registry.npmjs.org/boom/-/boom-2.10.1.tgz", "cryptiles": "https://registry.npmjs.org/cryptiles/-/cryptiles-2.0.5.tgz", "hoek": "https://registry.npmjs.org/hoek/-/hoek-2.16.3.tgz", "sntp": "https://registry.npmjs.org/sntp/-/sntp-1.0.9.tgz" } }, "hoek": { "version": "https://registry.npmjs.org/hoek/-/hoek-2.16.3.tgz", "integrity": "sha1-ILt0A9POo5jpHcRxCo/xuCdKJe0=", "dev": true }, "http-signature": { "version": "https://registry.npmjs.org/http-signature/-/http-signature-1.1.1.tgz", "integrity": "sha1-33LiZwZs0Kxn+3at+OE0qPvPkb8=", "dev": true, "requires": { "assert-plus": "https://registry.npmjs.org/assert-plus/-/assert-plus-0.2.0.tgz", "jsprim": "https://registry.npmjs.org/jsprim/-/jsprim-1.3.1.tgz", "sshpk": "https://registry.npmjs.org/sshpk/-/sshpk-1.10.2.tgz" } }, "inflight": { "version": "https://registry.npmjs.org/inflight/-/inflight-1.0.5.tgz", "integrity": "sha1-2zIEzVqd4ubNiQuFxuL2a89PYgo=", "dev": true, "requires": { "once": "https://registry.npmjs.org/once/-/once-1.3.3.tgz", "wrappy": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz" } }, "inherits": { "version": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz", "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=", "dev": true }, "is-my-json-valid": { "version": "https://registry.npmjs.org/is-my-json-valid/-/is-my-json-valid-2.15.0.tgz", "integrity": "sha1-k27do8o8IR/ZjzstPgjaQ/eykVs=", "dev": true, "requires": { "generate-function": "https://registry.npmjs.org/generate-function/-/generate-function-2.0.0.tgz", "generate-object-property": "https://registry.npmjs.org/generate-object-property/-/generate-object-property-1.2.0.tgz", "jsonpointer": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-4.0.1.tgz", "xtend": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz" } }, "is-property": { "version": "https://registry.npmjs.org/is-property/-/is-property-1.0.2.tgz", "integrity": "sha1-V/4cTkhHTt1lsJkR8msc1Ald2oQ=", "dev": true }, "is-typedarray": { "version": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", "dev": true }, "isarray": { "version": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", "dev": true }, "isexe": { "version": "https://registry.npmjs.org/isexe/-/isexe-1.1.2.tgz", "integrity": "sha1-NvPiLmB1CSD15yQaR2qMakInWtA=", "dev": true }, "isstream": { "version": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=", "dev": true }, "jodid25519": { "version": "https://registry.npmjs.org/jodid25519/-/jodid25519-1.0.2.tgz", "integrity": "sha1-BtSRIlUJNBlHfUJWM2BuDpB4KWc=", "dev": true, "optional": true, "requires": { "jsbn": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.0.tgz" } }, "js-yaml": { "version": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.6.1.tgz", "integrity": "sha1-bl/mfYsgXOTSL60Ft3geja3MSzA=", "requires": { "argparse": "https://registry.npmjs.org/argparse/-/argparse-1.0.7.tgz", "esprima": "https://registry.npmjs.org/esprima/-/esprima-2.7.3.tgz" } }, "jsbn": { "version": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.0.tgz", "integrity": "sha1-ZQmH2g3XT06/WhE3eiqi0nPpff0=", "dev": true, "optional": true }, "json-schema": { "version": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=", "dev": true }, "json-stringify-safe": { "version": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=", "dev": true }, "jsonpointer": { "version": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-4.0.1.tgz", "integrity": "sha1-T9kss04OnbPInIYi7PUfm5eMbLk=", "dev": true }, "jsprim": { "version": "https://registry.npmjs.org/jsprim/-/jsprim-1.3.1.tgz", "integrity": "sha1-KnJW9wQSop7jZwqspiWZTE3P8lI=", "dev": true, "requires": { "extsprintf": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.0.2.tgz", "json-schema": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", "verror": "https://registry.npmjs.org/verror/-/verror-1.3.6.tgz" } }, "lcov-parse": { "version": "https://registry.npmjs.org/lcov-parse/-/lcov-parse-0.0.10.tgz", "integrity": "sha1-GwuP+ayceIklBYK3C3ExXZ2m2aM=", "dev": true }, "log-driver": { "version": "https://registry.npmjs.org/log-driver/-/log-driver-1.2.5.tgz", "integrity": "sha1-euTsJXMC/XkNVXyxDJcQDYV7AFY=", "dev": true }, "lru-cache": { "version": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.0.2.tgz", "integrity": "sha1-HRdnnAac2l0ECZGgnbwsDbN35V4=", "dev": true, "requires": { "pseudomap": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", "yallist": "https://registry.npmjs.org/yallist/-/yallist-2.0.0.tgz" } }, "mime-db": { "version": "https://registry.npmjs.org/mime-db/-/mime-db-1.26.0.tgz", "integrity": "sha1-6v/NDk/Gk1z4E02iRuLmw1MFrf8=", "dev": true }, "mime-types": { "version": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.14.tgz", "integrity": "sha1-9+99l1g/yvO30oK2+LVnnaselO4=", "dev": true, "requires": { "mime-db": "https://registry.npmjs.org/mime-db/-/mime-db-1.26.0.tgz" } }, "minimatch": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", "dev": true, "requires": { "brace-expansion": "1.1.7" }, "dependencies": { "brace-expansion": { "version": "1.1.7", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.7.tgz", "integrity": "sha1-Pv/DxQ4ABTH7cg6v+A8K6O8jz1k=", "dev": true, "requires": { "balanced-match": "https://registry.npmjs.org/balanced-match/-/balanced-match-0.4.2.tgz", "concat-map": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz" } } } }, "minimist": { "version": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", "dev": true }, "minipass": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.2.0.tgz", "integrity": "sha512-2Cy9UnruqC1KHTuOyu00TmCgt8YzEQLN58gshpt6JaL8Vq3ir1ArIZ1rU8V1oJzrHpPmoKjlm7eH61R57dc+9Q==", "requires": { "yallist": "3.0.2" }, "dependencies": { "yallist": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.0.2.tgz", "integrity": "sha1-hFK0u36Dx8GI2AQcGoN8dz1ti7k=" } } }, "ms": { "version": "https://registry.npmjs.org/ms/-/ms-0.7.2.tgz", "integrity": "sha1-riXPJRKziFodldfwN4aNhDESR2U=", "dev": true }, "oauth-sign": { "version": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.8.2.tgz", "integrity": "sha1-Rqarfwrq2N6unsBWV4C31O/rnUM=", "dev": true }, "once": { "version": "https://registry.npmjs.org/once/-/once-1.3.3.tgz", "integrity": "sha1-suJhVXzkwxTsgwTz+oJmPkKXyiA=", "dev": true, "requires": { "wrappy": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz" } }, "only-shallow": { "version": "https://registry.npmjs.org/only-shallow/-/only-shallow-1.2.0.tgz", "integrity": "sha1-cc7O26kyS8BRiu8Q7AgNMkncJGU=", "dev": true }, "opener": { "version": "https://registry.npmjs.org/opener/-/opener-1.4.2.tgz", "integrity": "sha1-syWCCABCr4aAw4mkmRdbTFT/9SM=", "dev": true }, "os-homedir": { "version": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.1.tgz", "integrity": "sha1-DWK99EuRb9O73PLKsZGUj7CU8Ac=", "dev": true }, "own-or": { "version": "https://registry.npmjs.org/own-or/-/own-or-1.0.0.tgz", "integrity": "sha1-Tod/vtqaLsgAD7wLyuOWRe6L+Nw=", "dev": true }, "own-or-env": { "version": "https://registry.npmjs.org/own-or-env/-/own-or-env-1.0.0.tgz", "integrity": "sha1-nvkg/IHi5jz1nUEQElg2jPT8pPs=", "dev": true }, "path-is-absolute": { "version": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.0.tgz", "integrity": "sha1-Jj2tpmqz8vsQv3+dJN2PPlcO+RI=", "dev": true }, "pinkie": { "version": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=", "dev": true }, "pinkie-promise": { "version": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", "dev": true, "requires": { "pinkie": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz" } }, "process-nextick-args": { "version": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.6.tgz", "integrity": "sha1-D5awAc6pCxJZLOVm7bl+wR5pvQU=", "dev": true }, "pseudomap": { "version": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=", "dev": true }, "punycode": { "version": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=", "dev": true }, "qs": { "version": "https://registry.npmjs.org/qs/-/qs-6.3.0.tgz", "integrity": "sha1-9AOyZPI7wBIox0ExtAfxjV6l1EI=", "dev": true }, "readable-stream": { "version": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.2.2.tgz", "integrity": "sha1-qeb+w8fdqF+LsbO6cChgRVb8gl4=", "dev": true, "requires": { "buffer-shims": "https://registry.npmjs.org/buffer-shims/-/buffer-shims-1.0.0.tgz", "core-util-is": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", "inherits": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz", "isarray": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", "process-nextick-args": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.6.tgz", "string_decoder": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", "util-deprecate": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz" } }, "request": { "version": "https://registry.npmjs.org/request/-/request-2.79.0.tgz", "integrity": "sha1-Tf5b9r6LjNw3/Pk+BLZVd3InEN4=", "dev": true, "requires": { "aws-sign2": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.6.0.tgz", "aws4": "https://registry.npmjs.org/aws4/-/aws4-1.6.0.tgz", "caseless": "https://registry.npmjs.org/caseless/-/caseless-0.11.0.tgz", "combined-stream": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.5.tgz", "extend": "https://registry.npmjs.org/extend/-/extend-3.0.0.tgz", "forever-agent": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", "form-data": "https://registry.npmjs.org/form-data/-/form-data-2.1.2.tgz", "har-validator": "https://registry.npmjs.org/har-validator/-/har-validator-2.0.6.tgz", "hawk": "https://registry.npmjs.org/hawk/-/hawk-3.1.3.tgz", "http-signature": "https://registry.npmjs.org/http-signature/-/http-signature-1.1.1.tgz", "is-typedarray": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", "isstream": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", "json-stringify-safe": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", "mime-types": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.14.tgz", "oauth-sign": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.8.2.tgz", "qs": "https://registry.npmjs.org/qs/-/qs-6.3.0.tgz", "stringstream": "https://registry.npmjs.org/stringstream/-/stringstream-0.0.5.tgz", "tough-cookie": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.3.2.tgz", "tunnel-agent": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.4.3.tgz", "uuid": "https://registry.npmjs.org/uuid/-/uuid-3.0.1.tgz" } }, "signal-exit": { "version": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=", "dev": true }, "sntp": { "version": "https://registry.npmjs.org/sntp/-/sntp-1.0.9.tgz", "integrity": "sha1-ZUEYTMkK7qbG57NeJlkIJEPGYZg=", "dev": true, "requires": { "hoek": "https://registry.npmjs.org/hoek/-/hoek-2.16.3.tgz" } }, "source-map": { "version": "https://registry.npmjs.org/source-map/-/source-map-0.5.6.tgz", "integrity": "sha1-dc449SvwczxafwwRjYEzSiu19BI=", "dev": true }, "source-map-support": { "version": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.11.tgz", "integrity": "sha1-ZH+TmXizhTWQlTCIUwPa8jJ58yI=", "dev": true, "requires": { "source-map": "https://registry.npmjs.org/source-map/-/source-map-0.5.6.tgz" } }, "sprintf-js": { "version": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=" }, "sshpk": { "version": "https://registry.npmjs.org/sshpk/-/sshpk-1.10.2.tgz", "integrity": "sha1-1agEziJpVRVjjnmNviMnPeBwpfo=", "dev": true, "requires": { "asn1": "https://registry.npmjs.org/asn1/-/asn1-0.2.3.tgz", "assert-plus": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", "bcrypt-pbkdf": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz", "dashdash": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", "ecc-jsbn": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz", "getpass": "https://registry.npmjs.org/getpass/-/getpass-0.1.6.tgz", "jodid25519": "https://registry.npmjs.org/jodid25519/-/jodid25519-1.0.2.tgz", "jsbn": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.0.tgz", "tweetnacl": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz" }, "dependencies": { "assert-plus": { "version": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", "dev": true } } }, "stack-utils": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-1.0.1.tgz", "integrity": "sha1-1PM6tU6OOHeLDKXP07OvsS22hiA=", "dev": true }, "string_decoder": { "version": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=", "dev": true }, "stringstream": { "version": "https://registry.npmjs.org/stringstream/-/stringstream-0.0.5.tgz", "integrity": "sha1-TkhM1N5aC7vuGORjB3EKioFiGHg=", "dev": true }, "strip-ansi": { "version": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", "dev": true, "requires": { "ansi-regex": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.0.0.tgz" } }, "supports-color": { "version": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", "dev": true }, "tap": { "version": "10.3.3", "resolved": "https://registry.npmjs.org/tap/-/tap-10.3.3.tgz", "integrity": "sha512-ELPgkGOlrS4fj2iX7CFg9oJ4kGcA8xYurvtJhRN+O/CI52X+vSpHdahjx71ABX3Y774XcPKouU+DYB9lqrR2uQ==", "dev": true, "requires": { "bind-obj-methods": "https://registry.npmjs.org/bind-obj-methods/-/bind-obj-methods-1.0.0.tgz", "bluebird": "https://registry.npmjs.org/bluebird/-/bluebird-3.4.7.tgz", "clean-yaml-object": "https://registry.npmjs.org/clean-yaml-object/-/clean-yaml-object-0.1.0.tgz", "color-support": "https://registry.npmjs.org/color-support/-/color-support-1.1.2.tgz", "coveralls": "https://registry.npmjs.org/coveralls/-/coveralls-2.11.16.tgz", "deeper": "https://registry.npmjs.org/deeper/-/deeper-2.1.0.tgz", "foreground-child": "https://registry.npmjs.org/foreground-child/-/foreground-child-1.5.6.tgz", "fs-exists-cached": "https://registry.npmjs.org/fs-exists-cached/-/fs-exists-cached-1.0.0.tgz", "function-loop": "https://registry.npmjs.org/function-loop/-/function-loop-1.0.1.tgz", "glob": "https://registry.npmjs.org/glob/-/glob-7.0.5.tgz", "isexe": "https://registry.npmjs.org/isexe/-/isexe-1.1.2.tgz", "js-yaml": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.6.1.tgz", "nyc": "11.0.2", "only-shallow": "https://registry.npmjs.org/only-shallow/-/only-shallow-1.2.0.tgz", "opener": "https://registry.npmjs.org/opener/-/opener-1.4.2.tgz", "os-homedir": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.1.tgz", "own-or": "https://registry.npmjs.org/own-or/-/own-or-1.0.0.tgz", "own-or-env": "https://registry.npmjs.org/own-or-env/-/own-or-env-1.0.0.tgz", "readable-stream": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.2.2.tgz", "signal-exit": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", "source-map-support": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.11.tgz", "stack-utils": "1.0.1", "tap-mocha-reporter": "3.0.3", "tap-parser": "5.3.3", "tmatch": "https://registry.npmjs.org/tmatch/-/tmatch-3.0.0.tgz", "trivial-deferred": "https://registry.npmjs.org/trivial-deferred/-/trivial-deferred-1.0.1.tgz", "yapool": "https://registry.npmjs.org/yapool/-/yapool-1.0.0.tgz" }, "dependencies": { "nyc": { "version": "11.0.2", "resolved": "https://registry.npmjs.org/nyc/-/nyc-11.0.2.tgz", "integrity": "sha512-31rRd6ME9NM17w0oPKqi51a6fzJAqYarnzQXK+iL8XaX+3H6VH0BQut7qHIgrv2mBASRic4oNi2KRgcbFODrsQ==", "dev": true, "requires": { "archy": "1.0.0", "arrify": "1.0.1", "caching-transform": "1.0.1", "convert-source-map": "1.5.0", "debug-log": "1.0.1", "default-require-extensions": "1.0.0", "find-cache-dir": "0.1.1", "find-up": "2.1.0", "foreground-child": "1.5.6", "glob": "7.1.2", "istanbul-lib-coverage": "1.1.1", "istanbul-lib-hook": "1.0.7", "istanbul-lib-instrument": "1.7.2", "istanbul-lib-report": "1.1.1", "istanbul-lib-source-maps": "1.2.1", "istanbul-reports": "1.1.1", "md5-hex": "1.3.0", "merge-source-map": "1.0.3", "micromatch": "2.3.11", "mkdirp": "0.5.1", "resolve-from": "2.0.0", "rimraf": "2.6.1", "signal-exit": "3.0.2", "spawn-wrap": "1.3.6", "test-exclude": "4.1.1", "yargs": "8.0.1", "yargs-parser": "5.0.0" }, "dependencies": { "align-text": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/align-text/-/align-text-0.1.4.tgz", "integrity": "sha1-DNkKVhCT810KmSVsIrcGlDP60Rc=", "dev": true, "requires": { "kind-of": "3.2.2", "longest": "1.0.1", "repeat-string": "1.6.1" } }, "amdefine": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz", "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=", "dev": true }, "ansi-regex": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", "dev": true }, "ansi-styles": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", "dev": true }, "append-transform": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/append-transform/-/append-transform-0.4.0.tgz", "integrity": "sha1-126/jKlNJ24keja61EpLdKthGZE=", "dev": true, "requires": { "default-require-extensions": "1.0.0" } }, "archy": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/archy/-/archy-1.0.0.tgz", "integrity": "sha1-+cjBN1fMHde8N5rHeyxipcKGjEA=", "dev": true }, "arr-diff": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz", "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=", "dev": true, "requires": { "arr-flatten": "1.0.3" } }, "arr-flatten": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.0.3.tgz", "integrity": "sha1-onTthawIhJtr14R8RYB0XcUa37E=", "dev": true }, "array-unique": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz", "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=", "dev": true }, "arrify": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=", "dev": true }, "async": { "version": "1.5.2", "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=", "dev": true }, "babel-code-frame": { "version": "6.22.0", "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.22.0.tgz", "integrity": "sha1-AnYgvuVnqIwyVhV05/0IAdMxGOQ=", "dev": true, "requires": { "chalk": "1.1.3", "esutils": "2.0.2", "js-tokens": "3.0.1" } }, "babel-generator": { "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.24.1.tgz", "integrity": "sha1-5xX0hsWN7SVknYiJRNUqoHxdlJc=", "dev": true, "requires": { "babel-messages": "6.23.0", "babel-runtime": "6.23.0", "babel-types": "6.24.1", "detect-indent": "4.0.0", "jsesc": "1.3.0", "lodash": "4.17.4", "source-map": "0.5.6", "trim-right": "1.0.1" } }, "babel-messages": { "version": "6.23.0", "resolved": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz", "integrity": "sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=", "dev": true, "requires": { "babel-runtime": "6.23.0" } }, "babel-runtime": { "version": "6.23.0", "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.23.0.tgz", "integrity": "sha1-CpSJ8UTecO+zzkMArM2zKeL8VDs=", "dev": true, "requires": { "core-js": "2.4.1", "regenerator-runtime": "0.10.5" } }, "babel-template": { "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-template/-/babel-template-6.24.1.tgz", "integrity": "sha1-BK5RTx+Ts6JTfyoPYKWkX7gwgzM=", "dev": true, "requires": { "babel-runtime": "6.23.0", "babel-traverse": "6.24.1", "babel-types": "6.24.1", "babylon": "6.17.2", "lodash": "4.17.4" } }, "babel-traverse": { "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.24.1.tgz", "integrity": "sha1-qzZnP9NW+aCUhlnnszjV/q2zFpU=", "dev": true, "requires": { "babel-code-frame": "6.22.0", "babel-messages": "6.23.0", "babel-runtime": "6.23.0", "babel-types": "6.24.1", "babylon": "6.17.2", "debug": "2.6.8", "globals": "9.17.0", "invariant": "2.2.2", "lodash": "4.17.4" } }, "babel-types": { "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.24.1.tgz", "integrity": "sha1-oTaHncFbNga9oNkMH8dDBML/CXU=", "dev": true, "requires": { "babel-runtime": "6.23.0", "esutils": "2.0.2", "lodash": "4.17.4", "to-fast-properties": "1.0.3" } }, "babylon": { "version": "6.17.2", "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.17.2.tgz", "integrity": "sha1-IB0l71+JLEG65JSIsI2w3Udun1w=", "dev": true }, "balanced-match": { "version": "0.4.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-0.4.2.tgz", "integrity": "sha1-yz8+PHMtwPAe5wtAPzAuYddwmDg=", "dev": true }, "brace-expansion": { "version": "1.1.7", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.7.tgz", "integrity": "sha1-Pv/DxQ4ABTH7cg6v+A8K6O8jz1k=", "dev": true, "requires": { "balanced-match": "0.4.2", "concat-map": "0.0.1" } }, "braces": { "version": "1.8.5", "resolved": "https://registry.npmjs.org/braces/-/braces-1.8.5.tgz", "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=", "dev": true, "requires": { "expand-range": "1.8.2", "preserve": "0.2.0", "repeat-element": "1.1.2" } }, "builtin-modules": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz", "integrity": "sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=", "dev": true }, "caching-transform": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/caching-transform/-/caching-transform-1.0.1.tgz", "integrity": "sha1-bb2y8g+Nj7znnz6U6dF0Lc31wKE=", "dev": true, "requires": { "md5-hex": "1.3.0", "mkdirp": "0.5.1", "write-file-atomic": "1.3.4" } }, "center-align": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/center-align/-/center-align-0.1.3.tgz", "integrity": "sha1-qg0yYptu6XIgBBHL1EYckHvCt60=", "dev": true, "optional": true, "requires": { "align-text": "0.1.4", "lazy-cache": "1.0.4" } }, "chalk": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", "dev": true, "requires": { "ansi-styles": "2.2.1", "escape-string-regexp": "1.0.5", "has-ansi": "2.0.0", "strip-ansi": "3.0.1", "supports-color": "2.0.0" } }, "cliui": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/cliui/-/cliui-2.1.0.tgz", "integrity": "sha1-S0dXYP+AJkx2LDoXGQMukcf+oNE=", "dev": true, "optional": true, "requires": { "center-align": "0.1.3", "right-align": "0.1.3", "wordwrap": "0.0.2" }, "dependencies": { "wordwrap": { "version": "0.0.2", "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz", "integrity": "sha1-t5Zpu0LstAn4PVg8rVLKF+qhZD8=", "dev": true, "optional": true } } }, "code-point-at": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", "dev": true }, "commondir": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", "dev": true }, "concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", "dev": true }, "convert-source-map": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.5.0.tgz", "integrity": "sha1-ms1whRxtXf3ZPZKC5e35SgP/RrU=", "dev": true }, "core-js": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.4.1.tgz", "integrity": "sha1-TekR5mew6ukSTjQlS1OupvxhjT4=", "dev": true }, "cross-spawn": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-4.0.2.tgz", "integrity": "sha1-e5JHYhwjrf3ThWAEqCPL45dCTUE=", "dev": true, "requires": { "lru-cache": "4.0.2", "which": "1.2.14" } }, "debug": { "version": "2.6.8", "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.8.tgz", "integrity": "sha1-5zFTHKLt4n0YgiJCfaF4IdaP9Pw=", "dev": true, "requires": { "ms": "2.0.0" } }, "debug-log": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/debug-log/-/debug-log-1.0.1.tgz", "integrity": "sha1-IwdjLUwEOCuN+KMvcLiVBG1SdF8=", "dev": true }, "decamelize": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", "dev": true }, "default-require-extensions": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/default-require-extensions/-/default-require-extensions-1.0.0.tgz", "integrity": "sha1-836hXT4T/9m0N9M+GnW1+5eHTLg=", "dev": true, "requires": { "strip-bom": "2.0.0" } }, "detect-indent": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz", "integrity": "sha1-920GQ1LN9Docts5hnE7jqUdd4gg=", "dev": true, "requires": { "repeating": "2.0.1" } }, "error-ex": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.1.tgz", "integrity": "sha1-+FWobOYa3E6GIcPNoh56dhLDqNw=", "dev": true, "requires": { "is-arrayish": "0.2.1" } }, "escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", "dev": true }, "esutils": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz", "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=", "dev": true }, "execa": { "version": "0.5.1", "resolved": "https://registry.npmjs.org/execa/-/execa-0.5.1.tgz", "integrity": "sha1-3j+4XLjW6RyFvLzrFkWBeFy1ezY=", "dev": true, "requires": { "cross-spawn": "4.0.2", "get-stream": "2.3.1", "is-stream": "1.1.0", "npm-run-path": "2.0.2", "p-finally": "1.0.0", "signal-exit": "3.0.2", "strip-eof": "1.0.0" } }, "expand-brackets": { "version": "0.1.5", "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz", "integrity": "sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=", "dev": true, "requires": { "is-posix-bracket": "0.1.1" } }, "expand-range": { "version": "1.8.2", "resolved": "https://registry.npmjs.org/expand-range/-/expand-range-1.8.2.tgz", "integrity": "sha1-opnv/TNf4nIeuujiV+x5ZE/IUzc=", "dev": true, "requires": { "fill-range": "2.2.3" } }, "extglob": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz", "integrity": "sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=", "dev": true, "requires": { "is-extglob": "1.0.0" } }, "filename-regex": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/filename-regex/-/filename-regex-2.0.1.tgz", "integrity": "sha1-wcS5vuPglyXdsQa3XB4wH+LxiyY=", "dev": true }, "fill-range": { "version": "2.2.3", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-2.2.3.tgz", "integrity": "sha1-ULd9/X5Gm8dJJHCWNpn+eoSFpyM=", "dev": true, "requires": { "is-number": "2.1.0", "isobject": "2.1.0", "randomatic": "1.1.6", "repeat-element": "1.1.2", "repeat-string": "1.6.1" } }, "find-cache-dir": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-0.1.1.tgz", "integrity": "sha1-yN765XyKUqinhPnjHFfHQumToLk=", "dev": true, "requires": { "commondir": "1.0.1", "mkdirp": "0.5.1", "pkg-dir": "1.0.0" } }, "find-up": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", "dev": true, "requires": { "locate-path": "2.0.0" } }, "for-in": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", "dev": true }, "for-own": { "version": "0.1.5", "resolved": "https://registry.npmjs.org/for-own/-/for-own-0.1.5.tgz", "integrity": "sha1-UmXGgaTylNq78XyVCbZ2OqhFEM4=", "dev": true, "requires": { "for-in": "1.0.2" } }, "foreground-child": { "version": "1.5.6", "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-1.5.6.tgz", "integrity": "sha1-T9ca0t/elnibmApcCilZN8svXOk=", "dev": true, "requires": { "cross-spawn": "4.0.2", "signal-exit": "3.0.2" } }, "fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", "dev": true }, "get-caller-file": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.2.tgz", "integrity": "sha1-9wLmMSfn4jHBYKgMFVSstw1QR+U=", "dev": true }, "get-stream": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-2.3.1.tgz", "integrity": "sha1-Xzj5PzRgCWZu4BUKBUFn+Rvdld4=", "dev": true, "requires": { "object-assign": "4.1.1", "pinkie-promise": "2.0.1" } }, "glob": { "version": "7.1.2", "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", "dev": true, "requires": { "fs.realpath": "1.0.0", "inflight": "1.0.6", "inherits": "2.0.3", "minimatch": "3.0.4", "once": "1.4.0", "path-is-absolute": "1.0.1" } }, "glob-base": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/glob-base/-/glob-base-0.3.0.tgz", "integrity": "sha1-27Fk9iIbHAscz4Kuoyi0l98Oo8Q=", "dev": true, "requires": { "glob-parent": "2.0.0", "is-glob": "2.0.1" } }, "glob-parent": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz", "integrity": "sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=", "dev": true, "requires": { "is-glob": "2.0.1" } }, "globals": { "version": "9.17.0", "resolved": "https://registry.npmjs.org/globals/-/globals-9.17.0.tgz", "integrity": "sha1-DAymltm5u2lNLlRwvTd3fKrVAoY=", "dev": true }, "graceful-fs": { "version": "4.1.11", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=", "dev": true }, "handlebars": { "version": "4.0.10", "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.0.10.tgz", "integrity": "sha1-PTDHGLCaPZbyPqTMH0A8TTup/08=", "dev": true, "requires": { "async": "1.5.2", "optimist": "0.6.1", "source-map": "0.4.4", "uglify-js": "2.8.27" }, "dependencies": { "source-map": { "version": "0.4.4", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz", "integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=", "dev": true, "requires": { "amdefine": "1.0.1" } } } }, "has-ansi": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", "dev": true, "requires": { "ansi-regex": "2.1.1" } }, "has-flag": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=", "dev": true }, "hosted-git-info": { "version": "2.4.2", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.4.2.tgz", "integrity": "sha1-AHa59GonBQbduq6lZJaJdGBhKmc=", "dev": true }, "imurmurhash": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", "dev": true }, "inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", "dev": true, "requires": { "once": "1.4.0", "wrappy": "1.0.2" } }, "inherits": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", "dev": true }, "invariant": { "version": "2.2.2", "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.2.tgz", "integrity": "sha1-nh9WrArNtr8wMwbzOL47IErmA2A=", "dev": true, "requires": { "loose-envify": "1.3.1" } }, "invert-kv": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz", "integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY=", "dev": true }, "is-arrayish": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", "dev": true }, "is-buffer": { "version": "1.1.5", "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.5.tgz", "integrity": "sha1-Hzsm72E7IUuIy8ojzGwB2Hlh7sw=", "dev": true }, "is-builtin-module": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz", "integrity": "sha1-VAVy0096wxGfj3bDDLwbHgN6/74=", "dev": true, "requires": { "builtin-modules": "1.1.1" } }, "is-dotfile": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/is-dotfile/-/is-dotfile-1.0.3.tgz", "integrity": "sha1-pqLzL/0t+wT1yiXs0Pa4PPeYoeE=", "dev": true }, "is-equal-shallow": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz", "integrity": "sha1-IjgJj8Ih3gvPpdnqxMRdY4qhxTQ=", "dev": true, "requires": { "is-primitive": "2.0.0" } }, "is-extendable": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", "dev": true }, "is-extglob": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=", "dev": true }, "is-finite": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.0.2.tgz", "integrity": "sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko=", "dev": true, "requires": { "number-is-nan": "1.0.1" } }, "is-fullwidth-code-point": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", "dev": true, "requires": { "number-is-nan": "1.0.1" } }, "is-glob": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", "dev": true, "requires": { "is-extglob": "1.0.0" } }, "is-number": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-2.1.0.tgz", "integrity": "sha1-Afy7s5NGOlSPL0ZszhbezknbkI8=", "dev": true, "requires": { "kind-of": "3.2.2" } }, "is-posix-bracket": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz", "integrity": "sha1-MzTceXdDaOkvAW5vvAqI9c1ua8Q=", "dev": true }, "is-primitive": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-primitive/-/is-primitive-2.0.0.tgz", "integrity": "sha1-IHurkWOEmcB7Kt8kCkGochADRXU=", "dev": true }, "is-stream": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", "dev": true }, "is-utf8": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz", "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=", "dev": true }, "isarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", "dev": true }, "isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", "dev": true }, "isobject": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", "dev": true, "requires": { "isarray": "1.0.0" } }, "istanbul-lib-coverage": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-1.1.1.tgz", "integrity": "sha512-0+1vDkmzxqJIn5rcoEqapSB4DmPxE31EtI2dF2aCkV5esN9EWHxZ0dwgDClivMXJqE7zaYQxq30hj5L0nlTN5Q==", "dev": true }, "istanbul-lib-hook": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/istanbul-lib-hook/-/istanbul-lib-hook-1.0.7.tgz", "integrity": "sha512-3U2HB9y1ZV9UmFlE12Fx+nPtFqIymzrqCksrXujm3NVbAZIJg/RfYgO1XiIa0mbmxTjWpVEVlkIZJ25xVIAfkQ==", "dev": true, "requires": { "append-transform": "0.4.0" } }, "istanbul-lib-instrument": { "version": "1.7.2", "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-1.7.2.tgz", "integrity": "sha512-lPgUY+Pa5dlq2/l0qs1PJZ54QPSfo+s4+UZdkb2d0hbOyrEIAbUJphBLFjEyXBdeCONgGRADFzs3ojfFtmuwFA==", "dev": true, "requires": { "babel-generator": "6.24.1", "babel-template": "6.24.1", "babel-traverse": "6.24.1", "babel-types": "6.24.1", "babylon": "6.17.2", "istanbul-lib-coverage": "1.1.1", "semver": "5.3.0" } }, "istanbul-lib-report": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-1.1.1.tgz", "integrity": "sha512-tvF+YmCmH4thnez6JFX06ujIA19WPa9YUiwjc1uALF2cv5dmE3It8b5I8Ob7FHJ70H9Y5yF+TDkVa/mcADuw1Q==", "dev": true, "requires": { "istanbul-lib-coverage": "1.1.1", "mkdirp": "0.5.1", "path-parse": "1.0.5", "supports-color": "3.2.3" }, "dependencies": { "supports-color": { "version": "3.2.3", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", "dev": true, "requires": { "has-flag": "1.0.0" } } } }, "istanbul-lib-source-maps": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-1.2.1.tgz", "integrity": "sha512-mukVvSXCn9JQvdJl8wP/iPhqig0MRtuWuD4ZNKo6vB2Ik//AmhAKe3QnPN02dmkRe3lTudFk3rzoHhwU4hb94w==", "dev": true, "requires": { "debug": "2.6.8", "istanbul-lib-coverage": "1.1.1", "mkdirp": "0.5.1", "rimraf": "2.6.1", "source-map": "0.5.6" } }, "istanbul-reports": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-1.1.1.tgz", "integrity": "sha512-P8G873A0kW24XRlxHVGhMJBhQ8gWAec+dae7ZxOBzxT4w+a9ATSPvRVK3LB1RAJ9S8bg2tOyWHAGW40Zd2dKfw==", "dev": true, "requires": { "handlebars": "4.0.10" } }, "js-tokens": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.1.tgz", "integrity": "sha1-COnxMkhKLEWjCQfp3E1VZ7fxFNc=", "dev": true }, "jsesc": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz", "integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s=", "dev": true }, "kind-of": { "version": "3.2.2", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", "dev": true, "requires": { "is-buffer": "1.1.5" } }, "lazy-cache": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/lazy-cache/-/lazy-cache-1.0.4.tgz", "integrity": "sha1-odePw6UEdMuAhF07O24dpJpEbo4=", "dev": true, "optional": true }, "lcid": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz", "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=", "dev": true, "requires": { "invert-kv": "1.0.0" } }, "load-json-file": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", "dev": true, "requires": { "graceful-fs": "4.1.11", "parse-json": "2.2.0", "pify": "2.3.0", "pinkie-promise": "2.0.1", "strip-bom": "2.0.0" } }, "locate-path": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", "dev": true, "requires": { "p-locate": "2.0.0", "path-exists": "3.0.0" }, "dependencies": { "path-exists": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", "dev": true } } }, "lodash": { "version": "4.17.4", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.4.tgz", "integrity": "sha1-eCA6TRwyiuHYbcpkYONptX9AVa4=", "dev": true }, "longest": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz", "integrity": "sha1-MKCy2jj3N3DoKUoNIuZiXtd9AJc=", "dev": true }, "loose-envify": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.3.1.tgz", "integrity": "sha1-0aitM/qc4OcT1l/dCsi3SNR4yEg=", "dev": true, "requires": { "js-tokens": "3.0.1" } }, "lru-cache": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.0.2.tgz", "integrity": "sha1-HRdnnAac2l0ECZGgnbwsDbN35V4=", "dev": true, "requires": { "pseudomap": "1.0.2", "yallist": "2.1.2" } }, "md5-hex": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/md5-hex/-/md5-hex-1.3.0.tgz", "integrity": "sha1-0sSv6YPENwZiF5uMrRRSGRNQRsQ=", "dev": true, "requires": { "md5-o-matic": "0.1.1" } }, "md5-o-matic": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/md5-o-matic/-/md5-o-matic-0.1.1.tgz", "integrity": "sha1-givM1l4RfFFPqxdrJZRdVBAKA8M=", "dev": true }, "mem": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/mem/-/mem-1.1.0.tgz", "integrity": "sha1-Xt1StIXKHZAP5kiVUFOZoN+kX3Y=", "dev": true, "requires": { "mimic-fn": "1.1.0" } }, "merge-source-map": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/merge-source-map/-/merge-source-map-1.0.3.tgz", "integrity": "sha1-2hQV8nIqURnbB7FMT5c0EIY6Kr8=", "dev": true, "requires": { "source-map": "0.5.6" } }, "micromatch": { "version": "2.3.11", "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz", "integrity": "sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=", "dev": true, "requires": { "arr-diff": "2.0.0", "array-unique": "0.2.1", "braces": "1.8.5", "expand-brackets": "0.1.5", "extglob": "0.3.2", "filename-regex": "2.0.1", "is-extglob": "1.0.0", "is-glob": "2.0.1", "kind-of": "3.2.2", "normalize-path": "2.1.1", "object.omit": "2.0.1", "parse-glob": "3.0.4", "regex-cache": "0.4.3" } }, "mimic-fn": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.1.0.tgz", "integrity": "sha1-5md4PZLonb00KBi1IwudYqZyrRg=", "dev": true }, "minimatch": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", "dev": true, "requires": { "brace-expansion": "1.1.7" } }, "minimist": { "version": "0.0.8", "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", "dev": true }, "mkdirp": { "version": "0.5.1", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", "dev": true, "requires": { "minimist": "0.0.8" } }, "ms": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", "dev": true }, "normalize-package-data": { "version": "2.3.8", "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.3.8.tgz", "integrity": "sha1-2Bntoqne29H/pWPqQHHZNngilbs=", "dev": true, "requires": { "hosted-git-info": "2.4.2", "is-builtin-module": "1.0.0", "semver": "5.3.0", "validate-npm-package-license": "3.0.1" } }, "normalize-path": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", "dev": true, "requires": { "remove-trailing-separator": "1.0.1" } }, "npm-run-path": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=", "dev": true, "requires": { "path-key": "2.0.1" } }, "number-is-nan": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", "dev": true }, "object-assign": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", "dev": true }, "object.omit": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/object.omit/-/object.omit-2.0.1.tgz", "integrity": "sha1-Gpx0SCnznbuFjHbKNXmuKlTr0fo=", "dev": true, "requires": { "for-own": "0.1.5", "is-extendable": "0.1.1" } }, "once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", "dev": true, "requires": { "wrappy": "1.0.2" } }, "optimist": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz", "integrity": "sha1-2j6nRob6IaGaERwybpDrFaAZZoY=", "dev": true, "requires": { "minimist": "0.0.8", "wordwrap": "0.0.3" } }, "os-homedir": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", "dev": true }, "os-locale": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-2.0.0.tgz", "integrity": "sha1-FZGN7VEFIrge565aMJ1U9jn8OaQ=", "dev": true, "requires": { "execa": "0.5.1", "lcid": "1.0.0", "mem": "1.1.0" } }, "p-finally": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", "dev": true }, "p-limit": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.1.0.tgz", "integrity": "sha1-sH/y2aXYi+yAYDWJWiurZqJ5iLw=", "dev": true }, "p-locate": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", "dev": true, "requires": { "p-limit": "1.1.0" } }, "parse-glob": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/parse-glob/-/parse-glob-3.0.4.tgz", "integrity": "sha1-ssN2z7EfNVE7rdFz7wu246OIORw=", "dev": true, "requires": { "glob-base": "0.3.0", "is-dotfile": "1.0.3", "is-extglob": "1.0.0", "is-glob": "2.0.1" } }, "parse-json": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", "dev": true, "requires": { "error-ex": "1.3.1" } }, "path-exists": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=", "dev": true, "requires": { "pinkie-promise": "2.0.1" } }, "path-is-absolute": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", "dev": true }, "path-key": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", "dev": true }, "path-parse": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.5.tgz", "integrity": "sha1-PBrfhx6pzWyUMbbqK9dKD/BVxME=", "dev": true }, "path-type": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", "dev": true, "requires": { "graceful-fs": "4.1.11", "pify": "2.3.0", "pinkie-promise": "2.0.1" } }, "pify": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", "dev": true }, "pinkie": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=", "dev": true }, "pinkie-promise": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", "dev": true, "requires": { "pinkie": "2.0.4" } }, "pkg-dir": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-1.0.0.tgz", "integrity": "sha1-ektQio1bstYp1EcFb/TpyTFM89Q=", "dev": true, "requires": { "find-up": "1.1.2" }, "dependencies": { "find-up": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=", "dev": true, "requires": { "path-exists": "2.1.0", "pinkie-promise": "2.0.1" } } } }, "preserve": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/preserve/-/preserve-0.2.0.tgz", "integrity": "sha1-gV7R9uvGWSb4ZbMQwHE7yzMVzks=", "dev": true }, "pseudomap": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=", "dev": true }, "randomatic": { "version": "1.1.6", "resolved": "https://registry.npmjs.org/randomatic/-/randomatic-1.1.6.tgz", "integrity": "sha1-EQ3Kv/OX6dz/fAeJzMCkmt8exbs=", "dev": true, "requires": { "is-number": "2.1.0", "kind-of": "3.2.2" } }, "read-pkg": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", "dev": true, "requires": { "load-json-file": "1.1.0", "normalize-package-data": "2.3.8", "path-type": "1.1.0" } }, "read-pkg-up": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=", "dev": true, "requires": { "find-up": "1.1.2", "read-pkg": "1.1.0" }, "dependencies": { "find-up": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=", "dev": true, "requires": { "path-exists": "2.1.0", "pinkie-promise": "2.0.1" } } } }, "regenerator-runtime": { "version": "0.10.5", "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz", "integrity": "sha1-M2w+/BIgrc7dosn6tntaeVWjNlg=", "dev": true }, "regex-cache": { "version": "0.4.3", "resolved": "https://registry.npmjs.org/regex-cache/-/regex-cache-0.4.3.tgz", "integrity": "sha1-mxpsNdTQ3871cRrmUejp09cRQUU=", "dev": true, "requires": { "is-equal-shallow": "0.1.3", "is-primitive": "2.0.0" } }, "remove-trailing-separator": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.0.1.tgz", "integrity": "sha1-YV67lq9VlVLUv0BXyENtSGq2PMQ=", "dev": true }, "repeat-element": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.2.tgz", "integrity": "sha1-7wiaF40Ug7quTZPrmLT55OEdmQo=", "dev": true }, "repeat-string": { "version": "1.6.1", "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=", "dev": true }, "repeating": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz", "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=", "dev": true, "requires": { "is-finite": "1.0.2" } }, "require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", "dev": true }, "require-main-filename": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz", "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=", "dev": true }, "resolve-from": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-2.0.0.tgz", "integrity": "sha1-lICrIOlP+h2egKgEx+oUdhGWa1c=", "dev": true }, "right-align": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/right-align/-/right-align-0.1.3.tgz", "integrity": "sha1-YTObci/mo1FWiSENJOFMlhSGE+8=", "dev": true, "optional": true, "requires": { "align-text": "0.1.4" } }, "rimraf": { "version": "2.6.1", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.1.tgz", "integrity": "sha1-wjOOxkPfeht/5cVPqG9XQopV8z0=", "dev": true, "requires": { "glob": "7.1.2" } }, "semver": { "version": "5.3.0", "resolved": "https://registry.npmjs.org/semver/-/semver-5.3.0.tgz", "integrity": "sha1-myzl094C0XxgEq0yaqa00M9U+U8=", "dev": true }, "set-blocking": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", "dev": true }, "signal-exit": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=", "dev": true }, "slide": { "version": "1.1.6", "resolved": "https://registry.npmjs.org/slide/-/slide-1.1.6.tgz", "integrity": "sha1-VusCfWW00tzmyy4tMsTUr8nh1wc=", "dev": true }, "source-map": { "version": "0.5.6", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.6.tgz", "integrity": "sha1-dc449SvwczxafwwRjYEzSiu19BI=", "dev": true }, "spawn-wrap": { "version": "1.3.6", "resolved": "https://registry.npmjs.org/spawn-wrap/-/spawn-wrap-1.3.6.tgz", "integrity": "sha512-5bEhZ11kqwoECJwfbur2ALU1NBnnCNbFzdWGHEXCiSsVhH+Ubz6eesa1DuQcm05pk38HknqP556f3CFhqws2ZA==", "dev": true, "requires": { "foreground-child": "1.5.6", "mkdirp": "0.5.1", "os-homedir": "1.0.2", "rimraf": "2.6.1", "signal-exit": "3.0.2", "which": "1.2.14" } }, "spdx-correct": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-1.0.2.tgz", "integrity": "sha1-SzBz2TP/UfORLwOsVRlJikFQ20A=", "dev": true, "requires": { "spdx-license-ids": "1.2.2" } }, "spdx-expression-parse": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-1.0.4.tgz", "integrity": "sha1-m98vIOH0DtRH++JzJmGR/O1RYmw=", "dev": true }, "spdx-license-ids": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-1.2.2.tgz", "integrity": "sha1-yd96NCRZSt5r0RkA1ZZpbcBrrFc=", "dev": true }, "string-width": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.0.0.tgz", "integrity": "sha1-Y1xUNsxypuDDh87KJ41OLuxSaH4=", "dev": true, "requires": { "is-fullwidth-code-point": "2.0.0", "strip-ansi": "3.0.1" }, "dependencies": { "is-fullwidth-code-point": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", "dev": true } } }, "strip-ansi": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", "dev": true, "requires": { "ansi-regex": "2.1.1" } }, "strip-bom": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", "dev": true, "requires": { "is-utf8": "0.2.1" } }, "strip-eof": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz", "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=", "dev": true }, "supports-color": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", "dev": true }, "test-exclude": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-4.1.1.tgz", "integrity": "sha512-35+Asrsk3XHJDBgf/VRFexPgh3UyETv8IAn/LRTiZjVy6rjPVqdEk8dJcJYBzl1w0XCJM48lvTy8SfEsCWS4nA==", "dev": true, "requires": { "arrify": "1.0.1", "micromatch": "2.3.11", "object-assign": "4.1.1", "read-pkg-up": "1.0.1", "require-main-filename": "1.0.1" } }, "to-fast-properties": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.3.tgz", "integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=", "dev": true }, "trim-right": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz", "integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=", "dev": true }, "uglify-js": { "version": "2.8.27", "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-2.8.27.tgz", "integrity": "sha1-R3h/kSsPJC5bmENDvo416V9pTJw=", "dev": true, "optional": true, "requires": { "source-map": "0.5.6", "uglify-to-browserify": "1.0.2", "yargs": "3.10.0" }, "dependencies": { "camelcase": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-1.2.1.tgz", "integrity": "sha1-m7UwTS4LVmmLLHWLCKPqqdqlijk=", "dev": true, "optional": true }, "yargs": { "version": "3.10.0", "resolved": "https://registry.npmjs.org/yargs/-/yargs-3.10.0.tgz", "integrity": "sha1-9+572FfdfB0tOMDnTvvWgdFDH9E=", "dev": true, "optional": true, "requires": { "camelcase": "1.2.1", "cliui": "2.1.0", "decamelize": "1.2.0", "window-size": "0.1.0" } } } }, "uglify-to-browserify": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz", "integrity": "sha1-bgkk1r2mta/jSeOabWMoUKD4grc=", "dev": true, "optional": true }, "validate-npm-package-license": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.1.tgz", "integrity": "sha1-KAS6vnEq0zeUWaz74kdGqywwP7w=", "dev": true, "requires": { "spdx-correct": "1.0.2", "spdx-expression-parse": "1.0.4" } }, "which": { "version": "1.2.14", "resolved": "https://registry.npmjs.org/which/-/which-1.2.14.tgz", "integrity": "sha1-mofEN48D6CfOyvGs31bHNsAcFOU=", "dev": true, "requires": { "isexe": "2.0.0" } }, "which-module": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=", "dev": true }, "window-size": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/window-size/-/window-size-0.1.0.tgz", "integrity": "sha1-VDjNLqk7IC76Ohn+iIeu58lPnJ0=", "dev": true, "optional": true }, "wordwrap": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz", "integrity": "sha1-o9XabNXAvAAI03I0u68b7WMFkQc=", "dev": true }, "wrap-ansi": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", "dev": true, "requires": { "string-width": "1.0.2", "strip-ansi": "3.0.1" }, "dependencies": { "string-width": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", "dev": true, "requires": { "code-point-at": "1.1.0", "is-fullwidth-code-point": "1.0.0", "strip-ansi": "3.0.1" } } } }, "wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", "dev": true }, "write-file-atomic": { "version": "1.3.4", "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-1.3.4.tgz", "integrity": "sha1-+Aek8LHZ6ROuekgRLmzDrxmRtF8=", "dev": true, "requires": { "graceful-fs": "4.1.11", "imurmurhash": "0.1.4", "slide": "1.1.6" } }, "y18n": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz", "integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE=", "dev": true }, "yallist": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=", "dev": true }, "yargs": { "version": "8.0.1", "resolved": "https://registry.npmjs.org/yargs/-/yargs-8.0.1.tgz", "integrity": "sha1-Qg73XoQMFFeoCtzKm8b6OEneUao=", "dev": true, "requires": { "camelcase": "4.1.0", "cliui": "3.2.0", "decamelize": "1.2.0", "get-caller-file": "1.0.2", "os-locale": "2.0.0", "read-pkg-up": "2.0.0", "require-directory": "2.1.1", "require-main-filename": "1.0.1", "set-blocking": "2.0.0", "string-width": "2.0.0", "which-module": "2.0.0", "y18n": "3.2.1", "yargs-parser": "7.0.0" }, "dependencies": { "camelcase": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=", "dev": true }, "cliui": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz", "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=", "dev": true, "requires": { "string-width": "1.0.2", "strip-ansi": "3.0.1", "wrap-ansi": "2.1.0" }, "dependencies": { "string-width": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", "dev": true, "requires": { "code-point-at": "1.1.0", "is-fullwidth-code-point": "1.0.0", "strip-ansi": "3.0.1" } } } }, "load-json-file": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz", "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=", "dev": true, "requires": { "graceful-fs": "4.1.11", "parse-json": "2.2.0", "pify": "2.3.0", "strip-bom": "3.0.0" } }, "path-type": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz", "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=", "dev": true, "requires": { "pify": "2.3.0" } }, "read-pkg": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz", "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=", "dev": true, "requires": { "load-json-file": "2.0.0", "normalize-package-data": "2.3.8", "path-type": "2.0.0" } }, "read-pkg-up": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz", "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=", "dev": true, "requires": { "find-up": "2.1.0", "read-pkg": "2.0.0" } }, "strip-bom": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", "dev": true }, "yargs-parser": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-7.0.0.tgz", "integrity": "sha1-jQrELxbqVd69MyyvTEA4s+P139k=", "dev": true, "requires": { "camelcase": "4.1.0" } } } }, "yargs-parser": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-5.0.0.tgz", "integrity": "sha1-J17PDX/+Bcd+ZOfIbkzZS/DhIoo=", "dev": true, "requires": { "camelcase": "3.0.0" }, "dependencies": { "camelcase": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz", "integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=", "dev": true } } } } }, "tap-mocha-reporter": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/tap-mocha-reporter/-/tap-mocha-reporter-3.0.3.tgz", "integrity": "sha1-5ZF/rT2acJV/m3xzbnk764fX2vE=", "dev": true, "requires": { "color-support": "https://registry.npmjs.org/color-support/-/color-support-1.1.2.tgz", "debug": "https://registry.npmjs.org/debug/-/debug-2.3.3.tgz", "diff": "https://registry.npmjs.org/diff/-/diff-1.4.0.tgz", "escape-string-regexp": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", "glob": "https://registry.npmjs.org/glob/-/glob-7.0.5.tgz", "js-yaml": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.6.1.tgz", "readable-stream": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.2.2.tgz", "tap-parser": "5.3.3", "unicode-length": "https://registry.npmjs.org/unicode-length/-/unicode-length-1.0.3.tgz" } }, "tap-parser": { "version": "5.3.3", "resolved": "https://registry.npmjs.org/tap-parser/-/tap-parser-5.3.3.tgz", "integrity": "sha1-U+yKkPJ11v/0PxaeVqZ5UCp0EYU=", "dev": true, "requires": { "events-to-array": "https://registry.npmjs.org/events-to-array/-/events-to-array-1.0.2.tgz", "js-yaml": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.6.1.tgz", "readable-stream": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.2.2.tgz" } } } }, "tmatch": { "version": "https://registry.npmjs.org/tmatch/-/tmatch-3.0.0.tgz", "integrity": "sha1-fSBx3tu8WH8ZSs2jBnvQdHtnCZE=", "dev": true }, "tough-cookie": { "version": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.3.2.tgz", "integrity": "sha1-8IH3bkyFcg5sN6X6ztc3FQ2EByo=", "dev": true, "requires": { "punycode": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz" } }, "trivial-deferred": { "version": "https://registry.npmjs.org/trivial-deferred/-/trivial-deferred-1.0.1.tgz", "integrity": "sha1-N21NKdlR1jaKb3oK6FwvTV4GWPM=", "dev": true }, "tunnel-agent": { "version": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.4.3.tgz", "integrity": "sha1-Y3PbdpCf5XDgjXNYM2Xtgop07us=", "dev": true }, "tweetnacl": { "version": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=", "dev": true, "optional": true }, "unicode-length": { "version": "https://registry.npmjs.org/unicode-length/-/unicode-length-1.0.3.tgz", "integrity": "sha1-Wtp6f+1RhBpBijKM8UlHisg1irs=", "dev": true, "requires": { "punycode": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", "strip-ansi": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz" } }, "util-deprecate": { "version": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", "dev": true }, "uuid": { "version": "https://registry.npmjs.org/uuid/-/uuid-3.0.1.tgz", "integrity": "sha1-ZUS7ot/ajBzxfmKaOjBeK7H+5sE=", "dev": true }, "verror": { "version": "https://registry.npmjs.org/verror/-/verror-1.3.6.tgz", "integrity": "sha1-z/XfEpRtKX0rqu+qJoniW+AcAFw=", "dev": true, "requires": { "extsprintf": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.0.2.tgz" } }, "which": { "version": "https://registry.npmjs.org/which/-/which-1.2.12.tgz", "integrity": "sha1-3me15FAmnxlJCe8j7OTr5Bb6EZI=", "dev": true, "requires": { "isexe": "https://registry.npmjs.org/isexe/-/isexe-1.1.2.tgz" } }, "wrappy": { "version": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", "dev": true }, "xtend": { "version": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz", "integrity": "sha1-pcbVMr5lbiPbgg77lDofBJmNY68=", "dev": true }, "yallist": { "version": "https://registry.npmjs.org/yallist/-/yallist-2.0.0.tgz", "integrity": "sha1-MGxUODXwnuGkyyO3vOmrNByRzdQ=", "dev": true }, "yapool": { "version": "https://registry.npmjs.org/yapool/-/yapool-1.0.0.tgz", "integrity": "sha1-9pPymjFbUNmp2iZGp6ZkXJaYW2o=", "dev": true } } } tap-parser-7.0.0/package.json000066400000000000000000000024051320135610000160520ustar00rootroot00000000000000{ "name": "tap-parser", "version": "7.0.0", "description": "parse the test anything protocol", "main": "index.js", "bin": { "tap-parser": "bin/cmd.js" }, "dependencies": { "events-to-array": "^1.0.1", "js-yaml": "^3.2.7", "minipass": "^2.2.0" }, "devDependencies": { "glob": "^7.0.5", "tap": "^10.3.3" }, "scripts": { "test": "tap test/*.js --100 -J", "regen-fixtures": "node scripts/generate-test.js test/fixtures/*.tap", "preversion": "npm test", "postversion": "npm publish", "postpublish": "git push origin --all; git push origin --tags" }, "testling": { "files": "test/*.js", "browsers": [ "ie/6..latest", "chrome/10", "chrome/latest", "firefox/3.5", "firefox/latest", "opera/latest", "safari/latest" ] }, "repository": { "type": "git", "url": "git://github.com/substack/tap-parser.git" }, "homepage": "https://github.com/substack/tap-parser", "keywords": [ "tap", "test", "parser" ], "author": { "name": "James Halliday", "email": "mail@substack.net", "url": "http://substack.net" }, "license": "MIT", "optionalDependencies": {}, "files": [ "index.js", "bin/cmd.js", "bin/usage.txt" ] } tap-parser-7.0.0/readme.markdown000066400000000000000000000214421320135610000165670ustar00rootroot00000000000000# tap-parser parse the [test anything protocol](http://testanything.org/) [![build status](https://secure.travis-ci.org/tapjs/tap-parser.png)](http://travis-ci.org/tapjs/tap-parser) [![browser support](http://ci.testling.com/substack/tap-parser.png)](http://ci.testling.com/substack/tap-parser) [![coverage status](https://coveralls.io/repos/tapjs/tap-parser/badge.svg?branch=master&service=github)](https://coveralls.io/github/tapjs/tap-parser?branch=master) # example ``` js var Parser = require('tap-parser'); var p = new Parser(function (results) { console.dir(results); }); process.stdin.pipe(p); ``` given some [TAP](http://testanything.org/)-formatted input: ``` $ node test.js TAP version 13 # beep ok 1 should be equal ok 2 should be equivalent # boop ok 3 should be equal ok 4 (unnamed assert) 1..4 # tests 4 # pass 4 # ok ``` parse the output: ``` $ node test.js | node parse.js { ok: true, count: 4, pass: 4, plan: { start: 1, end: 4 } } ``` # usage This package also has a `tap-parser` command. ``` Usage: tap-parser Parses TAP data from stdin, and outputs the parsed result in the format specified by the options. Default output is uses node's `util.format()` method. Options: -j [] | --json[=indent] Output event data as JSON with the specified indentation (default=2) -t | --tap Output data as reconstituted TAP based on parsed results -l | --lines Output each parsed line as it is recognized by the parser -b | --bail Emit a `Bail out!` at the first failed test point encountered -w | --ignore-all-whitespace Skip over blank lines outside of YAML blocks -o | --omit-version Ignore the `TAP version 13` line at the start of tests ``` # methods ``` js var Parser = require('tap-parser') ``` ## var p = new Parser(options, cb) Return a writable stream `p` that emits parse events. If `cb` is given it will listen for the `'complete'` event. If `options` is given, it may contain the following flags: - `preserveWhitespace` boolean which is `false` by default and will cause the parser to emit `line` events even for lines containing only whitespace. (Whitespace lines in yaml blocks are always emitted, because whitespace is semantically relevant for yaml.) - `strict` boolean which is `false` by default and causes the parser to treat non-TAP input as a failure. Strictness is heritable to child subtests. You can also turn strictness on or off by using the `pragma +strict` line in the TAP data to turn strictness on, or `pragma -strict` to turn strictness off. - `bail` boolean which is `false` by default and will cause the parser to bail out (including emitting a synthetic `Bail out!` line) whenever a failed test point is encountered. - `omitVersion` boolean which is `false` by default and will cause the parser to ignore `TAP version 13` lines. Version lines in subtests cause problems with some parsers, so they are always ignored. - `passes` boolean which is false by default and will add "passes" property for that contains the result of all passed tests The `parent`, `level` and `buffered` options are reserved for internal use. # events ## p.on('complete', function (results) {}) The `results` object contains a summary of the number of tests skipped, failed, passed, etc., as well as a boolean `ok` member which is true if and only if the planned test were all found, and either "ok" or marked as "TODO". ## p.on('line', function (line) {}) As each line of input is parsed, a `line` event is emitted. "Synthetic" line events will be emitted to support the `bail` behavior, and to inject `1..0` plan lines in subtests that have no test points. They can be used as a sort of "passthrough stream" to sanitize and filter a TAP stream, with the caveat that, while `line` events will be semantically equivalent to the TAP input, they will not be a perfect replica of the input. ## p.on('assert', function (assert) {}) Every `/^(not )?ok\b/` line will emit an `'assert'` event. Every `assert` object has these keys: * `assert.ok` - true if the assertion succeeded, false if failed * `assert.id` - the assertion number * `assert.name` - optional short description of the assertion and may also have * `assert.todo` - optional description of why the assertion failure is not a problem. (Boolean `true` if no explaination provided) * `assert.skip` - optional description of why this assertion was skipped (boolean `true` if no explanation provided) * `assert.diag` - a diagnostic object with additional information about the test point. ## p.on('comment', function (comment) {}) Every `/^# (.+)/` line will emit the string contents of `comment`. ## p.on('plan', function (plan) {}) Every `/^\d+\.\.\d+/` line emits a `'plan'` event for the test numbers `plan.start` through `plan.end`, inclusive. If the test is [completely skipped](http://podwiki.hexten.net/TAP/TAP.html?page=TAP#Skippingeverything) the result will look like ``` { ok: true, count: 0, pass: 0, plan: { start: 1, end: 0, skipAll: true, skipReason: 'This code has no seat belt' } } ``` ## p.on('version', function (version) {}) A `/^TAP version (\d+)/` line emits a `'version'` event with a version number or string. ## p.on('bailout', function (reason) {}) A `bail out!` line will cause the parser to completely stop doing anything. Child parser bailouts will bail out their parents as well. ## p.on('child', function (childParser) {}) If a child test set is embedded in the stream like this: ``` TAP Version 13 1..2 # nesting 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - nesting ok 2 - second ``` then the child stream will be parsed and events will be raised on the `childParser` object. Since TAP streams with child tests *must* follow child test sets with a pass or fail assert based on the child test's results, failing to handle child tests should always result in the same end result. However, additional information from those child tests will obviously be lost. See `Subtests` below for more information on which sorts of subtest formats are supported by this parser. ## p.on('extra', function (extra) {}) All other lines will trigger an `'extra'` event with the line text. # install With [npm](https://npmjs.org) do: ``` npm install tap-parser ``` You can use [browserify](http://browserify.org) to `require('tap-parser')` in the browser. # license MIT # subtests 5 flavors of Subtests are suppored by this parser. 1. Unadorned. Indented TAP data with no comment, followed by a test point at the parent level. ``` ok 1 1..1 ok 1 - child test 1..1 ``` 2. Indented comment. An indented `# Subtest: ` comment, followed by indented TAP data, and then a not-indented test point with a matching name. The summary test point may have yaml diagnostics. ``` # Subtest: child test ok 1 1..1 ok 1 - child test 1..1 ``` 3. Unindented comment. A not-indented `# Subtest: ` comment, followed by indented TAP content, followed by a test point with a matching name. The summary test point may have yaml diagnostics. ``` # Subtest: child test ok 1 1..1 ok 1 - child test 1..1 ``` 4. Buffered, without diagnostics. A test point line ending in {, followed by indented TAP content, ended with a } to close the block. todo/skip directives may come *either* before or after the `{` character. Yaml diagnostics are not allowed. ``` ok 1 - child test { ok 1 1..1 } 1..1 ``` 5. Buffered, with diagnostics. A test point line with yaml diagnostics, followed by `{` alone on a line, indented TAP data, and then a `}`. ``` ok 1 - child test --- some: diagnostic data: true ... { ok 1 1..1 } ``` In all cases, the parsed behavior is identical: 1. The parent emits a `child` event with the `childParser` as an argument. 2. The `childParser` emits a `comment` with `# Subtest: ` (or `(anonymous)` for Unadorned subtests.) 3. When the test is over, the closing test point is emitted on parent test. That is, buffered and nonindented/indented comment subtests are parsed as if they are identical input, since their semantics are the same. This simplifies implementation of test harness and reporter modules. Since unadorned subtests have no introduction, a child event is not emitted until the first "relevant tap" line is encountered. This can cause confusion if the test output contains a spurious " 1..2" line or something, but such cases are rare. Similarly, this means that a test point ending in `{` needs to wait to emit *either* the 'assert' or 'child' events until an indented line is encountered. *Any* test point with yaml diagnostics needs to wait to see if it will be followed by a `{` indicating a subtest. tap-parser-7.0.0/scripts/000077500000000000000000000000001320135610000152525ustar00rootroot00000000000000tap-parser-7.0.0/scripts/generate-test.js000077500000000000000000000025011320135610000203600ustar00rootroot00000000000000#!/usr/bin/env node var spawn = require('child_process').spawn var path = require('path') var fs = require('fs') var etoa = require('events-to-array') var Parser = require('../') var util = require('util') for (var i = 2; i < process.argv.length; i++) { generate(process.argv[i]) } function generate(file) { file = path.resolve(file) console.error(file) var bails = [true, false] var white = [true, false] var omitv = [true, false] bails.forEach(function (bail) { white.forEach(function (white) { omitv.forEach(function (omitv) { generate_(file, { bail: bail, preserveWhiteSpace: white, omitVersion: omitv }) }) }) }) } function generate_ (file, opts) { var outfile = file.replace(/\.tap$/, '') if (outfile === file) throw new Error('incorrect file (should end in .tap) ' + file) outfile += opts.bail ? '--bail': '' outfile += opts.preserveWhiteSpace ? '--preservewhite': '' outfile += opts.omitVersion ? '--omitversion' : '' outfile += '.json' var output = '' var p = new Parser(opts) fs.createReadStream(file, { encoding: 'utf8' }).pipe(p) var events = etoa(p, [ 'pipe', 'unpipe', 'prefinish', 'finish' ]) p.on('complete', function () { var f = JSON.stringify(events, null, 2) + '\n' fs.writeFileSync(outfile, f) }) } tap-parser-7.0.0/test/000077500000000000000000000000001320135610000145425ustar00rootroot00000000000000tap-parser-7.0.0/test/abort.js000066400000000000000000000071761320135610000162220ustar00rootroot00000000000000var t = require('tap') var Parser = require('../') var tapContent = function () {/* ok 1 - nesting { 1..2 # Subtest: first 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first ok 2 - second { ok 1 - but that is ok ok 2 - this passes ok 3 - nested ok 1..3 } } ok 2 - this passes ok 3 - this passes too ok 4 - async kid { 1..2 ok 1 - timeout ok 2 - timeout } ok 5 - pass after async kid 1..5 */}.toString().split('\n').slice(1, -1).join('\n') + '\n' t.test('buffered abort', function (t) { t.test('with diags', bufferedTest({some: 'diags'})) t.test('empty diags', bufferedTest({})) t.test('no diags', bufferedTest()) t.end() }) t.test('unbuffered abort', function (t) { t.test('with diags', unbufferedTest({some: 'diags'})) t.test('empty diags', unbufferedTest({})) t.test('no diags', unbufferedTest()) t.end() }) function bufferedTest (d) { return function (t) { var p = new Parser() var mid = Math.floor(tapContent.length / 2) var first = tapContent.slice(0, mid) var second = tapContent.slice(mid) var lines = [] var expectLines = [ 'ok 1 - nesting {\n', ' 1..2\n', ' # Subtest: first\n', ' 1..2\n', ' ok 1 - true is ok\n', ' ok 2 - doag is also okay\n', ' ok 1 - first\n', ' ok 2 - second {\n', ' ok 1 - but that is ok\n', ' not ok 2 - nope\n', d && d.some ? ' ---\n' : '', d && d.some ? ' some: diags\n' : '', d && d.some ? ' ...\n' : '', ' 1..2\n', ' }\n', '}\n', 'not ok 2 - nope\n', '1..2' ].join('').split('\n').map(function (l) { return l + '\n' }) var expectResults = { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2, "name": "nope" } ] } p.on('line', function (line) { if (line.trim().match(/^# [^S]/)) return lines.push(line) }) p.on('complete', function (results) { t.same(lines, expectLines) t.same(results, expectResults) t.end() }) p.write(first) p.abort('nope', d) p.write(second) }} function unbufferedTest (d) { return function (t) { var p = new Parser() var mid = 90 var first = tapContent.slice(0, mid) var second = tapContent.slice(mid) var lines = [] var expectLines = [ 'ok 1 - nesting {\n', ' 1..2\n', ' # Subtest: first\n', ' 1..2\n', ' ok 1 - true is ok\n', ' not ok 2 - nope\n', d && d.some ? ' ---\n' : '', d && d.some ? ' some: diags\n' : '', d && d.some ? ' ...\n' : '', ' not ok 1 - nope\n', '}\n', 'not ok 2 - nope\n', '1..2' ].join('').split('\n').map(function (l) { return l + '\n' }) var expectResults = { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2, "name": "nope" } ] } p.on('line', function (line) { if (line.trim().match(/^# [^S]/)) return lines.push(line) }) p.on('complete', function (results) { t.same(lines, expectLines) t.same(results, expectResults) t.end() }) p.write(first) p.abort('nope', d) p.write(second) }} tap-parser-7.0.0/test/bail-parent-while-child-exists.js000066400000000000000000000021241320135610000230010ustar00rootroot00000000000000var tapContent = function () {/* TAP version 13 ok 1 - this is fine # Subtest: child # this is a child Bail out! # saw that coming */}.toString().split('\n').slice(1, -1).join('\n') var P = require('../') var etoa = require('events-to-array') var ignore = [ 'pipe', 'unpipe', 'prefinish', 'finish', 'newListener', 'line' ] var p = new P() var events = etoa(p, ignore) p.end(tapContent) require('tap').same(events, [ [ 'version', 13 ], [ 'assert', { 'ok': true, 'id': 1, 'name': 'this is fine' } ], [ 'child', [ [ 'comment', '# Subtest: child\n' ], [ 'comment', '# this is a child\n' ] ] ], [ 'bailout', '# saw that coming' ], [ 'complete', { 'ok': false, 'count': 1, 'pass': 1, 'fail': 0, 'bailout': '# saw that coming', 'todo': 0, 'skip': 0, 'plan': { 'start': null, 'end': null, 'skipAll': false, 'skipReason': '', 'comment': '' }, 'failures': [] } ] ]) tap-parser-7.0.0/test/bail-while-bailing.js000066400000000000000000000023041320135610000205170ustar00rootroot00000000000000var tapContent = function () {/* TAP version 13 ok 1 - this is fine not ok 2 - going to bail Bail out! # saw that coming */}.toString().split('\n').slice(1, -1).join('\n') var P = require('../') var etoa = require('events-to-array') var ignore = [ 'pipe', 'unpipe', 'prefinish', 'finish', 'newListener', 'line' ] var p = new P() var events = etoa(p, ignore) p.on('bailout', function (reason) { p.bailout('new ' + reason) }) p.end(tapContent) var expect = [ [ "version", 13 ], [ "assert", { "ok": true, "id": 1, "name": "this is fine" } ], [ "assert", { "ok": false, "id": 2, "name": "going to bail" } ], [ "bailout", "# saw that coming" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": "# saw that coming", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2, "name": "going to bail" } ] } ] ] require('tap').same(events, expect) tap-parser-7.0.0/test/basic.js000066400000000000000000000024061320135610000161630ustar00rootroot00000000000000var t = require('tap') var Parser = require('../') t.test('passing no options and cb works fine', function (t) { var p = new Parser(t.end) p.emit('complete') }) t.test('end() can take chunk', function (t) { t.plan(2) t.test('string', function (t) { var p = new Parser() p.end('1..0\n', t.end) }) t.test('encoding', function (t) { var p = new Parser() p.end(new Buffer('1..0\n').toString('hex'), 'hex', t.end) }) }) t.test('takes a buffer just fine', function (t) { var p = new Parser(theEnd) p.write(new Buffer('TAP version 13\n')) var calledme = false function callme () { calledme = true } var calledbail = false function bailcall () { calledbail = true } p.write('ok 1 i just met you\n') p.write('ok and this is crazy\n') p.write('ok 3 - but heres my number\n') p.write('6f6b2034202d20736f2063616c6c206d65206d61796265', 'hex', callme) p.write('Bail out! then call cb on next tick') p.write('bailouts make all writes ignored right away', bailcall) process.nextTick(function () { p.end() }) function theEnd (results) { t.ok(calledme, 'called cb from normal write') t.ok(calledbail, 'called cb from post-bailout write') t.match(results, { ok: false, count: 4, pass: 4 }) t.end() } }) tap-parser-7.0.0/test/fixtures/000077500000000000000000000000001320135610000164135ustar00rootroot00000000000000tap-parser-7.0.0/test/fixtures/bailout--bail--omitversion.json000066400000000000000000000015241320135610000243620ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "Bail out! GERONIMMMOOOOOO!!!\n" ], [ "bailout", "GERONIMMMOOOOOO!!!" ], [ "complete", { "ok": false, "count": 3, "pass": 3, "fail": 0, "bailout": "GERONIMMMOOOOOO!!!", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/bailout--bail--preservewhite--omitversion.json000066400000000000000000000015241320135610000273310ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "Bail out! GERONIMMMOOOOOO!!!\n" ], [ "bailout", "GERONIMMMOOOOOO!!!" ], [ "complete", { "ok": false, "count": 3, "pass": 3, "fail": 0, "bailout": "GERONIMMMOOOOOO!!!", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/bailout--bail--preservewhite.json000066400000000000000000000015241320135610000247000ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "Bail out! GERONIMMMOOOOOO!!!\n" ], [ "bailout", "GERONIMMMOOOOOO!!!" ], [ "complete", { "ok": false, "count": 3, "pass": 3, "fail": 0, "bailout": "GERONIMMMOOOOOO!!!", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/bailout--bail.json000066400000000000000000000015241320135610000217310ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "Bail out! GERONIMMMOOOOOO!!!\n" ], [ "bailout", "GERONIMMMOOOOOO!!!" ], [ "complete", { "ok": false, "count": 3, "pass": 3, "fail": 0, "bailout": "GERONIMMMOOOOOO!!!", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/bailout--omitversion.json000066400000000000000000000015241320135610000234000ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "Bail out! GERONIMMMOOOOOO!!!\n" ], [ "bailout", "GERONIMMMOOOOOO!!!" ], [ "complete", { "ok": false, "count": 3, "pass": 3, "fail": 0, "bailout": "GERONIMMMOOOOOO!!!", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/bailout--preservewhite--omitversion.json000066400000000000000000000015241320135610000263470ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "Bail out! GERONIMMMOOOOOO!!!\n" ], [ "bailout", "GERONIMMMOOOOOO!!!" ], [ "complete", { "ok": false, "count": 3, "pass": 3, "fail": 0, "bailout": "GERONIMMMOOOOOO!!!", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/bailout--preservewhite.json000066400000000000000000000015241320135610000237160ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "Bail out! GERONIMMMOOOOOO!!!\n" ], [ "bailout", "GERONIMMMOOOOOO!!!" ], [ "complete", { "ok": false, "count": 3, "pass": 3, "fail": 0, "bailout": "GERONIMMMOOOOOO!!!", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/bailout-no-raison--bail--omitversion.json000066400000000000000000000014371320135610000262700ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 3, "pass": 3, "fail": 0, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/bailout-no-raison--bail--preservewhite--omitversion.json000066400000000000000000000014371320135610000312370ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 3, "pass": 3, "fail": 0, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/bailout-no-raison--bail--preservewhite.json000066400000000000000000000014371320135610000266060ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 3, "pass": 3, "fail": 0, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/bailout-no-raison--bail.json000066400000000000000000000014371320135610000236370ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 3, "pass": 3, "fail": 0, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/bailout-no-raison--omitversion.json000066400000000000000000000014371320135610000253060ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 3, "pass": 3, "fail": 0, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/bailout-no-raison--preservewhite--omitversion.json000066400000000000000000000014371320135610000302550ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 3, "pass": 3, "fail": 0, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/bailout-no-raison--preservewhite.json000066400000000000000000000014371320135610000256240ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 3, "pass": 3, "fail": 0, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/bailout-no-raison.json000066400000000000000000000014371320135610000226550ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 3, "pass": 3, "fail": 0, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/bailout-no-raison.tap000066400000000000000000000000501320135610000224560ustar00rootroot000000000000001..5 ok 1 ok 2 ok 3 Bail out! ok 4 ok 5 tap-parser-7.0.0/test/fixtures/bailout.json000066400000000000000000000015241320135610000207470ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "Bail out! GERONIMMMOOOOOO!!!\n" ], [ "bailout", "GERONIMMMOOOOOO!!!" ], [ "complete", { "ok": false, "count": 3, "pass": 3, "fail": 0, "bailout": "GERONIMMMOOOOOO!!!", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/bailout.tap000066400000000000000000000000741320135610000205610ustar00rootroot000000000000001..5 ok 1 ok 2 ok 3 Bail out! GERONIMMMOOOOOO!!! ok 4 ok 5 tap-parser-7.0.0/test/fixtures/basic--bail--omitversion.json000066400000000000000000000012341320135610000240020ustar00rootroot00000000000000[ [ "line", "1..6\n" ], [ "plan", { "start": 1, "end": 6 } ], [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 6, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 } ] } ] ] tap-parser-7.0.0/test/fixtures/basic--bail--preservewhite--omitversion.json000066400000000000000000000012341320135610000267510ustar00rootroot00000000000000[ [ "line", "1..6\n" ], [ "plan", { "start": 1, "end": 6 } ], [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 6, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 } ] } ] ] tap-parser-7.0.0/test/fixtures/basic--bail--preservewhite.json000066400000000000000000000012341320135610000243200ustar00rootroot00000000000000[ [ "line", "1..6\n" ], [ "plan", { "start": 1, "end": 6 } ], [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 6, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 } ] } ] ] tap-parser-7.0.0/test/fixtures/basic--bail.json000066400000000000000000000012341320135610000213510ustar00rootroot00000000000000[ [ "line", "1..6\n" ], [ "plan", { "start": 1, "end": 6 } ], [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 6, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 } ] } ] ] tap-parser-7.0.0/test/fixtures/basic--omitversion.json000066400000000000000000000024021320135610000230160ustar00rootroot00000000000000[ [ "line", "1..6\n" ], [ "plan", { "start": 1, "end": 6 } ], [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 3 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "# test count(5) != plan(6)\n" ], [ "comment", "# test count(5) != plan(6)\n" ], [ "line", "# failed 2 of 5 tests\n" ], [ "comment", "# failed 2 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 3, "fail": 2, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 6, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 }, { "ok": false, "id": 3 } ] } ] ] tap-parser-7.0.0/test/fixtures/basic--preservewhite--omitversion.json000066400000000000000000000024021320135610000257650ustar00rootroot00000000000000[ [ "line", "1..6\n" ], [ "plan", { "start": 1, "end": 6 } ], [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 3 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "# test count(5) != plan(6)\n" ], [ "comment", "# test count(5) != plan(6)\n" ], [ "line", "# failed 2 of 5 tests\n" ], [ "comment", "# failed 2 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 3, "fail": 2, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 6, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 }, { "ok": false, "id": 3 } ] } ] ] tap-parser-7.0.0/test/fixtures/basic--preservewhite.json000066400000000000000000000024021320135610000233340ustar00rootroot00000000000000[ [ "line", "1..6\n" ], [ "plan", { "start": 1, "end": 6 } ], [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 3 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "# test count(5) != plan(6)\n" ], [ "comment", "# test count(5) != plan(6)\n" ], [ "line", "# failed 2 of 5 tests\n" ], [ "comment", "# failed 2 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 3, "fail": 2, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 6, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 }, { "ok": false, "id": 3 } ] } ] ] tap-parser-7.0.0/test/fixtures/basic.json000066400000000000000000000024021320135610000203650ustar00rootroot00000000000000[ [ "line", "1..6\n" ], [ "plan", { "start": 1, "end": 6 } ], [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 3 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "# test count(5) != plan(6)\n" ], [ "comment", "# test count(5) != plan(6)\n" ], [ "line", "# failed 2 of 5 tests\n" ], [ "comment", "# failed 2 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 3, "fail": 2, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 6, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 }, { "ok": false, "id": 3 } ] } ] ] tap-parser-7.0.0/test/fixtures/basic.tap000066400000000000000000000000341320135610000201770ustar00rootroot000000000000001..6 not ok ok not ok ok ok tap-parser-7.0.0/test/fixtures/big-last--bail--omitversion.json000066400000000000000000000024741320135610000244320ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 6\n" ], [ "assert", { "ok": true, "id": 6, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 5 } } ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 6, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 5 } } ] } ] ] tap-parser-7.0.0/test/fixtures/big-last--bail--preservewhite--omitversion.json000066400000000000000000000024741320135610000274010ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 6\n" ], [ "assert", { "ok": true, "id": 6, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 5 } } ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 6, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 5 } } ] } ] ] tap-parser-7.0.0/test/fixtures/big-last--bail--preservewhite.json000066400000000000000000000026071320135610000247460ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 6\n" ], [ "assert", { "ok": true, "id": 6, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 5 } } ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 6, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 5 } } ] } ] ] tap-parser-7.0.0/test/fixtures/big-last--bail.json000066400000000000000000000026071320135610000217770ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 6\n" ], [ "assert", { "ok": true, "id": 6, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 5 } } ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 6, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 5 } } ] } ] ] tap-parser-7.0.0/test/fixtures/big-last--omitversion.json000066400000000000000000000024741320135610000234500ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 6\n" ], [ "assert", { "ok": true, "id": 6, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 5 } } ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 6, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 5 } } ] } ] ] tap-parser-7.0.0/test/fixtures/big-last--preservewhite--omitversion.json000066400000000000000000000024741320135610000264170ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 6\n" ], [ "assert", { "ok": true, "id": 6, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 5 } } ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 6, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 5 } } ] } ] ] tap-parser-7.0.0/test/fixtures/big-last--preservewhite.json000066400000000000000000000026071320135610000237640ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 6\n" ], [ "assert", { "ok": true, "id": 6, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 5 } } ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 6, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 5 } } ] } ] ] tap-parser-7.0.0/test/fixtures/big-last.json000066400000000000000000000026071320135610000210150ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 6\n" ], [ "assert", { "ok": true, "id": 6, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 5 } } ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 6, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 5 } } ] } ] ] tap-parser-7.0.0/test/fixtures/big-last.tap000066400000000000000000000000551320135610000206230ustar00rootroot00000000000000TAP version 13 1..5 ok 1 ok 2 ok 3 ok 4 ok 6 tap-parser-7.0.0/test/fixtures/bignum--bail--omitversion.json000066400000000000000000000032431320135610000242040ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 136211425\n" ], [ "assert", { "ok": true, "id": 136211425, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 136211426\n" ], [ "assert", { "ok": true, "id": 136211426, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "# test count(4) != plan(2)\n" ], [ "comment", "# test count(4) != plan(2)\n" ], [ "line", "# failed 2 of 4 tests\n" ], [ "comment", "# failed 2 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 2, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 136211425, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 136211426, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ] } ] ] tap-parser-7.0.0/test/fixtures/bignum--bail--preservewhite--omitversion.json000066400000000000000000000032431320135610000271530ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 136211425\n" ], [ "assert", { "ok": true, "id": 136211425, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 136211426\n" ], [ "assert", { "ok": true, "id": 136211426, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "# test count(4) != plan(2)\n" ], [ "comment", "# test count(4) != plan(2)\n" ], [ "line", "# failed 2 of 4 tests\n" ], [ "comment", "# failed 2 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 2, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 136211425, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 136211426, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ] } ] ] tap-parser-7.0.0/test/fixtures/bignum--bail--preservewhite.json000066400000000000000000000032431320135610000245220ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 136211425\n" ], [ "assert", { "ok": true, "id": 136211425, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 136211426\n" ], [ "assert", { "ok": true, "id": 136211426, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "# test count(4) != plan(2)\n" ], [ "comment", "# test count(4) != plan(2)\n" ], [ "line", "# failed 2 of 4 tests\n" ], [ "comment", "# failed 2 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 2, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 136211425, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 136211426, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ] } ] ] tap-parser-7.0.0/test/fixtures/bignum--bail.json000066400000000000000000000032431320135610000215530ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 136211425\n" ], [ "assert", { "ok": true, "id": 136211425, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 136211426\n" ], [ "assert", { "ok": true, "id": 136211426, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "# test count(4) != plan(2)\n" ], [ "comment", "# test count(4) != plan(2)\n" ], [ "line", "# failed 2 of 4 tests\n" ], [ "comment", "# failed 2 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 2, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 136211425, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 136211426, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ] } ] ] tap-parser-7.0.0/test/fixtures/bignum--omitversion.json000066400000000000000000000032431320135610000232220ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 136211425\n" ], [ "assert", { "ok": true, "id": 136211425, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 136211426\n" ], [ "assert", { "ok": true, "id": 136211426, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "# test count(4) != plan(2)\n" ], [ "comment", "# test count(4) != plan(2)\n" ], [ "line", "# failed 2 of 4 tests\n" ], [ "comment", "# failed 2 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 2, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 136211425, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 136211426, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ] } ] ] tap-parser-7.0.0/test/fixtures/bignum--preservewhite--omitversion.json000066400000000000000000000032431320135610000261710ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 136211425\n" ], [ "assert", { "ok": true, "id": 136211425, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 136211426\n" ], [ "assert", { "ok": true, "id": 136211426, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "# test count(4) != plan(2)\n" ], [ "comment", "# test count(4) != plan(2)\n" ], [ "line", "# failed 2 of 4 tests\n" ], [ "comment", "# failed 2 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 2, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 136211425, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 136211426, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ] } ] ] tap-parser-7.0.0/test/fixtures/bignum--preservewhite.json000066400000000000000000000032431320135610000235400ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 136211425\n" ], [ "assert", { "ok": true, "id": 136211425, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 136211426\n" ], [ "assert", { "ok": true, "id": 136211426, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "# test count(4) != plan(2)\n" ], [ "comment", "# test count(4) != plan(2)\n" ], [ "line", "# failed 2 of 4 tests\n" ], [ "comment", "# failed 2 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 2, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 136211425, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 136211426, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ] } ] ] tap-parser-7.0.0/test/fixtures/bignum.json000066400000000000000000000032431320135610000205710ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 136211425\n" ], [ "assert", { "ok": true, "id": 136211425, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 136211426\n" ], [ "assert", { "ok": true, "id": 136211426, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "# test count(4) != plan(2)\n" ], [ "comment", "# test count(4) != plan(2)\n" ], [ "line", "# failed 2 of 4 tests\n" ], [ "comment", "# failed 2 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 2, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 136211425, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 136211426, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ] } ] ] tap-parser-7.0.0/test/fixtures/bignum.tap000066400000000000000000000000511320135610000203760ustar00rootroot000000000000001..2 ok 1 ok 2 ok 136211425 ok 136211426 tap-parser-7.0.0/test/fixtures/bignum_many--bail--omitversion.json000066400000000000000000000107311320135610000252300ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 99997\n" ], [ "assert", { "ok": true, "id": 99997, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 99998\n" ], [ "assert", { "ok": true, "id": 99998, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 99999\n" ], [ "assert", { "ok": true, "id": 99999, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100000\n" ], [ "assert", { "ok": true, "id": 100000, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100001\n" ], [ "assert", { "ok": true, "id": 100001, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100002\n" ], [ "assert", { "ok": true, "id": 100002, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100003\n" ], [ "assert", { "ok": true, "id": 100003, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100004\n" ], [ "assert", { "ok": true, "id": 100004, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100005\n" ], [ "assert", { "ok": true, "id": 100005, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "# test count(11) != plan(2)\n" ], [ "comment", "# test count(11) != plan(2)\n" ], [ "line", "# failed 9 of 11 tests\n" ], [ "comment", "# failed 9 of 11 tests\n" ], [ "complete", { "ok": false, "count": 11, "pass": 11, "fail": 9, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 99997, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 99998, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 99999, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100000, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100001, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100002, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100003, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100004, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100005, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ] } ] ] tap-parser-7.0.0/test/fixtures/bignum_many--bail--preservewhite--omitversion.json000066400000000000000000000107311320135610000301770ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 99997\n" ], [ "assert", { "ok": true, "id": 99997, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 99998\n" ], [ "assert", { "ok": true, "id": 99998, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 99999\n" ], [ "assert", { "ok": true, "id": 99999, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100000\n" ], [ "assert", { "ok": true, "id": 100000, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100001\n" ], [ "assert", { "ok": true, "id": 100001, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100002\n" ], [ "assert", { "ok": true, "id": 100002, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100003\n" ], [ "assert", { "ok": true, "id": 100003, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100004\n" ], [ "assert", { "ok": true, "id": 100004, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100005\n" ], [ "assert", { "ok": true, "id": 100005, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "# test count(11) != plan(2)\n" ], [ "comment", "# test count(11) != plan(2)\n" ], [ "line", "# failed 9 of 11 tests\n" ], [ "comment", "# failed 9 of 11 tests\n" ], [ "complete", { "ok": false, "count": 11, "pass": 11, "fail": 9, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 99997, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 99998, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 99999, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100000, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100001, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100002, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100003, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100004, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100005, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ] } ] ] tap-parser-7.0.0/test/fixtures/bignum_many--bail--preservewhite.json000066400000000000000000000107311320135610000255460ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 99997\n" ], [ "assert", { "ok": true, "id": 99997, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 99998\n" ], [ "assert", { "ok": true, "id": 99998, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 99999\n" ], [ "assert", { "ok": true, "id": 99999, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100000\n" ], [ "assert", { "ok": true, "id": 100000, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100001\n" ], [ "assert", { "ok": true, "id": 100001, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100002\n" ], [ "assert", { "ok": true, "id": 100002, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100003\n" ], [ "assert", { "ok": true, "id": 100003, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100004\n" ], [ "assert", { "ok": true, "id": 100004, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100005\n" ], [ "assert", { "ok": true, "id": 100005, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "# test count(11) != plan(2)\n" ], [ "comment", "# test count(11) != plan(2)\n" ], [ "line", "# failed 9 of 11 tests\n" ], [ "comment", "# failed 9 of 11 tests\n" ], [ "complete", { "ok": false, "count": 11, "pass": 11, "fail": 9, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 99997, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 99998, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 99999, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100000, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100001, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100002, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100003, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100004, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100005, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ] } ] ] tap-parser-7.0.0/test/fixtures/bignum_many--bail.json000066400000000000000000000107311320135610000225770ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 99997\n" ], [ "assert", { "ok": true, "id": 99997, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 99998\n" ], [ "assert", { "ok": true, "id": 99998, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 99999\n" ], [ "assert", { "ok": true, "id": 99999, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100000\n" ], [ "assert", { "ok": true, "id": 100000, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100001\n" ], [ "assert", { "ok": true, "id": 100001, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100002\n" ], [ "assert", { "ok": true, "id": 100002, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100003\n" ], [ "assert", { "ok": true, "id": 100003, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100004\n" ], [ "assert", { "ok": true, "id": 100004, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100005\n" ], [ "assert", { "ok": true, "id": 100005, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "# test count(11) != plan(2)\n" ], [ "comment", "# test count(11) != plan(2)\n" ], [ "line", "# failed 9 of 11 tests\n" ], [ "comment", "# failed 9 of 11 tests\n" ], [ "complete", { "ok": false, "count": 11, "pass": 11, "fail": 9, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 99997, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 99998, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 99999, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100000, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100001, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100002, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100003, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100004, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100005, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ] } ] ] tap-parser-7.0.0/test/fixtures/bignum_many--omitversion.json000066400000000000000000000107311320135610000242460ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 99997\n" ], [ "assert", { "ok": true, "id": 99997, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 99998\n" ], [ "assert", { "ok": true, "id": 99998, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 99999\n" ], [ "assert", { "ok": true, "id": 99999, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100000\n" ], [ "assert", { "ok": true, "id": 100000, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100001\n" ], [ "assert", { "ok": true, "id": 100001, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100002\n" ], [ "assert", { "ok": true, "id": 100002, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100003\n" ], [ "assert", { "ok": true, "id": 100003, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100004\n" ], [ "assert", { "ok": true, "id": 100004, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100005\n" ], [ "assert", { "ok": true, "id": 100005, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "# test count(11) != plan(2)\n" ], [ "comment", "# test count(11) != plan(2)\n" ], [ "line", "# failed 9 of 11 tests\n" ], [ "comment", "# failed 9 of 11 tests\n" ], [ "complete", { "ok": false, "count": 11, "pass": 11, "fail": 9, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 99997, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 99998, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 99999, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100000, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100001, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100002, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100003, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100004, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100005, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ] } ] ] tap-parser-7.0.0/test/fixtures/bignum_many--preservewhite--omitversion.json000066400000000000000000000107311320135610000272150ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 99997\n" ], [ "assert", { "ok": true, "id": 99997, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 99998\n" ], [ "assert", { "ok": true, "id": 99998, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 99999\n" ], [ "assert", { "ok": true, "id": 99999, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100000\n" ], [ "assert", { "ok": true, "id": 100000, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100001\n" ], [ "assert", { "ok": true, "id": 100001, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100002\n" ], [ "assert", { "ok": true, "id": 100002, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100003\n" ], [ "assert", { "ok": true, "id": 100003, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100004\n" ], [ "assert", { "ok": true, "id": 100004, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100005\n" ], [ "assert", { "ok": true, "id": 100005, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "# test count(11) != plan(2)\n" ], [ "comment", "# test count(11) != plan(2)\n" ], [ "line", "# failed 9 of 11 tests\n" ], [ "comment", "# failed 9 of 11 tests\n" ], [ "complete", { "ok": false, "count": 11, "pass": 11, "fail": 9, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 99997, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 99998, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 99999, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100000, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100001, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100002, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100003, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100004, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100005, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ] } ] ] tap-parser-7.0.0/test/fixtures/bignum_many--preservewhite.json000066400000000000000000000107311320135610000245640ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 99997\n" ], [ "assert", { "ok": true, "id": 99997, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 99998\n" ], [ "assert", { "ok": true, "id": 99998, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 99999\n" ], [ "assert", { "ok": true, "id": 99999, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100000\n" ], [ "assert", { "ok": true, "id": 100000, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100001\n" ], [ "assert", { "ok": true, "id": 100001, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100002\n" ], [ "assert", { "ok": true, "id": 100002, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100003\n" ], [ "assert", { "ok": true, "id": 100003, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100004\n" ], [ "assert", { "ok": true, "id": 100004, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100005\n" ], [ "assert", { "ok": true, "id": 100005, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "# test count(11) != plan(2)\n" ], [ "comment", "# test count(11) != plan(2)\n" ], [ "line", "# failed 9 of 11 tests\n" ], [ "comment", "# failed 9 of 11 tests\n" ], [ "complete", { "ok": false, "count": 11, "pass": 11, "fail": 9, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 99997, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 99998, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 99999, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100000, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100001, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100002, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100003, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100004, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100005, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ] } ] ] tap-parser-7.0.0/test/fixtures/bignum_many.json000066400000000000000000000107311320135610000216150ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 99997\n" ], [ "assert", { "ok": true, "id": 99997, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 99998\n" ], [ "assert", { "ok": true, "id": 99998, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 99999\n" ], [ "assert", { "ok": true, "id": 99999, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100000\n" ], [ "assert", { "ok": true, "id": 100000, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100001\n" ], [ "assert", { "ok": true, "id": 100001, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100002\n" ], [ "assert", { "ok": true, "id": 100002, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100003\n" ], [ "assert", { "ok": true, "id": 100003, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100004\n" ], [ "assert", { "ok": true, "id": 100004, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "ok 100005\n" ], [ "assert", { "ok": true, "id": 100005, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ], [ "line", "# test count(11) != plan(2)\n" ], [ "comment", "# test count(11) != plan(2)\n" ], [ "line", "# failed 9 of 11 tests\n" ], [ "comment", "# failed 9 of 11 tests\n" ], [ "complete", { "ok": false, "count": 11, "pass": 11, "fail": 9, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 99997, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 99998, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 99999, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100000, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100001, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100002, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100003, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100004, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } }, { "ok": true, "id": 100005, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 2 } } ] } ] ] tap-parser-7.0.0/test/fixtures/bignum_many.tap000066400000000000000000000001461320135610000214270ustar00rootroot000000000000001..2 ok 1 ok 2 ok 99997 ok 99998 ok 99999 ok 100000 ok 100001 ok 100002 ok 100003 ok 100004 ok 100005 tap-parser-7.0.0/test/fixtures/broken-yamlish-looks-like-child--bail--omitversion.json000066400000000000000000000024371320135610000310030ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1 - callback happened\n" ], [ "assert", { "ok": true, "id": 1, "name": "callback happened" } ], [ "line", " ok:\n" ], [ "extra", " ok:\n" ], [ "line", " - I wished for a bailout!\n" ], [ "extra", " - I wished for a bailout!\n" ], [ "line", " - lots of other shapes here can look like valid tap\n" ], [ "extra", " - lots of other shapes here can look like valid tap\n" ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "line", "ok 2 - child test\n" ], [ "assert", { "ok": true, "id": 2, "name": "child test" } ], [ "line", "ok 3 - should come last\n" ], [ "assert", { "ok": true, "id": 3, "name": "should come last" } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] broken-yamlish-looks-like-child--bail--preservewhite--omitversion.json000066400000000000000000000024371320135610000336730ustar00rootroot00000000000000tap-parser-7.0.0/test/fixtures[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1 - callback happened\n" ], [ "assert", { "ok": true, "id": 1, "name": "callback happened" } ], [ "line", " ok:\n" ], [ "extra", " ok:\n" ], [ "line", " - I wished for a bailout!\n" ], [ "extra", " - I wished for a bailout!\n" ], [ "line", " - lots of other shapes here can look like valid tap\n" ], [ "extra", " - lots of other shapes here can look like valid tap\n" ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "line", "ok 2 - child test\n" ], [ "assert", { "ok": true, "id": 2, "name": "child test" } ], [ "line", "ok 3 - should come last\n" ], [ "assert", { "ok": true, "id": 3, "name": "should come last" } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/broken-yamlish-looks-like-child--bail--preservewhite.json000066400000000000000000000024371320135610000313210ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1 - callback happened\n" ], [ "assert", { "ok": true, "id": 1, "name": "callback happened" } ], [ "line", " ok:\n" ], [ "extra", " ok:\n" ], [ "line", " - I wished for a bailout!\n" ], [ "extra", " - I wished for a bailout!\n" ], [ "line", " - lots of other shapes here can look like valid tap\n" ], [ "extra", " - lots of other shapes here can look like valid tap\n" ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "line", "ok 2 - child test\n" ], [ "assert", { "ok": true, "id": 2, "name": "child test" } ], [ "line", "ok 3 - should come last\n" ], [ "assert", { "ok": true, "id": 3, "name": "should come last" } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/broken-yamlish-looks-like-child--bail.json000066400000000000000000000024371320135610000263520ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1 - callback happened\n" ], [ "assert", { "ok": true, "id": 1, "name": "callback happened" } ], [ "line", " ok:\n" ], [ "extra", " ok:\n" ], [ "line", " - I wished for a bailout!\n" ], [ "extra", " - I wished for a bailout!\n" ], [ "line", " - lots of other shapes here can look like valid tap\n" ], [ "extra", " - lots of other shapes here can look like valid tap\n" ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "line", "ok 2 - child test\n" ], [ "assert", { "ok": true, "id": 2, "name": "child test" } ], [ "line", "ok 3 - should come last\n" ], [ "assert", { "ok": true, "id": 3, "name": "should come last" } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/broken-yamlish-looks-like-child--omitversion.json000066400000000000000000000024371320135610000300210ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1 - callback happened\n" ], [ "assert", { "ok": true, "id": 1, "name": "callback happened" } ], [ "line", " ok:\n" ], [ "extra", " ok:\n" ], [ "line", " - I wished for a bailout!\n" ], [ "extra", " - I wished for a bailout!\n" ], [ "line", " - lots of other shapes here can look like valid tap\n" ], [ "extra", " - lots of other shapes here can look like valid tap\n" ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "line", "ok 2 - child test\n" ], [ "assert", { "ok": true, "id": 2, "name": "child test" } ], [ "line", "ok 3 - should come last\n" ], [ "assert", { "ok": true, "id": 3, "name": "should come last" } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/broken-yamlish-looks-like-child--preservewhite--omitversion.json000066400000000000000000000024371320135610000327700ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1 - callback happened\n" ], [ "assert", { "ok": true, "id": 1, "name": "callback happened" } ], [ "line", " ok:\n" ], [ "extra", " ok:\n" ], [ "line", " - I wished for a bailout!\n" ], [ "extra", " - I wished for a bailout!\n" ], [ "line", " - lots of other shapes here can look like valid tap\n" ], [ "extra", " - lots of other shapes here can look like valid tap\n" ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "line", "ok 2 - child test\n" ], [ "assert", { "ok": true, "id": 2, "name": "child test" } ], [ "line", "ok 3 - should come last\n" ], [ "assert", { "ok": true, "id": 3, "name": "should come last" } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/broken-yamlish-looks-like-child--preservewhite.json000066400000000000000000000024371320135610000303370ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1 - callback happened\n" ], [ "assert", { "ok": true, "id": 1, "name": "callback happened" } ], [ "line", " ok:\n" ], [ "extra", " ok:\n" ], [ "line", " - I wished for a bailout!\n" ], [ "extra", " - I wished for a bailout!\n" ], [ "line", " - lots of other shapes here can look like valid tap\n" ], [ "extra", " - lots of other shapes here can look like valid tap\n" ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "line", "ok 2 - child test\n" ], [ "assert", { "ok": true, "id": 2, "name": "child test" } ], [ "line", "ok 3 - should come last\n" ], [ "assert", { "ok": true, "id": 3, "name": "should come last" } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/broken-yamlish-looks-like-child.json000066400000000000000000000024371320135610000253700ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1 - callback happened\n" ], [ "assert", { "ok": true, "id": 1, "name": "callback happened" } ], [ "line", " ok:\n" ], [ "extra", " ok:\n" ], [ "line", " - I wished for a bailout!\n" ], [ "extra", " - I wished for a bailout!\n" ], [ "line", " - lots of other shapes here can look like valid tap\n" ], [ "extra", " - lots of other shapes here can look like valid tap\n" ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "line", "ok 2 - child test\n" ], [ "assert", { "ok": true, "id": 2, "name": "child test" } ], [ "line", "ok 3 - should come last\n" ], [ "assert", { "ok": true, "id": 3, "name": "should come last" } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/broken-yamlish-looks-like-child.tap000066400000000000000000000002541320135610000251760ustar00rootroot000000000000001..3 ok 1 - callback happened ok: - I wished for a bailout! - lots of other shapes here can look like valid tap ... ok 2 - child test ok 3 - should come last tap-parser-7.0.0/test/fixtures/broken-yamlish-with-nonbroken-yamlish--bail--omitversion.json000066400000000000000000000033121320135610000322520ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1 - callback happened\n" ], [ "line", " # comment here too, why not?\n" ], [ "line", " ---\n" ], [ "line", " # also this is a comment\n" ], [ "line", " ok: this time I mean it\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 1, "name": "callback happened", "diag": { "ok": "this time I mean it" } } ], [ "line", " ok:\n" ], [ "extra", " ok:\n" ], [ "line", " # comment here too, why not?\n" ], [ "comment", " # comment here too, why not?\n" ], [ "line", " - I wished for a bailout!\n" ], [ "extra", " - I wished for a bailout!\n" ], [ "line", " - lots of other shapes here can look like valid tap\n" ], [ "extra", " - lots of other shapes here can look like valid tap\n" ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "line", "ok 2 - child test\n" ], [ "assert", { "ok": true, "id": 2, "name": "child test" } ], [ "line", "ok 3 - should come last\n" ], [ "assert", { "ok": true, "id": 3, "name": "should come last" } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] broken-yamlish-with-nonbroken-yamlish--bail--preservewhite--omitversion.json000066400000000000000000000033121320135610000351420ustar00rootroot00000000000000tap-parser-7.0.0/test/fixtures[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1 - callback happened\n" ], [ "line", " # comment here too, why not?\n" ], [ "line", " ---\n" ], [ "line", " # also this is a comment\n" ], [ "line", " ok: this time I mean it\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 1, "name": "callback happened", "diag": { "ok": "this time I mean it" } } ], [ "line", " ok:\n" ], [ "extra", " ok:\n" ], [ "line", " # comment here too, why not?\n" ], [ "comment", " # comment here too, why not?\n" ], [ "line", " - I wished for a bailout!\n" ], [ "extra", " - I wished for a bailout!\n" ], [ "line", " - lots of other shapes here can look like valid tap\n" ], [ "extra", " - lots of other shapes here can look like valid tap\n" ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "line", "ok 2 - child test\n" ], [ "assert", { "ok": true, "id": 2, "name": "child test" } ], [ "line", "ok 3 - should come last\n" ], [ "assert", { "ok": true, "id": 3, "name": "should come last" } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/broken-yamlish-with-nonbroken-yamlish--bail--preservewhite.json000066400000000000000000000033121320135610000325700ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1 - callback happened\n" ], [ "line", " # comment here too, why not?\n" ], [ "line", " ---\n" ], [ "line", " # also this is a comment\n" ], [ "line", " ok: this time I mean it\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 1, "name": "callback happened", "diag": { "ok": "this time I mean it" } } ], [ "line", " ok:\n" ], [ "extra", " ok:\n" ], [ "line", " # comment here too, why not?\n" ], [ "comment", " # comment here too, why not?\n" ], [ "line", " - I wished for a bailout!\n" ], [ "extra", " - I wished for a bailout!\n" ], [ "line", " - lots of other shapes here can look like valid tap\n" ], [ "extra", " - lots of other shapes here can look like valid tap\n" ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "line", "ok 2 - child test\n" ], [ "assert", { "ok": true, "id": 2, "name": "child test" } ], [ "line", "ok 3 - should come last\n" ], [ "assert", { "ok": true, "id": 3, "name": "should come last" } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/broken-yamlish-with-nonbroken-yamlish--bail.json000066400000000000000000000033121320135610000276210ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1 - callback happened\n" ], [ "line", " # comment here too, why not?\n" ], [ "line", " ---\n" ], [ "line", " # also this is a comment\n" ], [ "line", " ok: this time I mean it\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 1, "name": "callback happened", "diag": { "ok": "this time I mean it" } } ], [ "line", " ok:\n" ], [ "extra", " ok:\n" ], [ "line", " # comment here too, why not?\n" ], [ "comment", " # comment here too, why not?\n" ], [ "line", " - I wished for a bailout!\n" ], [ "extra", " - I wished for a bailout!\n" ], [ "line", " - lots of other shapes here can look like valid tap\n" ], [ "extra", " - lots of other shapes here can look like valid tap\n" ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "line", "ok 2 - child test\n" ], [ "assert", { "ok": true, "id": 2, "name": "child test" } ], [ "line", "ok 3 - should come last\n" ], [ "assert", { "ok": true, "id": 3, "name": "should come last" } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/broken-yamlish-with-nonbroken-yamlish--omitversion.json000066400000000000000000000033121320135610000312700ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1 - callback happened\n" ], [ "line", " # comment here too, why not?\n" ], [ "line", " ---\n" ], [ "line", " # also this is a comment\n" ], [ "line", " ok: this time I mean it\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 1, "name": "callback happened", "diag": { "ok": "this time I mean it" } } ], [ "line", " ok:\n" ], [ "extra", " ok:\n" ], [ "line", " # comment here too, why not?\n" ], [ "comment", " # comment here too, why not?\n" ], [ "line", " - I wished for a bailout!\n" ], [ "extra", " - I wished for a bailout!\n" ], [ "line", " - lots of other shapes here can look like valid tap\n" ], [ "extra", " - lots of other shapes here can look like valid tap\n" ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "line", "ok 2 - child test\n" ], [ "assert", { "ok": true, "id": 2, "name": "child test" } ], [ "line", "ok 3 - should come last\n" ], [ "assert", { "ok": true, "id": 3, "name": "should come last" } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] broken-yamlish-with-nonbroken-yamlish--preservewhite--omitversion.json000066400000000000000000000033121320135610000341600ustar00rootroot00000000000000tap-parser-7.0.0/test/fixtures[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1 - callback happened\n" ], [ "line", " # comment here too, why not?\n" ], [ "line", " ---\n" ], [ "line", " # also this is a comment\n" ], [ "line", " ok: this time I mean it\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 1, "name": "callback happened", "diag": { "ok": "this time I mean it" } } ], [ "line", " ok:\n" ], [ "extra", " ok:\n" ], [ "line", " # comment here too, why not?\n" ], [ "comment", " # comment here too, why not?\n" ], [ "line", " - I wished for a bailout!\n" ], [ "extra", " - I wished for a bailout!\n" ], [ "line", " - lots of other shapes here can look like valid tap\n" ], [ "extra", " - lots of other shapes here can look like valid tap\n" ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "line", "ok 2 - child test\n" ], [ "assert", { "ok": true, "id": 2, "name": "child test" } ], [ "line", "ok 3 - should come last\n" ], [ "assert", { "ok": true, "id": 3, "name": "should come last" } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/broken-yamlish-with-nonbroken-yamlish--preservewhite.json000066400000000000000000000033121320135610000316060ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1 - callback happened\n" ], [ "line", " # comment here too, why not?\n" ], [ "line", " ---\n" ], [ "line", " # also this is a comment\n" ], [ "line", " ok: this time I mean it\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 1, "name": "callback happened", "diag": { "ok": "this time I mean it" } } ], [ "line", " ok:\n" ], [ "extra", " ok:\n" ], [ "line", " # comment here too, why not?\n" ], [ "comment", " # comment here too, why not?\n" ], [ "line", " - I wished for a bailout!\n" ], [ "extra", " - I wished for a bailout!\n" ], [ "line", " - lots of other shapes here can look like valid tap\n" ], [ "extra", " - lots of other shapes here can look like valid tap\n" ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "line", "ok 2 - child test\n" ], [ "assert", { "ok": true, "id": 2, "name": "child test" } ], [ "line", "ok 3 - should come last\n" ], [ "assert", { "ok": true, "id": 3, "name": "should come last" } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/broken-yamlish-with-nonbroken-yamlish.json000066400000000000000000000033121320135610000266370ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1 - callback happened\n" ], [ "line", " # comment here too, why not?\n" ], [ "line", " ---\n" ], [ "line", " # also this is a comment\n" ], [ "line", " ok: this time I mean it\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 1, "name": "callback happened", "diag": { "ok": "this time I mean it" } } ], [ "line", " ok:\n" ], [ "extra", " ok:\n" ], [ "line", " # comment here too, why not?\n" ], [ "comment", " # comment here too, why not?\n" ], [ "line", " - I wished for a bailout!\n" ], [ "extra", " - I wished for a bailout!\n" ], [ "line", " - lots of other shapes here can look like valid tap\n" ], [ "extra", " - lots of other shapes here can look like valid tap\n" ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "line", "ok 2 - child test\n" ], [ "assert", { "ok": true, "id": 2, "name": "child test" } ], [ "line", "ok 3 - should come last\n" ], [ "assert", { "ok": true, "id": 3, "name": "should come last" } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/broken-yamlish-with-nonbroken-yamlish.tap000066400000000000000000000004121320135610000264500ustar00rootroot000000000000001..3 ok 1 - callback happened ok: # comment here too, why not? - I wished for a bailout! - lots of other shapes here can look like valid tap ... --- # also this is a comment ok: this time I mean it ... ok 2 - child test ok 3 - should come last tap-parser-7.0.0/test/fixtures/buffered-nested-failure-top-ok--bail--omitversion.json000066400000000000000000000035761320135610000306320ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 - my kids are fine {\n" ], [ "child", [ [ "comment", "# Subtest: my kids are fine\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok - no they aren't\n" ], [ "assert", { "ok": false, "id": 1, "name": "no they aren't" } ], [ "line", "Bail out! # no they aren't\n" ], [ "bailout", "# no they aren't" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# no they aren't", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "no they aren't" } ] } ] ] ], [ "line", " 1..1\n" ], [ "line", " not ok - no they aren't\n" ], [ "line", " Bail out! # no they aren't\n" ], [ "bailout", "# no they aren't" ], [ "line", "}\n" ], [ "line", "Bail out! # no they aren't\n" ], [ "complete", { "ok": false, "count": 0, "pass": 0, "fail": 0, "bailout": "# no they aren't", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/buffered-nested-failure-top-ok--bail--preservewhite--omitversion.json000066400000000000000000000035761320135610000336010ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 - my kids are fine {\n" ], [ "child", [ [ "comment", "# Subtest: my kids are fine\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok - no they aren't\n" ], [ "assert", { "ok": false, "id": 1, "name": "no they aren't" } ], [ "line", "Bail out! # no they aren't\n" ], [ "bailout", "# no they aren't" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# no they aren't", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "no they aren't" } ] } ] ] ], [ "line", " 1..1\n" ], [ "line", " not ok - no they aren't\n" ], [ "line", " Bail out! # no they aren't\n" ], [ "bailout", "# no they aren't" ], [ "line", "}\n" ], [ "line", "Bail out! # no they aren't\n" ], [ "complete", { "ok": false, "count": 0, "pass": 0, "fail": 0, "bailout": "# no they aren't", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/buffered-nested-failure-top-ok--bail--preservewhite.json000066400000000000000000000037111320135610000311370ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 - my kids are fine {\n" ], [ "child", [ [ "comment", "# Subtest: my kids are fine\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok - no they aren't\n" ], [ "assert", { "ok": false, "id": 1, "name": "no they aren't" } ], [ "line", "Bail out! # no they aren't\n" ], [ "bailout", "# no they aren't" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# no they aren't", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "no they aren't" } ] } ] ] ], [ "line", " 1..1\n" ], [ "line", " not ok - no they aren't\n" ], [ "line", " Bail out! # no they aren't\n" ], [ "bailout", "# no they aren't" ], [ "line", "}\n" ], [ "line", "Bail out! # no they aren't\n" ], [ "complete", { "ok": false, "count": 0, "pass": 0, "fail": 0, "bailout": "# no they aren't", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/buffered-nested-failure-top-ok--bail.json000066400000000000000000000037111320135610000261700ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 - my kids are fine {\n" ], [ "child", [ [ "comment", "# Subtest: my kids are fine\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok - no they aren't\n" ], [ "assert", { "ok": false, "id": 1, "name": "no they aren't" } ], [ "line", "Bail out! # no they aren't\n" ], [ "bailout", "# no they aren't" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# no they aren't", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "no they aren't" } ] } ] ] ], [ "line", " 1..1\n" ], [ "line", " not ok - no they aren't\n" ], [ "line", " Bail out! # no they aren't\n" ], [ "bailout", "# no they aren't" ], [ "line", "}\n" ], [ "line", "Bail out! # no they aren't\n" ], [ "complete", { "ok": false, "count": 0, "pass": 0, "fail": 0, "bailout": "# no they aren't", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/buffered-nested-failure-top-ok--omitversion.json000066400000000000000000000035451320135610000276440ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 - my kids are fine {\n" ], [ "child", [ [ "comment", "# Subtest: my kids are fine\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok - no they aren't\n" ], [ "assert", { "ok": false, "id": 1, "name": "no they aren't" } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "no they aren't" } ] } ] ] ], [ "line", " 1..1\n" ], [ "line", " not ok - no they aren't\n" ], [ "line", " # failed 1 test\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "my kids are fine" } ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/buffered-nested-failure-top-ok--preservewhite--omitversion.json000066400000000000000000000035451320135610000326130ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 - my kids are fine {\n" ], [ "child", [ [ "comment", "# Subtest: my kids are fine\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok - no they aren't\n" ], [ "assert", { "ok": false, "id": 1, "name": "no they aren't" } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "no they aren't" } ] } ] ] ], [ "line", " 1..1\n" ], [ "line", " not ok - no they aren't\n" ], [ "line", " # failed 1 test\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "my kids are fine" } ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/buffered-nested-failure-top-ok--preservewhite.json000066400000000000000000000036601320135610000301600ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 - my kids are fine {\n" ], [ "child", [ [ "comment", "# Subtest: my kids are fine\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok - no they aren't\n" ], [ "assert", { "ok": false, "id": 1, "name": "no they aren't" } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "no they aren't" } ] } ] ] ], [ "line", " 1..1\n" ], [ "line", " not ok - no they aren't\n" ], [ "line", " # failed 1 test\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "my kids are fine" } ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/buffered-nested-failure-top-ok-diag--bail--omitversion.json000066400000000000000000000040131320135610000315170ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 - my kids are fine\n" ], [ "line", " ---\n" ], [ "line", " some: diag\n" ], [ "line", " ...\n" ], [ "line", "{\n" ], [ "child", [ [ "comment", "# Subtest: my kids are fine\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok - no they aren't\n" ], [ "assert", { "ok": false, "id": 1, "name": "no they aren't" } ], [ "line", "Bail out! # no they aren't\n" ], [ "bailout", "# no they aren't" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# no they aren't", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "no they aren't" } ] } ] ] ], [ "line", " 1..1\n" ], [ "line", " not ok - no they aren't\n" ], [ "line", " Bail out! # no they aren't\n" ], [ "bailout", "# no they aren't" ], [ "line", "}\n" ], [ "line", "Bail out! # no they aren't\n" ], [ "complete", { "ok": false, "count": 0, "pass": 0, "fail": 0, "bailout": "# no they aren't", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] buffered-nested-failure-top-ok-diag--bail--preservewhite--omitversion.json000066400000000000000000000040131320135610000344070ustar00rootroot00000000000000tap-parser-7.0.0/test/fixtures[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 - my kids are fine\n" ], [ "line", " ---\n" ], [ "line", " some: diag\n" ], [ "line", " ...\n" ], [ "line", "{\n" ], [ "child", [ [ "comment", "# Subtest: my kids are fine\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok - no they aren't\n" ], [ "assert", { "ok": false, "id": 1, "name": "no they aren't" } ], [ "line", "Bail out! # no they aren't\n" ], [ "bailout", "# no they aren't" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# no they aren't", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "no they aren't" } ] } ] ] ], [ "line", " 1..1\n" ], [ "line", " not ok - no they aren't\n" ], [ "line", " Bail out! # no they aren't\n" ], [ "bailout", "# no they aren't" ], [ "line", "}\n" ], [ "line", "Bail out! # no they aren't\n" ], [ "complete", { "ok": false, "count": 0, "pass": 0, "fail": 0, "bailout": "# no they aren't", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/buffered-nested-failure-top-ok-diag--bail--preservewhite.json000066400000000000000000000041261320135610000320420ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 - my kids are fine\n" ], [ "line", " ---\n" ], [ "line", " some: diag\n" ], [ "line", " ...\n" ], [ "line", "{\n" ], [ "child", [ [ "comment", "# Subtest: my kids are fine\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok - no they aren't\n" ], [ "assert", { "ok": false, "id": 1, "name": "no they aren't" } ], [ "line", "Bail out! # no they aren't\n" ], [ "bailout", "# no they aren't" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# no they aren't", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "no they aren't" } ] } ] ] ], [ "line", " 1..1\n" ], [ "line", " not ok - no they aren't\n" ], [ "line", " Bail out! # no they aren't\n" ], [ "bailout", "# no they aren't" ], [ "line", "}\n" ], [ "line", "Bail out! # no they aren't\n" ], [ "complete", { "ok": false, "count": 0, "pass": 0, "fail": 0, "bailout": "# no they aren't", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/buffered-nested-failure-top-ok-diag--bail.json000066400000000000000000000041261320135610000270730ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 - my kids are fine\n" ], [ "line", " ---\n" ], [ "line", " some: diag\n" ], [ "line", " ...\n" ], [ "line", "{\n" ], [ "child", [ [ "comment", "# Subtest: my kids are fine\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok - no they aren't\n" ], [ "assert", { "ok": false, "id": 1, "name": "no they aren't" } ], [ "line", "Bail out! # no they aren't\n" ], [ "bailout", "# no they aren't" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# no they aren't", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "no they aren't" } ] } ] ] ], [ "line", " 1..1\n" ], [ "line", " not ok - no they aren't\n" ], [ "line", " Bail out! # no they aren't\n" ], [ "bailout", "# no they aren't" ], [ "line", "}\n" ], [ "line", "Bail out! # no they aren't\n" ], [ "complete", { "ok": false, "count": 0, "pass": 0, "fail": 0, "bailout": "# no they aren't", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/buffered-nested-failure-top-ok-diag--omitversion.json000066400000000000000000000040421320135610000305370ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 - my kids are fine\n" ], [ "line", " ---\n" ], [ "line", " some: diag\n" ], [ "line", " ...\n" ], [ "line", "{\n" ], [ "child", [ [ "comment", "# Subtest: my kids are fine\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok - no they aren't\n" ], [ "assert", { "ok": false, "id": 1, "name": "no they aren't" } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "no they aren't" } ] } ] ] ], [ "line", " 1..1\n" ], [ "line", " not ok - no they aren't\n" ], [ "line", " # failed 1 test\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "name": "my kids are fine", "diag": { "some": "diag" }, "buffered": true } ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/buffered-nested-failure-top-ok-diag--preservewhite--omitversion.json000066400000000000000000000040421320135610000335060ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 - my kids are fine\n" ], [ "line", " ---\n" ], [ "line", " some: diag\n" ], [ "line", " ...\n" ], [ "line", "{\n" ], [ "child", [ [ "comment", "# Subtest: my kids are fine\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok - no they aren't\n" ], [ "assert", { "ok": false, "id": 1, "name": "no they aren't" } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "no they aren't" } ] } ] ] ], [ "line", " 1..1\n" ], [ "line", " not ok - no they aren't\n" ], [ "line", " # failed 1 test\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "name": "my kids are fine", "diag": { "some": "diag" }, "buffered": true } ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/buffered-nested-failure-top-ok-diag--preservewhite.json000066400000000000000000000041551320135610000310620ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 - my kids are fine\n" ], [ "line", " ---\n" ], [ "line", " some: diag\n" ], [ "line", " ...\n" ], [ "line", "{\n" ], [ "child", [ [ "comment", "# Subtest: my kids are fine\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok - no they aren't\n" ], [ "assert", { "ok": false, "id": 1, "name": "no they aren't" } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "no they aren't" } ] } ] ] ], [ "line", " 1..1\n" ], [ "line", " not ok - no they aren't\n" ], [ "line", " # failed 1 test\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "name": "my kids are fine", "diag": { "some": "diag" }, "buffered": true } ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/buffered-nested-failure-top-ok-diag.json000066400000000000000000000041551320135610000261130ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 - my kids are fine\n" ], [ "line", " ---\n" ], [ "line", " some: diag\n" ], [ "line", " ...\n" ], [ "line", "{\n" ], [ "child", [ [ "comment", "# Subtest: my kids are fine\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok - no they aren't\n" ], [ "assert", { "ok": false, "id": 1, "name": "no they aren't" } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "no they aren't" } ] } ] ] ], [ "line", " 1..1\n" ], [ "line", " not ok - no they aren't\n" ], [ "line", " # failed 1 test\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "name": "my kids are fine", "diag": { "some": "diag" }, "buffered": true } ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/buffered-nested-failure-top-ok-diag.tap000066400000000000000000000001561320135610000257230ustar00rootroot00000000000000TAP version 13 1..1 ok 1 - my kids are fine --- some: diag ... { 1..1 not ok - no they aren't } tap-parser-7.0.0/test/fixtures/buffered-nested-failure-top-ok-no-msg--bail--omitversion.json000066400000000000000000000032411320135610000320150ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 - my kids are fine {\n" ], [ "child", [ [ "comment", "# Subtest: my kids are fine\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 } ] } ] ] ], [ "line", " 1..1\n" ], [ "line", " not ok\n" ], [ "line", " Bail out!\n" ], [ "bailout", "" ], [ "line", "}\n" ], [ "line", "Bail out!\n" ], [ "complete", { "ok": false, "count": 0, "pass": 0, "fail": 0, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] buffered-nested-failure-top-ok-no-msg--bail--preservewhite--omitversion.json000066400000000000000000000032411320135610000347050ustar00rootroot00000000000000tap-parser-7.0.0/test/fixtures[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 - my kids are fine {\n" ], [ "child", [ [ "comment", "# Subtest: my kids are fine\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 } ] } ] ] ], [ "line", " 1..1\n" ], [ "line", " not ok\n" ], [ "line", " Bail out!\n" ], [ "bailout", "" ], [ "line", "}\n" ], [ "line", "Bail out!\n" ], [ "complete", { "ok": false, "count": 0, "pass": 0, "fail": 0, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/buffered-nested-failure-top-ok-no-msg--bail--preservewhite.json000066400000000000000000000033541320135610000323400ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 - my kids are fine {\n" ], [ "child", [ [ "comment", "# Subtest: my kids are fine\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 } ] } ] ] ], [ "line", " 1..1\n" ], [ "line", " not ok\n" ], [ "line", " Bail out!\n" ], [ "bailout", "" ], [ "line", "}\n" ], [ "line", "Bail out!\n" ], [ "complete", { "ok": false, "count": 0, "pass": 0, "fail": 0, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/buffered-nested-failure-top-ok-no-msg--bail.json000066400000000000000000000033541320135610000273710ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 - my kids are fine {\n" ], [ "child", [ [ "comment", "# Subtest: my kids are fine\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 } ] } ] ] ], [ "line", " 1..1\n" ], [ "line", " not ok\n" ], [ "line", " Bail out!\n" ], [ "bailout", "" ], [ "line", "}\n" ], [ "line", "Bail out!\n" ], [ "complete", { "ok": false, "count": 0, "pass": 0, "fail": 0, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/buffered-nested-failure-top-ok-no-msg--omitversion.json000066400000000000000000000033671320135610000310440ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 - my kids are fine {\n" ], [ "child", [ [ "comment", "# Subtest: my kids are fine\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 } ] } ] ] ], [ "line", " 1..1\n" ], [ "line", " not ok\n" ], [ "line", " # failed 1 test\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "my kids are fine" } ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] buffered-nested-failure-top-ok-no-msg--preservewhite--omitversion.json000066400000000000000000000033671320135610000337340ustar00rootroot00000000000000tap-parser-7.0.0/test/fixtures[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 - my kids are fine {\n" ], [ "child", [ [ "comment", "# Subtest: my kids are fine\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 } ] } ] ] ], [ "line", " 1..1\n" ], [ "line", " not ok\n" ], [ "line", " # failed 1 test\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "my kids are fine" } ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/buffered-nested-failure-top-ok-no-msg--preservewhite.json000066400000000000000000000035021320135610000313510ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 - my kids are fine {\n" ], [ "child", [ [ "comment", "# Subtest: my kids are fine\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 } ] } ] ] ], [ "line", " 1..1\n" ], [ "line", " not ok\n" ], [ "line", " # failed 1 test\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "my kids are fine" } ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/buffered-nested-failure-top-ok-no-msg.json000066400000000000000000000035021320135610000264020ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 - my kids are fine {\n" ], [ "child", [ [ "comment", "# Subtest: my kids are fine\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 } ] } ] ] ], [ "line", " 1..1\n" ], [ "line", " not ok\n" ], [ "line", " # failed 1 test\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "my kids are fine" } ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/buffered-nested-failure-top-ok-no-msg.tap000066400000000000000000000001041320135610000262100ustar00rootroot00000000000000TAP version 13 1..1 ok 1 - my kids are fine { 1..1 not ok } tap-parser-7.0.0/test/fixtures/buffered-nested-failure-top-ok.json000066400000000000000000000036601320135610000252110ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 - my kids are fine {\n" ], [ "child", [ [ "comment", "# Subtest: my kids are fine\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok - no they aren't\n" ], [ "assert", { "ok": false, "id": 1, "name": "no they aren't" } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "no they aren't" } ] } ] ] ], [ "line", " 1..1\n" ], [ "line", " not ok - no they aren't\n" ], [ "line", " # failed 1 test\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "my kids are fine" } ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/buffered-nested-failure-top-ok.tap000066400000000000000000000001251320135610000250150ustar00rootroot00000000000000TAP version 13 1..1 ok 1 - my kids are fine { 1..1 not ok - no they aren't } tap-parser-7.0.0/test/fixtures/buffered-nested-ok-top-failure--bail--omitversion.json000066400000000000000000000036161320135610000306250ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok 1 - please sir, my son, he is sick {\n" ], [ "child", [ [ "comment", "# Subtest: please sir, my son, he is sick\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok - i got better\n" ], [ "assert", { "ok": true, "id": 1, "name": "i got better" } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok - i got better\n" ], [ "line", "}\n" ], [ "assert", { "ok": false, "id": 1, "buffered": true, "name": "please sir, my son, he is sick" } ], [ "line", "Bail out! # please sir, my son, he is sick\n" ], [ "bailout", "# please sir, my son, he is sick" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# please sir, my son, he is sick", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "buffered": true, "name": "please sir, my son, he is sick" } ] } ] ] tap-parser-7.0.0/test/fixtures/buffered-nested-ok-top-failure--bail--preservewhite--omitversion.json000066400000000000000000000036161320135610000335740ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok 1 - please sir, my son, he is sick {\n" ], [ "child", [ [ "comment", "# Subtest: please sir, my son, he is sick\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok - i got better\n" ], [ "assert", { "ok": true, "id": 1, "name": "i got better" } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok - i got better\n" ], [ "line", "}\n" ], [ "assert", { "ok": false, "id": 1, "buffered": true, "name": "please sir, my son, he is sick" } ], [ "line", "Bail out! # please sir, my son, he is sick\n" ], [ "bailout", "# please sir, my son, he is sick" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# please sir, my son, he is sick", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "buffered": true, "name": "please sir, my son, he is sick" } ] } ] ] tap-parser-7.0.0/test/fixtures/buffered-nested-ok-top-failure--bail--preservewhite.json000066400000000000000000000037311320135610000311410ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok 1 - please sir, my son, he is sick {\n" ], [ "child", [ [ "comment", "# Subtest: please sir, my son, he is sick\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok - i got better\n" ], [ "assert", { "ok": true, "id": 1, "name": "i got better" } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok - i got better\n" ], [ "line", "}\n" ], [ "assert", { "ok": false, "id": 1, "buffered": true, "name": "please sir, my son, he is sick" } ], [ "line", "Bail out! # please sir, my son, he is sick\n" ], [ "bailout", "# please sir, my son, he is sick" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# please sir, my son, he is sick", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "buffered": true, "name": "please sir, my son, he is sick" } ] } ] ] tap-parser-7.0.0/test/fixtures/buffered-nested-ok-top-failure--bail.json000066400000000000000000000037311320135610000261720ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok 1 - please sir, my son, he is sick {\n" ], [ "child", [ [ "comment", "# Subtest: please sir, my son, he is sick\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok - i got better\n" ], [ "assert", { "ok": true, "id": 1, "name": "i got better" } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok - i got better\n" ], [ "line", "}\n" ], [ "assert", { "ok": false, "id": 1, "buffered": true, "name": "please sir, my son, he is sick" } ], [ "line", "Bail out! # please sir, my son, he is sick\n" ], [ "bailout", "# please sir, my son, he is sick" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# please sir, my son, he is sick", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "buffered": true, "name": "please sir, my son, he is sick" } ] } ] ] tap-parser-7.0.0/test/fixtures/buffered-nested-ok-top-failure--omitversion.json000066400000000000000000000035071320135610000276420ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok 1 - please sir, my son, he is sick {\n" ], [ "child", [ [ "comment", "# Subtest: please sir, my son, he is sick\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok - i got better\n" ], [ "assert", { "ok": true, "id": 1, "name": "i got better" } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok - i got better\n" ], [ "line", "}\n" ], [ "assert", { "ok": false, "id": 1, "buffered": true, "name": "please sir, my son, he is sick" } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "buffered": true, "name": "please sir, my son, he is sick" } ] } ] ] tap-parser-7.0.0/test/fixtures/buffered-nested-ok-top-failure--preservewhite--omitversion.json000066400000000000000000000035071320135610000326110ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok 1 - please sir, my son, he is sick {\n" ], [ "child", [ [ "comment", "# Subtest: please sir, my son, he is sick\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok - i got better\n" ], [ "assert", { "ok": true, "id": 1, "name": "i got better" } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok - i got better\n" ], [ "line", "}\n" ], [ "assert", { "ok": false, "id": 1, "buffered": true, "name": "please sir, my son, he is sick" } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "buffered": true, "name": "please sir, my son, he is sick" } ] } ] ] tap-parser-7.0.0/test/fixtures/buffered-nested-ok-top-failure--preservewhite.json000066400000000000000000000036221320135610000301560ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok 1 - please sir, my son, he is sick {\n" ], [ "child", [ [ "comment", "# Subtest: please sir, my son, he is sick\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok - i got better\n" ], [ "assert", { "ok": true, "id": 1, "name": "i got better" } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok - i got better\n" ], [ "line", "}\n" ], [ "assert", { "ok": false, "id": 1, "buffered": true, "name": "please sir, my son, he is sick" } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "buffered": true, "name": "please sir, my son, he is sick" } ] } ] ] tap-parser-7.0.0/test/fixtures/buffered-nested-ok-top-failure-diag--bail--omitversion.json000066400000000000000000000042071320135610000315240ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok 1 - please sir, my son, he is sick\n" ], [ "line", " ---\n" ], [ "line", " some: diag\n" ], [ "line", " ...\n" ], [ "line", "{\n" ], [ "child", [ [ "comment", "# Subtest: please sir, my son, he is sick\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok - i got better\n" ], [ "assert", { "ok": true, "id": 1, "name": "i got better" } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok - i got better\n" ], [ "line", "}\n" ], [ "assert", { "ok": false, "id": 1, "name": "please sir, my son, he is sick", "diag": { "some": "diag" }, "buffered": true } ], [ "line", "Bail out! # please sir, my son, he is sick\n" ], [ "bailout", "# please sir, my son, he is sick" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# please sir, my son, he is sick", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "please sir, my son, he is sick", "diag": { "some": "diag" }, "buffered": true } ] } ] ] buffered-nested-ok-top-failure-diag--bail--preservewhite--omitversion.json000066400000000000000000000042071320135610000344140ustar00rootroot00000000000000tap-parser-7.0.0/test/fixtures[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok 1 - please sir, my son, he is sick\n" ], [ "line", " ---\n" ], [ "line", " some: diag\n" ], [ "line", " ...\n" ], [ "line", "{\n" ], [ "child", [ [ "comment", "# Subtest: please sir, my son, he is sick\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok - i got better\n" ], [ "assert", { "ok": true, "id": 1, "name": "i got better" } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok - i got better\n" ], [ "line", "}\n" ], [ "assert", { "ok": false, "id": 1, "name": "please sir, my son, he is sick", "diag": { "some": "diag" }, "buffered": true } ], [ "line", "Bail out! # please sir, my son, he is sick\n" ], [ "bailout", "# please sir, my son, he is sick" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# please sir, my son, he is sick", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "please sir, my son, he is sick", "diag": { "some": "diag" }, "buffered": true } ] } ] ] tap-parser-7.0.0/test/fixtures/buffered-nested-ok-top-failure-diag--bail--preservewhite.json000066400000000000000000000043221320135610000320400ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok 1 - please sir, my son, he is sick\n" ], [ "line", " ---\n" ], [ "line", " some: diag\n" ], [ "line", " ...\n" ], [ "line", "{\n" ], [ "child", [ [ "comment", "# Subtest: please sir, my son, he is sick\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok - i got better\n" ], [ "assert", { "ok": true, "id": 1, "name": "i got better" } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok - i got better\n" ], [ "line", "}\n" ], [ "assert", { "ok": false, "id": 1, "name": "please sir, my son, he is sick", "diag": { "some": "diag" }, "buffered": true } ], [ "line", "Bail out! # please sir, my son, he is sick\n" ], [ "bailout", "# please sir, my son, he is sick" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# please sir, my son, he is sick", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "please sir, my son, he is sick", "diag": { "some": "diag" }, "buffered": true } ] } ] ] tap-parser-7.0.0/test/fixtures/buffered-nested-ok-top-failure-diag--bail.json000066400000000000000000000043221320135610000270710ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok 1 - please sir, my son, he is sick\n" ], [ "line", " ---\n" ], [ "line", " some: diag\n" ], [ "line", " ...\n" ], [ "line", "{\n" ], [ "child", [ [ "comment", "# Subtest: please sir, my son, he is sick\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok - i got better\n" ], [ "assert", { "ok": true, "id": 1, "name": "i got better" } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok - i got better\n" ], [ "line", "}\n" ], [ "assert", { "ok": false, "id": 1, "name": "please sir, my son, he is sick", "diag": { "some": "diag" }, "buffered": true } ], [ "line", "Bail out! # please sir, my son, he is sick\n" ], [ "bailout", "# please sir, my son, he is sick" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# please sir, my son, he is sick", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "please sir, my son, he is sick", "diag": { "some": "diag" }, "buffered": true } ] } ] ] tap-parser-7.0.0/test/fixtures/buffered-nested-ok-top-failure-diag--omitversion.json000066400000000000000000000041001320135610000305320ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok 1 - please sir, my son, he is sick\n" ], [ "line", " ---\n" ], [ "line", " some: diag\n" ], [ "line", " ...\n" ], [ "line", "{\n" ], [ "child", [ [ "comment", "# Subtest: please sir, my son, he is sick\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok - i got better\n" ], [ "assert", { "ok": true, "id": 1, "name": "i got better" } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok - i got better\n" ], [ "line", "}\n" ], [ "assert", { "ok": false, "id": 1, "name": "please sir, my son, he is sick", "diag": { "some": "diag" }, "buffered": true } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "please sir, my son, he is sick", "diag": { "some": "diag" }, "buffered": true } ] } ] ] tap-parser-7.0.0/test/fixtures/buffered-nested-ok-top-failure-diag--preservewhite--omitversion.json000066400000000000000000000041001320135610000335010ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok 1 - please sir, my son, he is sick\n" ], [ "line", " ---\n" ], [ "line", " some: diag\n" ], [ "line", " ...\n" ], [ "line", "{\n" ], [ "child", [ [ "comment", "# Subtest: please sir, my son, he is sick\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok - i got better\n" ], [ "assert", { "ok": true, "id": 1, "name": "i got better" } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok - i got better\n" ], [ "line", "}\n" ], [ "assert", { "ok": false, "id": 1, "name": "please sir, my son, he is sick", "diag": { "some": "diag" }, "buffered": true } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "please sir, my son, he is sick", "diag": { "some": "diag" }, "buffered": true } ] } ] ] tap-parser-7.0.0/test/fixtures/buffered-nested-ok-top-failure-diag--preservewhite.json000066400000000000000000000042131320135610000310550ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok 1 - please sir, my son, he is sick\n" ], [ "line", " ---\n" ], [ "line", " some: diag\n" ], [ "line", " ...\n" ], [ "line", "{\n" ], [ "child", [ [ "comment", "# Subtest: please sir, my son, he is sick\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok - i got better\n" ], [ "assert", { "ok": true, "id": 1, "name": "i got better" } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok - i got better\n" ], [ "line", "}\n" ], [ "assert", { "ok": false, "id": 1, "name": "please sir, my son, he is sick", "diag": { "some": "diag" }, "buffered": true } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "please sir, my son, he is sick", "diag": { "some": "diag" }, "buffered": true } ] } ] ] tap-parser-7.0.0/test/fixtures/buffered-nested-ok-top-failure-diag.json000066400000000000000000000042131320135610000261060ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok 1 - please sir, my son, he is sick\n" ], [ "line", " ---\n" ], [ "line", " some: diag\n" ], [ "line", " ...\n" ], [ "line", "{\n" ], [ "child", [ [ "comment", "# Subtest: please sir, my son, he is sick\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok - i got better\n" ], [ "assert", { "ok": true, "id": 1, "name": "i got better" } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok - i got better\n" ], [ "line", "}\n" ], [ "assert", { "ok": false, "id": 1, "name": "please sir, my son, he is sick", "diag": { "some": "diag" }, "buffered": true } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "please sir, my son, he is sick", "diag": { "some": "diag" }, "buffered": true } ] } ] ] tap-parser-7.0.0/test/fixtures/buffered-nested-ok-top-failure-diag.tap000066400000000000000000000001721320135610000257210ustar00rootroot00000000000000TAP version 13 1..1 not ok 1 - please sir, my son, he is sick --- some: diag ... { 1..1 ok - i got better } tap-parser-7.0.0/test/fixtures/buffered-nested-ok-top-failure.json000066400000000000000000000036221320135610000252070ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok 1 - please sir, my son, he is sick {\n" ], [ "child", [ [ "comment", "# Subtest: please sir, my son, he is sick\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok - i got better\n" ], [ "assert", { "ok": true, "id": 1, "name": "i got better" } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok - i got better\n" ], [ "line", "}\n" ], [ "assert", { "ok": false, "id": 1, "buffered": true, "name": "please sir, my son, he is sick" } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "buffered": true, "name": "please sir, my son, he is sick" } ] } ] ] tap-parser-7.0.0/test/fixtures/buffered-nested-ok-top-failure.tap000066400000000000000000000001411320135610000250130ustar00rootroot00000000000000TAP version 13 1..1 not ok 1 - please sir, my son, he is sick { 1..1 ok - i got better } tap-parser-7.0.0/test/fixtures/buffered-with-diag-not-ok--bail--omitversion.json000066400000000000000000000035231320135610000275660ustar00rootroot00000000000000[ [ "line", "not ok 1 - child\n" ], [ "line", " ---\n" ], [ "line", " some: diagnostics\n" ], [ "line", " ...\n" ], [ "line", "{\n" ], [ "child", [ [ "comment", "# Subtest: child\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": false, "id": 1, "name": "child", "diag": { "some": "diagnostics" }, "buffered": true } ], [ "line", "Bail out! # child\n" ], [ "bailout", "# child" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# child", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "child", "diag": { "some": "diagnostics" }, "buffered": true } ] } ] ] tap-parser-7.0.0/test/fixtures/buffered-with-diag-not-ok--bail--preservewhite--omitversion.json000066400000000000000000000035231320135610000325350ustar00rootroot00000000000000[ [ "line", "not ok 1 - child\n" ], [ "line", " ---\n" ], [ "line", " some: diagnostics\n" ], [ "line", " ...\n" ], [ "line", "{\n" ], [ "child", [ [ "comment", "# Subtest: child\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": false, "id": 1, "name": "child", "diag": { "some": "diagnostics" }, "buffered": true } ], [ "line", "Bail out! # child\n" ], [ "bailout", "# child" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# child", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "child", "diag": { "some": "diagnostics" }, "buffered": true } ] } ] ] tap-parser-7.0.0/test/fixtures/buffered-with-diag-not-ok--bail--preservewhite.json000066400000000000000000000035231320135610000301040ustar00rootroot00000000000000[ [ "line", "not ok 1 - child\n" ], [ "line", " ---\n" ], [ "line", " some: diagnostics\n" ], [ "line", " ...\n" ], [ "line", "{\n" ], [ "child", [ [ "comment", "# Subtest: child\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": false, "id": 1, "name": "child", "diag": { "some": "diagnostics" }, "buffered": true } ], [ "line", "Bail out! # child\n" ], [ "bailout", "# child" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# child", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "child", "diag": { "some": "diagnostics" }, "buffered": true } ] } ] ] tap-parser-7.0.0/test/fixtures/buffered-with-diag-not-ok--bail.json000066400000000000000000000035231320135610000251350ustar00rootroot00000000000000[ [ "line", "not ok 1 - child\n" ], [ "line", " ---\n" ], [ "line", " some: diagnostics\n" ], [ "line", " ...\n" ], [ "line", "{\n" ], [ "child", [ [ "comment", "# Subtest: child\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": false, "id": 1, "name": "child", "diag": { "some": "diagnostics" }, "buffered": true } ], [ "line", "Bail out! # child\n" ], [ "bailout", "# child" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# child", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "child", "diag": { "some": "diagnostics" }, "buffered": true } ] } ] ] tap-parser-7.0.0/test/fixtures/buffered-with-diag-not-ok--omitversion.json000066400000000000000000000036651320135610000266130ustar00rootroot00000000000000[ [ "line", "not ok 1 - child\n" ], [ "line", " ---\n" ], [ "line", " some: diagnostics\n" ], [ "line", " ...\n" ], [ "line", "{\n" ], [ "child", [ [ "comment", "# Subtest: child\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": false, "id": 1, "name": "child", "diag": { "some": "diagnostics" }, "buffered": true } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "child", "diag": { "some": "diagnostics" }, "buffered": true } ] } ] ] tap-parser-7.0.0/test/fixtures/buffered-with-diag-not-ok--preservewhite--omitversion.json000066400000000000000000000036651320135610000315620ustar00rootroot00000000000000[ [ "line", "not ok 1 - child\n" ], [ "line", " ---\n" ], [ "line", " some: diagnostics\n" ], [ "line", " ...\n" ], [ "line", "{\n" ], [ "child", [ [ "comment", "# Subtest: child\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": false, "id": 1, "name": "child", "diag": { "some": "diagnostics" }, "buffered": true } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "child", "diag": { "some": "diagnostics" }, "buffered": true } ] } ] ] tap-parser-7.0.0/test/fixtures/buffered-with-diag-not-ok--preservewhite.json000066400000000000000000000036651320135610000271310ustar00rootroot00000000000000[ [ "line", "not ok 1 - child\n" ], [ "line", " ---\n" ], [ "line", " some: diagnostics\n" ], [ "line", " ...\n" ], [ "line", "{\n" ], [ "child", [ [ "comment", "# Subtest: child\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": false, "id": 1, "name": "child", "diag": { "some": "diagnostics" }, "buffered": true } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "child", "diag": { "some": "diagnostics" }, "buffered": true } ] } ] ] tap-parser-7.0.0/test/fixtures/buffered-with-diag-not-ok.json000066400000000000000000000036651320135610000241620ustar00rootroot00000000000000[ [ "line", "not ok 1 - child\n" ], [ "line", " ---\n" ], [ "line", " some: diagnostics\n" ], [ "line", " ...\n" ], [ "line", "{\n" ], [ "child", [ [ "comment", "# Subtest: child\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": false, "id": 1, "name": "child", "diag": { "some": "diagnostics" }, "buffered": true } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "child", "diag": { "some": "diagnostics" }, "buffered": true } ] } ] ] tap-parser-7.0.0/test/fixtures/buffered-with-diag-not-ok.tap000066400000000000000000000001141320135610000237570ustar00rootroot00000000000000not ok 1 - child --- some: diagnostics ... { ok 1 1..1 } 1..1 tap-parser-7.0.0/test/fixtures/buffered-with-diag-ok--bail--omitversion.json000066400000000000000000000032241320135610000267660ustar00rootroot00000000000000[ [ "line", "ok 1 - child\n" ], [ "line", " ---\n" ], [ "line", " some: diagnostics\n" ], [ "line", " ...\n" ], [ "line", "{\n" ], [ "child", [ [ "comment", "# Subtest: child\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "name": "child", "diag": { "some": "diagnostics" }, "buffered": true } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/buffered-with-diag-ok--bail--preservewhite--omitversion.json000066400000000000000000000032241320135610000317350ustar00rootroot00000000000000[ [ "line", "ok 1 - child\n" ], [ "line", " ---\n" ], [ "line", " some: diagnostics\n" ], [ "line", " ...\n" ], [ "line", "{\n" ], [ "child", [ [ "comment", "# Subtest: child\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "name": "child", "diag": { "some": "diagnostics" }, "buffered": true } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/buffered-with-diag-ok--bail--preservewhite.json000066400000000000000000000032241320135610000273040ustar00rootroot00000000000000[ [ "line", "ok 1 - child\n" ], [ "line", " ---\n" ], [ "line", " some: diagnostics\n" ], [ "line", " ...\n" ], [ "line", "{\n" ], [ "child", [ [ "comment", "# Subtest: child\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "name": "child", "diag": { "some": "diagnostics" }, "buffered": true } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/buffered-with-diag-ok--bail.json000066400000000000000000000032241320135610000243350ustar00rootroot00000000000000[ [ "line", "ok 1 - child\n" ], [ "line", " ---\n" ], [ "line", " some: diagnostics\n" ], [ "line", " ...\n" ], [ "line", "{\n" ], [ "child", [ [ "comment", "# Subtest: child\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "name": "child", "diag": { "some": "diagnostics" }, "buffered": true } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/buffered-with-diag-ok--omitversion.json000066400000000000000000000032241320135610000260040ustar00rootroot00000000000000[ [ "line", "ok 1 - child\n" ], [ "line", " ---\n" ], [ "line", " some: diagnostics\n" ], [ "line", " ...\n" ], [ "line", "{\n" ], [ "child", [ [ "comment", "# Subtest: child\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "name": "child", "diag": { "some": "diagnostics" }, "buffered": true } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/buffered-with-diag-ok--preservewhite--omitversion.json000066400000000000000000000032241320135610000307530ustar00rootroot00000000000000[ [ "line", "ok 1 - child\n" ], [ "line", " ---\n" ], [ "line", " some: diagnostics\n" ], [ "line", " ...\n" ], [ "line", "{\n" ], [ "child", [ [ "comment", "# Subtest: child\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "name": "child", "diag": { "some": "diagnostics" }, "buffered": true } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/buffered-with-diag-ok--preservewhite.json000066400000000000000000000032241320135610000263220ustar00rootroot00000000000000[ [ "line", "ok 1 - child\n" ], [ "line", " ---\n" ], [ "line", " some: diagnostics\n" ], [ "line", " ...\n" ], [ "line", "{\n" ], [ "child", [ [ "comment", "# Subtest: child\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "name": "child", "diag": { "some": "diagnostics" }, "buffered": true } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/buffered-with-diag-ok.json000066400000000000000000000032241320135610000233530ustar00rootroot00000000000000[ [ "line", "ok 1 - child\n" ], [ "line", " ---\n" ], [ "line", " some: diagnostics\n" ], [ "line", " ...\n" ], [ "line", "{\n" ], [ "child", [ [ "comment", "# Subtest: child\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "name": "child", "diag": { "some": "diagnostics" }, "buffered": true } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/buffered-with-diag-ok.tap000066400000000000000000000001101320135610000231550ustar00rootroot00000000000000ok 1 - child --- some: diagnostics ... { ok 1 1..1 } 1..1 tap-parser-7.0.0/test/fixtures/child-after-failure--bail--omitversion.json000066400000000000000000000011641320135610000265320ustar00rootroot00000000000000[ [ "line", "not ok - 1\n" ], [ "assert", { "ok": false, "id": 1, "name": "1" } ], [ "line", "Bail out! # 1\n" ], [ "bailout", "# 1" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# 1", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "1" } ] } ] ] tap-parser-7.0.0/test/fixtures/child-after-failure--bail--preservewhite--omitversion.json000066400000000000000000000011641320135610000315010ustar00rootroot00000000000000[ [ "line", "not ok - 1\n" ], [ "assert", { "ok": false, "id": 1, "name": "1" } ], [ "line", "Bail out! # 1\n" ], [ "bailout", "# 1" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# 1", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "1" } ] } ] ] tap-parser-7.0.0/test/fixtures/child-after-failure--bail--preservewhite.json000066400000000000000000000011641320135610000270500ustar00rootroot00000000000000[ [ "line", "not ok - 1\n" ], [ "assert", { "ok": false, "id": 1, "name": "1" } ], [ "line", "Bail out! # 1\n" ], [ "bailout", "# 1" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# 1", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "1" } ] } ] ] tap-parser-7.0.0/test/fixtures/child-after-failure--bail.json000066400000000000000000000011641320135610000241010ustar00rootroot00000000000000[ [ "line", "not ok - 1\n" ], [ "assert", { "ok": false, "id": 1, "name": "1" } ], [ "line", "Bail out! # 1\n" ], [ "bailout", "# 1" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# 1", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "1" } ] } ] ] tap-parser-7.0.0/test/fixtures/child-after-failure--omitversion.json000066400000000000000000000033761320135610000255570ustar00rootroot00000000000000[ [ "line", "not ok - 1\n" ], [ "assert", { "ok": false, "id": 1, "name": "1" } ], [ "line", "# Subtest: child\n" ], [ "child", [ [ "comment", "# Subtest: child\n" ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok\n" ], [ "line", " 1..1\n" ], [ "line", "ok 2 - child\n" ], [ "assert", { "ok": true, "id": 2, "name": "child" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# failed 1 of 2 tests\n" ], [ "comment", "# failed 1 of 2 tests\n" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "1" } ] } ] ] tap-parser-7.0.0/test/fixtures/child-after-failure--preservewhite--omitversion.json000066400000000000000000000033761320135610000305260ustar00rootroot00000000000000[ [ "line", "not ok - 1\n" ], [ "assert", { "ok": false, "id": 1, "name": "1" } ], [ "line", "# Subtest: child\n" ], [ "child", [ [ "comment", "# Subtest: child\n" ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok\n" ], [ "line", " 1..1\n" ], [ "line", "ok 2 - child\n" ], [ "assert", { "ok": true, "id": 2, "name": "child" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# failed 1 of 2 tests\n" ], [ "comment", "# failed 1 of 2 tests\n" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "1" } ] } ] ] tap-parser-7.0.0/test/fixtures/child-after-failure--preservewhite.json000066400000000000000000000033761320135610000260750ustar00rootroot00000000000000[ [ "line", "not ok - 1\n" ], [ "assert", { "ok": false, "id": 1, "name": "1" } ], [ "line", "# Subtest: child\n" ], [ "child", [ [ "comment", "# Subtest: child\n" ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok\n" ], [ "line", " 1..1\n" ], [ "line", "ok 2 - child\n" ], [ "assert", { "ok": true, "id": 2, "name": "child" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# failed 1 of 2 tests\n" ], [ "comment", "# failed 1 of 2 tests\n" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "1" } ] } ] ] tap-parser-7.0.0/test/fixtures/child-after-failure.json000066400000000000000000000033761320135610000231260ustar00rootroot00000000000000[ [ "line", "not ok - 1\n" ], [ "assert", { "ok": false, "id": 1, "name": "1" } ], [ "line", "# Subtest: child\n" ], [ "child", [ [ "comment", "# Subtest: child\n" ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok\n" ], [ "line", " 1..1\n" ], [ "line", "ok 2 - child\n" ], [ "assert", { "ok": true, "id": 2, "name": "child" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# failed 1 of 2 tests\n" ], [ "comment", "# failed 1 of 2 tests\n" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "1" } ] } ] ] tap-parser-7.0.0/test/fixtures/child-after-failure.tap000066400000000000000000000001021320135610000227210ustar00rootroot00000000000000not ok - 1 # Subtest: child ok 1..1 ok 2 - child 1..2 tap-parser-7.0.0/test/fixtures/child-extra--bail--omitversion.json000066400000000000000000000051701320135610000251300ustar00rootroot00000000000000[ [ "line", "# Subtest: test/debug-test.js\n" ], [ "child", [ [ "comment", "# Subtest: test/debug-test.js\n" ], [ "line", "# debug test\n" ], [ "comment", "# debug test\n" ], [ "line", "ok 1 Should output debugger message\n" ], [ "assert", { "ok": true, "id": 1, "name": "Should output debugger message" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# tests 1\n" ], [ "comment", "# tests 1\n" ], [ "line", "# pass 1\n" ], [ "comment", "# pass 1\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", "debug test\n" ], [ "extra", "debug test\n" ], [ "line", "t.plan=1\n" ], [ "extra", "t.plan=1\n" ], [ "line", "'Debugger listening on port 5858\\n'\n" ], [ "extra", "'Debugger listening on port 5858\\n'\n" ], [ "line", " # debug test\n" ], [ "line", " ok 1 Should output debugger message\n" ], [ "line", " 1..1\n" ], [ "line", " # tests 1\n" ], [ "line", " # pass 1\n" ], [ "line", " # ok\n" ], [ "line", "ok 1 - test/debug-test.js # time=537.383ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 537.383, "name": "test/debug-test.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=543.783ms\n" ], [ "comment", "# time=543.783ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/child-extra--bail--preservewhite--omitversion.json000066400000000000000000000051701320135610000300770ustar00rootroot00000000000000[ [ "line", "# Subtest: test/debug-test.js\n" ], [ "child", [ [ "comment", "# Subtest: test/debug-test.js\n" ], [ "line", "# debug test\n" ], [ "comment", "# debug test\n" ], [ "line", "ok 1 Should output debugger message\n" ], [ "assert", { "ok": true, "id": 1, "name": "Should output debugger message" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# tests 1\n" ], [ "comment", "# tests 1\n" ], [ "line", "# pass 1\n" ], [ "comment", "# pass 1\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", "debug test\n" ], [ "extra", "debug test\n" ], [ "line", "t.plan=1\n" ], [ "extra", "t.plan=1\n" ], [ "line", "'Debugger listening on port 5858\\n'\n" ], [ "extra", "'Debugger listening on port 5858\\n'\n" ], [ "line", " # debug test\n" ], [ "line", " ok 1 Should output debugger message\n" ], [ "line", " 1..1\n" ], [ "line", " # tests 1\n" ], [ "line", " # pass 1\n" ], [ "line", " # ok\n" ], [ "line", "ok 1 - test/debug-test.js # time=537.383ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 537.383, "name": "test/debug-test.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=543.783ms\n" ], [ "comment", "# time=543.783ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/child-extra--bail--preservewhite.json000066400000000000000000000053031320135610000254440ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: test/debug-test.js\n" ], [ "child", [ [ "comment", "# Subtest: test/debug-test.js\n" ], [ "line", "# debug test\n" ], [ "comment", "# debug test\n" ], [ "line", "ok 1 Should output debugger message\n" ], [ "assert", { "ok": true, "id": 1, "name": "Should output debugger message" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# tests 1\n" ], [ "comment", "# tests 1\n" ], [ "line", "# pass 1\n" ], [ "comment", "# pass 1\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", "debug test\n" ], [ "extra", "debug test\n" ], [ "line", "t.plan=1\n" ], [ "extra", "t.plan=1\n" ], [ "line", "'Debugger listening on port 5858\\n'\n" ], [ "extra", "'Debugger listening on port 5858\\n'\n" ], [ "line", " # debug test\n" ], [ "line", " ok 1 Should output debugger message\n" ], [ "line", " 1..1\n" ], [ "line", " # tests 1\n" ], [ "line", " # pass 1\n" ], [ "line", " # ok\n" ], [ "line", "ok 1 - test/debug-test.js # time=537.383ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 537.383, "name": "test/debug-test.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=543.783ms\n" ], [ "comment", "# time=543.783ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/child-extra--bail.json000066400000000000000000000053031320135610000224750ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: test/debug-test.js\n" ], [ "child", [ [ "comment", "# Subtest: test/debug-test.js\n" ], [ "line", "# debug test\n" ], [ "comment", "# debug test\n" ], [ "line", "ok 1 Should output debugger message\n" ], [ "assert", { "ok": true, "id": 1, "name": "Should output debugger message" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# tests 1\n" ], [ "comment", "# tests 1\n" ], [ "line", "# pass 1\n" ], [ "comment", "# pass 1\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", "debug test\n" ], [ "extra", "debug test\n" ], [ "line", "t.plan=1\n" ], [ "extra", "t.plan=1\n" ], [ "line", "'Debugger listening on port 5858\\n'\n" ], [ "extra", "'Debugger listening on port 5858\\n'\n" ], [ "line", " # debug test\n" ], [ "line", " ok 1 Should output debugger message\n" ], [ "line", " 1..1\n" ], [ "line", " # tests 1\n" ], [ "line", " # pass 1\n" ], [ "line", " # ok\n" ], [ "line", "ok 1 - test/debug-test.js # time=537.383ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 537.383, "name": "test/debug-test.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=543.783ms\n" ], [ "comment", "# time=543.783ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/child-extra--omitversion.json000066400000000000000000000051701320135610000241460ustar00rootroot00000000000000[ [ "line", "# Subtest: test/debug-test.js\n" ], [ "child", [ [ "comment", "# Subtest: test/debug-test.js\n" ], [ "line", "# debug test\n" ], [ "comment", "# debug test\n" ], [ "line", "ok 1 Should output debugger message\n" ], [ "assert", { "ok": true, "id": 1, "name": "Should output debugger message" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# tests 1\n" ], [ "comment", "# tests 1\n" ], [ "line", "# pass 1\n" ], [ "comment", "# pass 1\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", "debug test\n" ], [ "extra", "debug test\n" ], [ "line", "t.plan=1\n" ], [ "extra", "t.plan=1\n" ], [ "line", "'Debugger listening on port 5858\\n'\n" ], [ "extra", "'Debugger listening on port 5858\\n'\n" ], [ "line", " # debug test\n" ], [ "line", " ok 1 Should output debugger message\n" ], [ "line", " 1..1\n" ], [ "line", " # tests 1\n" ], [ "line", " # pass 1\n" ], [ "line", " # ok\n" ], [ "line", "ok 1 - test/debug-test.js # time=537.383ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 537.383, "name": "test/debug-test.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=543.783ms\n" ], [ "comment", "# time=543.783ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/child-extra--preservewhite--omitversion.json000066400000000000000000000051701320135610000271150ustar00rootroot00000000000000[ [ "line", "# Subtest: test/debug-test.js\n" ], [ "child", [ [ "comment", "# Subtest: test/debug-test.js\n" ], [ "line", "# debug test\n" ], [ "comment", "# debug test\n" ], [ "line", "ok 1 Should output debugger message\n" ], [ "assert", { "ok": true, "id": 1, "name": "Should output debugger message" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# tests 1\n" ], [ "comment", "# tests 1\n" ], [ "line", "# pass 1\n" ], [ "comment", "# pass 1\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", "debug test\n" ], [ "extra", "debug test\n" ], [ "line", "t.plan=1\n" ], [ "extra", "t.plan=1\n" ], [ "line", "'Debugger listening on port 5858\\n'\n" ], [ "extra", "'Debugger listening on port 5858\\n'\n" ], [ "line", " # debug test\n" ], [ "line", " ok 1 Should output debugger message\n" ], [ "line", " 1..1\n" ], [ "line", " # tests 1\n" ], [ "line", " # pass 1\n" ], [ "line", " # ok\n" ], [ "line", "ok 1 - test/debug-test.js # time=537.383ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 537.383, "name": "test/debug-test.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=543.783ms\n" ], [ "comment", "# time=543.783ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/child-extra--preservewhite.json000066400000000000000000000053031320135610000244620ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: test/debug-test.js\n" ], [ "child", [ [ "comment", "# Subtest: test/debug-test.js\n" ], [ "line", "# debug test\n" ], [ "comment", "# debug test\n" ], [ "line", "ok 1 Should output debugger message\n" ], [ "assert", { "ok": true, "id": 1, "name": "Should output debugger message" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# tests 1\n" ], [ "comment", "# tests 1\n" ], [ "line", "# pass 1\n" ], [ "comment", "# pass 1\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", "debug test\n" ], [ "extra", "debug test\n" ], [ "line", "t.plan=1\n" ], [ "extra", "t.plan=1\n" ], [ "line", "'Debugger listening on port 5858\\n'\n" ], [ "extra", "'Debugger listening on port 5858\\n'\n" ], [ "line", " # debug test\n" ], [ "line", " ok 1 Should output debugger message\n" ], [ "line", " 1..1\n" ], [ "line", " # tests 1\n" ], [ "line", " # pass 1\n" ], [ "line", " # ok\n" ], [ "line", "ok 1 - test/debug-test.js # time=537.383ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 537.383, "name": "test/debug-test.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=543.783ms\n" ], [ "comment", "# time=543.783ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/child-extra.json000066400000000000000000000053031320135610000215130ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: test/debug-test.js\n" ], [ "child", [ [ "comment", "# Subtest: test/debug-test.js\n" ], [ "line", "# debug test\n" ], [ "comment", "# debug test\n" ], [ "line", "ok 1 Should output debugger message\n" ], [ "assert", { "ok": true, "id": 1, "name": "Should output debugger message" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# tests 1\n" ], [ "comment", "# tests 1\n" ], [ "line", "# pass 1\n" ], [ "comment", "# pass 1\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", "debug test\n" ], [ "extra", "debug test\n" ], [ "line", "t.plan=1\n" ], [ "extra", "t.plan=1\n" ], [ "line", "'Debugger listening on port 5858\\n'\n" ], [ "extra", "'Debugger listening on port 5858\\n'\n" ], [ "line", " # debug test\n" ], [ "line", " ok 1 Should output debugger message\n" ], [ "line", " 1..1\n" ], [ "line", " # tests 1\n" ], [ "line", " # pass 1\n" ], [ "line", " # ok\n" ], [ "line", "ok 1 - test/debug-test.js # time=537.383ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 537.383, "name": "test/debug-test.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=543.783ms\n" ], [ "comment", "# time=543.783ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/child-extra.tap000066400000000000000000000004561320135610000213320ustar00rootroot00000000000000TAP version 13 # Subtest: test/debug-test.js debug test t.plan=1 'Debugger listening on port 5858\n' TAP version 13 # debug test ok 1 Should output debugger message 1..1 # tests 1 # pass 1 # ok ok 1 - test/debug-test.js # time=537.383ms 1..1 # time=543.783ms tap-parser-7.0.0/test/fixtures/combined--bail--omitversion.json000066400000000000000000000021411320135610000244770ustar00rootroot00000000000000[ [ "line", "1..10\n" ], [ "plan", { "start": 1, "end": 10 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2 basset hounds got long ears\n" ], [ "assert", { "ok": true, "id": 2, "name": "basset hounds got long ears" } ], [ "line", "not ok 3 all hell broke loose\n" ], [ "assert", { "ok": false, "id": 3, "name": "all hell broke loose" } ], [ "line", "Bail out! # all hell broke loose\n" ], [ "bailout", "# all hell broke loose" ], [ "complete", { "ok": false, "count": 3, "pass": 2, "fail": 1, "bailout": "# all hell broke loose", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 10, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 3, "name": "all hell broke loose" } ] } ] ] tap-parser-7.0.0/test/fixtures/combined--bail--preservewhite--omitversion.json000066400000000000000000000021411320135610000274460ustar00rootroot00000000000000[ [ "line", "1..10\n" ], [ "plan", { "start": 1, "end": 10 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2 basset hounds got long ears\n" ], [ "assert", { "ok": true, "id": 2, "name": "basset hounds got long ears" } ], [ "line", "not ok 3 all hell broke loose\n" ], [ "assert", { "ok": false, "id": 3, "name": "all hell broke loose" } ], [ "line", "Bail out! # all hell broke loose\n" ], [ "bailout", "# all hell broke loose" ], [ "complete", { "ok": false, "count": 3, "pass": 2, "fail": 1, "bailout": "# all hell broke loose", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 10, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 3, "name": "all hell broke loose" } ] } ] ] tap-parser-7.0.0/test/fixtures/combined--bail--preservewhite.json000066400000000000000000000021411320135610000250150ustar00rootroot00000000000000[ [ "line", "1..10\n" ], [ "plan", { "start": 1, "end": 10 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2 basset hounds got long ears\n" ], [ "assert", { "ok": true, "id": 2, "name": "basset hounds got long ears" } ], [ "line", "not ok 3 all hell broke loose\n" ], [ "assert", { "ok": false, "id": 3, "name": "all hell broke loose" } ], [ "line", "Bail out! # all hell broke loose\n" ], [ "bailout", "# all hell broke loose" ], [ "complete", { "ok": false, "count": 3, "pass": 2, "fail": 1, "bailout": "# all hell broke loose", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 10, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 3, "name": "all hell broke loose" } ] } ] ] tap-parser-7.0.0/test/fixtures/combined--bail.json000066400000000000000000000021411320135610000220460ustar00rootroot00000000000000[ [ "line", "1..10\n" ], [ "plan", { "start": 1, "end": 10 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2 basset hounds got long ears\n" ], [ "assert", { "ok": true, "id": 2, "name": "basset hounds got long ears" } ], [ "line", "not ok 3 all hell broke loose\n" ], [ "assert", { "ok": false, "id": 3, "name": "all hell broke loose" } ], [ "line", "Bail out! # all hell broke loose\n" ], [ "bailout", "# all hell broke loose" ], [ "complete", { "ok": false, "count": 3, "pass": 2, "fail": 1, "bailout": "# all hell broke loose", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 10, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 3, "name": "all hell broke loose" } ] } ] ] tap-parser-7.0.0/test/fixtures/combined--omitversion.json000066400000000000000000000047221320135610000235240ustar00rootroot00000000000000[ [ "line", "1..10\n" ], [ "plan", { "start": 1, "end": 10 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2 basset hounds got long ears\n" ], [ "assert", { "ok": true, "id": 2, "name": "basset hounds got long ears" } ], [ "line", "not ok 3 all hell broke loose\n" ], [ "assert", { "ok": false, "id": 3, "name": "all hell broke loose" } ], [ "line", "not ok 4 # TODO if I heard a voice from heaven ...\n" ], [ "assert", { "ok": false, "id": 4, "todo": "if I heard a voice from heaven ...", "name": "" } ], [ "line", "ok say \"live without loving\",\n" ], [ "assert", { "ok": true, "id": 5, "name": "say \"live without loving\"," } ], [ "line", "ok 6 I'd beg off.\n" ], [ "assert", { "ok": true, "id": 6, "name": "I'd beg off." } ], [ "line", "ok 7 # Skip contract negotiations\n" ], [ "assert", { "ok": true, "id": 7, "skip": "contract negotiations", "name": "" } ], [ "line", "ok 8 Girls are such exquisite hell\n" ], [ "assert", { "ok": true, "id": 8, "name": "Girls are such exquisite hell" } ], [ "line", "ok 9 Elegy 9B # TOdO\n" ], [ "assert", { "ok": true, "id": 9, "todo": true, "name": "Elegy 9B" } ], [ "line", "not ok 10\n" ], [ "assert", { "ok": false, "id": 10 } ], [ "line", "# failed 3 of 10 tests\n" ], [ "comment", "# failed 3 of 10 tests\n" ], [ "line", "# todo: 2\n" ], [ "comment", "# todo: 2\n" ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": false, "count": 10, "pass": 7, "fail": 3, "bailout": false, "todo": 2, "skip": 1, "plan": { "start": 1, "end": 10, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 3, "name": "all hell broke loose" }, { "ok": false, "id": 10 } ] } ] ] tap-parser-7.0.0/test/fixtures/combined--preservewhite--omitversion.json000066400000000000000000000047221320135610000264730ustar00rootroot00000000000000[ [ "line", "1..10\n" ], [ "plan", { "start": 1, "end": 10 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2 basset hounds got long ears\n" ], [ "assert", { "ok": true, "id": 2, "name": "basset hounds got long ears" } ], [ "line", "not ok 3 all hell broke loose\n" ], [ "assert", { "ok": false, "id": 3, "name": "all hell broke loose" } ], [ "line", "not ok 4 # TODO if I heard a voice from heaven ...\n" ], [ "assert", { "ok": false, "id": 4, "todo": "if I heard a voice from heaven ...", "name": "" } ], [ "line", "ok say \"live without loving\",\n" ], [ "assert", { "ok": true, "id": 5, "name": "say \"live without loving\"," } ], [ "line", "ok 6 I'd beg off.\n" ], [ "assert", { "ok": true, "id": 6, "name": "I'd beg off." } ], [ "line", "ok 7 # Skip contract negotiations\n" ], [ "assert", { "ok": true, "id": 7, "skip": "contract negotiations", "name": "" } ], [ "line", "ok 8 Girls are such exquisite hell\n" ], [ "assert", { "ok": true, "id": 8, "name": "Girls are such exquisite hell" } ], [ "line", "ok 9 Elegy 9B # TOdO\n" ], [ "assert", { "ok": true, "id": 9, "todo": true, "name": "Elegy 9B" } ], [ "line", "not ok 10\n" ], [ "assert", { "ok": false, "id": 10 } ], [ "line", "# failed 3 of 10 tests\n" ], [ "comment", "# failed 3 of 10 tests\n" ], [ "line", "# todo: 2\n" ], [ "comment", "# todo: 2\n" ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": false, "count": 10, "pass": 7, "fail": 3, "bailout": false, "todo": 2, "skip": 1, "plan": { "start": 1, "end": 10, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 3, "name": "all hell broke loose" }, { "ok": false, "id": 10 } ] } ] ] tap-parser-7.0.0/test/fixtures/combined--preservewhite.json000066400000000000000000000047221320135610000240420ustar00rootroot00000000000000[ [ "line", "1..10\n" ], [ "plan", { "start": 1, "end": 10 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2 basset hounds got long ears\n" ], [ "assert", { "ok": true, "id": 2, "name": "basset hounds got long ears" } ], [ "line", "not ok 3 all hell broke loose\n" ], [ "assert", { "ok": false, "id": 3, "name": "all hell broke loose" } ], [ "line", "not ok 4 # TODO if I heard a voice from heaven ...\n" ], [ "assert", { "ok": false, "id": 4, "todo": "if I heard a voice from heaven ...", "name": "" } ], [ "line", "ok say \"live without loving\",\n" ], [ "assert", { "ok": true, "id": 5, "name": "say \"live without loving\"," } ], [ "line", "ok 6 I'd beg off.\n" ], [ "assert", { "ok": true, "id": 6, "name": "I'd beg off." } ], [ "line", "ok 7 # Skip contract negotiations\n" ], [ "assert", { "ok": true, "id": 7, "skip": "contract negotiations", "name": "" } ], [ "line", "ok 8 Girls are such exquisite hell\n" ], [ "assert", { "ok": true, "id": 8, "name": "Girls are such exquisite hell" } ], [ "line", "ok 9 Elegy 9B # TOdO\n" ], [ "assert", { "ok": true, "id": 9, "todo": true, "name": "Elegy 9B" } ], [ "line", "not ok 10\n" ], [ "assert", { "ok": false, "id": 10 } ], [ "line", "# failed 3 of 10 tests\n" ], [ "comment", "# failed 3 of 10 tests\n" ], [ "line", "# todo: 2\n" ], [ "comment", "# todo: 2\n" ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": false, "count": 10, "pass": 7, "fail": 3, "bailout": false, "todo": 2, "skip": 1, "plan": { "start": 1, "end": 10, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 3, "name": "all hell broke loose" }, { "ok": false, "id": 10 } ] } ] ] tap-parser-7.0.0/test/fixtures/combined.json000066400000000000000000000047221320135610000210730ustar00rootroot00000000000000[ [ "line", "1..10\n" ], [ "plan", { "start": 1, "end": 10 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2 basset hounds got long ears\n" ], [ "assert", { "ok": true, "id": 2, "name": "basset hounds got long ears" } ], [ "line", "not ok 3 all hell broke loose\n" ], [ "assert", { "ok": false, "id": 3, "name": "all hell broke loose" } ], [ "line", "not ok 4 # TODO if I heard a voice from heaven ...\n" ], [ "assert", { "ok": false, "id": 4, "todo": "if I heard a voice from heaven ...", "name": "" } ], [ "line", "ok say \"live without loving\",\n" ], [ "assert", { "ok": true, "id": 5, "name": "say \"live without loving\"," } ], [ "line", "ok 6 I'd beg off.\n" ], [ "assert", { "ok": true, "id": 6, "name": "I'd beg off." } ], [ "line", "ok 7 # Skip contract negotiations\n" ], [ "assert", { "ok": true, "id": 7, "skip": "contract negotiations", "name": "" } ], [ "line", "ok 8 Girls are such exquisite hell\n" ], [ "assert", { "ok": true, "id": 8, "name": "Girls are such exquisite hell" } ], [ "line", "ok 9 Elegy 9B # TOdO\n" ], [ "assert", { "ok": true, "id": 9, "todo": true, "name": "Elegy 9B" } ], [ "line", "not ok 10\n" ], [ "assert", { "ok": false, "id": 10 } ], [ "line", "# failed 3 of 10 tests\n" ], [ "comment", "# failed 3 of 10 tests\n" ], [ "line", "# todo: 2\n" ], [ "comment", "# todo: 2\n" ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": false, "count": 10, "pass": 7, "fail": 3, "bailout": false, "todo": 2, "skip": 1, "plan": { "start": 1, "end": 10, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 3, "name": "all hell broke loose" }, { "ok": false, "id": 10 } ] } ] ] tap-parser-7.0.0/test/fixtures/combined.tap000066400000000000000000000004561320135610000207060ustar00rootroot000000000000001..10 ok 1 ok 2 basset hounds got long ears not ok 3 all hell broke loose not ok 4 # TODO if I heard a voice from heaven ... ok say "live without loving", ok 6 I'd beg off. ok 7 # Skip contract negotiations ok 8 Girls are such exquisite hell ok 9 Elegy 9B # TOdO not ok 10 tap-parser-7.0.0/test/fixtures/combined_compat--bail--omitversion.json000066400000000000000000000021251320135610000260440ustar00rootroot00000000000000[ [ "line", "1..10 todo 4 10\n" ], [ "extra", "1..10 todo 4 10\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2 basset hounds got long ears\n" ], [ "assert", { "ok": true, "id": 2, "name": "basset hounds got long ears" } ], [ "line", "not ok 3 all hell broke lose\n" ], [ "assert", { "ok": false, "id": 3, "name": "all hell broke lose" } ], [ "line", "Bail out! # all hell broke lose\n" ], [ "bailout", "# all hell broke lose" ], [ "complete", { "ok": false, "count": 3, "pass": 2, "fail": 1, "bailout": "# all hell broke lose", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 3, "name": "all hell broke lose" } ] } ] ] tap-parser-7.0.0/test/fixtures/combined_compat--bail--preservewhite--omitversion.json000066400000000000000000000021251320135610000310130ustar00rootroot00000000000000[ [ "line", "1..10 todo 4 10\n" ], [ "extra", "1..10 todo 4 10\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2 basset hounds got long ears\n" ], [ "assert", { "ok": true, "id": 2, "name": "basset hounds got long ears" } ], [ "line", "not ok 3 all hell broke lose\n" ], [ "assert", { "ok": false, "id": 3, "name": "all hell broke lose" } ], [ "line", "Bail out! # all hell broke lose\n" ], [ "bailout", "# all hell broke lose" ], [ "complete", { "ok": false, "count": 3, "pass": 2, "fail": 1, "bailout": "# all hell broke lose", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 3, "name": "all hell broke lose" } ] } ] ] tap-parser-7.0.0/test/fixtures/combined_compat--bail--preservewhite.json000066400000000000000000000021251320135610000263620ustar00rootroot00000000000000[ [ "line", "1..10 todo 4 10\n" ], [ "extra", "1..10 todo 4 10\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2 basset hounds got long ears\n" ], [ "assert", { "ok": true, "id": 2, "name": "basset hounds got long ears" } ], [ "line", "not ok 3 all hell broke lose\n" ], [ "assert", { "ok": false, "id": 3, "name": "all hell broke lose" } ], [ "line", "Bail out! # all hell broke lose\n" ], [ "bailout", "# all hell broke lose" ], [ "complete", { "ok": false, "count": 3, "pass": 2, "fail": 1, "bailout": "# all hell broke lose", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 3, "name": "all hell broke lose" } ] } ] ] tap-parser-7.0.0/test/fixtures/combined_compat--bail.json000066400000000000000000000021251320135610000234130ustar00rootroot00000000000000[ [ "line", "1..10 todo 4 10\n" ], [ "extra", "1..10 todo 4 10\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2 basset hounds got long ears\n" ], [ "assert", { "ok": true, "id": 2, "name": "basset hounds got long ears" } ], [ "line", "not ok 3 all hell broke lose\n" ], [ "assert", { "ok": false, "id": 3, "name": "all hell broke lose" } ], [ "line", "Bail out! # all hell broke lose\n" ], [ "bailout", "# all hell broke lose" ], [ "complete", { "ok": false, "count": 3, "pass": 2, "fail": 1, "bailout": "# all hell broke lose", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 3, "name": "all hell broke lose" } ] } ] ] tap-parser-7.0.0/test/fixtures/combined_compat--omitversion.json000066400000000000000000000043521320135610000250660ustar00rootroot00000000000000[ [ "line", "1..10 todo 4 10\n" ], [ "extra", "1..10 todo 4 10\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2 basset hounds got long ears\n" ], [ "assert", { "ok": true, "id": 2, "name": "basset hounds got long ears" } ], [ "line", "not ok 3 all hell broke lose\n" ], [ "assert", { "ok": false, "id": 3, "name": "all hell broke lose" } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "ok 6\n" ], [ "assert", { "ok": true, "id": 6 } ], [ "line", "ok 7 # Skip contract negociations\n" ], [ "assert", { "ok": true, "id": 7, "skip": "contract negociations", "name": "" } ], [ "line", "ok 8\n" ], [ "assert", { "ok": true, "id": 8 } ], [ "line", "not ok 9\n" ], [ "assert", { "ok": false, "id": 9 } ], [ "line", "not ok 10\n" ], [ "assert", { "ok": false, "id": 10 } ], [ "line", "# test count(10) != plan(null)\n" ], [ "comment", "# test count(10) != plan(null)\n" ], [ "line", "# failed 4 of 10 tests\n" ], [ "comment", "# failed 4 of 10 tests\n" ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": false, "count": 10, "pass": 7, "fail": 4, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 3, "name": "all hell broke lose" }, { "ok": false, "id": 9 }, { "ok": false, "id": 10 }, { "tapError": "no plan" } ] } ] ] tap-parser-7.0.0/test/fixtures/combined_compat--preservewhite--omitversion.json000066400000000000000000000043521320135610000300350ustar00rootroot00000000000000[ [ "line", "1..10 todo 4 10\n" ], [ "extra", "1..10 todo 4 10\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2 basset hounds got long ears\n" ], [ "assert", { "ok": true, "id": 2, "name": "basset hounds got long ears" } ], [ "line", "not ok 3 all hell broke lose\n" ], [ "assert", { "ok": false, "id": 3, "name": "all hell broke lose" } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "ok 6\n" ], [ "assert", { "ok": true, "id": 6 } ], [ "line", "ok 7 # Skip contract negociations\n" ], [ "assert", { "ok": true, "id": 7, "skip": "contract negociations", "name": "" } ], [ "line", "ok 8\n" ], [ "assert", { "ok": true, "id": 8 } ], [ "line", "not ok 9\n" ], [ "assert", { "ok": false, "id": 9 } ], [ "line", "not ok 10\n" ], [ "assert", { "ok": false, "id": 10 } ], [ "line", "# test count(10) != plan(null)\n" ], [ "comment", "# test count(10) != plan(null)\n" ], [ "line", "# failed 4 of 10 tests\n" ], [ "comment", "# failed 4 of 10 tests\n" ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": false, "count": 10, "pass": 7, "fail": 4, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 3, "name": "all hell broke lose" }, { "ok": false, "id": 9 }, { "ok": false, "id": 10 }, { "tapError": "no plan" } ] } ] ] tap-parser-7.0.0/test/fixtures/combined_compat--preservewhite.json000066400000000000000000000043521320135610000254040ustar00rootroot00000000000000[ [ "line", "1..10 todo 4 10\n" ], [ "extra", "1..10 todo 4 10\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2 basset hounds got long ears\n" ], [ "assert", { "ok": true, "id": 2, "name": "basset hounds got long ears" } ], [ "line", "not ok 3 all hell broke lose\n" ], [ "assert", { "ok": false, "id": 3, "name": "all hell broke lose" } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "ok 6\n" ], [ "assert", { "ok": true, "id": 6 } ], [ "line", "ok 7 # Skip contract negociations\n" ], [ "assert", { "ok": true, "id": 7, "skip": "contract negociations", "name": "" } ], [ "line", "ok 8\n" ], [ "assert", { "ok": true, "id": 8 } ], [ "line", "not ok 9\n" ], [ "assert", { "ok": false, "id": 9 } ], [ "line", "not ok 10\n" ], [ "assert", { "ok": false, "id": 10 } ], [ "line", "# test count(10) != plan(null)\n" ], [ "comment", "# test count(10) != plan(null)\n" ], [ "line", "# failed 4 of 10 tests\n" ], [ "comment", "# failed 4 of 10 tests\n" ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": false, "count": 10, "pass": 7, "fail": 4, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 3, "name": "all hell broke lose" }, { "ok": false, "id": 9 }, { "ok": false, "id": 10 }, { "tapError": "no plan" } ] } ] ] tap-parser-7.0.0/test/fixtures/combined_compat.json000066400000000000000000000043521320135610000224350ustar00rootroot00000000000000[ [ "line", "1..10 todo 4 10\n" ], [ "extra", "1..10 todo 4 10\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2 basset hounds got long ears\n" ], [ "assert", { "ok": true, "id": 2, "name": "basset hounds got long ears" } ], [ "line", "not ok 3 all hell broke lose\n" ], [ "assert", { "ok": false, "id": 3, "name": "all hell broke lose" } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "ok 6\n" ], [ "assert", { "ok": true, "id": 6 } ], [ "line", "ok 7 # Skip contract negociations\n" ], [ "assert", { "ok": true, "id": 7, "skip": "contract negociations", "name": "" } ], [ "line", "ok 8\n" ], [ "assert", { "ok": true, "id": 8 } ], [ "line", "not ok 9\n" ], [ "assert", { "ok": false, "id": 9 } ], [ "line", "not ok 10\n" ], [ "assert", { "ok": false, "id": 10 } ], [ "line", "# test count(10) != plan(null)\n" ], [ "comment", "# test count(10) != plan(null)\n" ], [ "line", "# failed 4 of 10 tests\n" ], [ "comment", "# failed 4 of 10 tests\n" ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": false, "count": 10, "pass": 7, "fail": 4, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 3, "name": "all hell broke lose" }, { "ok": false, "id": 9 }, { "ok": false, "id": 10 }, { "tapError": "no plan" } ] } ] ] tap-parser-7.0.0/test/fixtures/combined_compat.tap000066400000000000000000000002541320135610000222450ustar00rootroot000000000000001..10 todo 4 10 ok 1 ok 2 basset hounds got long ears not ok 3 all hell broke lose ok 4 ok ok 6 ok 7 # Skip contract negociations ok 8 not ok 9 not ok 10 tap-parser-7.0.0/test/fixtures/comment-mid-diag--bail--omitversion.json000066400000000000000000000033601320135610000260360ustar00rootroot00000000000000[ [ "line", "# before version\n" ], [ "comment", "# before version\n" ], [ "line", "# after version, before plan\n" ], [ "comment", "# after version, before plan\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# before result\n" ], [ "comment", "# before result\n" ], [ "line", "not ok 1 - please keep my diags\n" ], [ "line", " ---\n" ], [ "line", " # mid diag indent\n" ], [ "line", " after: comment\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "please keep my diags", "diag": { "after": "comment" } } ], [ "line", " # before diag\n" ], [ "comment", " # before diag\n" ], [ "line", "# mid diag\n" ], [ "comment", "# mid diag\n" ], [ "line", " # after diag\n" ], [ "comment", " # after diag\n" ], [ "line", "# before 2\n" ], [ "comment", "# before 2\n" ], [ "line", "Bail out! # please keep my diags\n" ], [ "bailout", "# please keep my diags" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# please keep my diags", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "please keep my diags", "diag": { "after": "comment" } } ] } ] ] tap-parser-7.0.0/test/fixtures/comment-mid-diag--bail--preservewhite--omitversion.json000066400000000000000000000033601320135610000310050ustar00rootroot00000000000000[ [ "line", "# before version\n" ], [ "comment", "# before version\n" ], [ "line", "# after version, before plan\n" ], [ "comment", "# after version, before plan\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# before result\n" ], [ "comment", "# before result\n" ], [ "line", "not ok 1 - please keep my diags\n" ], [ "line", " ---\n" ], [ "line", " # mid diag indent\n" ], [ "line", " after: comment\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "please keep my diags", "diag": { "after": "comment" } } ], [ "line", " # before diag\n" ], [ "comment", " # before diag\n" ], [ "line", "# mid diag\n" ], [ "comment", "# mid diag\n" ], [ "line", " # after diag\n" ], [ "comment", " # after diag\n" ], [ "line", "# before 2\n" ], [ "comment", "# before 2\n" ], [ "line", "Bail out! # please keep my diags\n" ], [ "bailout", "# please keep my diags" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# please keep my diags", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "please keep my diags", "diag": { "after": "comment" } } ] } ] ] tap-parser-7.0.0/test/fixtures/comment-mid-diag--bail--preservewhite.json000066400000000000000000000034731320135610000263610ustar00rootroot00000000000000[ [ "line", "# before version\n" ], [ "comment", "# before version\n" ], [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# after version, before plan\n" ], [ "comment", "# after version, before plan\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# before result\n" ], [ "comment", "# before result\n" ], [ "line", "not ok 1 - please keep my diags\n" ], [ "line", " ---\n" ], [ "line", " # mid diag indent\n" ], [ "line", " after: comment\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "please keep my diags", "diag": { "after": "comment" } } ], [ "line", " # before diag\n" ], [ "comment", " # before diag\n" ], [ "line", "# mid diag\n" ], [ "comment", "# mid diag\n" ], [ "line", " # after diag\n" ], [ "comment", " # after diag\n" ], [ "line", "# before 2\n" ], [ "comment", "# before 2\n" ], [ "line", "Bail out! # please keep my diags\n" ], [ "bailout", "# please keep my diags" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# please keep my diags", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "please keep my diags", "diag": { "after": "comment" } } ] } ] ] tap-parser-7.0.0/test/fixtures/comment-mid-diag--bail.json000066400000000000000000000034731320135610000234120ustar00rootroot00000000000000[ [ "line", "# before version\n" ], [ "comment", "# before version\n" ], [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# after version, before plan\n" ], [ "comment", "# after version, before plan\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# before result\n" ], [ "comment", "# before result\n" ], [ "line", "not ok 1 - please keep my diags\n" ], [ "line", " ---\n" ], [ "line", " # mid diag indent\n" ], [ "line", " after: comment\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "please keep my diags", "diag": { "after": "comment" } } ], [ "line", " # before diag\n" ], [ "comment", " # before diag\n" ], [ "line", "# mid diag\n" ], [ "comment", "# mid diag\n" ], [ "line", " # after diag\n" ], [ "comment", " # after diag\n" ], [ "line", "# before 2\n" ], [ "comment", "# before 2\n" ], [ "line", "Bail out! # please keep my diags\n" ], [ "bailout", "# please keep my diags" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# please keep my diags", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "please keep my diags", "diag": { "after": "comment" } } ] } ] ] tap-parser-7.0.0/test/fixtures/comment-mid-diag--omitversion.json000066400000000000000000000036111320135610000250530ustar00rootroot00000000000000[ [ "line", "# before version\n" ], [ "comment", "# before version\n" ], [ "line", "# after version, before plan\n" ], [ "comment", "# after version, before plan\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# before result\n" ], [ "comment", "# before result\n" ], [ "line", "not ok 1 - please keep my diags\n" ], [ "line", " ---\n" ], [ "line", " # mid diag indent\n" ], [ "line", " after: comment\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "please keep my diags", "diag": { "after": "comment" } } ], [ "line", " # before diag\n" ], [ "comment", " # before diag\n" ], [ "line", "# mid diag\n" ], [ "comment", "# mid diag\n" ], [ "line", " # after diag\n" ], [ "comment", " # after diag\n" ], [ "line", "# before 2\n" ], [ "comment", "# before 2\n" ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "# after 2\n" ], [ "comment", "# after 2\n" ], [ "line", "# failed 1 of 2 tests\n" ], [ "comment", "# failed 1 of 2 tests\n" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "please keep my diags", "diag": { "after": "comment" } } ] } ] ] tap-parser-7.0.0/test/fixtures/comment-mid-diag--preservewhite--omitversion.json000066400000000000000000000036111320135610000300220ustar00rootroot00000000000000[ [ "line", "# before version\n" ], [ "comment", "# before version\n" ], [ "line", "# after version, before plan\n" ], [ "comment", "# after version, before plan\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# before result\n" ], [ "comment", "# before result\n" ], [ "line", "not ok 1 - please keep my diags\n" ], [ "line", " ---\n" ], [ "line", " # mid diag indent\n" ], [ "line", " after: comment\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "please keep my diags", "diag": { "after": "comment" } } ], [ "line", " # before diag\n" ], [ "comment", " # before diag\n" ], [ "line", "# mid diag\n" ], [ "comment", "# mid diag\n" ], [ "line", " # after diag\n" ], [ "comment", " # after diag\n" ], [ "line", "# before 2\n" ], [ "comment", "# before 2\n" ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "# after 2\n" ], [ "comment", "# after 2\n" ], [ "line", "# failed 1 of 2 tests\n" ], [ "comment", "# failed 1 of 2 tests\n" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "please keep my diags", "diag": { "after": "comment" } } ] } ] ] tap-parser-7.0.0/test/fixtures/comment-mid-diag--preservewhite.json000066400000000000000000000037241320135610000253760ustar00rootroot00000000000000[ [ "line", "# before version\n" ], [ "comment", "# before version\n" ], [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# after version, before plan\n" ], [ "comment", "# after version, before plan\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# before result\n" ], [ "comment", "# before result\n" ], [ "line", "not ok 1 - please keep my diags\n" ], [ "line", " ---\n" ], [ "line", " # mid diag indent\n" ], [ "line", " after: comment\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "please keep my diags", "diag": { "after": "comment" } } ], [ "line", " # before diag\n" ], [ "comment", " # before diag\n" ], [ "line", "# mid diag\n" ], [ "comment", "# mid diag\n" ], [ "line", " # after diag\n" ], [ "comment", " # after diag\n" ], [ "line", "# before 2\n" ], [ "comment", "# before 2\n" ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "# after 2\n" ], [ "comment", "# after 2\n" ], [ "line", "# failed 1 of 2 tests\n" ], [ "comment", "# failed 1 of 2 tests\n" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "please keep my diags", "diag": { "after": "comment" } } ] } ] ] tap-parser-7.0.0/test/fixtures/comment-mid-diag-postplan--bail--omitversion.json000066400000000000000000000027461320135610000277030ustar00rootroot00000000000000[ [ "line", "# before version\n" ], [ "comment", "# before version\n" ], [ "line", "# after version, before result\n" ], [ "comment", "# after version, before result\n" ], [ "line", "not ok 1 - please keep my diags\n" ], [ "line", " ---\n" ], [ "line", " # mid diag indent\n" ], [ "line", " after: comment\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "please keep my diags", "diag": { "after": "comment" } } ], [ "line", " # before diag\n" ], [ "comment", " # before diag\n" ], [ "line", "# mid diag\n" ], [ "comment", "# mid diag\n" ], [ "line", " # after diag\n" ], [ "comment", " # after diag\n" ], [ "line", "Bail out! # please keep my diags\n" ], [ "bailout", "# please keep my diags" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# please keep my diags", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "please keep my diags", "diag": { "after": "comment" } } ] } ] ] tap-parser-7.0.0/test/fixtures/comment-mid-diag-postplan--bail--preservewhite--omitversion.json000066400000000000000000000027461320135610000326520ustar00rootroot00000000000000[ [ "line", "# before version\n" ], [ "comment", "# before version\n" ], [ "line", "# after version, before result\n" ], [ "comment", "# after version, before result\n" ], [ "line", "not ok 1 - please keep my diags\n" ], [ "line", " ---\n" ], [ "line", " # mid diag indent\n" ], [ "line", " after: comment\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "please keep my diags", "diag": { "after": "comment" } } ], [ "line", " # before diag\n" ], [ "comment", " # before diag\n" ], [ "line", "# mid diag\n" ], [ "comment", "# mid diag\n" ], [ "line", " # after diag\n" ], [ "comment", " # after diag\n" ], [ "line", "Bail out! # please keep my diags\n" ], [ "bailout", "# please keep my diags" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# please keep my diags", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "please keep my diags", "diag": { "after": "comment" } } ] } ] ] tap-parser-7.0.0/test/fixtures/comment-mid-diag-postplan--bail--preservewhite.json000066400000000000000000000030611320135610000302100ustar00rootroot00000000000000[ [ "line", "# before version\n" ], [ "comment", "# before version\n" ], [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# after version, before result\n" ], [ "comment", "# after version, before result\n" ], [ "line", "not ok 1 - please keep my diags\n" ], [ "line", " ---\n" ], [ "line", " # mid diag indent\n" ], [ "line", " after: comment\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "please keep my diags", "diag": { "after": "comment" } } ], [ "line", " # before diag\n" ], [ "comment", " # before diag\n" ], [ "line", "# mid diag\n" ], [ "comment", "# mid diag\n" ], [ "line", " # after diag\n" ], [ "comment", " # after diag\n" ], [ "line", "Bail out! # please keep my diags\n" ], [ "bailout", "# please keep my diags" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# please keep my diags", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "please keep my diags", "diag": { "after": "comment" } } ] } ] ] tap-parser-7.0.0/test/fixtures/comment-mid-diag-postplan--bail.json000066400000000000000000000030611320135610000252410ustar00rootroot00000000000000[ [ "line", "# before version\n" ], [ "comment", "# before version\n" ], [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# after version, before result\n" ], [ "comment", "# after version, before result\n" ], [ "line", "not ok 1 - please keep my diags\n" ], [ "line", " ---\n" ], [ "line", " # mid diag indent\n" ], [ "line", " after: comment\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "please keep my diags", "diag": { "after": "comment" } } ], [ "line", " # before diag\n" ], [ "comment", " # before diag\n" ], [ "line", "# mid diag\n" ], [ "comment", "# mid diag\n" ], [ "line", " # after diag\n" ], [ "comment", " # after diag\n" ], [ "line", "Bail out! # please keep my diags\n" ], [ "bailout", "# please keep my diags" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# please keep my diags", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "please keep my diags", "diag": { "after": "comment" } } ] } ] ] tap-parser-7.0.0/test/fixtures/comment-mid-diag-postplan--omitversion.json000066400000000000000000000065071320135610000267200ustar00rootroot00000000000000[ [ "line", "# before version\n" ], [ "comment", "# before version\n" ], [ "line", "# after version, before result\n" ], [ "comment", "# after version, before result\n" ], [ "line", "not ok 1 - please keep my diags\n" ], [ "line", " ---\n" ], [ "line", " # mid diag indent\n" ], [ "line", " after: comment\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "please keep my diags", "diag": { "after": "comment" } } ], [ "line", " # before diag\n" ], [ "comment", " # before diag\n" ], [ "line", "# mid diag\n" ], [ "comment", "# mid diag\n" ], [ "line", " # after diag\n" ], [ "comment", " # after diag\n" ], [ "line", "# Subtest: child\n" ], [ "child", [ [ "comment", "# Subtest: child\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# before 1\n" ], [ "comment", "# before 1\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "# before 2\n" ], [ "comment", "# before 2\n" ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " # before 1\n" ], [ "line", " ok 1\n" ], [ "line", " # before 2\n" ], [ "line", " ok 2\n" ], [ "line", "# before 2\n" ], [ "comment", "# before 2\n" ], [ "line", "ok 2 - child\n" ], [ "assert", { "ok": true, "id": 2, "name": "child" } ], [ "line", "# after 2, brefore plan\n" ], [ "comment", "# after 2, brefore plan\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# after plan\n" ], [ "comment", "# after plan\n" ], [ "line", "# failed 1 of 2 tests\n" ], [ "comment", "# failed 1 of 2 tests\n" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "please keep my diags", "diag": { "after": "comment" } } ] } ] ] tap-parser-7.0.0/test/fixtures/comment-mid-diag-postplan--preservewhite--omitversion.json000066400000000000000000000065071320135610000316670ustar00rootroot00000000000000[ [ "line", "# before version\n" ], [ "comment", "# before version\n" ], [ "line", "# after version, before result\n" ], [ "comment", "# after version, before result\n" ], [ "line", "not ok 1 - please keep my diags\n" ], [ "line", " ---\n" ], [ "line", " # mid diag indent\n" ], [ "line", " after: comment\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "please keep my diags", "diag": { "after": "comment" } } ], [ "line", " # before diag\n" ], [ "comment", " # before diag\n" ], [ "line", "# mid diag\n" ], [ "comment", "# mid diag\n" ], [ "line", " # after diag\n" ], [ "comment", " # after diag\n" ], [ "line", "# Subtest: child\n" ], [ "child", [ [ "comment", "# Subtest: child\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# before 1\n" ], [ "comment", "# before 1\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "# before 2\n" ], [ "comment", "# before 2\n" ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " # before 1\n" ], [ "line", " ok 1\n" ], [ "line", " # before 2\n" ], [ "line", " ok 2\n" ], [ "line", "# before 2\n" ], [ "comment", "# before 2\n" ], [ "line", "ok 2 - child\n" ], [ "assert", { "ok": true, "id": 2, "name": "child" } ], [ "line", "# after 2, brefore plan\n" ], [ "comment", "# after 2, brefore plan\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# after plan\n" ], [ "comment", "# after plan\n" ], [ "line", "# failed 1 of 2 tests\n" ], [ "comment", "# failed 1 of 2 tests\n" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "please keep my diags", "diag": { "after": "comment" } } ] } ] ] tap-parser-7.0.0/test/fixtures/comment-mid-diag-postplan--preservewhite.json000066400000000000000000000066221320135610000272340ustar00rootroot00000000000000[ [ "line", "# before version\n" ], [ "comment", "# before version\n" ], [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# after version, before result\n" ], [ "comment", "# after version, before result\n" ], [ "line", "not ok 1 - please keep my diags\n" ], [ "line", " ---\n" ], [ "line", " # mid diag indent\n" ], [ "line", " after: comment\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "please keep my diags", "diag": { "after": "comment" } } ], [ "line", " # before diag\n" ], [ "comment", " # before diag\n" ], [ "line", "# mid diag\n" ], [ "comment", "# mid diag\n" ], [ "line", " # after diag\n" ], [ "comment", " # after diag\n" ], [ "line", "# Subtest: child\n" ], [ "child", [ [ "comment", "# Subtest: child\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# before 1\n" ], [ "comment", "# before 1\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "# before 2\n" ], [ "comment", "# before 2\n" ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " # before 1\n" ], [ "line", " ok 1\n" ], [ "line", " # before 2\n" ], [ "line", " ok 2\n" ], [ "line", "# before 2\n" ], [ "comment", "# before 2\n" ], [ "line", "ok 2 - child\n" ], [ "assert", { "ok": true, "id": 2, "name": "child" } ], [ "line", "# after 2, brefore plan\n" ], [ "comment", "# after 2, brefore plan\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# after plan\n" ], [ "comment", "# after plan\n" ], [ "line", "# failed 1 of 2 tests\n" ], [ "comment", "# failed 1 of 2 tests\n" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "please keep my diags", "diag": { "after": "comment" } } ] } ] ] tap-parser-7.0.0/test/fixtures/comment-mid-diag-postplan.json000066400000000000000000000066221320135610000242650ustar00rootroot00000000000000[ [ "line", "# before version\n" ], [ "comment", "# before version\n" ], [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# after version, before result\n" ], [ "comment", "# after version, before result\n" ], [ "line", "not ok 1 - please keep my diags\n" ], [ "line", " ---\n" ], [ "line", " # mid diag indent\n" ], [ "line", " after: comment\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "please keep my diags", "diag": { "after": "comment" } } ], [ "line", " # before diag\n" ], [ "comment", " # before diag\n" ], [ "line", "# mid diag\n" ], [ "comment", "# mid diag\n" ], [ "line", " # after diag\n" ], [ "comment", " # after diag\n" ], [ "line", "# Subtest: child\n" ], [ "child", [ [ "comment", "# Subtest: child\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# before 1\n" ], [ "comment", "# before 1\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "# before 2\n" ], [ "comment", "# before 2\n" ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " # before 1\n" ], [ "line", " ok 1\n" ], [ "line", " # before 2\n" ], [ "line", " ok 2\n" ], [ "line", "# before 2\n" ], [ "comment", "# before 2\n" ], [ "line", "ok 2 - child\n" ], [ "assert", { "ok": true, "id": 2, "name": "child" } ], [ "line", "# after 2, brefore plan\n" ], [ "comment", "# after 2, brefore plan\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# after plan\n" ], [ "comment", "# after plan\n" ], [ "line", "# failed 1 of 2 tests\n" ], [ "comment", "# failed 1 of 2 tests\n" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "please keep my diags", "diag": { "after": "comment" } } ] } ] ] tap-parser-7.0.0/test/fixtures/comment-mid-diag-postplan.tap000066400000000000000000000005121320135610000240700ustar00rootroot00000000000000# before version TAP version 13 # after version, before result not ok 1 - please keep my diags # before diag --- # mid diag indent after: comment # mid diag ... # after diag # Subtest: child 1..2 # before 1 ok 1 # before 2 ok 2 # before 2 ok 2 - child # after 2, brefore plan 1..2 # after plan tap-parser-7.0.0/test/fixtures/comment-mid-diag.json000066400000000000000000000037241320135610000224270ustar00rootroot00000000000000[ [ "line", "# before version\n" ], [ "comment", "# before version\n" ], [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# after version, before plan\n" ], [ "comment", "# after version, before plan\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# before result\n" ], [ "comment", "# before result\n" ], [ "line", "not ok 1 - please keep my diags\n" ], [ "line", " ---\n" ], [ "line", " # mid diag indent\n" ], [ "line", " after: comment\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "please keep my diags", "diag": { "after": "comment" } } ], [ "line", " # before diag\n" ], [ "comment", " # before diag\n" ], [ "line", "# mid diag\n" ], [ "comment", "# mid diag\n" ], [ "line", " # after diag\n" ], [ "comment", " # after diag\n" ], [ "line", "# before 2\n" ], [ "comment", "# before 2\n" ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "# after 2\n" ], [ "comment", "# after 2\n" ], [ "line", "# failed 1 of 2 tests\n" ], [ "comment", "# failed 1 of 2 tests\n" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "please keep my diags", "diag": { "after": "comment" } } ] } ] ] tap-parser-7.0.0/test/fixtures/comment-mid-diag.tap000066400000000000000000000003471320135610000222400ustar00rootroot00000000000000# before version TAP version 13 # after version, before plan 1..2 # before result not ok 1 - please keep my diags # before diag --- # mid diag indent after: comment # mid diag ... # after diag # before 2 ok 2 # after 2 tap-parser-7.0.0/test/fixtures/common-with-explanation--bail--omitversion.json000066400000000000000000000034461320135610000275110ustar00rootroot00000000000000[ [ "line", "1..6\n" ], [ "plan", { "start": 1, "end": 6 } ], [ "line", "#\n" ], [ "comment", "#\n" ], [ "line", "# Create a new Board and Tile, then place\n" ], [ "comment", "# Create a new Board and Tile, then place\n" ], [ "line", "# the Tile onto the board.\n" ], [ "comment", "# the Tile onto the board.\n" ], [ "line", "#\n" ], [ "comment", "#\n" ], [ "line", "ok 1 - The object isa Board\n" ], [ "assert", { "ok": true, "id": 1, "name": "The object isa Board" } ], [ "line", "ok 2 - Board size is zero\n" ], [ "assert", { "ok": true, "id": 2, "name": "Board size is zero" } ], [ "line", "ok 3 - The object isa Tile\n" ], [ "assert", { "ok": true, "id": 3, "name": "The object isa Tile" } ], [ "line", "ok 4 - Get possible places to put the Tile\n" ], [ "assert", { "ok": true, "id": 4, "name": "Get possible places to put the Tile" } ], [ "line", "ok 5 - Placing the tile produces no error\n" ], [ "assert", { "ok": true, "id": 5, "name": "Placing the tile produces no error" } ], [ "line", "ok 6 - Board size is 1\n" ], [ "assert", { "ok": true, "id": 6, "name": "Board size is 1" } ], [ "complete", { "ok": true, "count": 6, "pass": 6, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 6, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/common-with-explanation--bail--preservewhite--omitversion.json000066400000000000000000000034461320135610000324600ustar00rootroot00000000000000[ [ "line", "1..6\n" ], [ "plan", { "start": 1, "end": 6 } ], [ "line", "#\n" ], [ "comment", "#\n" ], [ "line", "# Create a new Board and Tile, then place\n" ], [ "comment", "# Create a new Board and Tile, then place\n" ], [ "line", "# the Tile onto the board.\n" ], [ "comment", "# the Tile onto the board.\n" ], [ "line", "#\n" ], [ "comment", "#\n" ], [ "line", "ok 1 - The object isa Board\n" ], [ "assert", { "ok": true, "id": 1, "name": "The object isa Board" } ], [ "line", "ok 2 - Board size is zero\n" ], [ "assert", { "ok": true, "id": 2, "name": "Board size is zero" } ], [ "line", "ok 3 - The object isa Tile\n" ], [ "assert", { "ok": true, "id": 3, "name": "The object isa Tile" } ], [ "line", "ok 4 - Get possible places to put the Tile\n" ], [ "assert", { "ok": true, "id": 4, "name": "Get possible places to put the Tile" } ], [ "line", "ok 5 - Placing the tile produces no error\n" ], [ "assert", { "ok": true, "id": 5, "name": "Placing the tile produces no error" } ], [ "line", "ok 6 - Board size is 1\n" ], [ "assert", { "ok": true, "id": 6, "name": "Board size is 1" } ], [ "complete", { "ok": true, "count": 6, "pass": 6, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 6, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/common-with-explanation--bail--preservewhite.json000066400000000000000000000035611320135610000300250ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..6\n" ], [ "plan", { "start": 1, "end": 6 } ], [ "line", "#\n" ], [ "comment", "#\n" ], [ "line", "# Create a new Board and Tile, then place\n" ], [ "comment", "# Create a new Board and Tile, then place\n" ], [ "line", "# the Tile onto the board.\n" ], [ "comment", "# the Tile onto the board.\n" ], [ "line", "#\n" ], [ "comment", "#\n" ], [ "line", "ok 1 - The object isa Board\n" ], [ "assert", { "ok": true, "id": 1, "name": "The object isa Board" } ], [ "line", "ok 2 - Board size is zero\n" ], [ "assert", { "ok": true, "id": 2, "name": "Board size is zero" } ], [ "line", "ok 3 - The object isa Tile\n" ], [ "assert", { "ok": true, "id": 3, "name": "The object isa Tile" } ], [ "line", "ok 4 - Get possible places to put the Tile\n" ], [ "assert", { "ok": true, "id": 4, "name": "Get possible places to put the Tile" } ], [ "line", "ok 5 - Placing the tile produces no error\n" ], [ "assert", { "ok": true, "id": 5, "name": "Placing the tile produces no error" } ], [ "line", "ok 6 - Board size is 1\n" ], [ "assert", { "ok": true, "id": 6, "name": "Board size is 1" } ], [ "complete", { "ok": true, "count": 6, "pass": 6, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 6, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/common-with-explanation--bail.json000066400000000000000000000035611320135610000250560ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..6\n" ], [ "plan", { "start": 1, "end": 6 } ], [ "line", "#\n" ], [ "comment", "#\n" ], [ "line", "# Create a new Board and Tile, then place\n" ], [ "comment", "# Create a new Board and Tile, then place\n" ], [ "line", "# the Tile onto the board.\n" ], [ "comment", "# the Tile onto the board.\n" ], [ "line", "#\n" ], [ "comment", "#\n" ], [ "line", "ok 1 - The object isa Board\n" ], [ "assert", { "ok": true, "id": 1, "name": "The object isa Board" } ], [ "line", "ok 2 - Board size is zero\n" ], [ "assert", { "ok": true, "id": 2, "name": "Board size is zero" } ], [ "line", "ok 3 - The object isa Tile\n" ], [ "assert", { "ok": true, "id": 3, "name": "The object isa Tile" } ], [ "line", "ok 4 - Get possible places to put the Tile\n" ], [ "assert", { "ok": true, "id": 4, "name": "Get possible places to put the Tile" } ], [ "line", "ok 5 - Placing the tile produces no error\n" ], [ "assert", { "ok": true, "id": 5, "name": "Placing the tile produces no error" } ], [ "line", "ok 6 - Board size is 1\n" ], [ "assert", { "ok": true, "id": 6, "name": "Board size is 1" } ], [ "complete", { "ok": true, "count": 6, "pass": 6, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 6, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/common-with-explanation--omitversion.json000066400000000000000000000034461320135610000265270ustar00rootroot00000000000000[ [ "line", "1..6\n" ], [ "plan", { "start": 1, "end": 6 } ], [ "line", "#\n" ], [ "comment", "#\n" ], [ "line", "# Create a new Board and Tile, then place\n" ], [ "comment", "# Create a new Board and Tile, then place\n" ], [ "line", "# the Tile onto the board.\n" ], [ "comment", "# the Tile onto the board.\n" ], [ "line", "#\n" ], [ "comment", "#\n" ], [ "line", "ok 1 - The object isa Board\n" ], [ "assert", { "ok": true, "id": 1, "name": "The object isa Board" } ], [ "line", "ok 2 - Board size is zero\n" ], [ "assert", { "ok": true, "id": 2, "name": "Board size is zero" } ], [ "line", "ok 3 - The object isa Tile\n" ], [ "assert", { "ok": true, "id": 3, "name": "The object isa Tile" } ], [ "line", "ok 4 - Get possible places to put the Tile\n" ], [ "assert", { "ok": true, "id": 4, "name": "Get possible places to put the Tile" } ], [ "line", "ok 5 - Placing the tile produces no error\n" ], [ "assert", { "ok": true, "id": 5, "name": "Placing the tile produces no error" } ], [ "line", "ok 6 - Board size is 1\n" ], [ "assert", { "ok": true, "id": 6, "name": "Board size is 1" } ], [ "complete", { "ok": true, "count": 6, "pass": 6, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 6, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/common-with-explanation--preservewhite--omitversion.json000066400000000000000000000034461320135610000314760ustar00rootroot00000000000000[ [ "line", "1..6\n" ], [ "plan", { "start": 1, "end": 6 } ], [ "line", "#\n" ], [ "comment", "#\n" ], [ "line", "# Create a new Board and Tile, then place\n" ], [ "comment", "# Create a new Board and Tile, then place\n" ], [ "line", "# the Tile onto the board.\n" ], [ "comment", "# the Tile onto the board.\n" ], [ "line", "#\n" ], [ "comment", "#\n" ], [ "line", "ok 1 - The object isa Board\n" ], [ "assert", { "ok": true, "id": 1, "name": "The object isa Board" } ], [ "line", "ok 2 - Board size is zero\n" ], [ "assert", { "ok": true, "id": 2, "name": "Board size is zero" } ], [ "line", "ok 3 - The object isa Tile\n" ], [ "assert", { "ok": true, "id": 3, "name": "The object isa Tile" } ], [ "line", "ok 4 - Get possible places to put the Tile\n" ], [ "assert", { "ok": true, "id": 4, "name": "Get possible places to put the Tile" } ], [ "line", "ok 5 - Placing the tile produces no error\n" ], [ "assert", { "ok": true, "id": 5, "name": "Placing the tile produces no error" } ], [ "line", "ok 6 - Board size is 1\n" ], [ "assert", { "ok": true, "id": 6, "name": "Board size is 1" } ], [ "complete", { "ok": true, "count": 6, "pass": 6, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 6, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/common-with-explanation--preservewhite.json000066400000000000000000000035611320135610000270430ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..6\n" ], [ "plan", { "start": 1, "end": 6 } ], [ "line", "#\n" ], [ "comment", "#\n" ], [ "line", "# Create a new Board and Tile, then place\n" ], [ "comment", "# Create a new Board and Tile, then place\n" ], [ "line", "# the Tile onto the board.\n" ], [ "comment", "# the Tile onto the board.\n" ], [ "line", "#\n" ], [ "comment", "#\n" ], [ "line", "ok 1 - The object isa Board\n" ], [ "assert", { "ok": true, "id": 1, "name": "The object isa Board" } ], [ "line", "ok 2 - Board size is zero\n" ], [ "assert", { "ok": true, "id": 2, "name": "Board size is zero" } ], [ "line", "ok 3 - The object isa Tile\n" ], [ "assert", { "ok": true, "id": 3, "name": "The object isa Tile" } ], [ "line", "ok 4 - Get possible places to put the Tile\n" ], [ "assert", { "ok": true, "id": 4, "name": "Get possible places to put the Tile" } ], [ "line", "ok 5 - Placing the tile produces no error\n" ], [ "assert", { "ok": true, "id": 5, "name": "Placing the tile produces no error" } ], [ "line", "ok 6 - Board size is 1\n" ], [ "assert", { "ok": true, "id": 6, "name": "Board size is 1" } ], [ "complete", { "ok": true, "count": 6, "pass": 6, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 6, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/common-with-explanation.json000066400000000000000000000035611320135610000240740ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..6\n" ], [ "plan", { "start": 1, "end": 6 } ], [ "line", "#\n" ], [ "comment", "#\n" ], [ "line", "# Create a new Board and Tile, then place\n" ], [ "comment", "# Create a new Board and Tile, then place\n" ], [ "line", "# the Tile onto the board.\n" ], [ "comment", "# the Tile onto the board.\n" ], [ "line", "#\n" ], [ "comment", "#\n" ], [ "line", "ok 1 - The object isa Board\n" ], [ "assert", { "ok": true, "id": 1, "name": "The object isa Board" } ], [ "line", "ok 2 - Board size is zero\n" ], [ "assert", { "ok": true, "id": 2, "name": "Board size is zero" } ], [ "line", "ok 3 - The object isa Tile\n" ], [ "assert", { "ok": true, "id": 3, "name": "The object isa Tile" } ], [ "line", "ok 4 - Get possible places to put the Tile\n" ], [ "assert", { "ok": true, "id": 4, "name": "Get possible places to put the Tile" } ], [ "line", "ok 5 - Placing the tile produces no error\n" ], [ "assert", { "ok": true, "id": 5, "name": "Placing the tile produces no error" } ], [ "line", "ok 6 - Board size is 1\n" ], [ "assert", { "ok": true, "id": 6, "name": "Board size is 1" } ], [ "complete", { "ok": true, "count": 6, "pass": 6, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 6, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/common-with-explanation.tap000066400000000000000000000004321320135610000237010ustar00rootroot00000000000000TAP version 13 1..6 # # Create a new Board and Tile, then place # the Tile onto the board. # ok 1 - The object isa Board ok 2 - Board size is zero ok 3 - The object isa Tile ok 4 - Get possible places to put the Tile ok 5 - Placing the tile produces no error ok 6 - Board size is 1 tap-parser-7.0.0/test/fixtures/creative-liberties--bail--omitversion.json000066400000000000000000000055111320135610000265050ustar00rootroot00000000000000[ [ "line", "ok - created Board\n" ], [ "assert", { "ok": true, "id": 1, "name": "created Board" } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 6 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 7 } ], [ "line", "ok\n" ], [ "line", " ---\n" ], [ "line", " message: \"Board layout\"\n" ], [ "line", " severity: comment\n" ], [ "line", " dump:\n" ], [ "line", " board:\n" ], [ "line", " - ' 16G 05C '\n" ], [ "line", " - ' G N C C C G '\n" ], [ "line", " - ' G C + '\n" ], [ "line", " - '10C 01G 03C '\n" ], [ "line", " - 'R N G G A G C C C '\n" ], [ "line", " - ' R G C + '\n" ], [ "line", " - ' 01G 17C 00C '\n" ], [ "line", " - ' G A G G N R R N R '\n" ], [ "line", " - ' G R G '\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 8, "diag": { "message": "Board layout", "severity": "comment", "dump": { "board": [ " 16G 05C ", " G N C C C G ", " G C + ", "10C 01G 03C ", "R N G G A G C C C ", " R G C + ", " 01G 17C 00C ", " G A G G N R R N R ", " G R G " ] } } } ], [ "line", "ok - board has 7 tiles + starter tile\n" ], [ "assert", { "ok": true, "id": 9, "name": "board has 7 tiles + starter tile" } ], [ "line", "1..9\n" ], [ "plan", { "start": 1, "end": 9 } ], [ "complete", { "ok": true, "count": 9, "pass": 9, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 9, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/creative-liberties--bail--preservewhite--omitversion.json000066400000000000000000000055111320135610000314540ustar00rootroot00000000000000[ [ "line", "ok - created Board\n" ], [ "assert", { "ok": true, "id": 1, "name": "created Board" } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 6 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 7 } ], [ "line", "ok\n" ], [ "line", " ---\n" ], [ "line", " message: \"Board layout\"\n" ], [ "line", " severity: comment\n" ], [ "line", " dump:\n" ], [ "line", " board:\n" ], [ "line", " - ' 16G 05C '\n" ], [ "line", " - ' G N C C C G '\n" ], [ "line", " - ' G C + '\n" ], [ "line", " - '10C 01G 03C '\n" ], [ "line", " - 'R N G G A G C C C '\n" ], [ "line", " - ' R G C + '\n" ], [ "line", " - ' 01G 17C 00C '\n" ], [ "line", " - ' G A G G N R R N R '\n" ], [ "line", " - ' G R G '\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 8, "diag": { "message": "Board layout", "severity": "comment", "dump": { "board": [ " 16G 05C ", " G N C C C G ", " G C + ", "10C 01G 03C ", "R N G G A G C C C ", " R G C + ", " 01G 17C 00C ", " G A G G N R R N R ", " G R G " ] } } } ], [ "line", "ok - board has 7 tiles + starter tile\n" ], [ "assert", { "ok": true, "id": 9, "name": "board has 7 tiles + starter tile" } ], [ "line", "1..9\n" ], [ "plan", { "start": 1, "end": 9 } ], [ "complete", { "ok": true, "count": 9, "pass": 9, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 9, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/creative-liberties--bail--preservewhite.json000066400000000000000000000056241320135610000270300ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "ok - created Board\n" ], [ "assert", { "ok": true, "id": 1, "name": "created Board" } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 6 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 7 } ], [ "line", "ok\n" ], [ "line", " ---\n" ], [ "line", " message: \"Board layout\"\n" ], [ "line", " severity: comment\n" ], [ "line", " dump:\n" ], [ "line", " board:\n" ], [ "line", " - ' 16G 05C '\n" ], [ "line", " - ' G N C C C G '\n" ], [ "line", " - ' G C + '\n" ], [ "line", " - '10C 01G 03C '\n" ], [ "line", " - 'R N G G A G C C C '\n" ], [ "line", " - ' R G C + '\n" ], [ "line", " - ' 01G 17C 00C '\n" ], [ "line", " - ' G A G G N R R N R '\n" ], [ "line", " - ' G R G '\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 8, "diag": { "message": "Board layout", "severity": "comment", "dump": { "board": [ " 16G 05C ", " G N C C C G ", " G C + ", "10C 01G 03C ", "R N G G A G C C C ", " R G C + ", " 01G 17C 00C ", " G A G G N R R N R ", " G R G " ] } } } ], [ "line", "ok - board has 7 tiles + starter tile\n" ], [ "assert", { "ok": true, "id": 9, "name": "board has 7 tiles + starter tile" } ], [ "line", "1..9\n" ], [ "plan", { "start": 1, "end": 9 } ], [ "complete", { "ok": true, "count": 9, "pass": 9, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 9, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/creative-liberties--bail.json000066400000000000000000000056241320135610000240610ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "ok - created Board\n" ], [ "assert", { "ok": true, "id": 1, "name": "created Board" } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 6 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 7 } ], [ "line", "ok\n" ], [ "line", " ---\n" ], [ "line", " message: \"Board layout\"\n" ], [ "line", " severity: comment\n" ], [ "line", " dump:\n" ], [ "line", " board:\n" ], [ "line", " - ' 16G 05C '\n" ], [ "line", " - ' G N C C C G '\n" ], [ "line", " - ' G C + '\n" ], [ "line", " - '10C 01G 03C '\n" ], [ "line", " - 'R N G G A G C C C '\n" ], [ "line", " - ' R G C + '\n" ], [ "line", " - ' 01G 17C 00C '\n" ], [ "line", " - ' G A G G N R R N R '\n" ], [ "line", " - ' G R G '\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 8, "diag": { "message": "Board layout", "severity": "comment", "dump": { "board": [ " 16G 05C ", " G N C C C G ", " G C + ", "10C 01G 03C ", "R N G G A G C C C ", " R G C + ", " 01G 17C 00C ", " G A G G N R R N R ", " G R G " ] } } } ], [ "line", "ok - board has 7 tiles + starter tile\n" ], [ "assert", { "ok": true, "id": 9, "name": "board has 7 tiles + starter tile" } ], [ "line", "1..9\n" ], [ "plan", { "start": 1, "end": 9 } ], [ "complete", { "ok": true, "count": 9, "pass": 9, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 9, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/creative-liberties--omitversion.json000066400000000000000000000055111320135610000255230ustar00rootroot00000000000000[ [ "line", "ok - created Board\n" ], [ "assert", { "ok": true, "id": 1, "name": "created Board" } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 6 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 7 } ], [ "line", "ok\n" ], [ "line", " ---\n" ], [ "line", " message: \"Board layout\"\n" ], [ "line", " severity: comment\n" ], [ "line", " dump:\n" ], [ "line", " board:\n" ], [ "line", " - ' 16G 05C '\n" ], [ "line", " - ' G N C C C G '\n" ], [ "line", " - ' G C + '\n" ], [ "line", " - '10C 01G 03C '\n" ], [ "line", " - 'R N G G A G C C C '\n" ], [ "line", " - ' R G C + '\n" ], [ "line", " - ' 01G 17C 00C '\n" ], [ "line", " - ' G A G G N R R N R '\n" ], [ "line", " - ' G R G '\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 8, "diag": { "message": "Board layout", "severity": "comment", "dump": { "board": [ " 16G 05C ", " G N C C C G ", " G C + ", "10C 01G 03C ", "R N G G A G C C C ", " R G C + ", " 01G 17C 00C ", " G A G G N R R N R ", " G R G " ] } } } ], [ "line", "ok - board has 7 tiles + starter tile\n" ], [ "assert", { "ok": true, "id": 9, "name": "board has 7 tiles + starter tile" } ], [ "line", "1..9\n" ], [ "plan", { "start": 1, "end": 9 } ], [ "complete", { "ok": true, "count": 9, "pass": 9, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 9, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/creative-liberties--preservewhite--omitversion.json000066400000000000000000000055111320135610000304720ustar00rootroot00000000000000[ [ "line", "ok - created Board\n" ], [ "assert", { "ok": true, "id": 1, "name": "created Board" } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 6 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 7 } ], [ "line", "ok\n" ], [ "line", " ---\n" ], [ "line", " message: \"Board layout\"\n" ], [ "line", " severity: comment\n" ], [ "line", " dump:\n" ], [ "line", " board:\n" ], [ "line", " - ' 16G 05C '\n" ], [ "line", " - ' G N C C C G '\n" ], [ "line", " - ' G C + '\n" ], [ "line", " - '10C 01G 03C '\n" ], [ "line", " - 'R N G G A G C C C '\n" ], [ "line", " - ' R G C + '\n" ], [ "line", " - ' 01G 17C 00C '\n" ], [ "line", " - ' G A G G N R R N R '\n" ], [ "line", " - ' G R G '\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 8, "diag": { "message": "Board layout", "severity": "comment", "dump": { "board": [ " 16G 05C ", " G N C C C G ", " G C + ", "10C 01G 03C ", "R N G G A G C C C ", " R G C + ", " 01G 17C 00C ", " G A G G N R R N R ", " G R G " ] } } } ], [ "line", "ok - board has 7 tiles + starter tile\n" ], [ "assert", { "ok": true, "id": 9, "name": "board has 7 tiles + starter tile" } ], [ "line", "1..9\n" ], [ "plan", { "start": 1, "end": 9 } ], [ "complete", { "ok": true, "count": 9, "pass": 9, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 9, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/creative-liberties--preservewhite.json000066400000000000000000000056241320135610000260460ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "ok - created Board\n" ], [ "assert", { "ok": true, "id": 1, "name": "created Board" } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 6 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 7 } ], [ "line", "ok\n" ], [ "line", " ---\n" ], [ "line", " message: \"Board layout\"\n" ], [ "line", " severity: comment\n" ], [ "line", " dump:\n" ], [ "line", " board:\n" ], [ "line", " - ' 16G 05C '\n" ], [ "line", " - ' G N C C C G '\n" ], [ "line", " - ' G C + '\n" ], [ "line", " - '10C 01G 03C '\n" ], [ "line", " - 'R N G G A G C C C '\n" ], [ "line", " - ' R G C + '\n" ], [ "line", " - ' 01G 17C 00C '\n" ], [ "line", " - ' G A G G N R R N R '\n" ], [ "line", " - ' G R G '\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 8, "diag": { "message": "Board layout", "severity": "comment", "dump": { "board": [ " 16G 05C ", " G N C C C G ", " G C + ", "10C 01G 03C ", "R N G G A G C C C ", " R G C + ", " 01G 17C 00C ", " G A G G N R R N R ", " G R G " ] } } } ], [ "line", "ok - board has 7 tiles + starter tile\n" ], [ "assert", { "ok": true, "id": 9, "name": "board has 7 tiles + starter tile" } ], [ "line", "1..9\n" ], [ "plan", { "start": 1, "end": 9 } ], [ "complete", { "ok": true, "count": 9, "pass": 9, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 9, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/creative-liberties.json000066400000000000000000000056241320135610000230770ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "ok - created Board\n" ], [ "assert", { "ok": true, "id": 1, "name": "created Board" } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 6 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 7 } ], [ "line", "ok\n" ], [ "line", " ---\n" ], [ "line", " message: \"Board layout\"\n" ], [ "line", " severity: comment\n" ], [ "line", " dump:\n" ], [ "line", " board:\n" ], [ "line", " - ' 16G 05C '\n" ], [ "line", " - ' G N C C C G '\n" ], [ "line", " - ' G C + '\n" ], [ "line", " - '10C 01G 03C '\n" ], [ "line", " - 'R N G G A G C C C '\n" ], [ "line", " - ' R G C + '\n" ], [ "line", " - ' 01G 17C 00C '\n" ], [ "line", " - ' G A G G N R R N R '\n" ], [ "line", " - ' G R G '\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 8, "diag": { "message": "Board layout", "severity": "comment", "dump": { "board": [ " 16G 05C ", " G N C C C G ", " G C + ", "10C 01G 03C ", "R N G G A G C C C ", " R G C + ", " 01G 17C 00C ", " G A G G N R R N R ", " G R G " ] } } } ], [ "line", "ok - board has 7 tiles + starter tile\n" ], [ "assert", { "ok": true, "id": 9, "name": "board has 7 tiles + starter tile" } ], [ "line", "1..9\n" ], [ "plan", { "start": 1, "end": 9 } ], [ "complete", { "ok": true, "count": 9, "pass": 9, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 9, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/creative-liberties.tap000066400000000000000000000010411320135610000226770ustar00rootroot00000000000000TAP version 13 ok - created Board ok ok ok ok ok ok ok --- message: "Board layout" severity: comment dump: board: - ' 16G 05C ' - ' G N C C C G ' - ' G C + ' - '10C 01G 03C ' - 'R N G G A G C C C ' - ' R G C + ' - ' 01G 17C 00C ' - ' G A G G N R R N R ' - ' G R G ' ... ok - board has 7 tiles + starter tile 1..9 tap-parser-7.0.0/test/fixtures/delayed--bail--omitversion.json000066400000000000000000000016051320135610000243320ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1 00000\n" ], [ "assert", { "ok": true, "id": 1, "name": "00000" } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "not ok 3\n" ], [ "assert", { "ok": false, "id": 3 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 3, "pass": 2, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 3 } ] } ] ] tap-parser-7.0.0/test/fixtures/delayed--bail--preservewhite--omitversion.json000066400000000000000000000016051320135610000273010ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1 00000\n" ], [ "assert", { "ok": true, "id": 1, "name": "00000" } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "not ok 3\n" ], [ "assert", { "ok": false, "id": 3 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 3, "pass": 2, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 3 } ] } ] ] tap-parser-7.0.0/test/fixtures/delayed--bail--preservewhite.json000066400000000000000000000016051320135610000246500ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1 00000\n" ], [ "assert", { "ok": true, "id": 1, "name": "00000" } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "not ok 3\n" ], [ "assert", { "ok": false, "id": 3 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 3, "pass": 2, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 3 } ] } ] ] tap-parser-7.0.0/test/fixtures/delayed--bail.json000066400000000000000000000016051320135610000217010ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1 00000\n" ], [ "assert", { "ok": true, "id": 1, "name": "00000" } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "not ok 3\n" ], [ "assert", { "ok": false, "id": 3 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 3, "pass": 2, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 3 } ] } ] ] tap-parser-7.0.0/test/fixtures/delayed--omitversion.json000066400000000000000000000022201320135610000233420ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1 00000\n" ], [ "assert", { "ok": true, "id": 1, "name": "00000" } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "not ok 3\n" ], [ "assert", { "ok": false, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5 00000\n" ], [ "assert", { "ok": true, "id": 5, "name": "00000" } ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 3 } ] } ] ] tap-parser-7.0.0/test/fixtures/delayed--preservewhite--omitversion.json000066400000000000000000000022201320135610000263110ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1 00000\n" ], [ "assert", { "ok": true, "id": 1, "name": "00000" } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "not ok 3\n" ], [ "assert", { "ok": false, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5 00000\n" ], [ "assert", { "ok": true, "id": 5, "name": "00000" } ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 3 } ] } ] ] tap-parser-7.0.0/test/fixtures/delayed--preservewhite.json000066400000000000000000000022201320135610000236600ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1 00000\n" ], [ "assert", { "ok": true, "id": 1, "name": "00000" } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "not ok 3\n" ], [ "assert", { "ok": false, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5 00000\n" ], [ "assert", { "ok": true, "id": 5, "name": "00000" } ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 3 } ] } ] ] tap-parser-7.0.0/test/fixtures/delayed.json000066400000000000000000000022201320135610000207110ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1 00000\n" ], [ "assert", { "ok": true, "id": 1, "name": "00000" } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "not ok 3\n" ], [ "assert", { "ok": false, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5 00000\n" ], [ "assert", { "ok": true, "id": 5, "name": "00000" } ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 3 } ] } ] ] tap-parser-7.0.0/test/fixtures/delayed.tap000066400000000000000000000000551320135610000205300ustar00rootroot000000000000001..5 ok 1 00000 ok 2 not ok 3 ok 4 ok 5 00000tap-parser-7.0.0/test/fixtures/descriptive--bail--omitversion.json000066400000000000000000000022771320135610000252520ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1 Interlock activated\n" ], [ "assert", { "ok": true, "id": 1, "name": "Interlock activated" } ], [ "line", "ok 2 Megathrusters are go\n" ], [ "assert", { "ok": true, "id": 2, "name": "Megathrusters are go" } ], [ "line", "ok 3 Head formed\n" ], [ "assert", { "ok": true, "id": 3, "name": "Head formed" } ], [ "line", "ok 4 Blazing sword formed\n" ], [ "assert", { "ok": true, "id": 4, "name": "Blazing sword formed" } ], [ "line", "ok 5 Robeast destroyed\n" ], [ "assert", { "ok": true, "id": 5, "name": "Robeast destroyed" } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/descriptive--bail--preservewhite--omitversion.json000066400000000000000000000022771320135610000302210ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1 Interlock activated\n" ], [ "assert", { "ok": true, "id": 1, "name": "Interlock activated" } ], [ "line", "ok 2 Megathrusters are go\n" ], [ "assert", { "ok": true, "id": 2, "name": "Megathrusters are go" } ], [ "line", "ok 3 Head formed\n" ], [ "assert", { "ok": true, "id": 3, "name": "Head formed" } ], [ "line", "ok 4 Blazing sword formed\n" ], [ "assert", { "ok": true, "id": 4, "name": "Blazing sword formed" } ], [ "line", "ok 5 Robeast destroyed\n" ], [ "assert", { "ok": true, "id": 5, "name": "Robeast destroyed" } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/descriptive--bail--preservewhite.json000066400000000000000000000022771320135610000255700ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1 Interlock activated\n" ], [ "assert", { "ok": true, "id": 1, "name": "Interlock activated" } ], [ "line", "ok 2 Megathrusters are go\n" ], [ "assert", { "ok": true, "id": 2, "name": "Megathrusters are go" } ], [ "line", "ok 3 Head formed\n" ], [ "assert", { "ok": true, "id": 3, "name": "Head formed" } ], [ "line", "ok 4 Blazing sword formed\n" ], [ "assert", { "ok": true, "id": 4, "name": "Blazing sword formed" } ], [ "line", "ok 5 Robeast destroyed\n" ], [ "assert", { "ok": true, "id": 5, "name": "Robeast destroyed" } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/descriptive--bail.json000066400000000000000000000022771320135610000226210ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1 Interlock activated\n" ], [ "assert", { "ok": true, "id": 1, "name": "Interlock activated" } ], [ "line", "ok 2 Megathrusters are go\n" ], [ "assert", { "ok": true, "id": 2, "name": "Megathrusters are go" } ], [ "line", "ok 3 Head formed\n" ], [ "assert", { "ok": true, "id": 3, "name": "Head formed" } ], [ "line", "ok 4 Blazing sword formed\n" ], [ "assert", { "ok": true, "id": 4, "name": "Blazing sword formed" } ], [ "line", "ok 5 Robeast destroyed\n" ], [ "assert", { "ok": true, "id": 5, "name": "Robeast destroyed" } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/descriptive--omitversion.json000066400000000000000000000022771320135610000242700ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1 Interlock activated\n" ], [ "assert", { "ok": true, "id": 1, "name": "Interlock activated" } ], [ "line", "ok 2 Megathrusters are go\n" ], [ "assert", { "ok": true, "id": 2, "name": "Megathrusters are go" } ], [ "line", "ok 3 Head formed\n" ], [ "assert", { "ok": true, "id": 3, "name": "Head formed" } ], [ "line", "ok 4 Blazing sword formed\n" ], [ "assert", { "ok": true, "id": 4, "name": "Blazing sword formed" } ], [ "line", "ok 5 Robeast destroyed\n" ], [ "assert", { "ok": true, "id": 5, "name": "Robeast destroyed" } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/descriptive--preservewhite--omitversion.json000066400000000000000000000022771320135610000272370ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1 Interlock activated\n" ], [ "assert", { "ok": true, "id": 1, "name": "Interlock activated" } ], [ "line", "ok 2 Megathrusters are go\n" ], [ "assert", { "ok": true, "id": 2, "name": "Megathrusters are go" } ], [ "line", "ok 3 Head formed\n" ], [ "assert", { "ok": true, "id": 3, "name": "Head formed" } ], [ "line", "ok 4 Blazing sword formed\n" ], [ "assert", { "ok": true, "id": 4, "name": "Blazing sword formed" } ], [ "line", "ok 5 Robeast destroyed\n" ], [ "assert", { "ok": true, "id": 5, "name": "Robeast destroyed" } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/descriptive--preservewhite.json000066400000000000000000000022771320135610000246060ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1 Interlock activated\n" ], [ "assert", { "ok": true, "id": 1, "name": "Interlock activated" } ], [ "line", "ok 2 Megathrusters are go\n" ], [ "assert", { "ok": true, "id": 2, "name": "Megathrusters are go" } ], [ "line", "ok 3 Head formed\n" ], [ "assert", { "ok": true, "id": 3, "name": "Head formed" } ], [ "line", "ok 4 Blazing sword formed\n" ], [ "assert", { "ok": true, "id": 4, "name": "Blazing sword formed" } ], [ "line", "ok 5 Robeast destroyed\n" ], [ "assert", { "ok": true, "id": 5, "name": "Robeast destroyed" } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/descriptive.json000066400000000000000000000022771320135610000216370ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1 Interlock activated\n" ], [ "assert", { "ok": true, "id": 1, "name": "Interlock activated" } ], [ "line", "ok 2 Megathrusters are go\n" ], [ "assert", { "ok": true, "id": 2, "name": "Megathrusters are go" } ], [ "line", "ok 3 Head formed\n" ], [ "assert", { "ok": true, "id": 3, "name": "Head formed" } ], [ "line", "ok 4 Blazing sword formed\n" ], [ "assert", { "ok": true, "id": 4, "name": "Blazing sword formed" } ], [ "line", "ok 5 Robeast destroyed\n" ], [ "assert", { "ok": true, "id": 5, "name": "Robeast destroyed" } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/descriptive.tap000066400000000000000000000002111320135610000214340ustar00rootroot000000000000001..5 ok 1 Interlock activated ok 2 Megathrusters are go ok 3 Head formed ok 4 Blazing sword formed ok 5 Robeast destroyed tap-parser-7.0.0/test/fixtures/descriptive_trailing--bail--omitversion.json000066400000000000000000000022771320135610000271430ustar00rootroot00000000000000[ [ "line", "ok 1 Interlock activated\n" ], [ "assert", { "ok": true, "id": 1, "name": "Interlock activated" } ], [ "line", "ok 2 Megathrusters are go\n" ], [ "assert", { "ok": true, "id": 2, "name": "Megathrusters are go" } ], [ "line", "ok 3 Head formed\n" ], [ "assert", { "ok": true, "id": 3, "name": "Head formed" } ], [ "line", "ok 4 Blazing sword formed\n" ], [ "assert", { "ok": true, "id": 4, "name": "Blazing sword formed" } ], [ "line", "ok 5 Robeast destroyed\n" ], [ "assert", { "ok": true, "id": 5, "name": "Robeast destroyed" } ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/descriptive_trailing--bail--preservewhite--omitversion.json000066400000000000000000000022771320135610000321120ustar00rootroot00000000000000[ [ "line", "ok 1 Interlock activated\n" ], [ "assert", { "ok": true, "id": 1, "name": "Interlock activated" } ], [ "line", "ok 2 Megathrusters are go\n" ], [ "assert", { "ok": true, "id": 2, "name": "Megathrusters are go" } ], [ "line", "ok 3 Head formed\n" ], [ "assert", { "ok": true, "id": 3, "name": "Head formed" } ], [ "line", "ok 4 Blazing sword formed\n" ], [ "assert", { "ok": true, "id": 4, "name": "Blazing sword formed" } ], [ "line", "ok 5 Robeast destroyed\n" ], [ "assert", { "ok": true, "id": 5, "name": "Robeast destroyed" } ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/descriptive_trailing--bail--preservewhite.json000066400000000000000000000022771320135610000274610ustar00rootroot00000000000000[ [ "line", "ok 1 Interlock activated\n" ], [ "assert", { "ok": true, "id": 1, "name": "Interlock activated" } ], [ "line", "ok 2 Megathrusters are go\n" ], [ "assert", { "ok": true, "id": 2, "name": "Megathrusters are go" } ], [ "line", "ok 3 Head formed\n" ], [ "assert", { "ok": true, "id": 3, "name": "Head formed" } ], [ "line", "ok 4 Blazing sword formed\n" ], [ "assert", { "ok": true, "id": 4, "name": "Blazing sword formed" } ], [ "line", "ok 5 Robeast destroyed\n" ], [ "assert", { "ok": true, "id": 5, "name": "Robeast destroyed" } ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/descriptive_trailing--bail.json000066400000000000000000000022771320135610000245120ustar00rootroot00000000000000[ [ "line", "ok 1 Interlock activated\n" ], [ "assert", { "ok": true, "id": 1, "name": "Interlock activated" } ], [ "line", "ok 2 Megathrusters are go\n" ], [ "assert", { "ok": true, "id": 2, "name": "Megathrusters are go" } ], [ "line", "ok 3 Head formed\n" ], [ "assert", { "ok": true, "id": 3, "name": "Head formed" } ], [ "line", "ok 4 Blazing sword formed\n" ], [ "assert", { "ok": true, "id": 4, "name": "Blazing sword formed" } ], [ "line", "ok 5 Robeast destroyed\n" ], [ "assert", { "ok": true, "id": 5, "name": "Robeast destroyed" } ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/descriptive_trailing--omitversion.json000066400000000000000000000022771320135610000261610ustar00rootroot00000000000000[ [ "line", "ok 1 Interlock activated\n" ], [ "assert", { "ok": true, "id": 1, "name": "Interlock activated" } ], [ "line", "ok 2 Megathrusters are go\n" ], [ "assert", { "ok": true, "id": 2, "name": "Megathrusters are go" } ], [ "line", "ok 3 Head formed\n" ], [ "assert", { "ok": true, "id": 3, "name": "Head formed" } ], [ "line", "ok 4 Blazing sword formed\n" ], [ "assert", { "ok": true, "id": 4, "name": "Blazing sword formed" } ], [ "line", "ok 5 Robeast destroyed\n" ], [ "assert", { "ok": true, "id": 5, "name": "Robeast destroyed" } ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/descriptive_trailing--preservewhite--omitversion.json000066400000000000000000000022771320135610000311300ustar00rootroot00000000000000[ [ "line", "ok 1 Interlock activated\n" ], [ "assert", { "ok": true, "id": 1, "name": "Interlock activated" } ], [ "line", "ok 2 Megathrusters are go\n" ], [ "assert", { "ok": true, "id": 2, "name": "Megathrusters are go" } ], [ "line", "ok 3 Head formed\n" ], [ "assert", { "ok": true, "id": 3, "name": "Head formed" } ], [ "line", "ok 4 Blazing sword formed\n" ], [ "assert", { "ok": true, "id": 4, "name": "Blazing sword formed" } ], [ "line", "ok 5 Robeast destroyed\n" ], [ "assert", { "ok": true, "id": 5, "name": "Robeast destroyed" } ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/descriptive_trailing--preservewhite.json000066400000000000000000000022771320135610000264770ustar00rootroot00000000000000[ [ "line", "ok 1 Interlock activated\n" ], [ "assert", { "ok": true, "id": 1, "name": "Interlock activated" } ], [ "line", "ok 2 Megathrusters are go\n" ], [ "assert", { "ok": true, "id": 2, "name": "Megathrusters are go" } ], [ "line", "ok 3 Head formed\n" ], [ "assert", { "ok": true, "id": 3, "name": "Head formed" } ], [ "line", "ok 4 Blazing sword formed\n" ], [ "assert", { "ok": true, "id": 4, "name": "Blazing sword formed" } ], [ "line", "ok 5 Robeast destroyed\n" ], [ "assert", { "ok": true, "id": 5, "name": "Robeast destroyed" } ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/descriptive_trailing.json000066400000000000000000000022771320135610000235300ustar00rootroot00000000000000[ [ "line", "ok 1 Interlock activated\n" ], [ "assert", { "ok": true, "id": 1, "name": "Interlock activated" } ], [ "line", "ok 2 Megathrusters are go\n" ], [ "assert", { "ok": true, "id": 2, "name": "Megathrusters are go" } ], [ "line", "ok 3 Head formed\n" ], [ "assert", { "ok": true, "id": 3, "name": "Head formed" } ], [ "line", "ok 4 Blazing sword formed\n" ], [ "assert", { "ok": true, "id": 4, "name": "Blazing sword formed" } ], [ "line", "ok 5 Robeast destroyed\n" ], [ "assert", { "ok": true, "id": 5, "name": "Robeast destroyed" } ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/descriptive_trailing.tap000066400000000000000000000002111320135610000233250ustar00rootroot00000000000000ok 1 Interlock activated ok 2 Megathrusters are go ok 3 Head formed ok 4 Blazing sword formed ok 5 Robeast destroyed 1..5 tap-parser-7.0.0/test/fixtures/diag-looks-like-comment--bail--omitversion.json000066400000000000000000000104441320135610000273370ustar00rootroot00000000000000[ [ "line", "# Subtest: -t 0.2\n" ], [ "child", [ [ "comment", "# Subtest: -t 0.2\n" ], [ "line", "not ok 1 - should match pattern provided\n" ], [ "line", " ---\n" ], [ "line", " found: >\n" ], [ "line", " \n" ], [ "line", " # Subtest: nope\n" ], [ "line", " \n" ], [ "line", " not ok 1 - nope\n" ], [ "line", " ---\n" ], [ "line", " still: the string\n" ], [ "line", " ...\n" ], [ "line", " \n" ], [ "line", " 1..1 # nope\n" ], [ "line", " not ok 1 - nope #\n" ], [ "line", " time=123\n" ], [ "line", " ---\n" ], [ "line", " this: is fine\n" ], [ "line", " ...\n" ], [ "line", " \n" ], [ "line", " 1..1\n" ], [ "line", " pattern: '/SIGTERM/'\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "should match pattern provided", "diag": { "found": "\n# Subtest: nope\n\n not ok 1 - nope\n ---\n still: the string\n ...\n\n 1..1 # nope\nnot ok 1 - nope # time=123\n ---\n this: is fine\n ...\n\n1..1\n", "pattern": "/SIGTERM/" } } ], [ "line", "Bail out! # should match pattern provided\n" ], [ "bailout", "# should match pattern provided" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# should match pattern provided", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "should match pattern provided", "diag": { "found": "\n# Subtest: nope\n\n not ok 1 - nope\n ---\n still: the string\n ...\n\n 1..1 # nope\nnot ok 1 - nope # time=123\n ---\n this: is fine\n ...\n\n1..1\n", "pattern": "/SIGTERM/" } } ] } ] ] ], [ "line", " not ok 1 - should match pattern provided\n" ], [ "line", " ---\n" ], [ "line", " found: >\n" ], [ "line", " \n" ], [ "line", " # Subtest: nope\n" ], [ "line", " \n" ], [ "line", " not ok 1 - nope\n" ], [ "line", " ---\n" ], [ "line", " still: the string\n" ], [ "line", " ...\n" ], [ "line", " \n" ], [ "line", " 1..1 # nope\n" ], [ "line", " not ok 1 - nope #\n" ], [ "line", " time=123\n" ], [ "line", " ---\n" ], [ "line", " this: is fine\n" ], [ "line", " ...\n" ], [ "line", " \n" ], [ "line", " 1..1\n" ], [ "line", " pattern: '/SIGTERM/'\n" ], [ "line", " ...\n" ], [ "line", " Bail out! # should match pattern provided\n" ], [ "bailout", "# should match pattern provided" ], [ "line", "Bail out! # should match pattern provided\n" ], [ "complete", { "ok": false, "count": 0, "pass": 0, "fail": 0, "bailout": "# should match pattern provided", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/diag-looks-like-comment--bail--preservewhite--omitversion.json000066400000000000000000000104441320135610000323060ustar00rootroot00000000000000[ [ "line", "# Subtest: -t 0.2\n" ], [ "child", [ [ "comment", "# Subtest: -t 0.2\n" ], [ "line", "not ok 1 - should match pattern provided\n" ], [ "line", " ---\n" ], [ "line", " found: >\n" ], [ "line", " \n" ], [ "line", " # Subtest: nope\n" ], [ "line", " \n" ], [ "line", " not ok 1 - nope\n" ], [ "line", " ---\n" ], [ "line", " still: the string\n" ], [ "line", " ...\n" ], [ "line", " \n" ], [ "line", " 1..1 # nope\n" ], [ "line", " not ok 1 - nope #\n" ], [ "line", " time=123\n" ], [ "line", " ---\n" ], [ "line", " this: is fine\n" ], [ "line", " ...\n" ], [ "line", " \n" ], [ "line", " 1..1\n" ], [ "line", " pattern: '/SIGTERM/'\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "should match pattern provided", "diag": { "found": "\n# Subtest: nope\n\n not ok 1 - nope\n ---\n still: the string\n ...\n\n 1..1 # nope\nnot ok 1 - nope # time=123\n ---\n this: is fine\n ...\n\n1..1\n", "pattern": "/SIGTERM/" } } ], [ "line", "Bail out! # should match pattern provided\n" ], [ "bailout", "# should match pattern provided" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# should match pattern provided", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "should match pattern provided", "diag": { "found": "\n# Subtest: nope\n\n not ok 1 - nope\n ---\n still: the string\n ...\n\n 1..1 # nope\nnot ok 1 - nope # time=123\n ---\n this: is fine\n ...\n\n1..1\n", "pattern": "/SIGTERM/" } } ] } ] ] ], [ "line", " not ok 1 - should match pattern provided\n" ], [ "line", " ---\n" ], [ "line", " found: >\n" ], [ "line", " \n" ], [ "line", " # Subtest: nope\n" ], [ "line", " \n" ], [ "line", " not ok 1 - nope\n" ], [ "line", " ---\n" ], [ "line", " still: the string\n" ], [ "line", " ...\n" ], [ "line", " \n" ], [ "line", " 1..1 # nope\n" ], [ "line", " not ok 1 - nope #\n" ], [ "line", " time=123\n" ], [ "line", " ---\n" ], [ "line", " this: is fine\n" ], [ "line", " ...\n" ], [ "line", " \n" ], [ "line", " 1..1\n" ], [ "line", " pattern: '/SIGTERM/'\n" ], [ "line", " ...\n" ], [ "line", " Bail out! # should match pattern provided\n" ], [ "bailout", "# should match pattern provided" ], [ "line", "Bail out! # should match pattern provided\n" ], [ "complete", { "ok": false, "count": 0, "pass": 0, "fail": 0, "bailout": "# should match pattern provided", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/diag-looks-like-comment--bail--preservewhite.json000066400000000000000000000105571320135610000276620ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: -t 0.2\n" ], [ "child", [ [ "comment", "# Subtest: -t 0.2\n" ], [ "line", "not ok 1 - should match pattern provided\n" ], [ "line", " ---\n" ], [ "line", " found: >\n" ], [ "line", " \n" ], [ "line", " # Subtest: nope\n" ], [ "line", " \n" ], [ "line", " not ok 1 - nope\n" ], [ "line", " ---\n" ], [ "line", " still: the string\n" ], [ "line", " ...\n" ], [ "line", " \n" ], [ "line", " 1..1 # nope\n" ], [ "line", " not ok 1 - nope #\n" ], [ "line", " time=123\n" ], [ "line", " ---\n" ], [ "line", " this: is fine\n" ], [ "line", " ...\n" ], [ "line", " \n" ], [ "line", " 1..1\n" ], [ "line", " pattern: '/SIGTERM/'\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "should match pattern provided", "diag": { "found": "\n# Subtest: nope\n\n not ok 1 - nope\n ---\n still: the string\n ...\n\n 1..1 # nope\nnot ok 1 - nope # time=123\n ---\n this: is fine\n ...\n\n1..1\n", "pattern": "/SIGTERM/" } } ], [ "line", "Bail out! # should match pattern provided\n" ], [ "bailout", "# should match pattern provided" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# should match pattern provided", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "should match pattern provided", "diag": { "found": "\n# Subtest: nope\n\n not ok 1 - nope\n ---\n still: the string\n ...\n\n 1..1 # nope\nnot ok 1 - nope # time=123\n ---\n this: is fine\n ...\n\n1..1\n", "pattern": "/SIGTERM/" } } ] } ] ] ], [ "line", " not ok 1 - should match pattern provided\n" ], [ "line", " ---\n" ], [ "line", " found: >\n" ], [ "line", " \n" ], [ "line", " # Subtest: nope\n" ], [ "line", " \n" ], [ "line", " not ok 1 - nope\n" ], [ "line", " ---\n" ], [ "line", " still: the string\n" ], [ "line", " ...\n" ], [ "line", " \n" ], [ "line", " 1..1 # nope\n" ], [ "line", " not ok 1 - nope #\n" ], [ "line", " time=123\n" ], [ "line", " ---\n" ], [ "line", " this: is fine\n" ], [ "line", " ...\n" ], [ "line", " \n" ], [ "line", " 1..1\n" ], [ "line", " pattern: '/SIGTERM/'\n" ], [ "line", " ...\n" ], [ "line", " Bail out! # should match pattern provided\n" ], [ "bailout", "# should match pattern provided" ], [ "line", "Bail out! # should match pattern provided\n" ], [ "complete", { "ok": false, "count": 0, "pass": 0, "fail": 0, "bailout": "# should match pattern provided", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/diag-looks-like-comment--bail.json000066400000000000000000000105571320135610000247130ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: -t 0.2\n" ], [ "child", [ [ "comment", "# Subtest: -t 0.2\n" ], [ "line", "not ok 1 - should match pattern provided\n" ], [ "line", " ---\n" ], [ "line", " found: >\n" ], [ "line", " \n" ], [ "line", " # Subtest: nope\n" ], [ "line", " \n" ], [ "line", " not ok 1 - nope\n" ], [ "line", " ---\n" ], [ "line", " still: the string\n" ], [ "line", " ...\n" ], [ "line", " \n" ], [ "line", " 1..1 # nope\n" ], [ "line", " not ok 1 - nope #\n" ], [ "line", " time=123\n" ], [ "line", " ---\n" ], [ "line", " this: is fine\n" ], [ "line", " ...\n" ], [ "line", " \n" ], [ "line", " 1..1\n" ], [ "line", " pattern: '/SIGTERM/'\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "should match pattern provided", "diag": { "found": "\n# Subtest: nope\n\n not ok 1 - nope\n ---\n still: the string\n ...\n\n 1..1 # nope\nnot ok 1 - nope # time=123\n ---\n this: is fine\n ...\n\n1..1\n", "pattern": "/SIGTERM/" } } ], [ "line", "Bail out! # should match pattern provided\n" ], [ "bailout", "# should match pattern provided" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# should match pattern provided", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "should match pattern provided", "diag": { "found": "\n# Subtest: nope\n\n not ok 1 - nope\n ---\n still: the string\n ...\n\n 1..1 # nope\nnot ok 1 - nope # time=123\n ---\n this: is fine\n ...\n\n1..1\n", "pattern": "/SIGTERM/" } } ] } ] ] ], [ "line", " not ok 1 - should match pattern provided\n" ], [ "line", " ---\n" ], [ "line", " found: >\n" ], [ "line", " \n" ], [ "line", " # Subtest: nope\n" ], [ "line", " \n" ], [ "line", " not ok 1 - nope\n" ], [ "line", " ---\n" ], [ "line", " still: the string\n" ], [ "line", " ...\n" ], [ "line", " \n" ], [ "line", " 1..1 # nope\n" ], [ "line", " not ok 1 - nope #\n" ], [ "line", " time=123\n" ], [ "line", " ---\n" ], [ "line", " this: is fine\n" ], [ "line", " ...\n" ], [ "line", " \n" ], [ "line", " 1..1\n" ], [ "line", " pattern: '/SIGTERM/'\n" ], [ "line", " ...\n" ], [ "line", " Bail out! # should match pattern provided\n" ], [ "bailout", "# should match pattern provided" ], [ "line", "Bail out! # should match pattern provided\n" ], [ "complete", { "ok": false, "count": 0, "pass": 0, "fail": 0, "bailout": "# should match pattern provided", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/diag-looks-like-comment--omitversion.json000066400000000000000000000111731320135610000263550ustar00rootroot00000000000000[ [ "line", "# Subtest: -t 0.2\n" ], [ "child", [ [ "comment", "# Subtest: -t 0.2\n" ], [ "line", "not ok 1 - should match pattern provided\n" ], [ "line", " ---\n" ], [ "line", " found: >\n" ], [ "line", " \n" ], [ "line", " # Subtest: nope\n" ], [ "line", " \n" ], [ "line", " not ok 1 - nope\n" ], [ "line", " ---\n" ], [ "line", " still: the string\n" ], [ "line", " ...\n" ], [ "line", " \n" ], [ "line", " 1..1 # nope\n" ], [ "line", " not ok 1 - nope #\n" ], [ "line", " time=123\n" ], [ "line", " ---\n" ], [ "line", " this: is fine\n" ], [ "line", " ...\n" ], [ "line", " \n" ], [ "line", " 1..1\n" ], [ "line", " pattern: '/SIGTERM/'\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "should match pattern provided", "diag": { "found": "\n# Subtest: nope\n\n not ok 1 - nope\n ---\n still: the string\n ...\n\n 1..1 # nope\nnot ok 1 - nope # time=123\n ---\n this: is fine\n ...\n\n1..1\n", "pattern": "/SIGTERM/" } } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "should match pattern provided", "diag": { "found": "\n# Subtest: nope\n\n not ok 1 - nope\n ---\n still: the string\n ...\n\n 1..1 # nope\nnot ok 1 - nope # time=123\n ---\n this: is fine\n ...\n\n1..1\n", "pattern": "/SIGTERM/" } } ] } ] ] ], [ "line", " not ok 1 - should match pattern provided\n" ], [ "line", " ---\n" ], [ "line", " found: >\n" ], [ "line", " \n" ], [ "line", " # Subtest: nope\n" ], [ "line", " \n" ], [ "line", " not ok 1 - nope\n" ], [ "line", " ---\n" ], [ "line", " still: the string\n" ], [ "line", " ...\n" ], [ "line", " \n" ], [ "line", " 1..1 # nope\n" ], [ "line", " not ok 1 - nope #\n" ], [ "line", " time=123\n" ], [ "line", " ---\n" ], [ "line", " this: is fine\n" ], [ "line", " ...\n" ], [ "line", " \n" ], [ "line", " 1..1\n" ], [ "line", " pattern: '/SIGTERM/'\n" ], [ "line", " ...\n" ], [ "line", " 1..1\n" ], [ "line", " # failed 1 test\n" ], [ "line", "not ok 1 - -t 0.2\n" ], [ "assert", { "ok": false, "id": 1, "name": "-t 0.2" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "-t 0.2" } ] } ] ] tap-parser-7.0.0/test/fixtures/diag-looks-like-comment--preservewhite--omitversion.json000066400000000000000000000111731320135610000313240ustar00rootroot00000000000000[ [ "line", "# Subtest: -t 0.2\n" ], [ "child", [ [ "comment", "# Subtest: -t 0.2\n" ], [ "line", "not ok 1 - should match pattern provided\n" ], [ "line", " ---\n" ], [ "line", " found: >\n" ], [ "line", " \n" ], [ "line", " # Subtest: nope\n" ], [ "line", " \n" ], [ "line", " not ok 1 - nope\n" ], [ "line", " ---\n" ], [ "line", " still: the string\n" ], [ "line", " ...\n" ], [ "line", " \n" ], [ "line", " 1..1 # nope\n" ], [ "line", " not ok 1 - nope #\n" ], [ "line", " time=123\n" ], [ "line", " ---\n" ], [ "line", " this: is fine\n" ], [ "line", " ...\n" ], [ "line", " \n" ], [ "line", " 1..1\n" ], [ "line", " pattern: '/SIGTERM/'\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "should match pattern provided", "diag": { "found": "\n# Subtest: nope\n\n not ok 1 - nope\n ---\n still: the string\n ...\n\n 1..1 # nope\nnot ok 1 - nope # time=123\n ---\n this: is fine\n ...\n\n1..1\n", "pattern": "/SIGTERM/" } } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "should match pattern provided", "diag": { "found": "\n# Subtest: nope\n\n not ok 1 - nope\n ---\n still: the string\n ...\n\n 1..1 # nope\nnot ok 1 - nope # time=123\n ---\n this: is fine\n ...\n\n1..1\n", "pattern": "/SIGTERM/" } } ] } ] ] ], [ "line", " not ok 1 - should match pattern provided\n" ], [ "line", " ---\n" ], [ "line", " found: >\n" ], [ "line", " \n" ], [ "line", " # Subtest: nope\n" ], [ "line", " \n" ], [ "line", " not ok 1 - nope\n" ], [ "line", " ---\n" ], [ "line", " still: the string\n" ], [ "line", " ...\n" ], [ "line", " \n" ], [ "line", " 1..1 # nope\n" ], [ "line", " not ok 1 - nope #\n" ], [ "line", " time=123\n" ], [ "line", " ---\n" ], [ "line", " this: is fine\n" ], [ "line", " ...\n" ], [ "line", " \n" ], [ "line", " 1..1\n" ], [ "line", " pattern: '/SIGTERM/'\n" ], [ "line", " ...\n" ], [ "line", " 1..1\n" ], [ "line", " # failed 1 test\n" ], [ "line", "not ok 1 - -t 0.2\n" ], [ "assert", { "ok": false, "id": 1, "name": "-t 0.2" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "-t 0.2" } ] } ] ] tap-parser-7.0.0/test/fixtures/diag-looks-like-comment--preservewhite.json000066400000000000000000000113061320135610000266710ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: -t 0.2\n" ], [ "child", [ [ "comment", "# Subtest: -t 0.2\n" ], [ "line", "not ok 1 - should match pattern provided\n" ], [ "line", " ---\n" ], [ "line", " found: >\n" ], [ "line", " \n" ], [ "line", " # Subtest: nope\n" ], [ "line", " \n" ], [ "line", " not ok 1 - nope\n" ], [ "line", " ---\n" ], [ "line", " still: the string\n" ], [ "line", " ...\n" ], [ "line", " \n" ], [ "line", " 1..1 # nope\n" ], [ "line", " not ok 1 - nope #\n" ], [ "line", " time=123\n" ], [ "line", " ---\n" ], [ "line", " this: is fine\n" ], [ "line", " ...\n" ], [ "line", " \n" ], [ "line", " 1..1\n" ], [ "line", " pattern: '/SIGTERM/'\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "should match pattern provided", "diag": { "found": "\n# Subtest: nope\n\n not ok 1 - nope\n ---\n still: the string\n ...\n\n 1..1 # nope\nnot ok 1 - nope # time=123\n ---\n this: is fine\n ...\n\n1..1\n", "pattern": "/SIGTERM/" } } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "should match pattern provided", "diag": { "found": "\n# Subtest: nope\n\n not ok 1 - nope\n ---\n still: the string\n ...\n\n 1..1 # nope\nnot ok 1 - nope # time=123\n ---\n this: is fine\n ...\n\n1..1\n", "pattern": "/SIGTERM/" } } ] } ] ] ], [ "line", " not ok 1 - should match pattern provided\n" ], [ "line", " ---\n" ], [ "line", " found: >\n" ], [ "line", " \n" ], [ "line", " # Subtest: nope\n" ], [ "line", " \n" ], [ "line", " not ok 1 - nope\n" ], [ "line", " ---\n" ], [ "line", " still: the string\n" ], [ "line", " ...\n" ], [ "line", " \n" ], [ "line", " 1..1 # nope\n" ], [ "line", " not ok 1 - nope #\n" ], [ "line", " time=123\n" ], [ "line", " ---\n" ], [ "line", " this: is fine\n" ], [ "line", " ...\n" ], [ "line", " \n" ], [ "line", " 1..1\n" ], [ "line", " pattern: '/SIGTERM/'\n" ], [ "line", " ...\n" ], [ "line", " 1..1\n" ], [ "line", " # failed 1 test\n" ], [ "line", "not ok 1 - -t 0.2\n" ], [ "assert", { "ok": false, "id": 1, "name": "-t 0.2" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "-t 0.2" } ] } ] ] tap-parser-7.0.0/test/fixtures/diag-looks-like-comment.json000066400000000000000000000113061320135610000237220ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: -t 0.2\n" ], [ "child", [ [ "comment", "# Subtest: -t 0.2\n" ], [ "line", "not ok 1 - should match pattern provided\n" ], [ "line", " ---\n" ], [ "line", " found: >\n" ], [ "line", " \n" ], [ "line", " # Subtest: nope\n" ], [ "line", " \n" ], [ "line", " not ok 1 - nope\n" ], [ "line", " ---\n" ], [ "line", " still: the string\n" ], [ "line", " ...\n" ], [ "line", " \n" ], [ "line", " 1..1 # nope\n" ], [ "line", " not ok 1 - nope #\n" ], [ "line", " time=123\n" ], [ "line", " ---\n" ], [ "line", " this: is fine\n" ], [ "line", " ...\n" ], [ "line", " \n" ], [ "line", " 1..1\n" ], [ "line", " pattern: '/SIGTERM/'\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "should match pattern provided", "diag": { "found": "\n# Subtest: nope\n\n not ok 1 - nope\n ---\n still: the string\n ...\n\n 1..1 # nope\nnot ok 1 - nope # time=123\n ---\n this: is fine\n ...\n\n1..1\n", "pattern": "/SIGTERM/" } } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "should match pattern provided", "diag": { "found": "\n# Subtest: nope\n\n not ok 1 - nope\n ---\n still: the string\n ...\n\n 1..1 # nope\nnot ok 1 - nope # time=123\n ---\n this: is fine\n ...\n\n1..1\n", "pattern": "/SIGTERM/" } } ] } ] ] ], [ "line", " not ok 1 - should match pattern provided\n" ], [ "line", " ---\n" ], [ "line", " found: >\n" ], [ "line", " \n" ], [ "line", " # Subtest: nope\n" ], [ "line", " \n" ], [ "line", " not ok 1 - nope\n" ], [ "line", " ---\n" ], [ "line", " still: the string\n" ], [ "line", " ...\n" ], [ "line", " \n" ], [ "line", " 1..1 # nope\n" ], [ "line", " not ok 1 - nope #\n" ], [ "line", " time=123\n" ], [ "line", " ---\n" ], [ "line", " this: is fine\n" ], [ "line", " ...\n" ], [ "line", " \n" ], [ "line", " 1..1\n" ], [ "line", " pattern: '/SIGTERM/'\n" ], [ "line", " ...\n" ], [ "line", " 1..1\n" ], [ "line", " # failed 1 test\n" ], [ "line", "not ok 1 - -t 0.2\n" ], [ "assert", { "ok": false, "id": 1, "name": "-t 0.2" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "-t 0.2" } ] } ] ] tap-parser-7.0.0/test/fixtures/diag-looks-like-comment.tap000066400000000000000000000006541320135610000235410ustar00rootroot00000000000000TAP version 13 # Subtest: -t 0.2 not ok 1 - should match pattern provided --- found: > # Subtest: nope not ok 1 - nope --- still: the string ... 1..1 # nope not ok 1 - nope # time=123 --- this: is fine ... 1..1 pattern: '/SIGTERM/' ... 1..1 not ok 1 - -t 0.2 1..1 tap-parser-7.0.0/test/fixtures/die--bail--omitversion.json000066400000000000000000000007711320135610000234670ustar00rootroot00000000000000[ [ "line", "1..0 # no tests found\n" ], [ "plan", { "start": 1, "end": 0, "comment": "no tests found" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "no tests found", "comment": "no tests found" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/die--bail--preservewhite--omitversion.json000066400000000000000000000007711320135610000264360ustar00rootroot00000000000000[ [ "line", "1..0 # no tests found\n" ], [ "plan", { "start": 1, "end": 0, "comment": "no tests found" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "no tests found", "comment": "no tests found" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/die--bail--preservewhite.json000066400000000000000000000007711320135610000240050ustar00rootroot00000000000000[ [ "line", "1..0 # no tests found\n" ], [ "plan", { "start": 1, "end": 0, "comment": "no tests found" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "no tests found", "comment": "no tests found" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/die--bail.json000066400000000000000000000007711320135610000210360ustar00rootroot00000000000000[ [ "line", "1..0 # no tests found\n" ], [ "plan", { "start": 1, "end": 0, "comment": "no tests found" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "no tests found", "comment": "no tests found" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/die--omitversion.json000066400000000000000000000007711320135610000225050ustar00rootroot00000000000000[ [ "line", "1..0 # no tests found\n" ], [ "plan", { "start": 1, "end": 0, "comment": "no tests found" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "no tests found", "comment": "no tests found" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/die--preservewhite--omitversion.json000066400000000000000000000007711320135610000254540ustar00rootroot00000000000000[ [ "line", "1..0 # no tests found\n" ], [ "plan", { "start": 1, "end": 0, "comment": "no tests found" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "no tests found", "comment": "no tests found" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/die--preservewhite.json000066400000000000000000000007711320135610000230230ustar00rootroot00000000000000[ [ "line", "1..0 # no tests found\n" ], [ "plan", { "start": 1, "end": 0, "comment": "no tests found" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "no tests found", "comment": "no tests found" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/die.json000066400000000000000000000007711320135610000200540ustar00rootroot00000000000000[ [ "line", "1..0 # no tests found\n" ], [ "plan", { "start": 1, "end": 0, "comment": "no tests found" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "no tests found", "comment": "no tests found" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/die.tap000066400000000000000000000000001320135610000176500ustar00rootroot00000000000000tap-parser-7.0.0/test/fixtures/die_head_end--bail--omitversion.json000066400000000000000000000017761320135610000253040ustar00rootroot00000000000000[ [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "# test count(4) != plan(null)\n" ], [ "comment", "# test count(4) != plan(null)\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "no plan" } ] } ] ] tap-parser-7.0.0/test/fixtures/die_head_end--bail--preservewhite--omitversion.json000066400000000000000000000017761320135610000302530ustar00rootroot00000000000000[ [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "# test count(4) != plan(null)\n" ], [ "comment", "# test count(4) != plan(null)\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "no plan" } ] } ] ] tap-parser-7.0.0/test/fixtures/die_head_end--bail--preservewhite.json000066400000000000000000000017761320135610000256220ustar00rootroot00000000000000[ [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "# test count(4) != plan(null)\n" ], [ "comment", "# test count(4) != plan(null)\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "no plan" } ] } ] ] tap-parser-7.0.0/test/fixtures/die_head_end--bail.json000066400000000000000000000017761320135610000226530ustar00rootroot00000000000000[ [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "# test count(4) != plan(null)\n" ], [ "comment", "# test count(4) != plan(null)\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "no plan" } ] } ] ] tap-parser-7.0.0/test/fixtures/die_head_end--omitversion.json000066400000000000000000000017761320135610000243220ustar00rootroot00000000000000[ [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "# test count(4) != plan(null)\n" ], [ "comment", "# test count(4) != plan(null)\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "no plan" } ] } ] ] tap-parser-7.0.0/test/fixtures/die_head_end--preservewhite--omitversion.json000066400000000000000000000017761320135610000272710ustar00rootroot00000000000000[ [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "# test count(4) != plan(null)\n" ], [ "comment", "# test count(4) != plan(null)\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "no plan" } ] } ] ] tap-parser-7.0.0/test/fixtures/die_head_end--preservewhite.json000066400000000000000000000017761320135610000246400ustar00rootroot00000000000000[ [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "# test count(4) != plan(null)\n" ], [ "comment", "# test count(4) != plan(null)\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "no plan" } ] } ] ] tap-parser-7.0.0/test/fixtures/die_head_end.json000066400000000000000000000017761320135610000216710ustar00rootroot00000000000000[ [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "# test count(4) != plan(null)\n" ], [ "comment", "# test count(4) != plan(null)\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "no plan" } ] } ] ] tap-parser-7.0.0/test/fixtures/die_head_end.tap000066400000000000000000000000241320135610000214650ustar00rootroot00000000000000ok 1 ok 2 ok 3 ok 4 tap-parser-7.0.0/test/fixtures/die_last_minute--bail--omitversion.json000066400000000000000000000014761320135610000260760ustar00rootroot00000000000000[ [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/die_last_minute--bail--preservewhite--omitversion.json000066400000000000000000000014761320135610000310450ustar00rootroot00000000000000[ [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/die_last_minute--bail--preservewhite.json000066400000000000000000000014761320135610000264140ustar00rootroot00000000000000[ [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/die_last_minute--bail.json000066400000000000000000000014761320135610000234450ustar00rootroot00000000000000[ [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/die_last_minute--omitversion.json000066400000000000000000000014761320135610000251140ustar00rootroot00000000000000[ [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/die_last_minute--preservewhite--omitversion.json000066400000000000000000000014761320135610000300630ustar00rootroot00000000000000[ [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/die_last_minute--preservewhite.json000066400000000000000000000014761320135610000254320ustar00rootroot00000000000000[ [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/die_last_minute.json000066400000000000000000000014761320135610000224630ustar00rootroot00000000000000[ [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/die_last_minute.tap000066400000000000000000000000311320135610000222600ustar00rootroot00000000000000ok 1 ok 2 ok 3 ok 4 1..4 tap-parser-7.0.0/test/fixtures/die_unfinished--bail--omitversion.json000066400000000000000000000020031320135610000256710ustar00rootroot00000000000000[ [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "# test count(3) != plan(4)\n" ], [ "comment", "# test count(3) != plan(4)\n" ], [ "line", "# failed 1 of 3 tests\n" ], [ "comment", "# failed 1 of 3 tests\n" ], [ "complete", { "ok": false, "count": 3, "pass": 3, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/die_unfinished--bail--preservewhite--omitversion.json000066400000000000000000000020031320135610000306400ustar00rootroot00000000000000[ [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "# test count(3) != plan(4)\n" ], [ "comment", "# test count(3) != plan(4)\n" ], [ "line", "# failed 1 of 3 tests\n" ], [ "comment", "# failed 1 of 3 tests\n" ], [ "complete", { "ok": false, "count": 3, "pass": 3, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/die_unfinished--bail--preservewhite.json000066400000000000000000000020031320135610000262070ustar00rootroot00000000000000[ [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "# test count(3) != plan(4)\n" ], [ "comment", "# test count(3) != plan(4)\n" ], [ "line", "# failed 1 of 3 tests\n" ], [ "comment", "# failed 1 of 3 tests\n" ], [ "complete", { "ok": false, "count": 3, "pass": 3, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/die_unfinished--bail.json000066400000000000000000000020031320135610000232400ustar00rootroot00000000000000[ [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "# test count(3) != plan(4)\n" ], [ "comment", "# test count(3) != plan(4)\n" ], [ "line", "# failed 1 of 3 tests\n" ], [ "comment", "# failed 1 of 3 tests\n" ], [ "complete", { "ok": false, "count": 3, "pass": 3, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/die_unfinished--omitversion.json000066400000000000000000000020031320135610000247070ustar00rootroot00000000000000[ [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "# test count(3) != plan(4)\n" ], [ "comment", "# test count(3) != plan(4)\n" ], [ "line", "# failed 1 of 3 tests\n" ], [ "comment", "# failed 1 of 3 tests\n" ], [ "complete", { "ok": false, "count": 3, "pass": 3, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/die_unfinished--preservewhite--omitversion.json000066400000000000000000000020031320135610000276560ustar00rootroot00000000000000[ [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "# test count(3) != plan(4)\n" ], [ "comment", "# test count(3) != plan(4)\n" ], [ "line", "# failed 1 of 3 tests\n" ], [ "comment", "# failed 1 of 3 tests\n" ], [ "complete", { "ok": false, "count": 3, "pass": 3, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/die_unfinished--preservewhite.json000066400000000000000000000020031320135610000252250ustar00rootroot00000000000000[ [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "# test count(3) != plan(4)\n" ], [ "comment", "# test count(3) != plan(4)\n" ], [ "line", "# failed 1 of 3 tests\n" ], [ "comment", "# failed 1 of 3 tests\n" ], [ "complete", { "ok": false, "count": 3, "pass": 3, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/die_unfinished.json000066400000000000000000000020031320135610000222560ustar00rootroot00000000000000[ [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "# test count(3) != plan(4)\n" ], [ "comment", "# test count(3) != plan(4)\n" ], [ "line", "# failed 1 of 3 tests\n" ], [ "comment", "# failed 1 of 3 tests\n" ], [ "complete", { "ok": false, "count": 3, "pass": 3, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/die_unfinished.tap000066400000000000000000000000241320135610000220720ustar00rootroot000000000000001..4 ok 1 ok 2 ok 3 tap-parser-7.0.0/test/fixtures/duplicates--bail--omitversion.json000066400000000000000000000034701320135610000250620ustar00rootroot00000000000000[ [ "line", "1..10\n" ], [ "plan", { "start": 1, "end": 10 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "ok 6\n" ], [ "assert", { "ok": true, "id": 6 } ], [ "line", "ok 7\n" ], [ "assert", { "ok": true, "id": 7 } ], [ "line", "ok 8\n" ], [ "assert", { "ok": true, "id": 8 } ], [ "line", "ok 9\n" ], [ "assert", { "ok": true, "id": 9 } ], [ "line", "ok 10\n" ], [ "assert", { "ok": true, "id": 10 } ], [ "line", "# test count(11) != plan(10)\n" ], [ "comment", "# test count(11) != plan(10)\n" ], [ "line", "# failed 1 of 11 tests\n" ], [ "comment", "# failed 1 of 11 tests\n" ], [ "complete", { "ok": false, "count": 11, "pass": 11, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 10, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/duplicates--bail--preservewhite--omitversion.json000066400000000000000000000034701320135610000300310ustar00rootroot00000000000000[ [ "line", "1..10\n" ], [ "plan", { "start": 1, "end": 10 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "ok 6\n" ], [ "assert", { "ok": true, "id": 6 } ], [ "line", "ok 7\n" ], [ "assert", { "ok": true, "id": 7 } ], [ "line", "ok 8\n" ], [ "assert", { "ok": true, "id": 8 } ], [ "line", "ok 9\n" ], [ "assert", { "ok": true, "id": 9 } ], [ "line", "ok 10\n" ], [ "assert", { "ok": true, "id": 10 } ], [ "line", "# test count(11) != plan(10)\n" ], [ "comment", "# test count(11) != plan(10)\n" ], [ "line", "# failed 1 of 11 tests\n" ], [ "comment", "# failed 1 of 11 tests\n" ], [ "complete", { "ok": false, "count": 11, "pass": 11, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 10, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/duplicates--bail--preservewhite.json000066400000000000000000000034701320135610000254000ustar00rootroot00000000000000[ [ "line", "1..10\n" ], [ "plan", { "start": 1, "end": 10 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "ok 6\n" ], [ "assert", { "ok": true, "id": 6 } ], [ "line", "ok 7\n" ], [ "assert", { "ok": true, "id": 7 } ], [ "line", "ok 8\n" ], [ "assert", { "ok": true, "id": 8 } ], [ "line", "ok 9\n" ], [ "assert", { "ok": true, "id": 9 } ], [ "line", "ok 10\n" ], [ "assert", { "ok": true, "id": 10 } ], [ "line", "# test count(11) != plan(10)\n" ], [ "comment", "# test count(11) != plan(10)\n" ], [ "line", "# failed 1 of 11 tests\n" ], [ "comment", "# failed 1 of 11 tests\n" ], [ "complete", { "ok": false, "count": 11, "pass": 11, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 10, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/duplicates--bail.json000066400000000000000000000034701320135610000224310ustar00rootroot00000000000000[ [ "line", "1..10\n" ], [ "plan", { "start": 1, "end": 10 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "ok 6\n" ], [ "assert", { "ok": true, "id": 6 } ], [ "line", "ok 7\n" ], [ "assert", { "ok": true, "id": 7 } ], [ "line", "ok 8\n" ], [ "assert", { "ok": true, "id": 8 } ], [ "line", "ok 9\n" ], [ "assert", { "ok": true, "id": 9 } ], [ "line", "ok 10\n" ], [ "assert", { "ok": true, "id": 10 } ], [ "line", "# test count(11) != plan(10)\n" ], [ "comment", "# test count(11) != plan(10)\n" ], [ "line", "# failed 1 of 11 tests\n" ], [ "comment", "# failed 1 of 11 tests\n" ], [ "complete", { "ok": false, "count": 11, "pass": 11, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 10, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/duplicates--omitversion.json000066400000000000000000000034701320135610000241000ustar00rootroot00000000000000[ [ "line", "1..10\n" ], [ "plan", { "start": 1, "end": 10 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "ok 6\n" ], [ "assert", { "ok": true, "id": 6 } ], [ "line", "ok 7\n" ], [ "assert", { "ok": true, "id": 7 } ], [ "line", "ok 8\n" ], [ "assert", { "ok": true, "id": 8 } ], [ "line", "ok 9\n" ], [ "assert", { "ok": true, "id": 9 } ], [ "line", "ok 10\n" ], [ "assert", { "ok": true, "id": 10 } ], [ "line", "# test count(11) != plan(10)\n" ], [ "comment", "# test count(11) != plan(10)\n" ], [ "line", "# failed 1 of 11 tests\n" ], [ "comment", "# failed 1 of 11 tests\n" ], [ "complete", { "ok": false, "count": 11, "pass": 11, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 10, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/duplicates--preservewhite--omitversion.json000066400000000000000000000034701320135610000270470ustar00rootroot00000000000000[ [ "line", "1..10\n" ], [ "plan", { "start": 1, "end": 10 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "ok 6\n" ], [ "assert", { "ok": true, "id": 6 } ], [ "line", "ok 7\n" ], [ "assert", { "ok": true, "id": 7 } ], [ "line", "ok 8\n" ], [ "assert", { "ok": true, "id": 8 } ], [ "line", "ok 9\n" ], [ "assert", { "ok": true, "id": 9 } ], [ "line", "ok 10\n" ], [ "assert", { "ok": true, "id": 10 } ], [ "line", "# test count(11) != plan(10)\n" ], [ "comment", "# test count(11) != plan(10)\n" ], [ "line", "# failed 1 of 11 tests\n" ], [ "comment", "# failed 1 of 11 tests\n" ], [ "complete", { "ok": false, "count": 11, "pass": 11, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 10, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/duplicates--preservewhite.json000066400000000000000000000034701320135610000244160ustar00rootroot00000000000000[ [ "line", "1..10\n" ], [ "plan", { "start": 1, "end": 10 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "ok 6\n" ], [ "assert", { "ok": true, "id": 6 } ], [ "line", "ok 7\n" ], [ "assert", { "ok": true, "id": 7 } ], [ "line", "ok 8\n" ], [ "assert", { "ok": true, "id": 8 } ], [ "line", "ok 9\n" ], [ "assert", { "ok": true, "id": 9 } ], [ "line", "ok 10\n" ], [ "assert", { "ok": true, "id": 10 } ], [ "line", "# test count(11) != plan(10)\n" ], [ "comment", "# test count(11) != plan(10)\n" ], [ "line", "# failed 1 of 11 tests\n" ], [ "comment", "# failed 1 of 11 tests\n" ], [ "complete", { "ok": false, "count": 11, "pass": 11, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 10, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/duplicates.json000066400000000000000000000034701320135610000214470ustar00rootroot00000000000000[ [ "line", "1..10\n" ], [ "plan", { "start": 1, "end": 10 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "ok 6\n" ], [ "assert", { "ok": true, "id": 6 } ], [ "line", "ok 7\n" ], [ "assert", { "ok": true, "id": 7 } ], [ "line", "ok 8\n" ], [ "assert", { "ok": true, "id": 8 } ], [ "line", "ok 9\n" ], [ "assert", { "ok": true, "id": 9 } ], [ "line", "ok 10\n" ], [ "assert", { "ok": true, "id": 10 } ], [ "line", "# test count(11) != plan(10)\n" ], [ "comment", "# test count(11) != plan(10)\n" ], [ "line", "# failed 1 of 11 tests\n" ], [ "comment", "# failed 1 of 11 tests\n" ], [ "complete", { "ok": false, "count": 11, "pass": 11, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 10, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/duplicates.tap000066400000000000000000000000761320135610000212610ustar00rootroot000000000000001..10 ok 1 ok 2 ok 3 ok 4 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 tap-parser-7.0.0/test/fixtures/echo--bail--omitversion.json000066400000000000000000000006511320135610000236410ustar00rootroot00000000000000[ [ "line", "1..0\n" ], [ "plan", { "start": 1, "end": 0 } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/echo--bail--preservewhite--omitversion.json000066400000000000000000000006511320135610000266100ustar00rootroot00000000000000[ [ "line", "1..0\n" ], [ "plan", { "start": 1, "end": 0 } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/echo--bail--preservewhite.json000066400000000000000000000006511320135610000241570ustar00rootroot00000000000000[ [ "line", "1..0\n" ], [ "plan", { "start": 1, "end": 0 } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/echo--bail.json000066400000000000000000000006511320135610000212100ustar00rootroot00000000000000[ [ "line", "1..0\n" ], [ "plan", { "start": 1, "end": 0 } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/echo--omitversion.json000066400000000000000000000006511320135610000226570ustar00rootroot00000000000000[ [ "line", "1..0\n" ], [ "plan", { "start": 1, "end": 0 } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/echo--preservewhite--omitversion.json000066400000000000000000000006511320135610000256260ustar00rootroot00000000000000[ [ "line", "1..0\n" ], [ "plan", { "start": 1, "end": 0 } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/echo--preservewhite.json000066400000000000000000000006511320135610000231750ustar00rootroot00000000000000[ [ "line", "1..0\n" ], [ "plan", { "start": 1, "end": 0 } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/echo.json000066400000000000000000000006511320135610000202260ustar00rootroot00000000000000[ [ "line", "1..0\n" ], [ "plan", { "start": 1, "end": 0 } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/echo.tap000066400000000000000000000000051320135610000200320ustar00rootroot000000000000001..0 tap-parser-7.0.0/test/fixtures/empty--bail--omitversion.json000066400000000000000000000007711320135610000240640ustar00rootroot00000000000000[ [ "line", "1..0 # no tests found\n" ], [ "plan", { "start": 1, "end": 0, "comment": "no tests found" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "no tests found", "comment": "no tests found" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/empty--bail--preservewhite--omitversion.json000066400000000000000000000007711320135610000270330ustar00rootroot00000000000000[ [ "line", "1..0 # no tests found\n" ], [ "plan", { "start": 1, "end": 0, "comment": "no tests found" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "no tests found", "comment": "no tests found" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/empty--bail--preservewhite.json000066400000000000000000000007711320135610000244020ustar00rootroot00000000000000[ [ "line", "1..0 # no tests found\n" ], [ "plan", { "start": 1, "end": 0, "comment": "no tests found" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "no tests found", "comment": "no tests found" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/empty--bail.json000066400000000000000000000007711320135610000214330ustar00rootroot00000000000000[ [ "line", "1..0 # no tests found\n" ], [ "plan", { "start": 1, "end": 0, "comment": "no tests found" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "no tests found", "comment": "no tests found" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/empty--omitversion.json000066400000000000000000000007711320135610000231020ustar00rootroot00000000000000[ [ "line", "1..0 # no tests found\n" ], [ "plan", { "start": 1, "end": 0, "comment": "no tests found" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "no tests found", "comment": "no tests found" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/empty--preservewhite--omitversion.json000066400000000000000000000007711320135610000260510ustar00rootroot00000000000000[ [ "line", "1..0 # no tests found\n" ], [ "plan", { "start": 1, "end": 0, "comment": "no tests found" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "no tests found", "comment": "no tests found" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/empty--preservewhite.json000066400000000000000000000007711320135610000234200ustar00rootroot00000000000000[ [ "line", "1..0 # no tests found\n" ], [ "plan", { "start": 1, "end": 0, "comment": "no tests found" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "no tests found", "comment": "no tests found" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/empty-buffered-child--bail--omitversion.json000066400000000000000000000021271320135610000267220ustar00rootroot00000000000000[ [ "line", "ok child {\n" ], [ "child", [ [ "comment", "# Subtest: child\n" ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "child" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/empty-buffered-child--bail--preservewhite--omitversion.json000066400000000000000000000021271320135610000316710ustar00rootroot00000000000000[ [ "line", "ok child {\n" ], [ "child", [ [ "comment", "# Subtest: child\n" ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "child" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/empty-buffered-child--bail--preservewhite.json000066400000000000000000000022421320135610000272360ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "ok child {\n" ], [ "child", [ [ "comment", "# Subtest: child\n" ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "child" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/empty-buffered-child--bail.json000066400000000000000000000022421320135610000242670ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "ok child {\n" ], [ "child", [ [ "comment", "# Subtest: child\n" ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "child" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/empty-buffered-child--omitversion.json000066400000000000000000000021271320135610000257400ustar00rootroot00000000000000[ [ "line", "ok child {\n" ], [ "child", [ [ "comment", "# Subtest: child\n" ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "child" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/empty-buffered-child--preservewhite--omitversion.json000066400000000000000000000021271320135610000307070ustar00rootroot00000000000000[ [ "line", "ok child {\n" ], [ "child", [ [ "comment", "# Subtest: child\n" ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "child" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/empty-buffered-child--preservewhite.json000066400000000000000000000022421320135610000262540ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "ok child {\n" ], [ "child", [ [ "comment", "# Subtest: child\n" ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "child" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/empty-buffered-child.json000066400000000000000000000022421320135610000233050ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "ok child {\n" ], [ "child", [ [ "comment", "# Subtest: child\n" ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "child" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/empty-buffered-child.tap000066400000000000000000000000461320135610000231200ustar00rootroot00000000000000TAP version 13 ok child { } 1..1 tap-parser-7.0.0/test/fixtures/empty-failures--bail--omitversion.json000066400000000000000000000011601320135610000256650ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/empty-failures--bail--preservewhite--omitversion.json000066400000000000000000000011601320135610000306340ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/empty-failures--bail--preservewhite.json000066400000000000000000000011601320135610000262030ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/empty-failures--bail.json000066400000000000000000000011601320135610000232340ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/empty-failures--omitversion.json000066400000000000000000000011601320135610000247030ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/empty-failures--preservewhite--omitversion.json000066400000000000000000000011601320135610000276520ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/empty-failures--preservewhite.json000066400000000000000000000011601320135610000252210ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/empty-failures.json000066400000000000000000000011601320135610000222520ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/empty-failures.tap000066400000000000000000000000131320135610000220610ustar00rootroot000000000000001..2 ok ok tap-parser-7.0.0/test/fixtures/empty.json000066400000000000000000000007711320135610000204510ustar00rootroot00000000000000[ [ "line", "1..0 # no tests found\n" ], [ "plan", { "start": 1, "end": 0, "comment": "no tests found" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "no tests found", "comment": "no tests found" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/empty.tap000066400000000000000000000000001320135610000202450ustar00rootroot00000000000000tap-parser-7.0.0/test/fixtures/escape_eol--bail--omitversion.json000066400000000000000000000014361320135610000250240ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 Should parse as literal backslash --> \\\n" ], [ "assert", { "ok": true, "id": 1, "name": "Should parse as literal backslash --> \\" } ], [ "line", "ok 2 Not a continuation line\n" ], [ "assert", { "ok": true, "id": 2, "name": "Not a continuation line" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/escape_eol--bail--preservewhite--omitversion.json000066400000000000000000000014361320135610000277730ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 Should parse as literal backslash --> \\\n" ], [ "assert", { "ok": true, "id": 1, "name": "Should parse as literal backslash --> \\" } ], [ "line", "ok 2 Not a continuation line\n" ], [ "assert", { "ok": true, "id": 2, "name": "Not a continuation line" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/escape_eol--bail--preservewhite.json000066400000000000000000000014361320135610000253420ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 Should parse as literal backslash --> \\\n" ], [ "assert", { "ok": true, "id": 1, "name": "Should parse as literal backslash --> \\" } ], [ "line", "ok 2 Not a continuation line\n" ], [ "assert", { "ok": true, "id": 2, "name": "Not a continuation line" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/escape_eol--bail.json000066400000000000000000000014361320135610000223730ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 Should parse as literal backslash --> \\\n" ], [ "assert", { "ok": true, "id": 1, "name": "Should parse as literal backslash --> \\" } ], [ "line", "ok 2 Not a continuation line\n" ], [ "assert", { "ok": true, "id": 2, "name": "Not a continuation line" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/escape_eol--omitversion.json000066400000000000000000000014361320135610000240420ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 Should parse as literal backslash --> \\\n" ], [ "assert", { "ok": true, "id": 1, "name": "Should parse as literal backslash --> \\" } ], [ "line", "ok 2 Not a continuation line\n" ], [ "assert", { "ok": true, "id": 2, "name": "Not a continuation line" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/escape_eol--preservewhite--omitversion.json000066400000000000000000000014361320135610000270110ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 Should parse as literal backslash --> \\\n" ], [ "assert", { "ok": true, "id": 1, "name": "Should parse as literal backslash --> \\" } ], [ "line", "ok 2 Not a continuation line\n" ], [ "assert", { "ok": true, "id": 2, "name": "Not a continuation line" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/escape_eol--preservewhite.json000066400000000000000000000014361320135610000243600ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 Should parse as literal backslash --> \\\n" ], [ "assert", { "ok": true, "id": 1, "name": "Should parse as literal backslash --> \\" } ], [ "line", "ok 2 Not a continuation line\n" ], [ "assert", { "ok": true, "id": 2, "name": "Not a continuation line" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/escape_eol.json000066400000000000000000000014361320135610000214110ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 Should parse as literal backslash --> \\\n" ], [ "assert", { "ok": true, "id": 1, "name": "Should parse as literal backslash --> \\" } ], [ "line", "ok 2 Not a continuation line\n" ], [ "assert", { "ok": true, "id": 2, "name": "Not a continuation line" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/escape_eol.tap000066400000000000000000000001251320135610000212160ustar00rootroot000000000000001..2 ok 1 Should parse as literal backslash --> \ ok 2 Not a continuation line tap-parser-7.0.0/test/fixtures/escape_hash--bail--omitversion.json000066400000000000000000000015611320135610000251670ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1 Not a \\# TODO\n" ], [ "assert", { "ok": true, "id": 1, "name": "Not a \\# TODO" } ], [ "line", "ok 2 Not a \\# SKIP\n" ], [ "assert", { "ok": true, "id": 2, "name": "Not a \\# SKIP" } ], [ "line", "ok 3 Escaped \\\\\\#\n" ], [ "assert", { "ok": true, "id": 3, "name": "Escaped \\\\\\#" } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/escape_hash--bail--preservewhite--omitversion.json000066400000000000000000000015611320135610000301360ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1 Not a \\# TODO\n" ], [ "assert", { "ok": true, "id": 1, "name": "Not a \\# TODO" } ], [ "line", "ok 2 Not a \\# SKIP\n" ], [ "assert", { "ok": true, "id": 2, "name": "Not a \\# SKIP" } ], [ "line", "ok 3 Escaped \\\\\\#\n" ], [ "assert", { "ok": true, "id": 3, "name": "Escaped \\\\\\#" } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/escape_hash--bail--preservewhite.json000066400000000000000000000015611320135610000255050ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1 Not a \\# TODO\n" ], [ "assert", { "ok": true, "id": 1, "name": "Not a \\# TODO" } ], [ "line", "ok 2 Not a \\# SKIP\n" ], [ "assert", { "ok": true, "id": 2, "name": "Not a \\# SKIP" } ], [ "line", "ok 3 Escaped \\\\\\#\n" ], [ "assert", { "ok": true, "id": 3, "name": "Escaped \\\\\\#" } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/escape_hash--bail.json000066400000000000000000000015611320135610000225360ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1 Not a \\# TODO\n" ], [ "assert", { "ok": true, "id": 1, "name": "Not a \\# TODO" } ], [ "line", "ok 2 Not a \\# SKIP\n" ], [ "assert", { "ok": true, "id": 2, "name": "Not a \\# SKIP" } ], [ "line", "ok 3 Escaped \\\\\\#\n" ], [ "assert", { "ok": true, "id": 3, "name": "Escaped \\\\\\#" } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/escape_hash--omitversion.json000066400000000000000000000015611320135610000242050ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1 Not a \\# TODO\n" ], [ "assert", { "ok": true, "id": 1, "name": "Not a \\# TODO" } ], [ "line", "ok 2 Not a \\# SKIP\n" ], [ "assert", { "ok": true, "id": 2, "name": "Not a \\# SKIP" } ], [ "line", "ok 3 Escaped \\\\\\#\n" ], [ "assert", { "ok": true, "id": 3, "name": "Escaped \\\\\\#" } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/escape_hash--preservewhite--omitversion.json000066400000000000000000000015611320135610000271540ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1 Not a \\# TODO\n" ], [ "assert", { "ok": true, "id": 1, "name": "Not a \\# TODO" } ], [ "line", "ok 2 Not a \\# SKIP\n" ], [ "assert", { "ok": true, "id": 2, "name": "Not a \\# SKIP" } ], [ "line", "ok 3 Escaped \\\\\\#\n" ], [ "assert", { "ok": true, "id": 3, "name": "Escaped \\\\\\#" } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/escape_hash--preservewhite.json000066400000000000000000000015611320135610000245230ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1 Not a \\# TODO\n" ], [ "assert", { "ok": true, "id": 1, "name": "Not a \\# TODO" } ], [ "line", "ok 2 Not a \\# SKIP\n" ], [ "assert", { "ok": true, "id": 2, "name": "Not a \\# SKIP" } ], [ "line", "ok 3 Escaped \\\\\\#\n" ], [ "assert", { "ok": true, "id": 3, "name": "Escaped \\\\\\#" } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/escape_hash.json000066400000000000000000000015611320135610000215540ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1 Not a \\# TODO\n" ], [ "assert", { "ok": true, "id": 1, "name": "Not a \\# TODO" } ], [ "line", "ok 2 Not a \\# SKIP\n" ], [ "assert", { "ok": true, "id": 2, "name": "Not a \\# SKIP" } ], [ "line", "ok 3 Escaped \\\\\\#\n" ], [ "assert", { "ok": true, "id": 3, "name": "Escaped \\\\\\#" } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/escape_hash.tap000066400000000000000000000001061320135610000213610ustar00rootroot000000000000001..3 ok 1 Not a \# TODO ok 2 Not a \# SKIP ok 3 Escaped \\\# tap-parser-7.0.0/test/fixtures/extra-in-child--bail--omitversion.json000066400000000000000000000256031320135610000255370ustar00rootroot00000000000000[ [ "line", "# Subtest: test/01c-user-updates.js\n" ], [ "child", [ [ "comment", "# Subtest: test/01c-user-updates.js\n" ], [ "line", "# Subtest: update profile\n" ], [ "child", [ [ "comment", "# Subtest: update profile\n" ], [ "line", "ok 1 - should be equivalent\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equivalent" } ], [ "line", "ok 2 - should be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equivalent" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - should be equivalent\n" ], [ "line", " ok 2 - should be equivalent\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - update profile # time=43.094ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 43.094, "name": "update profile" } ], [ "line", "# Subtest: update email\n" ], [ "child", [ [ "comment", "# Subtest: update email\n" ], [ "line", "ok 1 - should be equivalent\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equivalent" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", "null { _id: 'org.couchdb.user:user',\n" ], [ "extra", "null { _id: 'org.couchdb.user:user',\n" ], [ "line", " _rev: '21-3d786fbf7428194ca288abe40c50cd0c',\n" ], [ "extra", " _rev: '21-3d786fbf7428194ca288abe40c50cd0c',\n" ], [ "line", " password_scheme: 'pbkdf2',\n" ], [ "extra", " password_scheme: 'pbkdf2',\n" ], [ "line", " iterations: 10,\n" ], [ "extra", " iterations: 10,\n" ], [ "line", " name: 'user',\n" ], [ "extra", " name: 'user',\n" ], [ "line", " email: 'new@email.com',\n" ], [ "extra", " email: 'new@email.com',\n" ], [ "line", " type: 'user',\n" ], [ "extra", " type: 'user',\n" ], [ "line", " roles: [],\n" ], [ "extra", " roles: [],\n" ], [ "line", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "extra", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "line", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "extra", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "line", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "extra", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "line", " github: 'user',\n" ], [ "extra", " github: 'user',\n" ], [ "line", " homepage: 'http://www.user.com' }\n" ], [ "extra", " homepage: 'http://www.user.com' }\n" ], [ "line", "{ _id: 'org.couchdb.user:user',\n" ], [ "extra", "{ _id: 'org.couchdb.user:user',\n" ], [ "line", " _rev: '22-97703c62ab1f01ea691d40aa8a756cbf',\n" ], [ "extra", " _rev: '22-97703c62ab1f01ea691d40aa8a756cbf',\n" ], [ "line", " password_scheme: 'pbkdf2',\n" ], [ "extra", " password_scheme: 'pbkdf2',\n" ], [ "line", " iterations: 10,\n" ], [ "extra", " iterations: 10,\n" ], [ "line", " name: 'user',\n" ], [ "extra", " name: 'user',\n" ], [ "line", " email: 'new@email.com',\n" ], [ "extra", " email: 'new@email.com',\n" ], [ "line", " type: 'user',\n" ], [ "extra", " type: 'user',\n" ], [ "line", " roles: [],\n" ], [ "extra", " roles: [],\n" ], [ "line", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "extra", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "line", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "extra", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "line", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "extra", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "line", " github: 'user',\n" ], [ "extra", " github: 'user',\n" ], [ "line", " homepage: 'http://www.user.com' }\n" ], [ "extra", " homepage: 'http://www.user.com' }\n" ], [ "line", " ok 1 - should be equivalent\n" ], [ "line", " 1..1\n" ], [ "line", "ok 2 - update email # time=24.16ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 24.16, "name": "update email" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=174.236ms\n" ], [ "comment", "# time=174.236ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: update profile\n" ], [ "line", " ok 1 - should be equivalent\n" ], [ "line", " ok 2 - should be equivalent\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - update profile # time=43.094ms\n" ], [ "line", " # Subtest: update email\n" ], [ "line", " null { _id: 'org.couchdb.user:user',\n" ], [ "line", " _rev: '21-3d786fbf7428194ca288abe40c50cd0c',\n" ], [ "line", " password_scheme: 'pbkdf2',\n" ], [ "line", " iterations: 10,\n" ], [ "line", " name: 'user',\n" ], [ "line", " email: 'new@email.com',\n" ], [ "line", " type: 'user',\n" ], [ "line", " roles: [],\n" ], [ "line", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "line", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "line", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "line", " github: 'user',\n" ], [ "line", " homepage: 'http://www.user.com' }\n" ], [ "line", " { _id: 'org.couchdb.user:user',\n" ], [ "line", " _rev: '22-97703c62ab1f01ea691d40aa8a756cbf',\n" ], [ "line", " password_scheme: 'pbkdf2',\n" ], [ "line", " iterations: 10,\n" ], [ "line", " name: 'user',\n" ], [ "line", " email: 'new@email.com',\n" ], [ "line", " type: 'user',\n" ], [ "line", " roles: [],\n" ], [ "line", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "line", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "line", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "line", " github: 'user',\n" ], [ "line", " homepage: 'http://www.user.com' }\n" ], [ "line", " ok 1 - should be equivalent\n" ], [ "line", " 1..1\n" ], [ "line", " ok 2 - update email # time=24.16ms\n" ], [ "line", " 1..2\n" ], [ "line", " # time=174.236ms\n" ], [ "line", "ok 1 - test/01c-user-updates.js # time=339.14ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 339.14, "name": "test/01c-user-updates.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=343.487ms\n" ], [ "comment", "# time=343.487ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/extra-in-child--bail--preservewhite--omitversion.json000066400000000000000000000256031320135610000305060ustar00rootroot00000000000000[ [ "line", "# Subtest: test/01c-user-updates.js\n" ], [ "child", [ [ "comment", "# Subtest: test/01c-user-updates.js\n" ], [ "line", "# Subtest: update profile\n" ], [ "child", [ [ "comment", "# Subtest: update profile\n" ], [ "line", "ok 1 - should be equivalent\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equivalent" } ], [ "line", "ok 2 - should be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equivalent" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - should be equivalent\n" ], [ "line", " ok 2 - should be equivalent\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - update profile # time=43.094ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 43.094, "name": "update profile" } ], [ "line", "# Subtest: update email\n" ], [ "child", [ [ "comment", "# Subtest: update email\n" ], [ "line", "ok 1 - should be equivalent\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equivalent" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", "null { _id: 'org.couchdb.user:user',\n" ], [ "extra", "null { _id: 'org.couchdb.user:user',\n" ], [ "line", " _rev: '21-3d786fbf7428194ca288abe40c50cd0c',\n" ], [ "extra", " _rev: '21-3d786fbf7428194ca288abe40c50cd0c',\n" ], [ "line", " password_scheme: 'pbkdf2',\n" ], [ "extra", " password_scheme: 'pbkdf2',\n" ], [ "line", " iterations: 10,\n" ], [ "extra", " iterations: 10,\n" ], [ "line", " name: 'user',\n" ], [ "extra", " name: 'user',\n" ], [ "line", " email: 'new@email.com',\n" ], [ "extra", " email: 'new@email.com',\n" ], [ "line", " type: 'user',\n" ], [ "extra", " type: 'user',\n" ], [ "line", " roles: [],\n" ], [ "extra", " roles: [],\n" ], [ "line", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "extra", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "line", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "extra", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "line", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "extra", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "line", " github: 'user',\n" ], [ "extra", " github: 'user',\n" ], [ "line", " homepage: 'http://www.user.com' }\n" ], [ "extra", " homepage: 'http://www.user.com' }\n" ], [ "line", "{ _id: 'org.couchdb.user:user',\n" ], [ "extra", "{ _id: 'org.couchdb.user:user',\n" ], [ "line", " _rev: '22-97703c62ab1f01ea691d40aa8a756cbf',\n" ], [ "extra", " _rev: '22-97703c62ab1f01ea691d40aa8a756cbf',\n" ], [ "line", " password_scheme: 'pbkdf2',\n" ], [ "extra", " password_scheme: 'pbkdf2',\n" ], [ "line", " iterations: 10,\n" ], [ "extra", " iterations: 10,\n" ], [ "line", " name: 'user',\n" ], [ "extra", " name: 'user',\n" ], [ "line", " email: 'new@email.com',\n" ], [ "extra", " email: 'new@email.com',\n" ], [ "line", " type: 'user',\n" ], [ "extra", " type: 'user',\n" ], [ "line", " roles: [],\n" ], [ "extra", " roles: [],\n" ], [ "line", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "extra", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "line", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "extra", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "line", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "extra", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "line", " github: 'user',\n" ], [ "extra", " github: 'user',\n" ], [ "line", " homepage: 'http://www.user.com' }\n" ], [ "extra", " homepage: 'http://www.user.com' }\n" ], [ "line", " ok 1 - should be equivalent\n" ], [ "line", " 1..1\n" ], [ "line", "ok 2 - update email # time=24.16ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 24.16, "name": "update email" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=174.236ms\n" ], [ "comment", "# time=174.236ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: update profile\n" ], [ "line", " ok 1 - should be equivalent\n" ], [ "line", " ok 2 - should be equivalent\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - update profile # time=43.094ms\n" ], [ "line", " # Subtest: update email\n" ], [ "line", " null { _id: 'org.couchdb.user:user',\n" ], [ "line", " _rev: '21-3d786fbf7428194ca288abe40c50cd0c',\n" ], [ "line", " password_scheme: 'pbkdf2',\n" ], [ "line", " iterations: 10,\n" ], [ "line", " name: 'user',\n" ], [ "line", " email: 'new@email.com',\n" ], [ "line", " type: 'user',\n" ], [ "line", " roles: [],\n" ], [ "line", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "line", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "line", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "line", " github: 'user',\n" ], [ "line", " homepage: 'http://www.user.com' }\n" ], [ "line", " { _id: 'org.couchdb.user:user',\n" ], [ "line", " _rev: '22-97703c62ab1f01ea691d40aa8a756cbf',\n" ], [ "line", " password_scheme: 'pbkdf2',\n" ], [ "line", " iterations: 10,\n" ], [ "line", " name: 'user',\n" ], [ "line", " email: 'new@email.com',\n" ], [ "line", " type: 'user',\n" ], [ "line", " roles: [],\n" ], [ "line", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "line", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "line", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "line", " github: 'user',\n" ], [ "line", " homepage: 'http://www.user.com' }\n" ], [ "line", " ok 1 - should be equivalent\n" ], [ "line", " 1..1\n" ], [ "line", " ok 2 - update email # time=24.16ms\n" ], [ "line", " 1..2\n" ], [ "line", " # time=174.236ms\n" ], [ "line", "ok 1 - test/01c-user-updates.js # time=339.14ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 339.14, "name": "test/01c-user-updates.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=343.487ms\n" ], [ "comment", "# time=343.487ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/extra-in-child--bail--preservewhite.json000066400000000000000000000257161320135610000260620ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: test/01c-user-updates.js\n" ], [ "child", [ [ "comment", "# Subtest: test/01c-user-updates.js\n" ], [ "line", "# Subtest: update profile\n" ], [ "child", [ [ "comment", "# Subtest: update profile\n" ], [ "line", "ok 1 - should be equivalent\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equivalent" } ], [ "line", "ok 2 - should be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equivalent" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - should be equivalent\n" ], [ "line", " ok 2 - should be equivalent\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - update profile # time=43.094ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 43.094, "name": "update profile" } ], [ "line", "# Subtest: update email\n" ], [ "child", [ [ "comment", "# Subtest: update email\n" ], [ "line", "ok 1 - should be equivalent\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equivalent" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", "null { _id: 'org.couchdb.user:user',\n" ], [ "extra", "null { _id: 'org.couchdb.user:user',\n" ], [ "line", " _rev: '21-3d786fbf7428194ca288abe40c50cd0c',\n" ], [ "extra", " _rev: '21-3d786fbf7428194ca288abe40c50cd0c',\n" ], [ "line", " password_scheme: 'pbkdf2',\n" ], [ "extra", " password_scheme: 'pbkdf2',\n" ], [ "line", " iterations: 10,\n" ], [ "extra", " iterations: 10,\n" ], [ "line", " name: 'user',\n" ], [ "extra", " name: 'user',\n" ], [ "line", " email: 'new@email.com',\n" ], [ "extra", " email: 'new@email.com',\n" ], [ "line", " type: 'user',\n" ], [ "extra", " type: 'user',\n" ], [ "line", " roles: [],\n" ], [ "extra", " roles: [],\n" ], [ "line", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "extra", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "line", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "extra", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "line", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "extra", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "line", " github: 'user',\n" ], [ "extra", " github: 'user',\n" ], [ "line", " homepage: 'http://www.user.com' }\n" ], [ "extra", " homepage: 'http://www.user.com' }\n" ], [ "line", "{ _id: 'org.couchdb.user:user',\n" ], [ "extra", "{ _id: 'org.couchdb.user:user',\n" ], [ "line", " _rev: '22-97703c62ab1f01ea691d40aa8a756cbf',\n" ], [ "extra", " _rev: '22-97703c62ab1f01ea691d40aa8a756cbf',\n" ], [ "line", " password_scheme: 'pbkdf2',\n" ], [ "extra", " password_scheme: 'pbkdf2',\n" ], [ "line", " iterations: 10,\n" ], [ "extra", " iterations: 10,\n" ], [ "line", " name: 'user',\n" ], [ "extra", " name: 'user',\n" ], [ "line", " email: 'new@email.com',\n" ], [ "extra", " email: 'new@email.com',\n" ], [ "line", " type: 'user',\n" ], [ "extra", " type: 'user',\n" ], [ "line", " roles: [],\n" ], [ "extra", " roles: [],\n" ], [ "line", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "extra", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "line", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "extra", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "line", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "extra", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "line", " github: 'user',\n" ], [ "extra", " github: 'user',\n" ], [ "line", " homepage: 'http://www.user.com' }\n" ], [ "extra", " homepage: 'http://www.user.com' }\n" ], [ "line", " ok 1 - should be equivalent\n" ], [ "line", " 1..1\n" ], [ "line", "ok 2 - update email # time=24.16ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 24.16, "name": "update email" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=174.236ms\n" ], [ "comment", "# time=174.236ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: update profile\n" ], [ "line", " ok 1 - should be equivalent\n" ], [ "line", " ok 2 - should be equivalent\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - update profile # time=43.094ms\n" ], [ "line", " # Subtest: update email\n" ], [ "line", " null { _id: 'org.couchdb.user:user',\n" ], [ "line", " _rev: '21-3d786fbf7428194ca288abe40c50cd0c',\n" ], [ "line", " password_scheme: 'pbkdf2',\n" ], [ "line", " iterations: 10,\n" ], [ "line", " name: 'user',\n" ], [ "line", " email: 'new@email.com',\n" ], [ "line", " type: 'user',\n" ], [ "line", " roles: [],\n" ], [ "line", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "line", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "line", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "line", " github: 'user',\n" ], [ "line", " homepage: 'http://www.user.com' }\n" ], [ "line", " { _id: 'org.couchdb.user:user',\n" ], [ "line", " _rev: '22-97703c62ab1f01ea691d40aa8a756cbf',\n" ], [ "line", " password_scheme: 'pbkdf2',\n" ], [ "line", " iterations: 10,\n" ], [ "line", " name: 'user',\n" ], [ "line", " email: 'new@email.com',\n" ], [ "line", " type: 'user',\n" ], [ "line", " roles: [],\n" ], [ "line", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "line", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "line", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "line", " github: 'user',\n" ], [ "line", " homepage: 'http://www.user.com' }\n" ], [ "line", " ok 1 - should be equivalent\n" ], [ "line", " 1..1\n" ], [ "line", " ok 2 - update email # time=24.16ms\n" ], [ "line", " 1..2\n" ], [ "line", " # time=174.236ms\n" ], [ "line", "ok 1 - test/01c-user-updates.js # time=339.14ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 339.14, "name": "test/01c-user-updates.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=343.487ms\n" ], [ "comment", "# time=343.487ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/extra-in-child--bail.json000066400000000000000000000257161320135610000231130ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: test/01c-user-updates.js\n" ], [ "child", [ [ "comment", "# Subtest: test/01c-user-updates.js\n" ], [ "line", "# Subtest: update profile\n" ], [ "child", [ [ "comment", "# Subtest: update profile\n" ], [ "line", "ok 1 - should be equivalent\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equivalent" } ], [ "line", "ok 2 - should be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equivalent" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - should be equivalent\n" ], [ "line", " ok 2 - should be equivalent\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - update profile # time=43.094ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 43.094, "name": "update profile" } ], [ "line", "# Subtest: update email\n" ], [ "child", [ [ "comment", "# Subtest: update email\n" ], [ "line", "ok 1 - should be equivalent\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equivalent" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", "null { _id: 'org.couchdb.user:user',\n" ], [ "extra", "null { _id: 'org.couchdb.user:user',\n" ], [ "line", " _rev: '21-3d786fbf7428194ca288abe40c50cd0c',\n" ], [ "extra", " _rev: '21-3d786fbf7428194ca288abe40c50cd0c',\n" ], [ "line", " password_scheme: 'pbkdf2',\n" ], [ "extra", " password_scheme: 'pbkdf2',\n" ], [ "line", " iterations: 10,\n" ], [ "extra", " iterations: 10,\n" ], [ "line", " name: 'user',\n" ], [ "extra", " name: 'user',\n" ], [ "line", " email: 'new@email.com',\n" ], [ "extra", " email: 'new@email.com',\n" ], [ "line", " type: 'user',\n" ], [ "extra", " type: 'user',\n" ], [ "line", " roles: [],\n" ], [ "extra", " roles: [],\n" ], [ "line", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "extra", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "line", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "extra", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "line", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "extra", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "line", " github: 'user',\n" ], [ "extra", " github: 'user',\n" ], [ "line", " homepage: 'http://www.user.com' }\n" ], [ "extra", " homepage: 'http://www.user.com' }\n" ], [ "line", "{ _id: 'org.couchdb.user:user',\n" ], [ "extra", "{ _id: 'org.couchdb.user:user',\n" ], [ "line", " _rev: '22-97703c62ab1f01ea691d40aa8a756cbf',\n" ], [ "extra", " _rev: '22-97703c62ab1f01ea691d40aa8a756cbf',\n" ], [ "line", " password_scheme: 'pbkdf2',\n" ], [ "extra", " password_scheme: 'pbkdf2',\n" ], [ "line", " iterations: 10,\n" ], [ "extra", " iterations: 10,\n" ], [ "line", " name: 'user',\n" ], [ "extra", " name: 'user',\n" ], [ "line", " email: 'new@email.com',\n" ], [ "extra", " email: 'new@email.com',\n" ], [ "line", " type: 'user',\n" ], [ "extra", " type: 'user',\n" ], [ "line", " roles: [],\n" ], [ "extra", " roles: [],\n" ], [ "line", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "extra", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "line", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "extra", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "line", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "extra", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "line", " github: 'user',\n" ], [ "extra", " github: 'user',\n" ], [ "line", " homepage: 'http://www.user.com' }\n" ], [ "extra", " homepage: 'http://www.user.com' }\n" ], [ "line", " ok 1 - should be equivalent\n" ], [ "line", " 1..1\n" ], [ "line", "ok 2 - update email # time=24.16ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 24.16, "name": "update email" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=174.236ms\n" ], [ "comment", "# time=174.236ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: update profile\n" ], [ "line", " ok 1 - should be equivalent\n" ], [ "line", " ok 2 - should be equivalent\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - update profile # time=43.094ms\n" ], [ "line", " # Subtest: update email\n" ], [ "line", " null { _id: 'org.couchdb.user:user',\n" ], [ "line", " _rev: '21-3d786fbf7428194ca288abe40c50cd0c',\n" ], [ "line", " password_scheme: 'pbkdf2',\n" ], [ "line", " iterations: 10,\n" ], [ "line", " name: 'user',\n" ], [ "line", " email: 'new@email.com',\n" ], [ "line", " type: 'user',\n" ], [ "line", " roles: [],\n" ], [ "line", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "line", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "line", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "line", " github: 'user',\n" ], [ "line", " homepage: 'http://www.user.com' }\n" ], [ "line", " { _id: 'org.couchdb.user:user',\n" ], [ "line", " _rev: '22-97703c62ab1f01ea691d40aa8a756cbf',\n" ], [ "line", " password_scheme: 'pbkdf2',\n" ], [ "line", " iterations: 10,\n" ], [ "line", " name: 'user',\n" ], [ "line", " email: 'new@email.com',\n" ], [ "line", " type: 'user',\n" ], [ "line", " roles: [],\n" ], [ "line", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "line", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "line", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "line", " github: 'user',\n" ], [ "line", " homepage: 'http://www.user.com' }\n" ], [ "line", " ok 1 - should be equivalent\n" ], [ "line", " 1..1\n" ], [ "line", " ok 2 - update email # time=24.16ms\n" ], [ "line", " 1..2\n" ], [ "line", " # time=174.236ms\n" ], [ "line", "ok 1 - test/01c-user-updates.js # time=339.14ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 339.14, "name": "test/01c-user-updates.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=343.487ms\n" ], [ "comment", "# time=343.487ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/extra-in-child--omitversion.json000066400000000000000000000256031320135610000245550ustar00rootroot00000000000000[ [ "line", "# Subtest: test/01c-user-updates.js\n" ], [ "child", [ [ "comment", "# Subtest: test/01c-user-updates.js\n" ], [ "line", "# Subtest: update profile\n" ], [ "child", [ [ "comment", "# Subtest: update profile\n" ], [ "line", "ok 1 - should be equivalent\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equivalent" } ], [ "line", "ok 2 - should be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equivalent" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - should be equivalent\n" ], [ "line", " ok 2 - should be equivalent\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - update profile # time=43.094ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 43.094, "name": "update profile" } ], [ "line", "# Subtest: update email\n" ], [ "child", [ [ "comment", "# Subtest: update email\n" ], [ "line", "ok 1 - should be equivalent\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equivalent" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", "null { _id: 'org.couchdb.user:user',\n" ], [ "extra", "null { _id: 'org.couchdb.user:user',\n" ], [ "line", " _rev: '21-3d786fbf7428194ca288abe40c50cd0c',\n" ], [ "extra", " _rev: '21-3d786fbf7428194ca288abe40c50cd0c',\n" ], [ "line", " password_scheme: 'pbkdf2',\n" ], [ "extra", " password_scheme: 'pbkdf2',\n" ], [ "line", " iterations: 10,\n" ], [ "extra", " iterations: 10,\n" ], [ "line", " name: 'user',\n" ], [ "extra", " name: 'user',\n" ], [ "line", " email: 'new@email.com',\n" ], [ "extra", " email: 'new@email.com',\n" ], [ "line", " type: 'user',\n" ], [ "extra", " type: 'user',\n" ], [ "line", " roles: [],\n" ], [ "extra", " roles: [],\n" ], [ "line", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "extra", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "line", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "extra", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "line", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "extra", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "line", " github: 'user',\n" ], [ "extra", " github: 'user',\n" ], [ "line", " homepage: 'http://www.user.com' }\n" ], [ "extra", " homepage: 'http://www.user.com' }\n" ], [ "line", "{ _id: 'org.couchdb.user:user',\n" ], [ "extra", "{ _id: 'org.couchdb.user:user',\n" ], [ "line", " _rev: '22-97703c62ab1f01ea691d40aa8a756cbf',\n" ], [ "extra", " _rev: '22-97703c62ab1f01ea691d40aa8a756cbf',\n" ], [ "line", " password_scheme: 'pbkdf2',\n" ], [ "extra", " password_scheme: 'pbkdf2',\n" ], [ "line", " iterations: 10,\n" ], [ "extra", " iterations: 10,\n" ], [ "line", " name: 'user',\n" ], [ "extra", " name: 'user',\n" ], [ "line", " email: 'new@email.com',\n" ], [ "extra", " email: 'new@email.com',\n" ], [ "line", " type: 'user',\n" ], [ "extra", " type: 'user',\n" ], [ "line", " roles: [],\n" ], [ "extra", " roles: [],\n" ], [ "line", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "extra", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "line", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "extra", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "line", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "extra", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "line", " github: 'user',\n" ], [ "extra", " github: 'user',\n" ], [ "line", " homepage: 'http://www.user.com' }\n" ], [ "extra", " homepage: 'http://www.user.com' }\n" ], [ "line", " ok 1 - should be equivalent\n" ], [ "line", " 1..1\n" ], [ "line", "ok 2 - update email # time=24.16ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 24.16, "name": "update email" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=174.236ms\n" ], [ "comment", "# time=174.236ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: update profile\n" ], [ "line", " ok 1 - should be equivalent\n" ], [ "line", " ok 2 - should be equivalent\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - update profile # time=43.094ms\n" ], [ "line", " # Subtest: update email\n" ], [ "line", " null { _id: 'org.couchdb.user:user',\n" ], [ "line", " _rev: '21-3d786fbf7428194ca288abe40c50cd0c',\n" ], [ "line", " password_scheme: 'pbkdf2',\n" ], [ "line", " iterations: 10,\n" ], [ "line", " name: 'user',\n" ], [ "line", " email: 'new@email.com',\n" ], [ "line", " type: 'user',\n" ], [ "line", " roles: [],\n" ], [ "line", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "line", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "line", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "line", " github: 'user',\n" ], [ "line", " homepage: 'http://www.user.com' }\n" ], [ "line", " { _id: 'org.couchdb.user:user',\n" ], [ "line", " _rev: '22-97703c62ab1f01ea691d40aa8a756cbf',\n" ], [ "line", " password_scheme: 'pbkdf2',\n" ], [ "line", " iterations: 10,\n" ], [ "line", " name: 'user',\n" ], [ "line", " email: 'new@email.com',\n" ], [ "line", " type: 'user',\n" ], [ "line", " roles: [],\n" ], [ "line", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "line", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "line", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "line", " github: 'user',\n" ], [ "line", " homepage: 'http://www.user.com' }\n" ], [ "line", " ok 1 - should be equivalent\n" ], [ "line", " 1..1\n" ], [ "line", " ok 2 - update email # time=24.16ms\n" ], [ "line", " 1..2\n" ], [ "line", " # time=174.236ms\n" ], [ "line", "ok 1 - test/01c-user-updates.js # time=339.14ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 339.14, "name": "test/01c-user-updates.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=343.487ms\n" ], [ "comment", "# time=343.487ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/extra-in-child--preservewhite--omitversion.json000066400000000000000000000256031320135610000275240ustar00rootroot00000000000000[ [ "line", "# Subtest: test/01c-user-updates.js\n" ], [ "child", [ [ "comment", "# Subtest: test/01c-user-updates.js\n" ], [ "line", "# Subtest: update profile\n" ], [ "child", [ [ "comment", "# Subtest: update profile\n" ], [ "line", "ok 1 - should be equivalent\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equivalent" } ], [ "line", "ok 2 - should be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equivalent" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - should be equivalent\n" ], [ "line", " ok 2 - should be equivalent\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - update profile # time=43.094ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 43.094, "name": "update profile" } ], [ "line", "# Subtest: update email\n" ], [ "child", [ [ "comment", "# Subtest: update email\n" ], [ "line", "ok 1 - should be equivalent\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equivalent" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", "null { _id: 'org.couchdb.user:user',\n" ], [ "extra", "null { _id: 'org.couchdb.user:user',\n" ], [ "line", " _rev: '21-3d786fbf7428194ca288abe40c50cd0c',\n" ], [ "extra", " _rev: '21-3d786fbf7428194ca288abe40c50cd0c',\n" ], [ "line", " password_scheme: 'pbkdf2',\n" ], [ "extra", " password_scheme: 'pbkdf2',\n" ], [ "line", " iterations: 10,\n" ], [ "extra", " iterations: 10,\n" ], [ "line", " name: 'user',\n" ], [ "extra", " name: 'user',\n" ], [ "line", " email: 'new@email.com',\n" ], [ "extra", " email: 'new@email.com',\n" ], [ "line", " type: 'user',\n" ], [ "extra", " type: 'user',\n" ], [ "line", " roles: [],\n" ], [ "extra", " roles: [],\n" ], [ "line", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "extra", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "line", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "extra", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "line", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "extra", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "line", " github: 'user',\n" ], [ "extra", " github: 'user',\n" ], [ "line", " homepage: 'http://www.user.com' }\n" ], [ "extra", " homepage: 'http://www.user.com' }\n" ], [ "line", "{ _id: 'org.couchdb.user:user',\n" ], [ "extra", "{ _id: 'org.couchdb.user:user',\n" ], [ "line", " _rev: '22-97703c62ab1f01ea691d40aa8a756cbf',\n" ], [ "extra", " _rev: '22-97703c62ab1f01ea691d40aa8a756cbf',\n" ], [ "line", " password_scheme: 'pbkdf2',\n" ], [ "extra", " password_scheme: 'pbkdf2',\n" ], [ "line", " iterations: 10,\n" ], [ "extra", " iterations: 10,\n" ], [ "line", " name: 'user',\n" ], [ "extra", " name: 'user',\n" ], [ "line", " email: 'new@email.com',\n" ], [ "extra", " email: 'new@email.com',\n" ], [ "line", " type: 'user',\n" ], [ "extra", " type: 'user',\n" ], [ "line", " roles: [],\n" ], [ "extra", " roles: [],\n" ], [ "line", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "extra", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "line", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "extra", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "line", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "extra", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "line", " github: 'user',\n" ], [ "extra", " github: 'user',\n" ], [ "line", " homepage: 'http://www.user.com' }\n" ], [ "extra", " homepage: 'http://www.user.com' }\n" ], [ "line", " ok 1 - should be equivalent\n" ], [ "line", " 1..1\n" ], [ "line", "ok 2 - update email # time=24.16ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 24.16, "name": "update email" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=174.236ms\n" ], [ "comment", "# time=174.236ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: update profile\n" ], [ "line", " ok 1 - should be equivalent\n" ], [ "line", " ok 2 - should be equivalent\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - update profile # time=43.094ms\n" ], [ "line", " # Subtest: update email\n" ], [ "line", " null { _id: 'org.couchdb.user:user',\n" ], [ "line", " _rev: '21-3d786fbf7428194ca288abe40c50cd0c',\n" ], [ "line", " password_scheme: 'pbkdf2',\n" ], [ "line", " iterations: 10,\n" ], [ "line", " name: 'user',\n" ], [ "line", " email: 'new@email.com',\n" ], [ "line", " type: 'user',\n" ], [ "line", " roles: [],\n" ], [ "line", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "line", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "line", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "line", " github: 'user',\n" ], [ "line", " homepage: 'http://www.user.com' }\n" ], [ "line", " { _id: 'org.couchdb.user:user',\n" ], [ "line", " _rev: '22-97703c62ab1f01ea691d40aa8a756cbf',\n" ], [ "line", " password_scheme: 'pbkdf2',\n" ], [ "line", " iterations: 10,\n" ], [ "line", " name: 'user',\n" ], [ "line", " email: 'new@email.com',\n" ], [ "line", " type: 'user',\n" ], [ "line", " roles: [],\n" ], [ "line", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "line", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "line", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "line", " github: 'user',\n" ], [ "line", " homepage: 'http://www.user.com' }\n" ], [ "line", " ok 1 - should be equivalent\n" ], [ "line", " 1..1\n" ], [ "line", " ok 2 - update email # time=24.16ms\n" ], [ "line", " 1..2\n" ], [ "line", " # time=174.236ms\n" ], [ "line", "ok 1 - test/01c-user-updates.js # time=339.14ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 339.14, "name": "test/01c-user-updates.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=343.487ms\n" ], [ "comment", "# time=343.487ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/extra-in-child--preservewhite.json000066400000000000000000000257161320135610000251000ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: test/01c-user-updates.js\n" ], [ "child", [ [ "comment", "# Subtest: test/01c-user-updates.js\n" ], [ "line", "# Subtest: update profile\n" ], [ "child", [ [ "comment", "# Subtest: update profile\n" ], [ "line", "ok 1 - should be equivalent\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equivalent" } ], [ "line", "ok 2 - should be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equivalent" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - should be equivalent\n" ], [ "line", " ok 2 - should be equivalent\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - update profile # time=43.094ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 43.094, "name": "update profile" } ], [ "line", "# Subtest: update email\n" ], [ "child", [ [ "comment", "# Subtest: update email\n" ], [ "line", "ok 1 - should be equivalent\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equivalent" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", "null { _id: 'org.couchdb.user:user',\n" ], [ "extra", "null { _id: 'org.couchdb.user:user',\n" ], [ "line", " _rev: '21-3d786fbf7428194ca288abe40c50cd0c',\n" ], [ "extra", " _rev: '21-3d786fbf7428194ca288abe40c50cd0c',\n" ], [ "line", " password_scheme: 'pbkdf2',\n" ], [ "extra", " password_scheme: 'pbkdf2',\n" ], [ "line", " iterations: 10,\n" ], [ "extra", " iterations: 10,\n" ], [ "line", " name: 'user',\n" ], [ "extra", " name: 'user',\n" ], [ "line", " email: 'new@email.com',\n" ], [ "extra", " email: 'new@email.com',\n" ], [ "line", " type: 'user',\n" ], [ "extra", " type: 'user',\n" ], [ "line", " roles: [],\n" ], [ "extra", " roles: [],\n" ], [ "line", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "extra", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "line", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "extra", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "line", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "extra", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "line", " github: 'user',\n" ], [ "extra", " github: 'user',\n" ], [ "line", " homepage: 'http://www.user.com' }\n" ], [ "extra", " homepage: 'http://www.user.com' }\n" ], [ "line", "{ _id: 'org.couchdb.user:user',\n" ], [ "extra", "{ _id: 'org.couchdb.user:user',\n" ], [ "line", " _rev: '22-97703c62ab1f01ea691d40aa8a756cbf',\n" ], [ "extra", " _rev: '22-97703c62ab1f01ea691d40aa8a756cbf',\n" ], [ "line", " password_scheme: 'pbkdf2',\n" ], [ "extra", " password_scheme: 'pbkdf2',\n" ], [ "line", " iterations: 10,\n" ], [ "extra", " iterations: 10,\n" ], [ "line", " name: 'user',\n" ], [ "extra", " name: 'user',\n" ], [ "line", " email: 'new@email.com',\n" ], [ "extra", " email: 'new@email.com',\n" ], [ "line", " type: 'user',\n" ], [ "extra", " type: 'user',\n" ], [ "line", " roles: [],\n" ], [ "extra", " roles: [],\n" ], [ "line", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "extra", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "line", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "extra", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "line", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "extra", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "line", " github: 'user',\n" ], [ "extra", " github: 'user',\n" ], [ "line", " homepage: 'http://www.user.com' }\n" ], [ "extra", " homepage: 'http://www.user.com' }\n" ], [ "line", " ok 1 - should be equivalent\n" ], [ "line", " 1..1\n" ], [ "line", "ok 2 - update email # time=24.16ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 24.16, "name": "update email" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=174.236ms\n" ], [ "comment", "# time=174.236ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: update profile\n" ], [ "line", " ok 1 - should be equivalent\n" ], [ "line", " ok 2 - should be equivalent\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - update profile # time=43.094ms\n" ], [ "line", " # Subtest: update email\n" ], [ "line", " null { _id: 'org.couchdb.user:user',\n" ], [ "line", " _rev: '21-3d786fbf7428194ca288abe40c50cd0c',\n" ], [ "line", " password_scheme: 'pbkdf2',\n" ], [ "line", " iterations: 10,\n" ], [ "line", " name: 'user',\n" ], [ "line", " email: 'new@email.com',\n" ], [ "line", " type: 'user',\n" ], [ "line", " roles: [],\n" ], [ "line", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "line", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "line", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "line", " github: 'user',\n" ], [ "line", " homepage: 'http://www.user.com' }\n" ], [ "line", " { _id: 'org.couchdb.user:user',\n" ], [ "line", " _rev: '22-97703c62ab1f01ea691d40aa8a756cbf',\n" ], [ "line", " password_scheme: 'pbkdf2',\n" ], [ "line", " iterations: 10,\n" ], [ "line", " name: 'user',\n" ], [ "line", " email: 'new@email.com',\n" ], [ "line", " type: 'user',\n" ], [ "line", " roles: [],\n" ], [ "line", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "line", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "line", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "line", " github: 'user',\n" ], [ "line", " homepage: 'http://www.user.com' }\n" ], [ "line", " ok 1 - should be equivalent\n" ], [ "line", " 1..1\n" ], [ "line", " ok 2 - update email # time=24.16ms\n" ], [ "line", " 1..2\n" ], [ "line", " # time=174.236ms\n" ], [ "line", "ok 1 - test/01c-user-updates.js # time=339.14ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 339.14, "name": "test/01c-user-updates.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=343.487ms\n" ], [ "comment", "# time=343.487ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/extra-in-child.json000066400000000000000000000257161320135610000221310ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: test/01c-user-updates.js\n" ], [ "child", [ [ "comment", "# Subtest: test/01c-user-updates.js\n" ], [ "line", "# Subtest: update profile\n" ], [ "child", [ [ "comment", "# Subtest: update profile\n" ], [ "line", "ok 1 - should be equivalent\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equivalent" } ], [ "line", "ok 2 - should be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equivalent" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - should be equivalent\n" ], [ "line", " ok 2 - should be equivalent\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - update profile # time=43.094ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 43.094, "name": "update profile" } ], [ "line", "# Subtest: update email\n" ], [ "child", [ [ "comment", "# Subtest: update email\n" ], [ "line", "ok 1 - should be equivalent\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equivalent" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", "null { _id: 'org.couchdb.user:user',\n" ], [ "extra", "null { _id: 'org.couchdb.user:user',\n" ], [ "line", " _rev: '21-3d786fbf7428194ca288abe40c50cd0c',\n" ], [ "extra", " _rev: '21-3d786fbf7428194ca288abe40c50cd0c',\n" ], [ "line", " password_scheme: 'pbkdf2',\n" ], [ "extra", " password_scheme: 'pbkdf2',\n" ], [ "line", " iterations: 10,\n" ], [ "extra", " iterations: 10,\n" ], [ "line", " name: 'user',\n" ], [ "extra", " name: 'user',\n" ], [ "line", " email: 'new@email.com',\n" ], [ "extra", " email: 'new@email.com',\n" ], [ "line", " type: 'user',\n" ], [ "extra", " type: 'user',\n" ], [ "line", " roles: [],\n" ], [ "extra", " roles: [],\n" ], [ "line", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "extra", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "line", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "extra", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "line", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "extra", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "line", " github: 'user',\n" ], [ "extra", " github: 'user',\n" ], [ "line", " homepage: 'http://www.user.com' }\n" ], [ "extra", " homepage: 'http://www.user.com' }\n" ], [ "line", "{ _id: 'org.couchdb.user:user',\n" ], [ "extra", "{ _id: 'org.couchdb.user:user',\n" ], [ "line", " _rev: '22-97703c62ab1f01ea691d40aa8a756cbf',\n" ], [ "extra", " _rev: '22-97703c62ab1f01ea691d40aa8a756cbf',\n" ], [ "line", " password_scheme: 'pbkdf2',\n" ], [ "extra", " password_scheme: 'pbkdf2',\n" ], [ "line", " iterations: 10,\n" ], [ "extra", " iterations: 10,\n" ], [ "line", " name: 'user',\n" ], [ "extra", " name: 'user',\n" ], [ "line", " email: 'new@email.com',\n" ], [ "extra", " email: 'new@email.com',\n" ], [ "line", " type: 'user',\n" ], [ "extra", " type: 'user',\n" ], [ "line", " roles: [],\n" ], [ "extra", " roles: [],\n" ], [ "line", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "extra", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "line", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "extra", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "line", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "extra", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "line", " github: 'user',\n" ], [ "extra", " github: 'user',\n" ], [ "line", " homepage: 'http://www.user.com' }\n" ], [ "extra", " homepage: 'http://www.user.com' }\n" ], [ "line", " ok 1 - should be equivalent\n" ], [ "line", " 1..1\n" ], [ "line", "ok 2 - update email # time=24.16ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 24.16, "name": "update email" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=174.236ms\n" ], [ "comment", "# time=174.236ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: update profile\n" ], [ "line", " ok 1 - should be equivalent\n" ], [ "line", " ok 2 - should be equivalent\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - update profile # time=43.094ms\n" ], [ "line", " # Subtest: update email\n" ], [ "line", " null { _id: 'org.couchdb.user:user',\n" ], [ "line", " _rev: '21-3d786fbf7428194ca288abe40c50cd0c',\n" ], [ "line", " password_scheme: 'pbkdf2',\n" ], [ "line", " iterations: 10,\n" ], [ "line", " name: 'user',\n" ], [ "line", " email: 'new@email.com',\n" ], [ "line", " type: 'user',\n" ], [ "line", " roles: [],\n" ], [ "line", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "line", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "line", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "line", " github: 'user',\n" ], [ "line", " homepage: 'http://www.user.com' }\n" ], [ "line", " { _id: 'org.couchdb.user:user',\n" ], [ "line", " _rev: '22-97703c62ab1f01ea691d40aa8a756cbf',\n" ], [ "line", " password_scheme: 'pbkdf2',\n" ], [ "line", " iterations: 10,\n" ], [ "line", " name: 'user',\n" ], [ "line", " email: 'new@email.com',\n" ], [ "line", " type: 'user',\n" ], [ "line", " roles: [],\n" ], [ "line", " date: '2015-05-07T18:04:07.589Z',\n" ], [ "line", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\n" ], [ "line", " salt: '74e7dea17bfe520bb84dd9642f072549',\n" ], [ "line", " github: 'user',\n" ], [ "line", " homepage: 'http://www.user.com' }\n" ], [ "line", " ok 1 - should be equivalent\n" ], [ "line", " 1..1\n" ], [ "line", " ok 2 - update email # time=24.16ms\n" ], [ "line", " 1..2\n" ], [ "line", " # time=174.236ms\n" ], [ "line", "ok 1 - test/01c-user-updates.js # time=339.14ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 339.14, "name": "test/01c-user-updates.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=343.487ms\n" ], [ "comment", "# time=343.487ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/extra-in-child.tap000066400000000000000000000025021320135610000217300ustar00rootroot00000000000000TAP version 13 # Subtest: test/01c-user-updates.js TAP version 13 # Subtest: update profile ok 1 - should be equivalent ok 2 - should be equivalent 1..2 ok 1 - update profile # time=43.094ms # Subtest: update email null { _id: 'org.couchdb.user:user', _rev: '21-3d786fbf7428194ca288abe40c50cd0c', password_scheme: 'pbkdf2', iterations: 10, name: 'user', email: 'new@email.com', type: 'user', roles: [], date: '2015-05-07T18:04:07.589Z', derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f', salt: '74e7dea17bfe520bb84dd9642f072549', github: 'user', homepage: 'http://www.user.com' } { _id: 'org.couchdb.user:user', _rev: '22-97703c62ab1f01ea691d40aa8a756cbf', password_scheme: 'pbkdf2', iterations: 10, name: 'user', email: 'new@email.com', type: 'user', roles: [], date: '2015-05-07T18:04:07.589Z', derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f', salt: '74e7dea17bfe520bb84dd9642f072549', github: 'user', homepage: 'http://www.user.com' } ok 1 - should be equivalent 1..1 ok 2 - update email # time=24.16ms 1..2 # time=174.236ms ok 1 - test/01c-user-updates.js # time=339.14ms 1..1 # time=343.487mstap-parser-7.0.0/test/fixtures/fail-right-before-indented-child--bail--omitversion.json000066400000000000000000000010761320135610000310640ustar00rootroot00000000000000[ [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 } ] } ] ] fail-right-before-indented-child--bail--preservewhite--omitversion.json000066400000000000000000000010761320135610000337540ustar00rootroot00000000000000tap-parser-7.0.0/test/fixtures[ [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 } ] } ] ] tap-parser-7.0.0/test/fixtures/fail-right-before-indented-child--bail--preservewhite.json000066400000000000000000000012111320135610000313710ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 } ] } ] ] tap-parser-7.0.0/test/fixtures/fail-right-before-indented-child--bail.json000066400000000000000000000012111320135610000264220ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 } ] } ] ] tap-parser-7.0.0/test/fixtures/fail-right-before-indented-child--omitversion.json000066400000000000000000000034741320135610000301060ustar00rootroot00000000000000[ [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "# Subtest: maybe a child\n" ], [ "child", [ [ "comment", "# Subtest: maybe a child\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok\n" ], [ "line", "ok maybe a child\n" ], [ "assert", { "ok": true, "id": 2, "name": "maybe a child" } ], [ "line", "# test count(2) != plan(null)\n" ], [ "comment", "# test count(2) != plan(null)\n" ], [ "line", "# failed 2 of 2 tests\n" ], [ "comment", "# failed 2 of 2 tests\n" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 2, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 }, { "tapError": "no plan" } ] } ] ] tap-parser-7.0.0/test/fixtures/fail-right-before-indented-child--preservewhite--omitversion.json000066400000000000000000000034741320135610000330550ustar00rootroot00000000000000[ [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "# Subtest: maybe a child\n" ], [ "child", [ [ "comment", "# Subtest: maybe a child\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok\n" ], [ "line", "ok maybe a child\n" ], [ "assert", { "ok": true, "id": 2, "name": "maybe a child" } ], [ "line", "# test count(2) != plan(null)\n" ], [ "comment", "# test count(2) != plan(null)\n" ], [ "line", "# failed 2 of 2 tests\n" ], [ "comment", "# failed 2 of 2 tests\n" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 2, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 }, { "tapError": "no plan" } ] } ] ] tap-parser-7.0.0/test/fixtures/fail-right-before-indented-child--preservewhite.json000066400000000000000000000036071320135610000304220ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "# Subtest: maybe a child\n" ], [ "child", [ [ "comment", "# Subtest: maybe a child\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok\n" ], [ "line", "ok maybe a child\n" ], [ "assert", { "ok": true, "id": 2, "name": "maybe a child" } ], [ "line", "# test count(2) != plan(null)\n" ], [ "comment", "# test count(2) != plan(null)\n" ], [ "line", "# failed 2 of 2 tests\n" ], [ "comment", "# failed 2 of 2 tests\n" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 2, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 }, { "tapError": "no plan" } ] } ] ] tap-parser-7.0.0/test/fixtures/fail-right-before-indented-child-diag--bail--omitversion.json000066400000000000000000000013771320135610000317720ustar00rootroot00000000000000[ [ "line", "not ok\n" ], [ "line", " ---\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "line", " some: diags\n" ], [ "extra", " some: diags\n" ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 } ] } ] ] fail-right-before-indented-child-diag--bail--preservewhite--omitversion.json000066400000000000000000000013771320135610000346620ustar00rootroot00000000000000tap-parser-7.0.0/test/fixtures[ [ "line", "not ok\n" ], [ "line", " ---\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "line", " some: diags\n" ], [ "extra", " some: diags\n" ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 } ] } ] ] tap-parser-7.0.0/test/fixtures/fail-right-before-indented-child-diag--bail--preservewhite.json000066400000000000000000000015121320135610000322770ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "not ok\n" ], [ "line", " ---\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "line", " some: diags\n" ], [ "extra", " some: diags\n" ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 } ] } ] ] tap-parser-7.0.0/test/fixtures/fail-right-before-indented-child-diag--bail.json000066400000000000000000000015121320135610000273300ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "not ok\n" ], [ "line", " ---\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "line", " some: diags\n" ], [ "extra", " some: diags\n" ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 } ] } ] ] tap-parser-7.0.0/test/fixtures/fail-right-before-indented-child-diag--omitversion.json000066400000000000000000000040411320135610000307770ustar00rootroot00000000000000[ [ "line", "not ok\n" ], [ "line", " ---\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "line", " some: diags\n" ], [ "extra", " some: diags\n" ], [ "extra", " ---\n" ], [ "line", "# Subtest: maybe a child\n" ], [ "child", [ [ "comment", "# Subtest: maybe a child\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok\n" ], [ "line", "ok maybe a child\n" ], [ "assert", { "ok": true, "id": 2, "name": "maybe a child" } ], [ "line", "# test count(2) != plan(null)\n" ], [ "comment", "# test count(2) != plan(null)\n" ], [ "line", "# failed 2 of 2 tests\n" ], [ "comment", "# failed 2 of 2 tests\n" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 2, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 }, { "tapError": "no plan" } ] } ] ] fail-right-before-indented-child-diag--preservewhite--omitversion.json000066400000000000000000000040411320135610000336670ustar00rootroot00000000000000tap-parser-7.0.0/test/fixtures[ [ "line", "not ok\n" ], [ "line", " ---\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "line", " some: diags\n" ], [ "extra", " some: diags\n" ], [ "extra", " ---\n" ], [ "line", "# Subtest: maybe a child\n" ], [ "child", [ [ "comment", "# Subtest: maybe a child\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok\n" ], [ "line", "ok maybe a child\n" ], [ "assert", { "ok": true, "id": 2, "name": "maybe a child" } ], [ "line", "# test count(2) != plan(null)\n" ], [ "comment", "# test count(2) != plan(null)\n" ], [ "line", "# failed 2 of 2 tests\n" ], [ "comment", "# failed 2 of 2 tests\n" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 2, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 }, { "tapError": "no plan" } ] } ] ] tap-parser-7.0.0/test/fixtures/fail-right-before-indented-child-diag--preservewhite.json000066400000000000000000000041541320135610000313220ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "not ok\n" ], [ "line", " ---\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "line", " some: diags\n" ], [ "extra", " some: diags\n" ], [ "extra", " ---\n" ], [ "line", "# Subtest: maybe a child\n" ], [ "child", [ [ "comment", "# Subtest: maybe a child\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok\n" ], [ "line", "ok maybe a child\n" ], [ "assert", { "ok": true, "id": 2, "name": "maybe a child" } ], [ "line", "# test count(2) != plan(null)\n" ], [ "comment", "# test count(2) != plan(null)\n" ], [ "line", "# failed 2 of 2 tests\n" ], [ "comment", "# failed 2 of 2 tests\n" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 2, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 }, { "tapError": "no plan" } ] } ] ] tap-parser-7.0.0/test/fixtures/fail-right-before-indented-child-diag.json000066400000000000000000000041541320135610000263530ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "not ok\n" ], [ "line", " ---\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "line", " some: diags\n" ], [ "extra", " some: diags\n" ], [ "extra", " ---\n" ], [ "line", "# Subtest: maybe a child\n" ], [ "child", [ [ "comment", "# Subtest: maybe a child\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok\n" ], [ "line", "ok maybe a child\n" ], [ "assert", { "ok": true, "id": 2, "name": "maybe a child" } ], [ "line", "# test count(2) != plan(null)\n" ], [ "comment", "# test count(2) != plan(null)\n" ], [ "line", "# failed 2 of 2 tests\n" ], [ "comment", "# failed 2 of 2 tests\n" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 2, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 }, { "tapError": "no plan" } ] } ] ] tap-parser-7.0.0/test/fixtures/fail-right-before-indented-child-diag.tap000066400000000000000000000001521320135610000261600ustar00rootroot00000000000000TAP version 13 not ok ... some: diags --- # Subtest: maybe a child 1..1 ok ok maybe a child tap-parser-7.0.0/test/fixtures/fail-right-before-indented-child.json000066400000000000000000000036071320135610000254530ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "# Subtest: maybe a child\n" ], [ "child", [ [ "comment", "# Subtest: maybe a child\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok\n" ], [ "line", "ok maybe a child\n" ], [ "assert", { "ok": true, "id": 2, "name": "maybe a child" } ], [ "line", "# test count(2) != plan(null)\n" ], [ "comment", "# test count(2) != plan(null)\n" ], [ "line", "# failed 2 of 2 tests\n" ], [ "comment", "# failed 2 of 2 tests\n" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 2, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 }, { "tapError": "no plan" } ] } ] ] tap-parser-7.0.0/test/fixtures/fail-right-before-indented-child.tap000066400000000000000000000001201320135610000252510ustar00rootroot00000000000000TAP version 13 not ok # Subtest: maybe a child 1..1 ok ok maybe a child tap-parser-7.0.0/test/fixtures/garbage-yamlish--bail--omitversion.json000066400000000000000000000021351320135610000257560ustar00rootroot00000000000000[ [ "line", "not ok 1 de-indenting the yamlish wrongly.\n" ], [ "line", " ---\n" ], [ "line", " message: \"Failed with error 'hostname peebles.example.com not found'\"\n" ], [ "line", " severity: fail\n" ], [ "assert", { "ok": false, "id": 1, "name": "de-indenting the yamlish wrongly." } ], [ "line", "Bail out! # de-indenting the yamlish wrongly.\n" ], [ "bailout", "# de-indenting the yamlish wrongly." ], [ "line", " this is not valid yamlish\n" ], [ "extra", " this is not valid yamlish\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# de-indenting the yamlish wrongly.", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "de-indenting the yamlish wrongly." } ] } ] ] tap-parser-7.0.0/test/fixtures/garbage-yamlish--bail--preservewhite--omitversion.json000066400000000000000000000021351320135610000307250ustar00rootroot00000000000000[ [ "line", "not ok 1 de-indenting the yamlish wrongly.\n" ], [ "line", " ---\n" ], [ "line", " message: \"Failed with error 'hostname peebles.example.com not found'\"\n" ], [ "line", " severity: fail\n" ], [ "assert", { "ok": false, "id": 1, "name": "de-indenting the yamlish wrongly." } ], [ "line", "Bail out! # de-indenting the yamlish wrongly.\n" ], [ "bailout", "# de-indenting the yamlish wrongly." ], [ "line", " this is not valid yamlish\n" ], [ "extra", " this is not valid yamlish\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# de-indenting the yamlish wrongly.", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "de-indenting the yamlish wrongly." } ] } ] ] tap-parser-7.0.0/test/fixtures/garbage-yamlish--bail--preservewhite.json000066400000000000000000000022501320135610000262720ustar00rootroot00000000000000[ [ "line", "TAP Version 13\n" ], [ "version", 13 ], [ "line", "not ok 1 de-indenting the yamlish wrongly.\n" ], [ "line", " ---\n" ], [ "line", " message: \"Failed with error 'hostname peebles.example.com not found'\"\n" ], [ "line", " severity: fail\n" ], [ "assert", { "ok": false, "id": 1, "name": "de-indenting the yamlish wrongly." } ], [ "line", "Bail out! # de-indenting the yamlish wrongly.\n" ], [ "bailout", "# de-indenting the yamlish wrongly." ], [ "line", " this is not valid yamlish\n" ], [ "extra", " this is not valid yamlish\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# de-indenting the yamlish wrongly.", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "de-indenting the yamlish wrongly." } ] } ] ] tap-parser-7.0.0/test/fixtures/garbage-yamlish--bail.json000066400000000000000000000022501320135610000233230ustar00rootroot00000000000000[ [ "line", "TAP Version 13\n" ], [ "version", 13 ], [ "line", "not ok 1 de-indenting the yamlish wrongly.\n" ], [ "line", " ---\n" ], [ "line", " message: \"Failed with error 'hostname peebles.example.com not found'\"\n" ], [ "line", " severity: fail\n" ], [ "assert", { "ok": false, "id": 1, "name": "de-indenting the yamlish wrongly." } ], [ "line", "Bail out! # de-indenting the yamlish wrongly.\n" ], [ "bailout", "# de-indenting the yamlish wrongly." ], [ "line", " this is not valid yamlish\n" ], [ "extra", " this is not valid yamlish\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# de-indenting the yamlish wrongly.", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "de-indenting the yamlish wrongly." } ] } ] ] tap-parser-7.0.0/test/fixtures/garbage-yamlish--omitversion.json000066400000000000000000000044331320135610000247770ustar00rootroot00000000000000[ [ "line", "not ok 1 de-indenting the yamlish wrongly.\n" ], [ "line", " ---\n" ], [ "line", " message: \"Failed with error 'hostname peebles.example.com not found'\"\n" ], [ "line", " severity: fail\n" ], [ "assert", { "ok": false, "id": 1, "name": "de-indenting the yamlish wrongly." } ], [ "extra", " ---\n message: \"Failed with error 'hostname peebles.example.com not found'\"\n severity: fail\n" ], [ "line", " this is not valid yamlish\n" ], [ "extra", " this is not valid yamlish\n" ], [ "line", "ok 2 But this is not garbage\n" ], [ "assert", { "ok": true, "id": 2, "name": "But this is not garbage" } ], [ "line", "not ok 3 truncating the yamlish\n" ], [ "line", " ---\n" ], [ "line", " here: is some yaml\n" ], [ "line", " i: guess\n" ], [ "assert", { "ok": false, "id": 3, "name": "truncating the yamlish" } ], [ "extra", " ---\n here: is some yaml\n i: guess\n" ], [ "line", "not ok 4 this is truncated weirdly\n" ], [ "assert", { "ok": false, "id": 4, "name": "this is truncated weirdly" } ], [ "line", " not ok 99 this is not a child test\n" ], [ "extra", " not ok 99 this is not a child test\n" ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# failed 3 of 4 tests\n" ], [ "comment", "# failed 3 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 1, "fail": 3, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "de-indenting the yamlish wrongly." }, { "ok": false, "id": 3, "name": "truncating the yamlish" }, { "ok": false, "id": 4, "name": "this is truncated weirdly" } ] } ] ] tap-parser-7.0.0/test/fixtures/garbage-yamlish--preservewhite--omitversion.json000066400000000000000000000044331320135610000277460ustar00rootroot00000000000000[ [ "line", "not ok 1 de-indenting the yamlish wrongly.\n" ], [ "line", " ---\n" ], [ "line", " message: \"Failed with error 'hostname peebles.example.com not found'\"\n" ], [ "line", " severity: fail\n" ], [ "assert", { "ok": false, "id": 1, "name": "de-indenting the yamlish wrongly." } ], [ "extra", " ---\n message: \"Failed with error 'hostname peebles.example.com not found'\"\n severity: fail\n" ], [ "line", " this is not valid yamlish\n" ], [ "extra", " this is not valid yamlish\n" ], [ "line", "ok 2 But this is not garbage\n" ], [ "assert", { "ok": true, "id": 2, "name": "But this is not garbage" } ], [ "line", "not ok 3 truncating the yamlish\n" ], [ "line", " ---\n" ], [ "line", " here: is some yaml\n" ], [ "line", " i: guess\n" ], [ "assert", { "ok": false, "id": 3, "name": "truncating the yamlish" } ], [ "extra", " ---\n here: is some yaml\n i: guess\n" ], [ "line", "not ok 4 this is truncated weirdly\n" ], [ "assert", { "ok": false, "id": 4, "name": "this is truncated weirdly" } ], [ "line", " not ok 99 this is not a child test\n" ], [ "extra", " not ok 99 this is not a child test\n" ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# failed 3 of 4 tests\n" ], [ "comment", "# failed 3 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 1, "fail": 3, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "de-indenting the yamlish wrongly." }, { "ok": false, "id": 3, "name": "truncating the yamlish" }, { "ok": false, "id": 4, "name": "this is truncated weirdly" } ] } ] ] tap-parser-7.0.0/test/fixtures/garbage-yamlish--preservewhite.json000066400000000000000000000045461320135610000253220ustar00rootroot00000000000000[ [ "line", "TAP Version 13\n" ], [ "version", 13 ], [ "line", "not ok 1 de-indenting the yamlish wrongly.\n" ], [ "line", " ---\n" ], [ "line", " message: \"Failed with error 'hostname peebles.example.com not found'\"\n" ], [ "line", " severity: fail\n" ], [ "assert", { "ok": false, "id": 1, "name": "de-indenting the yamlish wrongly." } ], [ "extra", " ---\n message: \"Failed with error 'hostname peebles.example.com not found'\"\n severity: fail\n" ], [ "line", " this is not valid yamlish\n" ], [ "extra", " this is not valid yamlish\n" ], [ "line", "ok 2 But this is not garbage\n" ], [ "assert", { "ok": true, "id": 2, "name": "But this is not garbage" } ], [ "line", "not ok 3 truncating the yamlish\n" ], [ "line", " ---\n" ], [ "line", " here: is some yaml\n" ], [ "line", " i: guess\n" ], [ "assert", { "ok": false, "id": 3, "name": "truncating the yamlish" } ], [ "extra", " ---\n here: is some yaml\n i: guess\n" ], [ "line", "not ok 4 this is truncated weirdly\n" ], [ "assert", { "ok": false, "id": 4, "name": "this is truncated weirdly" } ], [ "line", " not ok 99 this is not a child test\n" ], [ "extra", " not ok 99 this is not a child test\n" ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# failed 3 of 4 tests\n" ], [ "comment", "# failed 3 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 1, "fail": 3, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "de-indenting the yamlish wrongly." }, { "ok": false, "id": 3, "name": "truncating the yamlish" }, { "ok": false, "id": 4, "name": "this is truncated weirdly" } ] } ] ] tap-parser-7.0.0/test/fixtures/garbage-yamlish.json000066400000000000000000000045461320135610000223530ustar00rootroot00000000000000[ [ "line", "TAP Version 13\n" ], [ "version", 13 ], [ "line", "not ok 1 de-indenting the yamlish wrongly.\n" ], [ "line", " ---\n" ], [ "line", " message: \"Failed with error 'hostname peebles.example.com not found'\"\n" ], [ "line", " severity: fail\n" ], [ "assert", { "ok": false, "id": 1, "name": "de-indenting the yamlish wrongly." } ], [ "extra", " ---\n message: \"Failed with error 'hostname peebles.example.com not found'\"\n severity: fail\n" ], [ "line", " this is not valid yamlish\n" ], [ "extra", " this is not valid yamlish\n" ], [ "line", "ok 2 But this is not garbage\n" ], [ "assert", { "ok": true, "id": 2, "name": "But this is not garbage" } ], [ "line", "not ok 3 truncating the yamlish\n" ], [ "line", " ---\n" ], [ "line", " here: is some yaml\n" ], [ "line", " i: guess\n" ], [ "assert", { "ok": false, "id": 3, "name": "truncating the yamlish" } ], [ "extra", " ---\n here: is some yaml\n i: guess\n" ], [ "line", "not ok 4 this is truncated weirdly\n" ], [ "assert", { "ok": false, "id": 4, "name": "this is truncated weirdly" } ], [ "line", " not ok 99 this is not a child test\n" ], [ "extra", " not ok 99 this is not a child test\n" ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# failed 3 of 4 tests\n" ], [ "comment", "# failed 3 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 1, "fail": 3, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "de-indenting the yamlish wrongly." }, { "ok": false, "id": 3, "name": "truncating the yamlish" }, { "ok": false, "id": 4, "name": "this is truncated weirdly" } ] } ] ] tap-parser-7.0.0/test/fixtures/garbage-yamlish.tap000066400000000000000000000005471320135610000221630ustar00rootroot00000000000000TAP Version 13 not ok 1 de-indenting the yamlish wrongly. --- message: "Failed with error 'hostname peebles.example.com not found'" severity: fail this is not valid yamlish ok 2 But this is not garbage not ok 3 truncating the yamlish --- here: is some yaml i: guess not ok 4 this is truncated weirdly not ok 99 this is not a child test 1..4 tap-parser-7.0.0/test/fixtures/giving-up--bail--omitversion.json000066400000000000000000000015221320135610000246260ustar00rootroot00000000000000[ [ "line", "1..573\n" ], [ "plan", { "start": 1, "end": 573 } ], [ "line", "not ok 1 - database handle\n" ], [ "assert", { "ok": false, "id": 1, "name": "database handle" } ], [ "line", "Bail out! Couldn't connect to database.\n" ], [ "bailout", "Couldn't connect to database." ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "Couldn't connect to database.", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 573, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "database handle" } ] } ] ] tap-parser-7.0.0/test/fixtures/giving-up--bail--preservewhite--omitversion.json000066400000000000000000000015221320135610000275750ustar00rootroot00000000000000[ [ "line", "1..573\n" ], [ "plan", { "start": 1, "end": 573 } ], [ "line", "not ok 1 - database handle\n" ], [ "assert", { "ok": false, "id": 1, "name": "database handle" } ], [ "line", "Bail out! Couldn't connect to database.\n" ], [ "bailout", "Couldn't connect to database." ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "Couldn't connect to database.", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 573, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "database handle" } ] } ] ] tap-parser-7.0.0/test/fixtures/giving-up--bail--preservewhite.json000066400000000000000000000016351320135610000251510ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..573\n" ], [ "plan", { "start": 1, "end": 573 } ], [ "line", "not ok 1 - database handle\n" ], [ "assert", { "ok": false, "id": 1, "name": "database handle" } ], [ "line", "Bail out! Couldn't connect to database.\n" ], [ "bailout", "Couldn't connect to database." ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "Couldn't connect to database.", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 573, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "database handle" } ] } ] ] tap-parser-7.0.0/test/fixtures/giving-up--bail.json000066400000000000000000000016351320135610000222020ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..573\n" ], [ "plan", { "start": 1, "end": 573 } ], [ "line", "not ok 1 - database handle\n" ], [ "assert", { "ok": false, "id": 1, "name": "database handle" } ], [ "line", "Bail out! Couldn't connect to database.\n" ], [ "bailout", "Couldn't connect to database." ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "Couldn't connect to database.", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 573, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "database handle" } ] } ] ] tap-parser-7.0.0/test/fixtures/giving-up--omitversion.json000066400000000000000000000015221320135610000236440ustar00rootroot00000000000000[ [ "line", "1..573\n" ], [ "plan", { "start": 1, "end": 573 } ], [ "line", "not ok 1 - database handle\n" ], [ "assert", { "ok": false, "id": 1, "name": "database handle" } ], [ "line", "Bail out! Couldn't connect to database.\n" ], [ "bailout", "Couldn't connect to database." ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "Couldn't connect to database.", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 573, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "database handle" } ] } ] ] tap-parser-7.0.0/test/fixtures/giving-up--preservewhite--omitversion.json000066400000000000000000000015221320135610000266130ustar00rootroot00000000000000[ [ "line", "1..573\n" ], [ "plan", { "start": 1, "end": 573 } ], [ "line", "not ok 1 - database handle\n" ], [ "assert", { "ok": false, "id": 1, "name": "database handle" } ], [ "line", "Bail out! Couldn't connect to database.\n" ], [ "bailout", "Couldn't connect to database." ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "Couldn't connect to database.", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 573, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "database handle" } ] } ] ] tap-parser-7.0.0/test/fixtures/giving-up--preservewhite.json000066400000000000000000000016351320135610000241670ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..573\n" ], [ "plan", { "start": 1, "end": 573 } ], [ "line", "not ok 1 - database handle\n" ], [ "assert", { "ok": false, "id": 1, "name": "database handle" } ], [ "line", "Bail out! Couldn't connect to database.\n" ], [ "bailout", "Couldn't connect to database." ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "Couldn't connect to database.", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 573, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "database handle" } ] } ] ] tap-parser-7.0.0/test/fixtures/giving-up.json000066400000000000000000000016351320135610000212200ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..573\n" ], [ "plan", { "start": 1, "end": 573 } ], [ "line", "not ok 1 - database handle\n" ], [ "assert", { "ok": false, "id": 1, "name": "database handle" } ], [ "line", "Bail out! Couldn't connect to database.\n" ], [ "bailout", "Couldn't connect to database." ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "Couldn't connect to database.", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 573, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "database handle" } ] } ] ] tap-parser-7.0.0/test/fixtures/giving-up.tap000066400000000000000000000001311320135610000210210ustar00rootroot00000000000000TAP version 13 1..573 not ok 1 - database handle Bail out! Couldn't connect to database. tap-parser-7.0.0/test/fixtures/got-spare-tuits--bail--omitversion.json000066400000000000000000000024311320135610000257700ustar00rootroot00000000000000[ [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "ok 1 - Creating test program\n" ], [ "assert", { "ok": true, "id": 1, "name": "Creating test program" } ], [ "line", "ok 2 - Test program runs, no error\n" ], [ "assert", { "ok": true, "id": 2, "name": "Test program runs, no error" } ], [ "line", "not ok 3 - infinite loop # TODO halting problem unsolved\n" ], [ "assert", { "ok": false, "id": 3, "todo": "halting problem unsolved", "name": "infinite loop" } ], [ "line", "not ok 4 - infinite loop 2 # TODO halting problem unsolved\n" ], [ "assert", { "ok": false, "id": 4, "todo": "halting problem unsolved", "name": "infinite loop 2" } ], [ "line", "# todo: 2\n" ], [ "comment", "# todo: 2\n" ], [ "complete", { "ok": true, "count": 4, "pass": 2, "fail": 2, "bailout": false, "todo": 2, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/got-spare-tuits--bail--preservewhite--omitversion.json000066400000000000000000000024311320135610000307370ustar00rootroot00000000000000[ [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "ok 1 - Creating test program\n" ], [ "assert", { "ok": true, "id": 1, "name": "Creating test program" } ], [ "line", "ok 2 - Test program runs, no error\n" ], [ "assert", { "ok": true, "id": 2, "name": "Test program runs, no error" } ], [ "line", "not ok 3 - infinite loop # TODO halting problem unsolved\n" ], [ "assert", { "ok": false, "id": 3, "todo": "halting problem unsolved", "name": "infinite loop" } ], [ "line", "not ok 4 - infinite loop 2 # TODO halting problem unsolved\n" ], [ "assert", { "ok": false, "id": 4, "todo": "halting problem unsolved", "name": "infinite loop 2" } ], [ "line", "# todo: 2\n" ], [ "comment", "# todo: 2\n" ], [ "complete", { "ok": true, "count": 4, "pass": 2, "fail": 2, "bailout": false, "todo": 2, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/got-spare-tuits--bail--preservewhite.json000066400000000000000000000025441320135610000263130ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "ok 1 - Creating test program\n" ], [ "assert", { "ok": true, "id": 1, "name": "Creating test program" } ], [ "line", "ok 2 - Test program runs, no error\n" ], [ "assert", { "ok": true, "id": 2, "name": "Test program runs, no error" } ], [ "line", "not ok 3 - infinite loop # TODO halting problem unsolved\n" ], [ "assert", { "ok": false, "id": 3, "todo": "halting problem unsolved", "name": "infinite loop" } ], [ "line", "not ok 4 - infinite loop 2 # TODO halting problem unsolved\n" ], [ "assert", { "ok": false, "id": 4, "todo": "halting problem unsolved", "name": "infinite loop 2" } ], [ "line", "# todo: 2\n" ], [ "comment", "# todo: 2\n" ], [ "complete", { "ok": true, "count": 4, "pass": 2, "fail": 2, "bailout": false, "todo": 2, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/got-spare-tuits--bail.json000066400000000000000000000025441320135610000233440ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "ok 1 - Creating test program\n" ], [ "assert", { "ok": true, "id": 1, "name": "Creating test program" } ], [ "line", "ok 2 - Test program runs, no error\n" ], [ "assert", { "ok": true, "id": 2, "name": "Test program runs, no error" } ], [ "line", "not ok 3 - infinite loop # TODO halting problem unsolved\n" ], [ "assert", { "ok": false, "id": 3, "todo": "halting problem unsolved", "name": "infinite loop" } ], [ "line", "not ok 4 - infinite loop 2 # TODO halting problem unsolved\n" ], [ "assert", { "ok": false, "id": 4, "todo": "halting problem unsolved", "name": "infinite loop 2" } ], [ "line", "# todo: 2\n" ], [ "comment", "# todo: 2\n" ], [ "complete", { "ok": true, "count": 4, "pass": 2, "fail": 2, "bailout": false, "todo": 2, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/got-spare-tuits--omitversion.json000066400000000000000000000024311320135610000250060ustar00rootroot00000000000000[ [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "ok 1 - Creating test program\n" ], [ "assert", { "ok": true, "id": 1, "name": "Creating test program" } ], [ "line", "ok 2 - Test program runs, no error\n" ], [ "assert", { "ok": true, "id": 2, "name": "Test program runs, no error" } ], [ "line", "not ok 3 - infinite loop # TODO halting problem unsolved\n" ], [ "assert", { "ok": false, "id": 3, "todo": "halting problem unsolved", "name": "infinite loop" } ], [ "line", "not ok 4 - infinite loop 2 # TODO halting problem unsolved\n" ], [ "assert", { "ok": false, "id": 4, "todo": "halting problem unsolved", "name": "infinite loop 2" } ], [ "line", "# todo: 2\n" ], [ "comment", "# todo: 2\n" ], [ "complete", { "ok": true, "count": 4, "pass": 2, "fail": 2, "bailout": false, "todo": 2, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/got-spare-tuits--preservewhite--omitversion.json000066400000000000000000000024311320135610000277550ustar00rootroot00000000000000[ [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "ok 1 - Creating test program\n" ], [ "assert", { "ok": true, "id": 1, "name": "Creating test program" } ], [ "line", "ok 2 - Test program runs, no error\n" ], [ "assert", { "ok": true, "id": 2, "name": "Test program runs, no error" } ], [ "line", "not ok 3 - infinite loop # TODO halting problem unsolved\n" ], [ "assert", { "ok": false, "id": 3, "todo": "halting problem unsolved", "name": "infinite loop" } ], [ "line", "not ok 4 - infinite loop 2 # TODO halting problem unsolved\n" ], [ "assert", { "ok": false, "id": 4, "todo": "halting problem unsolved", "name": "infinite loop 2" } ], [ "line", "# todo: 2\n" ], [ "comment", "# todo: 2\n" ], [ "complete", { "ok": true, "count": 4, "pass": 2, "fail": 2, "bailout": false, "todo": 2, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/got-spare-tuits--preservewhite.json000066400000000000000000000025441320135610000253310ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "ok 1 - Creating test program\n" ], [ "assert", { "ok": true, "id": 1, "name": "Creating test program" } ], [ "line", "ok 2 - Test program runs, no error\n" ], [ "assert", { "ok": true, "id": 2, "name": "Test program runs, no error" } ], [ "line", "not ok 3 - infinite loop # TODO halting problem unsolved\n" ], [ "assert", { "ok": false, "id": 3, "todo": "halting problem unsolved", "name": "infinite loop" } ], [ "line", "not ok 4 - infinite loop 2 # TODO halting problem unsolved\n" ], [ "assert", { "ok": false, "id": 4, "todo": "halting problem unsolved", "name": "infinite loop 2" } ], [ "line", "# todo: 2\n" ], [ "comment", "# todo: 2\n" ], [ "complete", { "ok": true, "count": 4, "pass": 2, "fail": 2, "bailout": false, "todo": 2, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/got-spare-tuits.json000066400000000000000000000025441320135610000223620ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "ok 1 - Creating test program\n" ], [ "assert", { "ok": true, "id": 1, "name": "Creating test program" } ], [ "line", "ok 2 - Test program runs, no error\n" ], [ "assert", { "ok": true, "id": 2, "name": "Test program runs, no error" } ], [ "line", "not ok 3 - infinite loop # TODO halting problem unsolved\n" ], [ "assert", { "ok": false, "id": 3, "todo": "halting problem unsolved", "name": "infinite loop" } ], [ "line", "not ok 4 - infinite loop 2 # TODO halting problem unsolved\n" ], [ "assert", { "ok": false, "id": 4, "todo": "halting problem unsolved", "name": "infinite loop 2" } ], [ "line", "# todo: 2\n" ], [ "comment", "# todo: 2\n" ], [ "complete", { "ok": true, "count": 4, "pass": 2, "fail": 2, "bailout": false, "todo": 2, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/got-spare-tuits.tap000066400000000000000000000003101320135610000221620ustar00rootroot00000000000000TAP version 13 1..4 ok 1 - Creating test program ok 2 - Test program runs, no error not ok 3 - infinite loop # TODO halting problem unsolved not ok 4 - infinite loop 2 # TODO halting problem unsolved tap-parser-7.0.0/test/fixtures/head_end--bail--omitversion.json000066400000000000000000000022441320135610000244520ustar00rootroot00000000000000[ [ "line", "# comments\n" ], [ "comment", "# comments\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "# comment\n" ], [ "comment", "# comment\n" ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# more ignored stuff\n" ], [ "comment", "# more ignored stuff\n" ], [ "line", "# and yet more\n" ], [ "comment", "# and yet more\n" ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/head_end--bail--preservewhite--omitversion.json000066400000000000000000000022441320135610000274210ustar00rootroot00000000000000[ [ "line", "# comments\n" ], [ "comment", "# comments\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "# comment\n" ], [ "comment", "# comment\n" ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# more ignored stuff\n" ], [ "comment", "# more ignored stuff\n" ], [ "line", "# and yet more\n" ], [ "comment", "# and yet more\n" ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/head_end--bail--preservewhite.json000066400000000000000000000022441320135610000247700ustar00rootroot00000000000000[ [ "line", "# comments\n" ], [ "comment", "# comments\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "# comment\n" ], [ "comment", "# comment\n" ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# more ignored stuff\n" ], [ "comment", "# more ignored stuff\n" ], [ "line", "# and yet more\n" ], [ "comment", "# and yet more\n" ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/head_end--bail.json000066400000000000000000000022441320135610000220210ustar00rootroot00000000000000[ [ "line", "# comments\n" ], [ "comment", "# comments\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "# comment\n" ], [ "comment", "# comment\n" ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# more ignored stuff\n" ], [ "comment", "# more ignored stuff\n" ], [ "line", "# and yet more\n" ], [ "comment", "# and yet more\n" ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/head_end--omitversion.json000066400000000000000000000022441320135610000234700ustar00rootroot00000000000000[ [ "line", "# comments\n" ], [ "comment", "# comments\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "# comment\n" ], [ "comment", "# comment\n" ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# more ignored stuff\n" ], [ "comment", "# more ignored stuff\n" ], [ "line", "# and yet more\n" ], [ "comment", "# and yet more\n" ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/head_end--preservewhite--omitversion.json000066400000000000000000000022441320135610000264370ustar00rootroot00000000000000[ [ "line", "# comments\n" ], [ "comment", "# comments\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "# comment\n" ], [ "comment", "# comment\n" ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# more ignored stuff\n" ], [ "comment", "# more ignored stuff\n" ], [ "line", "# and yet more\n" ], [ "comment", "# and yet more\n" ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/head_end--preservewhite.json000066400000000000000000000022441320135610000240060ustar00rootroot00000000000000[ [ "line", "# comments\n" ], [ "comment", "# comments\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "# comment\n" ], [ "comment", "# comment\n" ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# more ignored stuff\n" ], [ "comment", "# more ignored stuff\n" ], [ "line", "# and yet more\n" ], [ "comment", "# and yet more\n" ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/head_end.json000066400000000000000000000022441320135610000210370ustar00rootroot00000000000000[ [ "line", "# comments\n" ], [ "comment", "# comments\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "# comment\n" ], [ "comment", "# comment\n" ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# more ignored stuff\n" ], [ "comment", "# more ignored stuff\n" ], [ "line", "# and yet more\n" ], [ "comment", "# and yet more\n" ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/head_end.tap000066400000000000000000000001221320135610000206430ustar00rootroot00000000000000# comments ok 1 ok 2 ok 3 ok 4 # comment 1..4 # more ignored stuff # and yet more tap-parser-7.0.0/test/fixtures/head_fail--bail--omitversion.json000066400000000000000000000013701320135610000246160ustar00rootroot00000000000000[ [ "line", "# comments\n" ], [ "comment", "# comments\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "not ok 2\n" ], [ "assert", { "ok": false, "id": 2 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2 } ] } ] ] tap-parser-7.0.0/test/fixtures/head_fail--bail--preservewhite--omitversion.json000066400000000000000000000013701320135610000275650ustar00rootroot00000000000000[ [ "line", "# comments\n" ], [ "comment", "# comments\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "not ok 2\n" ], [ "assert", { "ok": false, "id": 2 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2 } ] } ] ] tap-parser-7.0.0/test/fixtures/head_fail--bail--preservewhite.json000066400000000000000000000013701320135610000251340ustar00rootroot00000000000000[ [ "line", "# comments\n" ], [ "comment", "# comments\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "not ok 2\n" ], [ "assert", { "ok": false, "id": 2 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2 } ] } ] ] tap-parser-7.0.0/test/fixtures/head_fail--bail.json000066400000000000000000000013701320135610000221650ustar00rootroot00000000000000[ [ "line", "# comments\n" ], [ "comment", "# comments\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "not ok 2\n" ], [ "assert", { "ok": false, "id": 2 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2 } ] } ] ] tap-parser-7.0.0/test/fixtures/head_fail--omitversion.json000066400000000000000000000025271320135610000236410ustar00rootroot00000000000000[ [ "line", "# comments\n" ], [ "comment", "# comments\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "not ok 2\n" ], [ "assert", { "ok": false, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "# comment\n" ], [ "comment", "# comment\n" ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# more ignored stuff\n" ], [ "comment", "# more ignored stuff\n" ], [ "line", "# and yet more\n" ], [ "comment", "# and yet more\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 3, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2 } ] } ] ] tap-parser-7.0.0/test/fixtures/head_fail--preservewhite--omitversion.json000066400000000000000000000025271320135610000266100ustar00rootroot00000000000000[ [ "line", "# comments\n" ], [ "comment", "# comments\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "not ok 2\n" ], [ "assert", { "ok": false, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "# comment\n" ], [ "comment", "# comment\n" ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# more ignored stuff\n" ], [ "comment", "# more ignored stuff\n" ], [ "line", "# and yet more\n" ], [ "comment", "# and yet more\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 3, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2 } ] } ] ] tap-parser-7.0.0/test/fixtures/head_fail--preservewhite.json000066400000000000000000000025271320135610000241570ustar00rootroot00000000000000[ [ "line", "# comments\n" ], [ "comment", "# comments\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "not ok 2\n" ], [ "assert", { "ok": false, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "# comment\n" ], [ "comment", "# comment\n" ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# more ignored stuff\n" ], [ "comment", "# more ignored stuff\n" ], [ "line", "# and yet more\n" ], [ "comment", "# and yet more\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 3, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2 } ] } ] ] tap-parser-7.0.0/test/fixtures/head_fail.json000066400000000000000000000025271320135610000212100ustar00rootroot00000000000000[ [ "line", "# comments\n" ], [ "comment", "# comments\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "not ok 2\n" ], [ "assert", { "ok": false, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "# comment\n" ], [ "comment", "# comment\n" ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# more ignored stuff\n" ], [ "comment", "# more ignored stuff\n" ], [ "line", "# and yet more\n" ], [ "comment", "# and yet more\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 3, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2 } ] } ] ] tap-parser-7.0.0/test/fixtures/head_fail.tap000066400000000000000000000001261320135610000210140ustar00rootroot00000000000000# comments ok 1 not ok 2 ok 3 ok 4 # comment 1..4 # more ignored stuff # and yet more tap-parser-7.0.0/test/fixtures/implicit-counter--bail--omitversion.json000066400000000000000000000026001320135610000262060ustar00rootroot00000000000000[ [ "line", "# before 1\n" ], [ "comment", "# before 1\n" ], [ "line", "ok one\n" ], [ "assert", { "ok": true, "id": 1, "name": "one" } ], [ "line", "ok two\n" ], [ "assert", { "ok": true, "id": 2, "name": "two" } ], [ "line", "# before 3\n" ], [ "comment", "# before 3\n" ], [ "line", "ok three\n" ], [ "assert", { "ok": true, "id": 3, "name": "three" } ], [ "line", "ok four\n" ], [ "assert", { "ok": true, "id": 4, "name": "four" } ], [ "line", "# after 4\n" ], [ "comment", "# after 4\n" ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/implicit-counter--bail--preservewhite--omitversion.json000066400000000000000000000026001320135610000311550ustar00rootroot00000000000000[ [ "line", "# before 1\n" ], [ "comment", "# before 1\n" ], [ "line", "ok one\n" ], [ "assert", { "ok": true, "id": 1, "name": "one" } ], [ "line", "ok two\n" ], [ "assert", { "ok": true, "id": 2, "name": "two" } ], [ "line", "# before 3\n" ], [ "comment", "# before 3\n" ], [ "line", "ok three\n" ], [ "assert", { "ok": true, "id": 3, "name": "three" } ], [ "line", "ok four\n" ], [ "assert", { "ok": true, "id": 4, "name": "four" } ], [ "line", "# after 4\n" ], [ "comment", "# after 4\n" ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/implicit-counter--bail--preservewhite.json000066400000000000000000000027131320135610000265310ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# before 1\n" ], [ "comment", "# before 1\n" ], [ "line", "ok one\n" ], [ "assert", { "ok": true, "id": 1, "name": "one" } ], [ "line", "ok two\n" ], [ "assert", { "ok": true, "id": 2, "name": "two" } ], [ "line", "# before 3\n" ], [ "comment", "# before 3\n" ], [ "line", "ok three\n" ], [ "assert", { "ok": true, "id": 3, "name": "three" } ], [ "line", "ok four\n" ], [ "assert", { "ok": true, "id": 4, "name": "four" } ], [ "line", "# after 4\n" ], [ "comment", "# after 4\n" ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/implicit-counter--bail.json000066400000000000000000000027131320135610000235620ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# before 1\n" ], [ "comment", "# before 1\n" ], [ "line", "ok one\n" ], [ "assert", { "ok": true, "id": 1, "name": "one" } ], [ "line", "ok two\n" ], [ "assert", { "ok": true, "id": 2, "name": "two" } ], [ "line", "# before 3\n" ], [ "comment", "# before 3\n" ], [ "line", "ok three\n" ], [ "assert", { "ok": true, "id": 3, "name": "three" } ], [ "line", "ok four\n" ], [ "assert", { "ok": true, "id": 4, "name": "four" } ], [ "line", "# after 4\n" ], [ "comment", "# after 4\n" ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/implicit-counter--omitversion.json000066400000000000000000000026001320135610000252240ustar00rootroot00000000000000[ [ "line", "# before 1\n" ], [ "comment", "# before 1\n" ], [ "line", "ok one\n" ], [ "assert", { "ok": true, "id": 1, "name": "one" } ], [ "line", "ok two\n" ], [ "assert", { "ok": true, "id": 2, "name": "two" } ], [ "line", "# before 3\n" ], [ "comment", "# before 3\n" ], [ "line", "ok three\n" ], [ "assert", { "ok": true, "id": 3, "name": "three" } ], [ "line", "ok four\n" ], [ "assert", { "ok": true, "id": 4, "name": "four" } ], [ "line", "# after 4\n" ], [ "comment", "# after 4\n" ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/implicit-counter--preservewhite--omitversion.json000066400000000000000000000026001320135610000301730ustar00rootroot00000000000000[ [ "line", "# before 1\n" ], [ "comment", "# before 1\n" ], [ "line", "ok one\n" ], [ "assert", { "ok": true, "id": 1, "name": "one" } ], [ "line", "ok two\n" ], [ "assert", { "ok": true, "id": 2, "name": "two" } ], [ "line", "# before 3\n" ], [ "comment", "# before 3\n" ], [ "line", "ok three\n" ], [ "assert", { "ok": true, "id": 3, "name": "three" } ], [ "line", "ok four\n" ], [ "assert", { "ok": true, "id": 4, "name": "four" } ], [ "line", "# after 4\n" ], [ "comment", "# after 4\n" ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/implicit-counter--preservewhite.json000066400000000000000000000027131320135610000255470ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# before 1\n" ], [ "comment", "# before 1\n" ], [ "line", "ok one\n" ], [ "assert", { "ok": true, "id": 1, "name": "one" } ], [ "line", "ok two\n" ], [ "assert", { "ok": true, "id": 2, "name": "two" } ], [ "line", "# before 3\n" ], [ "comment", "# before 3\n" ], [ "line", "ok three\n" ], [ "assert", { "ok": true, "id": 3, "name": "three" } ], [ "line", "ok four\n" ], [ "assert", { "ok": true, "id": 4, "name": "four" } ], [ "line", "# after 4\n" ], [ "comment", "# after 4\n" ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/implicit-counter.json000066400000000000000000000027131320135610000226000ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# before 1\n" ], [ "comment", "# before 1\n" ], [ "line", "ok one\n" ], [ "assert", { "ok": true, "id": 1, "name": "one" } ], [ "line", "ok two\n" ], [ "assert", { "ok": true, "id": 2, "name": "two" } ], [ "line", "# before 3\n" ], [ "comment", "# before 3\n" ], [ "line", "ok three\n" ], [ "assert", { "ok": true, "id": 3, "name": "three" } ], [ "line", "ok four\n" ], [ "assert", { "ok": true, "id": 4, "name": "four" } ], [ "line", "# after 4\n" ], [ "comment", "# after 4\n" ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/implicit-counter.tap000066400000000000000000000001561320135610000224120ustar00rootroot00000000000000TAP version 13 # before 1 ok one ok two # before 3 ok three ok four # after 4 1..4 # tests 4 # pass 4 # ok tap-parser-7.0.0/test/fixtures/indent--bail--omitversion.json000066400000000000000000000200621320135610000242020ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# nesting\n" ], [ "comment", "# nesting\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok # time=1.234ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 1.234, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay # time=1.234ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 1.234, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok # time=1.234ms\n" ], [ "line", " ok 2 - doag is also okay # time=1.234ms\n" ], [ "line", "ok 1 - first # time=2.589ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 2.589, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - no plan # time=1.001ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 1.001, "name": "no plan" } ], [ "line", "# Subtest: this passes\n" ], [ "child", [ [ "comment", "# Subtest: this passes\n" ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "not ok granddaughter # SKIP for no raisin\n" ], [ "assert", { "ok": false, "id": 1, "skip": "for no raisin", "name": "granddaughter" } ], [ "line", "ok grandson # time=1.001s\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap\n" ], [ "line", " it: is yaml\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 2, "time": 1001, "name": "grandson", "diag": { "ok": 1, "this": "is not tap", "it": "is yaml" } } ], [ "line", "not ok grandchild # TODO\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap or yaml\n" ], [ "line", " it: is garbage\n" ], [ "assert", { "ok": false, "id": 3, "todo": true, "name": "grandchild" } ], [ "extra", " ---\n ok: 1\n this: is not tap or yaml\n it: is garbage\n" ], [ "line", "# todo: 1\n" ], [ "comment", "# todo: 1\n" ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 3, "pass": 1, "fail": 2, "bailout": false, "todo": 1, "skip": 1, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..3\n" ], [ "line", " not ok granddaughter # SKIP for no raisin\n" ], [ "line", " ok grandson # time=1.001s\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap\n" ], [ "line", " it: is yaml\n" ], [ "line", " ...\n" ], [ "line", " not ok grandchild # TODO\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap or yaml\n" ], [ "line", " it: is garbage\n" ], [ "line", " # todo: 1\n" ], [ "line", " # skip: 1\n" ], [ "line", "ok 2 - this passes # time=1.200s\n" ], [ "assert", { "ok": true, "id": 2, "time": 1200, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - no plan # time=1.001ms\n" ], [ "line", " # Subtest: this passes\n" ], [ "line", " 1..3\n" ], [ "line", " not ok granddaughter # SKIP for no raisin\n" ], [ "line", " ok grandson # time=1.001s\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap\n" ], [ "line", " it: is yaml\n" ], [ "line", " ...\n" ], [ "line", " not ok grandchild # TODO\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap or yaml\n" ], [ "line", " it: is garbage\n" ], [ "line", " # todo: 1\n" ], [ "line", " # skip: 1\n" ], [ "line", " ok 2 - this passes # time=1.200s\n" ], [ "line", " 1..2\n" ], [ "line", "ok 2 - second # time=1.200ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 1.2, "name": "second" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/indent--bail--preservewhite--omitversion.json000066400000000000000000000200621320135610000271510ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# nesting\n" ], [ "comment", "# nesting\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok # time=1.234ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 1.234, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay # time=1.234ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 1.234, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok # time=1.234ms\n" ], [ "line", " ok 2 - doag is also okay # time=1.234ms\n" ], [ "line", "ok 1 - first # time=2.589ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 2.589, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - no plan # time=1.001ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 1.001, "name": "no plan" } ], [ "line", "# Subtest: this passes\n" ], [ "child", [ [ "comment", "# Subtest: this passes\n" ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "not ok granddaughter # SKIP for no raisin\n" ], [ "assert", { "ok": false, "id": 1, "skip": "for no raisin", "name": "granddaughter" } ], [ "line", "ok grandson # time=1.001s\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap\n" ], [ "line", " it: is yaml\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 2, "time": 1001, "name": "grandson", "diag": { "ok": 1, "this": "is not tap", "it": "is yaml" } } ], [ "line", "not ok grandchild # TODO\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap or yaml\n" ], [ "line", " it: is garbage\n" ], [ "assert", { "ok": false, "id": 3, "todo": true, "name": "grandchild" } ], [ "extra", " ---\n ok: 1\n this: is not tap or yaml\n it: is garbage\n" ], [ "line", "# todo: 1\n" ], [ "comment", "# todo: 1\n" ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 3, "pass": 1, "fail": 2, "bailout": false, "todo": 1, "skip": 1, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..3\n" ], [ "line", " not ok granddaughter # SKIP for no raisin\n" ], [ "line", " ok grandson # time=1.001s\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap\n" ], [ "line", " it: is yaml\n" ], [ "line", " ...\n" ], [ "line", " not ok grandchild # TODO\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap or yaml\n" ], [ "line", " it: is garbage\n" ], [ "line", " # todo: 1\n" ], [ "line", " # skip: 1\n" ], [ "line", "ok 2 - this passes # time=1.200s\n" ], [ "assert", { "ok": true, "id": 2, "time": 1200, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - no plan # time=1.001ms\n" ], [ "line", " # Subtest: this passes\n" ], [ "line", " 1..3\n" ], [ "line", " not ok granddaughter # SKIP for no raisin\n" ], [ "line", " ok grandson # time=1.001s\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap\n" ], [ "line", " it: is yaml\n" ], [ "line", " ...\n" ], [ "line", " not ok grandchild # TODO\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap or yaml\n" ], [ "line", " it: is garbage\n" ], [ "line", " # todo: 1\n" ], [ "line", " # skip: 1\n" ], [ "line", " ok 2 - this passes # time=1.200s\n" ], [ "line", " 1..2\n" ], [ "line", "ok 2 - second # time=1.200ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 1.2, "name": "second" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/indent--bail--preservewhite.json000066400000000000000000000201751320135610000245250ustar00rootroot00000000000000[ [ "line", "TAP Version 13\n" ], [ "version", 13 ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# nesting\n" ], [ "comment", "# nesting\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok # time=1.234ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 1.234, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay # time=1.234ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 1.234, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok # time=1.234ms\n" ], [ "line", " ok 2 - doag is also okay # time=1.234ms\n" ], [ "line", "ok 1 - first # time=2.589ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 2.589, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - no plan # time=1.001ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 1.001, "name": "no plan" } ], [ "line", "# Subtest: this passes\n" ], [ "child", [ [ "comment", "# Subtest: this passes\n" ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "not ok granddaughter # SKIP for no raisin\n" ], [ "assert", { "ok": false, "id": 1, "skip": "for no raisin", "name": "granddaughter" } ], [ "line", "ok grandson # time=1.001s\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap\n" ], [ "line", " it: is yaml\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 2, "time": 1001, "name": "grandson", "diag": { "ok": 1, "this": "is not tap", "it": "is yaml" } } ], [ "line", "not ok grandchild # TODO\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap or yaml\n" ], [ "line", " it: is garbage\n" ], [ "assert", { "ok": false, "id": 3, "todo": true, "name": "grandchild" } ], [ "extra", " ---\n ok: 1\n this: is not tap or yaml\n it: is garbage\n" ], [ "line", "# todo: 1\n" ], [ "comment", "# todo: 1\n" ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 3, "pass": 1, "fail": 2, "bailout": false, "todo": 1, "skip": 1, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..3\n" ], [ "line", " not ok granddaughter # SKIP for no raisin\n" ], [ "line", " ok grandson # time=1.001s\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap\n" ], [ "line", " it: is yaml\n" ], [ "line", " ...\n" ], [ "line", " not ok grandchild # TODO\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap or yaml\n" ], [ "line", " it: is garbage\n" ], [ "line", " # todo: 1\n" ], [ "line", " # skip: 1\n" ], [ "line", "ok 2 - this passes # time=1.200s\n" ], [ "assert", { "ok": true, "id": 2, "time": 1200, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - no plan # time=1.001ms\n" ], [ "line", " # Subtest: this passes\n" ], [ "line", " 1..3\n" ], [ "line", " not ok granddaughter # SKIP for no raisin\n" ], [ "line", " ok grandson # time=1.001s\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap\n" ], [ "line", " it: is yaml\n" ], [ "line", " ...\n" ], [ "line", " not ok grandchild # TODO\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap or yaml\n" ], [ "line", " it: is garbage\n" ], [ "line", " # todo: 1\n" ], [ "line", " # skip: 1\n" ], [ "line", " ok 2 - this passes # time=1.200s\n" ], [ "line", " 1..2\n" ], [ "line", "ok 2 - second # time=1.200ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 1.2, "name": "second" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/indent--bail.json000066400000000000000000000201751320135610000215560ustar00rootroot00000000000000[ [ "line", "TAP Version 13\n" ], [ "version", 13 ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# nesting\n" ], [ "comment", "# nesting\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok # time=1.234ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 1.234, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay # time=1.234ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 1.234, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok # time=1.234ms\n" ], [ "line", " ok 2 - doag is also okay # time=1.234ms\n" ], [ "line", "ok 1 - first # time=2.589ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 2.589, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - no plan # time=1.001ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 1.001, "name": "no plan" } ], [ "line", "# Subtest: this passes\n" ], [ "child", [ [ "comment", "# Subtest: this passes\n" ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "not ok granddaughter # SKIP for no raisin\n" ], [ "assert", { "ok": false, "id": 1, "skip": "for no raisin", "name": "granddaughter" } ], [ "line", "ok grandson # time=1.001s\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap\n" ], [ "line", " it: is yaml\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 2, "time": 1001, "name": "grandson", "diag": { "ok": 1, "this": "is not tap", "it": "is yaml" } } ], [ "line", "not ok grandchild # TODO\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap or yaml\n" ], [ "line", " it: is garbage\n" ], [ "assert", { "ok": false, "id": 3, "todo": true, "name": "grandchild" } ], [ "extra", " ---\n ok: 1\n this: is not tap or yaml\n it: is garbage\n" ], [ "line", "# todo: 1\n" ], [ "comment", "# todo: 1\n" ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 3, "pass": 1, "fail": 2, "bailout": false, "todo": 1, "skip": 1, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..3\n" ], [ "line", " not ok granddaughter # SKIP for no raisin\n" ], [ "line", " ok grandson # time=1.001s\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap\n" ], [ "line", " it: is yaml\n" ], [ "line", " ...\n" ], [ "line", " not ok grandchild # TODO\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap or yaml\n" ], [ "line", " it: is garbage\n" ], [ "line", " # todo: 1\n" ], [ "line", " # skip: 1\n" ], [ "line", "ok 2 - this passes # time=1.200s\n" ], [ "assert", { "ok": true, "id": 2, "time": 1200, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - no plan # time=1.001ms\n" ], [ "line", " # Subtest: this passes\n" ], [ "line", " 1..3\n" ], [ "line", " not ok granddaughter # SKIP for no raisin\n" ], [ "line", " ok grandson # time=1.001s\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap\n" ], [ "line", " it: is yaml\n" ], [ "line", " ...\n" ], [ "line", " not ok grandchild # TODO\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap or yaml\n" ], [ "line", " it: is garbage\n" ], [ "line", " # todo: 1\n" ], [ "line", " # skip: 1\n" ], [ "line", " ok 2 - this passes # time=1.200s\n" ], [ "line", " 1..2\n" ], [ "line", "ok 2 - second # time=1.200ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 1.2, "name": "second" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/indent--omitversion.json000066400000000000000000000200621320135610000232200ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# nesting\n" ], [ "comment", "# nesting\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok # time=1.234ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 1.234, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay # time=1.234ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 1.234, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok # time=1.234ms\n" ], [ "line", " ok 2 - doag is also okay # time=1.234ms\n" ], [ "line", "ok 1 - first # time=2.589ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 2.589, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - no plan # time=1.001ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 1.001, "name": "no plan" } ], [ "line", "# Subtest: this passes\n" ], [ "child", [ [ "comment", "# Subtest: this passes\n" ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "not ok granddaughter # SKIP for no raisin\n" ], [ "assert", { "ok": false, "id": 1, "skip": "for no raisin", "name": "granddaughter" } ], [ "line", "ok grandson # time=1.001s\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap\n" ], [ "line", " it: is yaml\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 2, "time": 1001, "name": "grandson", "diag": { "ok": 1, "this": "is not tap", "it": "is yaml" } } ], [ "line", "not ok grandchild # TODO\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap or yaml\n" ], [ "line", " it: is garbage\n" ], [ "assert", { "ok": false, "id": 3, "todo": true, "name": "grandchild" } ], [ "extra", " ---\n ok: 1\n this: is not tap or yaml\n it: is garbage\n" ], [ "line", "# todo: 1\n" ], [ "comment", "# todo: 1\n" ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 3, "pass": 1, "fail": 2, "bailout": false, "todo": 1, "skip": 1, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..3\n" ], [ "line", " not ok granddaughter # SKIP for no raisin\n" ], [ "line", " ok grandson # time=1.001s\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap\n" ], [ "line", " it: is yaml\n" ], [ "line", " ...\n" ], [ "line", " not ok grandchild # TODO\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap or yaml\n" ], [ "line", " it: is garbage\n" ], [ "line", " # todo: 1\n" ], [ "line", " # skip: 1\n" ], [ "line", "ok 2 - this passes # time=1.200s\n" ], [ "assert", { "ok": true, "id": 2, "time": 1200, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - no plan # time=1.001ms\n" ], [ "line", " # Subtest: this passes\n" ], [ "line", " 1..3\n" ], [ "line", " not ok granddaughter # SKIP for no raisin\n" ], [ "line", " ok grandson # time=1.001s\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap\n" ], [ "line", " it: is yaml\n" ], [ "line", " ...\n" ], [ "line", " not ok grandchild # TODO\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap or yaml\n" ], [ "line", " it: is garbage\n" ], [ "line", " # todo: 1\n" ], [ "line", " # skip: 1\n" ], [ "line", " ok 2 - this passes # time=1.200s\n" ], [ "line", " 1..2\n" ], [ "line", "ok 2 - second # time=1.200ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 1.2, "name": "second" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/indent--preservewhite--omitversion.json000066400000000000000000000200621320135610000261670ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# nesting\n" ], [ "comment", "# nesting\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok # time=1.234ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 1.234, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay # time=1.234ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 1.234, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok # time=1.234ms\n" ], [ "line", " ok 2 - doag is also okay # time=1.234ms\n" ], [ "line", "ok 1 - first # time=2.589ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 2.589, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - no plan # time=1.001ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 1.001, "name": "no plan" } ], [ "line", "# Subtest: this passes\n" ], [ "child", [ [ "comment", "# Subtest: this passes\n" ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "not ok granddaughter # SKIP for no raisin\n" ], [ "assert", { "ok": false, "id": 1, "skip": "for no raisin", "name": "granddaughter" } ], [ "line", "ok grandson # time=1.001s\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap\n" ], [ "line", " it: is yaml\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 2, "time": 1001, "name": "grandson", "diag": { "ok": 1, "this": "is not tap", "it": "is yaml" } } ], [ "line", "not ok grandchild # TODO\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap or yaml\n" ], [ "line", " it: is garbage\n" ], [ "assert", { "ok": false, "id": 3, "todo": true, "name": "grandchild" } ], [ "extra", " ---\n ok: 1\n this: is not tap or yaml\n it: is garbage\n" ], [ "line", "# todo: 1\n" ], [ "comment", "# todo: 1\n" ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 3, "pass": 1, "fail": 2, "bailout": false, "todo": 1, "skip": 1, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..3\n" ], [ "line", " not ok granddaughter # SKIP for no raisin\n" ], [ "line", " ok grandson # time=1.001s\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap\n" ], [ "line", " it: is yaml\n" ], [ "line", " ...\n" ], [ "line", " not ok grandchild # TODO\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap or yaml\n" ], [ "line", " it: is garbage\n" ], [ "line", " # todo: 1\n" ], [ "line", " # skip: 1\n" ], [ "line", "ok 2 - this passes # time=1.200s\n" ], [ "assert", { "ok": true, "id": 2, "time": 1200, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - no plan # time=1.001ms\n" ], [ "line", " # Subtest: this passes\n" ], [ "line", " 1..3\n" ], [ "line", " not ok granddaughter # SKIP for no raisin\n" ], [ "line", " ok grandson # time=1.001s\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap\n" ], [ "line", " it: is yaml\n" ], [ "line", " ...\n" ], [ "line", " not ok grandchild # TODO\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap or yaml\n" ], [ "line", " it: is garbage\n" ], [ "line", " # todo: 1\n" ], [ "line", " # skip: 1\n" ], [ "line", " ok 2 - this passes # time=1.200s\n" ], [ "line", " 1..2\n" ], [ "line", "ok 2 - second # time=1.200ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 1.2, "name": "second" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/indent--preservewhite.json000066400000000000000000000201751320135610000235430ustar00rootroot00000000000000[ [ "line", "TAP Version 13\n" ], [ "version", 13 ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# nesting\n" ], [ "comment", "# nesting\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok # time=1.234ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 1.234, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay # time=1.234ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 1.234, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok # time=1.234ms\n" ], [ "line", " ok 2 - doag is also okay # time=1.234ms\n" ], [ "line", "ok 1 - first # time=2.589ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 2.589, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - no plan # time=1.001ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 1.001, "name": "no plan" } ], [ "line", "# Subtest: this passes\n" ], [ "child", [ [ "comment", "# Subtest: this passes\n" ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "not ok granddaughter # SKIP for no raisin\n" ], [ "assert", { "ok": false, "id": 1, "skip": "for no raisin", "name": "granddaughter" } ], [ "line", "ok grandson # time=1.001s\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap\n" ], [ "line", " it: is yaml\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 2, "time": 1001, "name": "grandson", "diag": { "ok": 1, "this": "is not tap", "it": "is yaml" } } ], [ "line", "not ok grandchild # TODO\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap or yaml\n" ], [ "line", " it: is garbage\n" ], [ "assert", { "ok": false, "id": 3, "todo": true, "name": "grandchild" } ], [ "extra", " ---\n ok: 1\n this: is not tap or yaml\n it: is garbage\n" ], [ "line", "# todo: 1\n" ], [ "comment", "# todo: 1\n" ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 3, "pass": 1, "fail": 2, "bailout": false, "todo": 1, "skip": 1, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..3\n" ], [ "line", " not ok granddaughter # SKIP for no raisin\n" ], [ "line", " ok grandson # time=1.001s\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap\n" ], [ "line", " it: is yaml\n" ], [ "line", " ...\n" ], [ "line", " not ok grandchild # TODO\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap or yaml\n" ], [ "line", " it: is garbage\n" ], [ "line", " # todo: 1\n" ], [ "line", " # skip: 1\n" ], [ "line", "ok 2 - this passes # time=1.200s\n" ], [ "assert", { "ok": true, "id": 2, "time": 1200, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - no plan # time=1.001ms\n" ], [ "line", " # Subtest: this passes\n" ], [ "line", " 1..3\n" ], [ "line", " not ok granddaughter # SKIP for no raisin\n" ], [ "line", " ok grandson # time=1.001s\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap\n" ], [ "line", " it: is yaml\n" ], [ "line", " ...\n" ], [ "line", " not ok grandchild # TODO\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap or yaml\n" ], [ "line", " it: is garbage\n" ], [ "line", " # todo: 1\n" ], [ "line", " # skip: 1\n" ], [ "line", " ok 2 - this passes # time=1.200s\n" ], [ "line", " 1..2\n" ], [ "line", "ok 2 - second # time=1.200ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 1.2, "name": "second" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/indent.json000066400000000000000000000201751320135610000205740ustar00rootroot00000000000000[ [ "line", "TAP Version 13\n" ], [ "version", 13 ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# nesting\n" ], [ "comment", "# nesting\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok # time=1.234ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 1.234, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay # time=1.234ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 1.234, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok # time=1.234ms\n" ], [ "line", " ok 2 - doag is also okay # time=1.234ms\n" ], [ "line", "ok 1 - first # time=2.589ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 2.589, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - no plan # time=1.001ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 1.001, "name": "no plan" } ], [ "line", "# Subtest: this passes\n" ], [ "child", [ [ "comment", "# Subtest: this passes\n" ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "not ok granddaughter # SKIP for no raisin\n" ], [ "assert", { "ok": false, "id": 1, "skip": "for no raisin", "name": "granddaughter" } ], [ "line", "ok grandson # time=1.001s\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap\n" ], [ "line", " it: is yaml\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 2, "time": 1001, "name": "grandson", "diag": { "ok": 1, "this": "is not tap", "it": "is yaml" } } ], [ "line", "not ok grandchild # TODO\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap or yaml\n" ], [ "line", " it: is garbage\n" ], [ "assert", { "ok": false, "id": 3, "todo": true, "name": "grandchild" } ], [ "extra", " ---\n ok: 1\n this: is not tap or yaml\n it: is garbage\n" ], [ "line", "# todo: 1\n" ], [ "comment", "# todo: 1\n" ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 3, "pass": 1, "fail": 2, "bailout": false, "todo": 1, "skip": 1, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..3\n" ], [ "line", " not ok granddaughter # SKIP for no raisin\n" ], [ "line", " ok grandson # time=1.001s\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap\n" ], [ "line", " it: is yaml\n" ], [ "line", " ...\n" ], [ "line", " not ok grandchild # TODO\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap or yaml\n" ], [ "line", " it: is garbage\n" ], [ "line", " # todo: 1\n" ], [ "line", " # skip: 1\n" ], [ "line", "ok 2 - this passes # time=1.200s\n" ], [ "assert", { "ok": true, "id": 2, "time": 1200, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - no plan # time=1.001ms\n" ], [ "line", " # Subtest: this passes\n" ], [ "line", " 1..3\n" ], [ "line", " not ok granddaughter # SKIP for no raisin\n" ], [ "line", " ok grandson # time=1.001s\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap\n" ], [ "line", " it: is yaml\n" ], [ "line", " ...\n" ], [ "line", " not ok grandchild # TODO\n" ], [ "line", " ---\n" ], [ "line", " ok: 1\n" ], [ "line", " this: is not tap or yaml\n" ], [ "line", " it: is garbage\n" ], [ "line", " # todo: 1\n" ], [ "line", " # skip: 1\n" ], [ "line", " ok 2 - this passes # time=1.200s\n" ], [ "line", " 1..2\n" ], [ "line", "ok 2 - second # time=1.200ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 1.2, "name": "second" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/indent.tap000077500000000000000000000012041320135610000204020ustar00rootroot00000000000000TAP Version 13 1..2 # nesting # Subtest: first 1..2 ok 1 - true is ok # time=1.234ms ok 2 - doag is also okay # time=1.234ms ok 1 - first # time=2.589ms # Subtest: second ok 1 - no plan # time=1.001ms # Subtest: this passes 1..3 not ok granddaughter # SKIP for no raisin ok grandson # time=1.001s --- ok: 1 this: is not tap it: is yaml ... not ok grandchild # TODO --- ok: 1 this: is not tap or yaml it: is garbage ok 2 - this passes # time=1.200s 1..2 ok 2 - second # time=1.200ms tap-parser-7.0.0/test/fixtures/indented-stdout-noise--bail--omitversion.json000066400000000000000000000402351320135610000271520ustar00rootroot00000000000000[ [ "line", "# Subtest: index.js\n" ], [ "child", [ [ "comment", "# Subtest: index.js\n" ], [ "line", "# Subtest: boom\n" ], [ "child", [ [ "comment", "# Subtest: boom\n" ], [ "line", "# Subtest: npm install package line\n" ], [ "child", [ [ "comment", "# Subtest: npm install package line\n" ], [ "line", "$ npm install package\n" ], [ "extra", "$ npm install package\n" ], [ "line", "var package = require('package')(); // contains package.json data.\n" ], [ "extra", "var package = require('package')(); // contains package.json data.\n" ], [ "line", "var yourAwesomeModule = {};\n" ], [ "extra", "var yourAwesomeModule = {};\n" ], [ "line", "yourAwesomeModule.version = package.version;\n" ], [ "extra", "yourAwesomeModule.version = package.version;\n" ], [ "line", "1..0 # no tests found\n" ], [ "plan", { "start": 1, "end": 0, "comment": "no tests found" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "no tests found", "comment": "no tests found" }, "failures": [] } ] ] ], [ "line", " $ npm install package\n" ], [ "line", " var package = require('package')(); // contains package.json data.\n" ], [ "line", " var yourAwesomeModule = {};\n" ], [ "line", " yourAwesomeModule.version = package.version;\n" ], [ "line", "1..0\n" ], [ "extra", "1..0\n" ], [ "line", " 1..0 # no tests found\n" ], [ "line", "1..0 # no tests found\n" ], [ "plan", { "start": 1, "end": 0, "comment": "no tests found" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "no tests found", "comment": "no tests found" }, "failures": [] } ] ] ], [ "line", "# package - Easy package.json exports.\n" ], [ "comment", "# package - Easy package.json exports.\n" ], [ "line", "## Intro\n" ], [ "comment", "## Intro\n" ], [ "line", "This module provides an easy way to export package.json data.\n" ], [ "extra", "This module provides an easy way to export package.json data.\n" ], [ "line", "It contains auto-discovery functionality, which means that it will\n" ], [ "extra", "It contains auto-discovery functionality, which means that it will\n" ], [ "line", "find your package.json file automatically. Cool, ugh?\n" ], [ "extra", "find your package.json file automatically. Cool, ugh?\n" ], [ "line", "## Installation\n" ], [ "comment", "## Installation\n" ], [ "line", " # Subtest: npm install package line\n" ], [ "line", " $ npm install package\n" ], [ "line", "## Usage\n" ], [ "comment", "## Usage\n" ], [ "line", " var package = require('package')(); // contains package.json data.\n" ], [ "line", " var yourAwesomeModule = {};\n" ], [ "line", " yourAwesomeModule.version = package.version;\n" ], [ "line", "## Contribution\n" ], [ "comment", "## Contribution\n" ], [ "line", "Bug fixes and features are welcomed.\n" ], [ "extra", "Bug fixes and features are welcomed.\n" ], [ "line", "## Other similar modules\n" ], [ "comment", "## Other similar modules\n" ], [ "line", "- pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero.\n" ], [ "extra", "- pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero.\n" ], [ "line", "- JSON.parse + fs.readFile\n" ], [ "extra", "- JSON.parse + fs.readFile\n" ], [ "line", "## License\n" ], [ "comment", "## License\n" ], [ "line", "MIT License\n" ], [ "extra", "MIT License\n" ], [ "line", "Copyright (C) 2011 Veselin Todorov\n" ], [ "extra", "Copyright (C) 2011 Veselin Todorov\n" ], [ "line", "Permission is hereby granted, free of charge, to any person obtaining a copy of\n" ], [ "extra", "Permission is hereby granted, free of charge, to any person obtaining a copy of\n" ], [ "line", "this software and associated documentation files (the \"Software\"), to deal in\n" ], [ "extra", "this software and associated documentation files (the \"Software\"), to deal in\n" ], [ "line", "the Software without restriction, including without limitation the rights to\n" ], [ "extra", "the Software without restriction, including without limitation the rights to\n" ], [ "line", "use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\n" ], [ "extra", "use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\n" ], [ "line", "of the Software, and to permit persons to whom the Software is furnished to do\n" ], [ "extra", "of the Software, and to permit persons to whom the Software is furnished to do\n" ], [ "line", "so, subject to the following conditions:\n" ], [ "extra", "so, subject to the following conditions:\n" ], [ "line", "The above copyright notice and this permission notice shall be included in all\n" ], [ "extra", "The above copyright notice and this permission notice shall be included in all\n" ], [ "line", "copies or substantial portions of the Software.\n" ], [ "extra", "copies or substantial portions of the Software.\n" ], [ "line", "THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n" ], [ "extra", "THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n" ], [ "line", "IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n" ], [ "extra", "IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n" ], [ "line", "FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n" ], [ "extra", "FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n" ], [ "line", "AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n" ], [ "extra", "AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n" ], [ "line", "LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n" ], [ "extra", "LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n" ], [ "line", "OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n" ], [ "extra", "OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n" ], [ "line", "SOFTWARE.\n" ], [ "extra", "SOFTWARE.\n" ], [ "line", " 1..0\n" ], [ "line", " 1..0 # no tests found\n" ], [ "line", " 1..0 # no tests found\n" ], [ "line", "ok 1 - boom # time=5.26ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 5.26, "name": "boom" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=12.555ms\n" ], [ "comment", "# time=12.555ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: boom\n" ], [ "line", " # package - Easy package.json exports.\n" ], [ "line", " ## Intro\n" ], [ "line", " This module provides an easy way to export package.json data.\n" ], [ "line", " It contains auto-discovery functionality, which means that it will\n" ], [ "line", " find your package.json file automatically. Cool, ugh?\n" ], [ "line", " ## Installation\n" ], [ "line", " # Subtest: npm install package line\n" ], [ "line", " $ npm install package\n" ], [ "line", " ## Usage\n" ], [ "line", " var package = require('package')(); // contains package.json data.\n" ], [ "line", " var yourAwesomeModule = {};\n" ], [ "line", " yourAwesomeModule.version = package.version;\n" ], [ "line", " ## Contribution\n" ], [ "line", " Bug fixes and features are welcomed.\n" ], [ "line", " ## Other similar modules\n" ], [ "line", " - pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero.\n" ], [ "line", " - JSON.parse + fs.readFile\n" ], [ "line", " ## License\n" ], [ "line", " MIT License\n" ], [ "line", " Copyright (C) 2011 Veselin Todorov\n" ], [ "line", " Permission is hereby granted, free of charge, to any person obtaining a copy of\n" ], [ "line", " this software and associated documentation files (the \"Software\"), to deal in\n" ], [ "line", " the Software without restriction, including without limitation the rights to\n" ], [ "line", " use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\n" ], [ "line", " of the Software, and to permit persons to whom the Software is furnished to do\n" ], [ "line", " so, subject to the following conditions:\n" ], [ "line", " The above copyright notice and this permission notice shall be included in all\n" ], [ "line", " copies or substantial portions of the Software.\n" ], [ "line", " THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n" ], [ "line", " IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n" ], [ "line", " FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n" ], [ "line", " AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n" ], [ "line", " LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n" ], [ "line", " OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n" ], [ "line", " SOFTWARE.\n" ], [ "line", " 1..0\n" ], [ "line", " 1..0 # no tests found\n" ], [ "line", " 1..0 # no tests found\n" ], [ "line", " ok 1 - boom # time=5.26ms\n" ], [ "line", " 1..1\n" ], [ "line", " # time=12.555ms\n" ], [ "line", "not ok 1 - index.js # time=201.609ms\n" ], [ "line", " ---\n" ], [ "line", " arguments:\n" ], [ "line", " - index.js\n" ], [ "line", " timeout: 30000\n" ], [ "line", " results:\n" ], [ "line", " ok: false\n" ], [ "line", " count: 1\n" ], [ "line", " pass: 1\n" ], [ "line", " plan:\n" ], [ "line", " start: 1\n" ], [ "line", " end: 1\n" ], [ "line", " command: /usr/local/bin/iojs\n" ], [ "line", " file: index.js\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "time": 201.609, "name": "index.js", "diag": { "arguments": [ "index.js" ], "timeout": 30000, "results": { "ok": false, "count": 1, "pass": 1, "plan": { "start": 1, "end": 1 } }, "command": "/usr/local/bin/iojs", "file": "index.js" } } ], [ "line", "Bail out! # index.js\n" ], [ "bailout", "# index.js" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# index.js", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "time": 201.609, "name": "index.js", "diag": { "arguments": [ "index.js" ], "timeout": 30000, "results": { "ok": false, "count": 1, "pass": 1, "plan": { "start": 1, "end": 1 } }, "command": "/usr/local/bin/iojs", "file": "index.js" } } ] } ] ] tap-parser-7.0.0/test/fixtures/indented-stdout-noise--bail--preservewhite--omitversion.json000066400000000000000000000402351320135610000321210ustar00rootroot00000000000000[ [ "line", "# Subtest: index.js\n" ], [ "child", [ [ "comment", "# Subtest: index.js\n" ], [ "line", "# Subtest: boom\n" ], [ "child", [ [ "comment", "# Subtest: boom\n" ], [ "line", "# Subtest: npm install package line\n" ], [ "child", [ [ "comment", "# Subtest: npm install package line\n" ], [ "line", "$ npm install package\n" ], [ "extra", "$ npm install package\n" ], [ "line", "var package = require('package')(); // contains package.json data.\n" ], [ "extra", "var package = require('package')(); // contains package.json data.\n" ], [ "line", "var yourAwesomeModule = {};\n" ], [ "extra", "var yourAwesomeModule = {};\n" ], [ "line", "yourAwesomeModule.version = package.version;\n" ], [ "extra", "yourAwesomeModule.version = package.version;\n" ], [ "line", "1..0 # no tests found\n" ], [ "plan", { "start": 1, "end": 0, "comment": "no tests found" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "no tests found", "comment": "no tests found" }, "failures": [] } ] ] ], [ "line", " $ npm install package\n" ], [ "line", " var package = require('package')(); // contains package.json data.\n" ], [ "line", " var yourAwesomeModule = {};\n" ], [ "line", " yourAwesomeModule.version = package.version;\n" ], [ "line", "1..0\n" ], [ "extra", "1..0\n" ], [ "line", " 1..0 # no tests found\n" ], [ "line", "1..0 # no tests found\n" ], [ "plan", { "start": 1, "end": 0, "comment": "no tests found" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "no tests found", "comment": "no tests found" }, "failures": [] } ] ] ], [ "line", "# package - Easy package.json exports.\n" ], [ "comment", "# package - Easy package.json exports.\n" ], [ "line", "## Intro\n" ], [ "comment", "## Intro\n" ], [ "line", "This module provides an easy way to export package.json data.\n" ], [ "extra", "This module provides an easy way to export package.json data.\n" ], [ "line", "It contains auto-discovery functionality, which means that it will\n" ], [ "extra", "It contains auto-discovery functionality, which means that it will\n" ], [ "line", "find your package.json file automatically. Cool, ugh?\n" ], [ "extra", "find your package.json file automatically. Cool, ugh?\n" ], [ "line", "## Installation\n" ], [ "comment", "## Installation\n" ], [ "line", " # Subtest: npm install package line\n" ], [ "line", " $ npm install package\n" ], [ "line", "## Usage\n" ], [ "comment", "## Usage\n" ], [ "line", " var package = require('package')(); // contains package.json data.\n" ], [ "line", " var yourAwesomeModule = {};\n" ], [ "line", " yourAwesomeModule.version = package.version;\n" ], [ "line", "## Contribution\n" ], [ "comment", "## Contribution\n" ], [ "line", "Bug fixes and features are welcomed.\n" ], [ "extra", "Bug fixes and features are welcomed.\n" ], [ "line", "## Other similar modules\n" ], [ "comment", "## Other similar modules\n" ], [ "line", "- pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero.\n" ], [ "extra", "- pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero.\n" ], [ "line", "- JSON.parse + fs.readFile\n" ], [ "extra", "- JSON.parse + fs.readFile\n" ], [ "line", "## License\n" ], [ "comment", "## License\n" ], [ "line", "MIT License\n" ], [ "extra", "MIT License\n" ], [ "line", "Copyright (C) 2011 Veselin Todorov\n" ], [ "extra", "Copyright (C) 2011 Veselin Todorov\n" ], [ "line", "Permission is hereby granted, free of charge, to any person obtaining a copy of\n" ], [ "extra", "Permission is hereby granted, free of charge, to any person obtaining a copy of\n" ], [ "line", "this software and associated documentation files (the \"Software\"), to deal in\n" ], [ "extra", "this software and associated documentation files (the \"Software\"), to deal in\n" ], [ "line", "the Software without restriction, including without limitation the rights to\n" ], [ "extra", "the Software without restriction, including without limitation the rights to\n" ], [ "line", "use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\n" ], [ "extra", "use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\n" ], [ "line", "of the Software, and to permit persons to whom the Software is furnished to do\n" ], [ "extra", "of the Software, and to permit persons to whom the Software is furnished to do\n" ], [ "line", "so, subject to the following conditions:\n" ], [ "extra", "so, subject to the following conditions:\n" ], [ "line", "The above copyright notice and this permission notice shall be included in all\n" ], [ "extra", "The above copyright notice and this permission notice shall be included in all\n" ], [ "line", "copies or substantial portions of the Software.\n" ], [ "extra", "copies or substantial portions of the Software.\n" ], [ "line", "THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n" ], [ "extra", "THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n" ], [ "line", "IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n" ], [ "extra", "IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n" ], [ "line", "FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n" ], [ "extra", "FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n" ], [ "line", "AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n" ], [ "extra", "AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n" ], [ "line", "LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n" ], [ "extra", "LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n" ], [ "line", "OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n" ], [ "extra", "OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n" ], [ "line", "SOFTWARE.\n" ], [ "extra", "SOFTWARE.\n" ], [ "line", " 1..0\n" ], [ "line", " 1..0 # no tests found\n" ], [ "line", " 1..0 # no tests found\n" ], [ "line", "ok 1 - boom # time=5.26ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 5.26, "name": "boom" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=12.555ms\n" ], [ "comment", "# time=12.555ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: boom\n" ], [ "line", " # package - Easy package.json exports.\n" ], [ "line", " ## Intro\n" ], [ "line", " This module provides an easy way to export package.json data.\n" ], [ "line", " It contains auto-discovery functionality, which means that it will\n" ], [ "line", " find your package.json file automatically. Cool, ugh?\n" ], [ "line", " ## Installation\n" ], [ "line", " # Subtest: npm install package line\n" ], [ "line", " $ npm install package\n" ], [ "line", " ## Usage\n" ], [ "line", " var package = require('package')(); // contains package.json data.\n" ], [ "line", " var yourAwesomeModule = {};\n" ], [ "line", " yourAwesomeModule.version = package.version;\n" ], [ "line", " ## Contribution\n" ], [ "line", " Bug fixes and features are welcomed.\n" ], [ "line", " ## Other similar modules\n" ], [ "line", " - pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero.\n" ], [ "line", " - JSON.parse + fs.readFile\n" ], [ "line", " ## License\n" ], [ "line", " MIT License\n" ], [ "line", " Copyright (C) 2011 Veselin Todorov\n" ], [ "line", " Permission is hereby granted, free of charge, to any person obtaining a copy of\n" ], [ "line", " this software and associated documentation files (the \"Software\"), to deal in\n" ], [ "line", " the Software without restriction, including without limitation the rights to\n" ], [ "line", " use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\n" ], [ "line", " of the Software, and to permit persons to whom the Software is furnished to do\n" ], [ "line", " so, subject to the following conditions:\n" ], [ "line", " The above copyright notice and this permission notice shall be included in all\n" ], [ "line", " copies or substantial portions of the Software.\n" ], [ "line", " THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n" ], [ "line", " IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n" ], [ "line", " FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n" ], [ "line", " AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n" ], [ "line", " LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n" ], [ "line", " OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n" ], [ "line", " SOFTWARE.\n" ], [ "line", " 1..0\n" ], [ "line", " 1..0 # no tests found\n" ], [ "line", " 1..0 # no tests found\n" ], [ "line", " ok 1 - boom # time=5.26ms\n" ], [ "line", " 1..1\n" ], [ "line", " # time=12.555ms\n" ], [ "line", "not ok 1 - index.js # time=201.609ms\n" ], [ "line", " ---\n" ], [ "line", " arguments:\n" ], [ "line", " - index.js\n" ], [ "line", " timeout: 30000\n" ], [ "line", " results:\n" ], [ "line", " ok: false\n" ], [ "line", " count: 1\n" ], [ "line", " pass: 1\n" ], [ "line", " plan:\n" ], [ "line", " start: 1\n" ], [ "line", " end: 1\n" ], [ "line", " command: /usr/local/bin/iojs\n" ], [ "line", " file: index.js\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "time": 201.609, "name": "index.js", "diag": { "arguments": [ "index.js" ], "timeout": 30000, "results": { "ok": false, "count": 1, "pass": 1, "plan": { "start": 1, "end": 1 } }, "command": "/usr/local/bin/iojs", "file": "index.js" } } ], [ "line", "Bail out! # index.js\n" ], [ "bailout", "# index.js" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# index.js", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "time": 201.609, "name": "index.js", "diag": { "arguments": [ "index.js" ], "timeout": 30000, "results": { "ok": false, "count": 1, "pass": 1, "plan": { "start": 1, "end": 1 } }, "command": "/usr/local/bin/iojs", "file": "index.js" } } ] } ] ] tap-parser-7.0.0/test/fixtures/indented-stdout-noise--bail--preservewhite.json000066400000000000000000000403501320135610000274660ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: index.js\n" ], [ "child", [ [ "comment", "# Subtest: index.js\n" ], [ "line", "# Subtest: boom\n" ], [ "child", [ [ "comment", "# Subtest: boom\n" ], [ "line", "# Subtest: npm install package line\n" ], [ "child", [ [ "comment", "# Subtest: npm install package line\n" ], [ "line", "$ npm install package\n" ], [ "extra", "$ npm install package\n" ], [ "line", "var package = require('package')(); // contains package.json data.\n" ], [ "extra", "var package = require('package')(); // contains package.json data.\n" ], [ "line", "var yourAwesomeModule = {};\n" ], [ "extra", "var yourAwesomeModule = {};\n" ], [ "line", "yourAwesomeModule.version = package.version;\n" ], [ "extra", "yourAwesomeModule.version = package.version;\n" ], [ "line", "1..0 # no tests found\n" ], [ "plan", { "start": 1, "end": 0, "comment": "no tests found" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "no tests found", "comment": "no tests found" }, "failures": [] } ] ] ], [ "line", " $ npm install package\n" ], [ "line", " var package = require('package')(); // contains package.json data.\n" ], [ "line", " var yourAwesomeModule = {};\n" ], [ "line", " yourAwesomeModule.version = package.version;\n" ], [ "line", "1..0\n" ], [ "extra", "1..0\n" ], [ "line", " 1..0 # no tests found\n" ], [ "line", "1..0 # no tests found\n" ], [ "plan", { "start": 1, "end": 0, "comment": "no tests found" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "no tests found", "comment": "no tests found" }, "failures": [] } ] ] ], [ "line", "# package - Easy package.json exports.\n" ], [ "comment", "# package - Easy package.json exports.\n" ], [ "line", "## Intro\n" ], [ "comment", "## Intro\n" ], [ "line", "This module provides an easy way to export package.json data.\n" ], [ "extra", "This module provides an easy way to export package.json data.\n" ], [ "line", "It contains auto-discovery functionality, which means that it will\n" ], [ "extra", "It contains auto-discovery functionality, which means that it will\n" ], [ "line", "find your package.json file automatically. Cool, ugh?\n" ], [ "extra", "find your package.json file automatically. Cool, ugh?\n" ], [ "line", "## Installation\n" ], [ "comment", "## Installation\n" ], [ "line", " # Subtest: npm install package line\n" ], [ "line", " $ npm install package\n" ], [ "line", "## Usage\n" ], [ "comment", "## Usage\n" ], [ "line", " var package = require('package')(); // contains package.json data.\n" ], [ "line", " var yourAwesomeModule = {};\n" ], [ "line", " yourAwesomeModule.version = package.version;\n" ], [ "line", "## Contribution\n" ], [ "comment", "## Contribution\n" ], [ "line", "Bug fixes and features are welcomed.\n" ], [ "extra", "Bug fixes and features are welcomed.\n" ], [ "line", "## Other similar modules\n" ], [ "comment", "## Other similar modules\n" ], [ "line", "- pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero.\n" ], [ "extra", "- pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero.\n" ], [ "line", "- JSON.parse + fs.readFile\n" ], [ "extra", "- JSON.parse + fs.readFile\n" ], [ "line", "## License\n" ], [ "comment", "## License\n" ], [ "line", "MIT License\n" ], [ "extra", "MIT License\n" ], [ "line", "Copyright (C) 2011 Veselin Todorov\n" ], [ "extra", "Copyright (C) 2011 Veselin Todorov\n" ], [ "line", "Permission is hereby granted, free of charge, to any person obtaining a copy of\n" ], [ "extra", "Permission is hereby granted, free of charge, to any person obtaining a copy of\n" ], [ "line", "this software and associated documentation files (the \"Software\"), to deal in\n" ], [ "extra", "this software and associated documentation files (the \"Software\"), to deal in\n" ], [ "line", "the Software without restriction, including without limitation the rights to\n" ], [ "extra", "the Software without restriction, including without limitation the rights to\n" ], [ "line", "use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\n" ], [ "extra", "use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\n" ], [ "line", "of the Software, and to permit persons to whom the Software is furnished to do\n" ], [ "extra", "of the Software, and to permit persons to whom the Software is furnished to do\n" ], [ "line", "so, subject to the following conditions:\n" ], [ "extra", "so, subject to the following conditions:\n" ], [ "line", "The above copyright notice and this permission notice shall be included in all\n" ], [ "extra", "The above copyright notice and this permission notice shall be included in all\n" ], [ "line", "copies or substantial portions of the Software.\n" ], [ "extra", "copies or substantial portions of the Software.\n" ], [ "line", "THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n" ], [ "extra", "THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n" ], [ "line", "IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n" ], [ "extra", "IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n" ], [ "line", "FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n" ], [ "extra", "FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n" ], [ "line", "AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n" ], [ "extra", "AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n" ], [ "line", "LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n" ], [ "extra", "LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n" ], [ "line", "OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n" ], [ "extra", "OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n" ], [ "line", "SOFTWARE.\n" ], [ "extra", "SOFTWARE.\n" ], [ "line", " 1..0\n" ], [ "line", " 1..0 # no tests found\n" ], [ "line", " 1..0 # no tests found\n" ], [ "line", "ok 1 - boom # time=5.26ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 5.26, "name": "boom" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=12.555ms\n" ], [ "comment", "# time=12.555ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: boom\n" ], [ "line", " # package - Easy package.json exports.\n" ], [ "line", " ## Intro\n" ], [ "line", " This module provides an easy way to export package.json data.\n" ], [ "line", " It contains auto-discovery functionality, which means that it will\n" ], [ "line", " find your package.json file automatically. Cool, ugh?\n" ], [ "line", " ## Installation\n" ], [ "line", " # Subtest: npm install package line\n" ], [ "line", " $ npm install package\n" ], [ "line", " ## Usage\n" ], [ "line", " var package = require('package')(); // contains package.json data.\n" ], [ "line", " var yourAwesomeModule = {};\n" ], [ "line", " yourAwesomeModule.version = package.version;\n" ], [ "line", " ## Contribution\n" ], [ "line", " Bug fixes and features are welcomed.\n" ], [ "line", " ## Other similar modules\n" ], [ "line", " - pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero.\n" ], [ "line", " - JSON.parse + fs.readFile\n" ], [ "line", " ## License\n" ], [ "line", " MIT License\n" ], [ "line", " Copyright (C) 2011 Veselin Todorov\n" ], [ "line", " Permission is hereby granted, free of charge, to any person obtaining a copy of\n" ], [ "line", " this software and associated documentation files (the \"Software\"), to deal in\n" ], [ "line", " the Software without restriction, including without limitation the rights to\n" ], [ "line", " use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\n" ], [ "line", " of the Software, and to permit persons to whom the Software is furnished to do\n" ], [ "line", " so, subject to the following conditions:\n" ], [ "line", " The above copyright notice and this permission notice shall be included in all\n" ], [ "line", " copies or substantial portions of the Software.\n" ], [ "line", " THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n" ], [ "line", " IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n" ], [ "line", " FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n" ], [ "line", " AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n" ], [ "line", " LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n" ], [ "line", " OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n" ], [ "line", " SOFTWARE.\n" ], [ "line", " 1..0\n" ], [ "line", " 1..0 # no tests found\n" ], [ "line", " 1..0 # no tests found\n" ], [ "line", " ok 1 - boom # time=5.26ms\n" ], [ "line", " 1..1\n" ], [ "line", " # time=12.555ms\n" ], [ "line", "not ok 1 - index.js # time=201.609ms\n" ], [ "line", " ---\n" ], [ "line", " arguments:\n" ], [ "line", " - index.js\n" ], [ "line", " timeout: 30000\n" ], [ "line", " results:\n" ], [ "line", " ok: false\n" ], [ "line", " count: 1\n" ], [ "line", " pass: 1\n" ], [ "line", " plan:\n" ], [ "line", " start: 1\n" ], [ "line", " end: 1\n" ], [ "line", " command: /usr/local/bin/iojs\n" ], [ "line", " file: index.js\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "time": 201.609, "name": "index.js", "diag": { "arguments": [ "index.js" ], "timeout": 30000, "results": { "ok": false, "count": 1, "pass": 1, "plan": { "start": 1, "end": 1 } }, "command": "/usr/local/bin/iojs", "file": "index.js" } } ], [ "line", "Bail out! # index.js\n" ], [ "bailout", "# index.js" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# index.js", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "time": 201.609, "name": "index.js", "diag": { "arguments": [ "index.js" ], "timeout": 30000, "results": { "ok": false, "count": 1, "pass": 1, "plan": { "start": 1, "end": 1 } }, "command": "/usr/local/bin/iojs", "file": "index.js" } } ] } ] ] tap-parser-7.0.0/test/fixtures/indented-stdout-noise--bail.json000066400000000000000000000403501320135610000245170ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: index.js\n" ], [ "child", [ [ "comment", "# Subtest: index.js\n" ], [ "line", "# Subtest: boom\n" ], [ "child", [ [ "comment", "# Subtest: boom\n" ], [ "line", "# Subtest: npm install package line\n" ], [ "child", [ [ "comment", "# Subtest: npm install package line\n" ], [ "line", "$ npm install package\n" ], [ "extra", "$ npm install package\n" ], [ "line", "var package = require('package')(); // contains package.json data.\n" ], [ "extra", "var package = require('package')(); // contains package.json data.\n" ], [ "line", "var yourAwesomeModule = {};\n" ], [ "extra", "var yourAwesomeModule = {};\n" ], [ "line", "yourAwesomeModule.version = package.version;\n" ], [ "extra", "yourAwesomeModule.version = package.version;\n" ], [ "line", "1..0 # no tests found\n" ], [ "plan", { "start": 1, "end": 0, "comment": "no tests found" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "no tests found", "comment": "no tests found" }, "failures": [] } ] ] ], [ "line", " $ npm install package\n" ], [ "line", " var package = require('package')(); // contains package.json data.\n" ], [ "line", " var yourAwesomeModule = {};\n" ], [ "line", " yourAwesomeModule.version = package.version;\n" ], [ "line", "1..0\n" ], [ "extra", "1..0\n" ], [ "line", " 1..0 # no tests found\n" ], [ "line", "1..0 # no tests found\n" ], [ "plan", { "start": 1, "end": 0, "comment": "no tests found" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "no tests found", "comment": "no tests found" }, "failures": [] } ] ] ], [ "line", "# package - Easy package.json exports.\n" ], [ "comment", "# package - Easy package.json exports.\n" ], [ "line", "## Intro\n" ], [ "comment", "## Intro\n" ], [ "line", "This module provides an easy way to export package.json data.\n" ], [ "extra", "This module provides an easy way to export package.json data.\n" ], [ "line", "It contains auto-discovery functionality, which means that it will\n" ], [ "extra", "It contains auto-discovery functionality, which means that it will\n" ], [ "line", "find your package.json file automatically. Cool, ugh?\n" ], [ "extra", "find your package.json file automatically. Cool, ugh?\n" ], [ "line", "## Installation\n" ], [ "comment", "## Installation\n" ], [ "line", " # Subtest: npm install package line\n" ], [ "line", " $ npm install package\n" ], [ "line", "## Usage\n" ], [ "comment", "## Usage\n" ], [ "line", " var package = require('package')(); // contains package.json data.\n" ], [ "line", " var yourAwesomeModule = {};\n" ], [ "line", " yourAwesomeModule.version = package.version;\n" ], [ "line", "## Contribution\n" ], [ "comment", "## Contribution\n" ], [ "line", "Bug fixes and features are welcomed.\n" ], [ "extra", "Bug fixes and features are welcomed.\n" ], [ "line", "## Other similar modules\n" ], [ "comment", "## Other similar modules\n" ], [ "line", "- pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero.\n" ], [ "extra", "- pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero.\n" ], [ "line", "- JSON.parse + fs.readFile\n" ], [ "extra", "- JSON.parse + fs.readFile\n" ], [ "line", "## License\n" ], [ "comment", "## License\n" ], [ "line", "MIT License\n" ], [ "extra", "MIT License\n" ], [ "line", "Copyright (C) 2011 Veselin Todorov\n" ], [ "extra", "Copyright (C) 2011 Veselin Todorov\n" ], [ "line", "Permission is hereby granted, free of charge, to any person obtaining a copy of\n" ], [ "extra", "Permission is hereby granted, free of charge, to any person obtaining a copy of\n" ], [ "line", "this software and associated documentation files (the \"Software\"), to deal in\n" ], [ "extra", "this software and associated documentation files (the \"Software\"), to deal in\n" ], [ "line", "the Software without restriction, including without limitation the rights to\n" ], [ "extra", "the Software without restriction, including without limitation the rights to\n" ], [ "line", "use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\n" ], [ "extra", "use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\n" ], [ "line", "of the Software, and to permit persons to whom the Software is furnished to do\n" ], [ "extra", "of the Software, and to permit persons to whom the Software is furnished to do\n" ], [ "line", "so, subject to the following conditions:\n" ], [ "extra", "so, subject to the following conditions:\n" ], [ "line", "The above copyright notice and this permission notice shall be included in all\n" ], [ "extra", "The above copyright notice and this permission notice shall be included in all\n" ], [ "line", "copies or substantial portions of the Software.\n" ], [ "extra", "copies or substantial portions of the Software.\n" ], [ "line", "THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n" ], [ "extra", "THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n" ], [ "line", "IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n" ], [ "extra", "IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n" ], [ "line", "FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n" ], [ "extra", "FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n" ], [ "line", "AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n" ], [ "extra", "AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n" ], [ "line", "LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n" ], [ "extra", "LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n" ], [ "line", "OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n" ], [ "extra", "OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n" ], [ "line", "SOFTWARE.\n" ], [ "extra", "SOFTWARE.\n" ], [ "line", " 1..0\n" ], [ "line", " 1..0 # no tests found\n" ], [ "line", " 1..0 # no tests found\n" ], [ "line", "ok 1 - boom # time=5.26ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 5.26, "name": "boom" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=12.555ms\n" ], [ "comment", "# time=12.555ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: boom\n" ], [ "line", " # package - Easy package.json exports.\n" ], [ "line", " ## Intro\n" ], [ "line", " This module provides an easy way to export package.json data.\n" ], [ "line", " It contains auto-discovery functionality, which means that it will\n" ], [ "line", " find your package.json file automatically. Cool, ugh?\n" ], [ "line", " ## Installation\n" ], [ "line", " # Subtest: npm install package line\n" ], [ "line", " $ npm install package\n" ], [ "line", " ## Usage\n" ], [ "line", " var package = require('package')(); // contains package.json data.\n" ], [ "line", " var yourAwesomeModule = {};\n" ], [ "line", " yourAwesomeModule.version = package.version;\n" ], [ "line", " ## Contribution\n" ], [ "line", " Bug fixes and features are welcomed.\n" ], [ "line", " ## Other similar modules\n" ], [ "line", " - pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero.\n" ], [ "line", " - JSON.parse + fs.readFile\n" ], [ "line", " ## License\n" ], [ "line", " MIT License\n" ], [ "line", " Copyright (C) 2011 Veselin Todorov\n" ], [ "line", " Permission is hereby granted, free of charge, to any person obtaining a copy of\n" ], [ "line", " this software and associated documentation files (the \"Software\"), to deal in\n" ], [ "line", " the Software without restriction, including without limitation the rights to\n" ], [ "line", " use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\n" ], [ "line", " of the Software, and to permit persons to whom the Software is furnished to do\n" ], [ "line", " so, subject to the following conditions:\n" ], [ "line", " The above copyright notice and this permission notice shall be included in all\n" ], [ "line", " copies or substantial portions of the Software.\n" ], [ "line", " THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n" ], [ "line", " IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n" ], [ "line", " FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n" ], [ "line", " AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n" ], [ "line", " LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n" ], [ "line", " OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n" ], [ "line", " SOFTWARE.\n" ], [ "line", " 1..0\n" ], [ "line", " 1..0 # no tests found\n" ], [ "line", " 1..0 # no tests found\n" ], [ "line", " ok 1 - boom # time=5.26ms\n" ], [ "line", " 1..1\n" ], [ "line", " # time=12.555ms\n" ], [ "line", "not ok 1 - index.js # time=201.609ms\n" ], [ "line", " ---\n" ], [ "line", " arguments:\n" ], [ "line", " - index.js\n" ], [ "line", " timeout: 30000\n" ], [ "line", " results:\n" ], [ "line", " ok: false\n" ], [ "line", " count: 1\n" ], [ "line", " pass: 1\n" ], [ "line", " plan:\n" ], [ "line", " start: 1\n" ], [ "line", " end: 1\n" ], [ "line", " command: /usr/local/bin/iojs\n" ], [ "line", " file: index.js\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "time": 201.609, "name": "index.js", "diag": { "arguments": [ "index.js" ], "timeout": 30000, "results": { "ok": false, "count": 1, "pass": 1, "plan": { "start": 1, "end": 1 } }, "command": "/usr/local/bin/iojs", "file": "index.js" } } ], [ "line", "Bail out! # index.js\n" ], [ "bailout", "# index.js" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# index.js", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "time": 201.609, "name": "index.js", "diag": { "arguments": [ "index.js" ], "timeout": 30000, "results": { "ok": false, "count": 1, "pass": 1, "plan": { "start": 1, "end": 1 } }, "command": "/usr/local/bin/iojs", "file": "index.js" } } ] } ] ] tap-parser-7.0.0/test/fixtures/indented-stdout-noise--omitversion.json000066400000000000000000000406761320135610000262010ustar00rootroot00000000000000[ [ "line", "# Subtest: index.js\n" ], [ "child", [ [ "comment", "# Subtest: index.js\n" ], [ "line", "# Subtest: boom\n" ], [ "child", [ [ "comment", "# Subtest: boom\n" ], [ "line", "# Subtest: npm install package line\n" ], [ "child", [ [ "comment", "# Subtest: npm install package line\n" ], [ "line", "$ npm install package\n" ], [ "extra", "$ npm install package\n" ], [ "line", "var package = require('package')(); // contains package.json data.\n" ], [ "extra", "var package = require('package')(); // contains package.json data.\n" ], [ "line", "var yourAwesomeModule = {};\n" ], [ "extra", "var yourAwesomeModule = {};\n" ], [ "line", "yourAwesomeModule.version = package.version;\n" ], [ "extra", "yourAwesomeModule.version = package.version;\n" ], [ "line", "1..0 # no tests found\n" ], [ "plan", { "start": 1, "end": 0, "comment": "no tests found" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "no tests found", "comment": "no tests found" }, "failures": [] } ] ] ], [ "line", " $ npm install package\n" ], [ "line", " var package = require('package')(); // contains package.json data.\n" ], [ "line", " var yourAwesomeModule = {};\n" ], [ "line", " yourAwesomeModule.version = package.version;\n" ], [ "line", "1..0\n" ], [ "extra", "1..0\n" ], [ "line", " 1..0 # no tests found\n" ], [ "line", "1..0 # no tests found\n" ], [ "plan", { "start": 1, "end": 0, "comment": "no tests found" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "no tests found", "comment": "no tests found" }, "failures": [] } ] ] ], [ "line", "# package - Easy package.json exports.\n" ], [ "comment", "# package - Easy package.json exports.\n" ], [ "line", "## Intro\n" ], [ "comment", "## Intro\n" ], [ "line", "This module provides an easy way to export package.json data.\n" ], [ "extra", "This module provides an easy way to export package.json data.\n" ], [ "line", "It contains auto-discovery functionality, which means that it will\n" ], [ "extra", "It contains auto-discovery functionality, which means that it will\n" ], [ "line", "find your package.json file automatically. Cool, ugh?\n" ], [ "extra", "find your package.json file automatically. Cool, ugh?\n" ], [ "line", "## Installation\n" ], [ "comment", "## Installation\n" ], [ "line", " # Subtest: npm install package line\n" ], [ "line", " $ npm install package\n" ], [ "line", "## Usage\n" ], [ "comment", "## Usage\n" ], [ "line", " var package = require('package')(); // contains package.json data.\n" ], [ "line", " var yourAwesomeModule = {};\n" ], [ "line", " yourAwesomeModule.version = package.version;\n" ], [ "line", "## Contribution\n" ], [ "comment", "## Contribution\n" ], [ "line", "Bug fixes and features are welcomed.\n" ], [ "extra", "Bug fixes and features are welcomed.\n" ], [ "line", "## Other similar modules\n" ], [ "comment", "## Other similar modules\n" ], [ "line", "- pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero.\n" ], [ "extra", "- pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero.\n" ], [ "line", "- JSON.parse + fs.readFile\n" ], [ "extra", "- JSON.parse + fs.readFile\n" ], [ "line", "## License\n" ], [ "comment", "## License\n" ], [ "line", "MIT License\n" ], [ "extra", "MIT License\n" ], [ "line", "Copyright (C) 2011 Veselin Todorov\n" ], [ "extra", "Copyright (C) 2011 Veselin Todorov\n" ], [ "line", "Permission is hereby granted, free of charge, to any person obtaining a copy of\n" ], [ "extra", "Permission is hereby granted, free of charge, to any person obtaining a copy of\n" ], [ "line", "this software and associated documentation files (the \"Software\"), to deal in\n" ], [ "extra", "this software and associated documentation files (the \"Software\"), to deal in\n" ], [ "line", "the Software without restriction, including without limitation the rights to\n" ], [ "extra", "the Software without restriction, including without limitation the rights to\n" ], [ "line", "use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\n" ], [ "extra", "use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\n" ], [ "line", "of the Software, and to permit persons to whom the Software is furnished to do\n" ], [ "extra", "of the Software, and to permit persons to whom the Software is furnished to do\n" ], [ "line", "so, subject to the following conditions:\n" ], [ "extra", "so, subject to the following conditions:\n" ], [ "line", "The above copyright notice and this permission notice shall be included in all\n" ], [ "extra", "The above copyright notice and this permission notice shall be included in all\n" ], [ "line", "copies or substantial portions of the Software.\n" ], [ "extra", "copies or substantial portions of the Software.\n" ], [ "line", "THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n" ], [ "extra", "THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n" ], [ "line", "IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n" ], [ "extra", "IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n" ], [ "line", "FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n" ], [ "extra", "FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n" ], [ "line", "AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n" ], [ "extra", "AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n" ], [ "line", "LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n" ], [ "extra", "LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n" ], [ "line", "OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n" ], [ "extra", "OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n" ], [ "line", "SOFTWARE.\n" ], [ "extra", "SOFTWARE.\n" ], [ "line", " 1..0\n" ], [ "line", " 1..0 # no tests found\n" ], [ "line", " 1..0 # no tests found\n" ], [ "line", "ok 1 - boom # time=5.26ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 5.26, "name": "boom" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=12.555ms\n" ], [ "comment", "# time=12.555ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: boom\n" ], [ "line", " # package - Easy package.json exports.\n" ], [ "line", " ## Intro\n" ], [ "line", " This module provides an easy way to export package.json data.\n" ], [ "line", " It contains auto-discovery functionality, which means that it will\n" ], [ "line", " find your package.json file automatically. Cool, ugh?\n" ], [ "line", " ## Installation\n" ], [ "line", " # Subtest: npm install package line\n" ], [ "line", " $ npm install package\n" ], [ "line", " ## Usage\n" ], [ "line", " var package = require('package')(); // contains package.json data.\n" ], [ "line", " var yourAwesomeModule = {};\n" ], [ "line", " yourAwesomeModule.version = package.version;\n" ], [ "line", " ## Contribution\n" ], [ "line", " Bug fixes and features are welcomed.\n" ], [ "line", " ## Other similar modules\n" ], [ "line", " - pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero.\n" ], [ "line", " - JSON.parse + fs.readFile\n" ], [ "line", " ## License\n" ], [ "line", " MIT License\n" ], [ "line", " Copyright (C) 2011 Veselin Todorov\n" ], [ "line", " Permission is hereby granted, free of charge, to any person obtaining a copy of\n" ], [ "line", " this software and associated documentation files (the \"Software\"), to deal in\n" ], [ "line", " the Software without restriction, including without limitation the rights to\n" ], [ "line", " use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\n" ], [ "line", " of the Software, and to permit persons to whom the Software is furnished to do\n" ], [ "line", " so, subject to the following conditions:\n" ], [ "line", " The above copyright notice and this permission notice shall be included in all\n" ], [ "line", " copies or substantial portions of the Software.\n" ], [ "line", " THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n" ], [ "line", " IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n" ], [ "line", " FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n" ], [ "line", " AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n" ], [ "line", " LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n" ], [ "line", " OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n" ], [ "line", " SOFTWARE.\n" ], [ "line", " 1..0\n" ], [ "line", " 1..0 # no tests found\n" ], [ "line", " 1..0 # no tests found\n" ], [ "line", " ok 1 - boom # time=5.26ms\n" ], [ "line", " 1..1\n" ], [ "line", " # time=12.555ms\n" ], [ "line", "not ok 1 - index.js # time=201.609ms\n" ], [ "line", " ---\n" ], [ "line", " arguments:\n" ], [ "line", " - index.js\n" ], [ "line", " timeout: 30000\n" ], [ "line", " results:\n" ], [ "line", " ok: false\n" ], [ "line", " count: 1\n" ], [ "line", " pass: 1\n" ], [ "line", " plan:\n" ], [ "line", " start: 1\n" ], [ "line", " end: 1\n" ], [ "line", " command: /usr/local/bin/iojs\n" ], [ "line", " file: index.js\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "time": 201.609, "name": "index.js", "diag": { "arguments": [ "index.js" ], "timeout": 30000, "results": { "ok": false, "count": 1, "pass": 1, "plan": { "start": 1, "end": 1 } }, "command": "/usr/local/bin/iojs", "file": "index.js" } } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 of 1 tests\n" ], [ "comment", "# failed 1 of 1 tests\n" ], [ "line", "# time=209.666ms\n" ], [ "comment", "# time=209.666ms\n" ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "time": 201.609, "name": "index.js", "diag": { "arguments": [ "index.js" ], "timeout": 30000, "results": { "ok": false, "count": 1, "pass": 1, "plan": { "start": 1, "end": 1 } }, "command": "/usr/local/bin/iojs", "file": "index.js" } } ] } ] ] tap-parser-7.0.0/test/fixtures/indented-stdout-noise--preservewhite--omitversion.json000066400000000000000000000406761320135610000311500ustar00rootroot00000000000000[ [ "line", "# Subtest: index.js\n" ], [ "child", [ [ "comment", "# Subtest: index.js\n" ], [ "line", "# Subtest: boom\n" ], [ "child", [ [ "comment", "# Subtest: boom\n" ], [ "line", "# Subtest: npm install package line\n" ], [ "child", [ [ "comment", "# Subtest: npm install package line\n" ], [ "line", "$ npm install package\n" ], [ "extra", "$ npm install package\n" ], [ "line", "var package = require('package')(); // contains package.json data.\n" ], [ "extra", "var package = require('package')(); // contains package.json data.\n" ], [ "line", "var yourAwesomeModule = {};\n" ], [ "extra", "var yourAwesomeModule = {};\n" ], [ "line", "yourAwesomeModule.version = package.version;\n" ], [ "extra", "yourAwesomeModule.version = package.version;\n" ], [ "line", "1..0 # no tests found\n" ], [ "plan", { "start": 1, "end": 0, "comment": "no tests found" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "no tests found", "comment": "no tests found" }, "failures": [] } ] ] ], [ "line", " $ npm install package\n" ], [ "line", " var package = require('package')(); // contains package.json data.\n" ], [ "line", " var yourAwesomeModule = {};\n" ], [ "line", " yourAwesomeModule.version = package.version;\n" ], [ "line", "1..0\n" ], [ "extra", "1..0\n" ], [ "line", " 1..0 # no tests found\n" ], [ "line", "1..0 # no tests found\n" ], [ "plan", { "start": 1, "end": 0, "comment": "no tests found" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "no tests found", "comment": "no tests found" }, "failures": [] } ] ] ], [ "line", "# package - Easy package.json exports.\n" ], [ "comment", "# package - Easy package.json exports.\n" ], [ "line", "## Intro\n" ], [ "comment", "## Intro\n" ], [ "line", "This module provides an easy way to export package.json data.\n" ], [ "extra", "This module provides an easy way to export package.json data.\n" ], [ "line", "It contains auto-discovery functionality, which means that it will\n" ], [ "extra", "It contains auto-discovery functionality, which means that it will\n" ], [ "line", "find your package.json file automatically. Cool, ugh?\n" ], [ "extra", "find your package.json file automatically. Cool, ugh?\n" ], [ "line", "## Installation\n" ], [ "comment", "## Installation\n" ], [ "line", " # Subtest: npm install package line\n" ], [ "line", " $ npm install package\n" ], [ "line", "## Usage\n" ], [ "comment", "## Usage\n" ], [ "line", " var package = require('package')(); // contains package.json data.\n" ], [ "line", " var yourAwesomeModule = {};\n" ], [ "line", " yourAwesomeModule.version = package.version;\n" ], [ "line", "## Contribution\n" ], [ "comment", "## Contribution\n" ], [ "line", "Bug fixes and features are welcomed.\n" ], [ "extra", "Bug fixes and features are welcomed.\n" ], [ "line", "## Other similar modules\n" ], [ "comment", "## Other similar modules\n" ], [ "line", "- pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero.\n" ], [ "extra", "- pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero.\n" ], [ "line", "- JSON.parse + fs.readFile\n" ], [ "extra", "- JSON.parse + fs.readFile\n" ], [ "line", "## License\n" ], [ "comment", "## License\n" ], [ "line", "MIT License\n" ], [ "extra", "MIT License\n" ], [ "line", "Copyright (C) 2011 Veselin Todorov\n" ], [ "extra", "Copyright (C) 2011 Veselin Todorov\n" ], [ "line", "Permission is hereby granted, free of charge, to any person obtaining a copy of\n" ], [ "extra", "Permission is hereby granted, free of charge, to any person obtaining a copy of\n" ], [ "line", "this software and associated documentation files (the \"Software\"), to deal in\n" ], [ "extra", "this software and associated documentation files (the \"Software\"), to deal in\n" ], [ "line", "the Software without restriction, including without limitation the rights to\n" ], [ "extra", "the Software without restriction, including without limitation the rights to\n" ], [ "line", "use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\n" ], [ "extra", "use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\n" ], [ "line", "of the Software, and to permit persons to whom the Software is furnished to do\n" ], [ "extra", "of the Software, and to permit persons to whom the Software is furnished to do\n" ], [ "line", "so, subject to the following conditions:\n" ], [ "extra", "so, subject to the following conditions:\n" ], [ "line", "The above copyright notice and this permission notice shall be included in all\n" ], [ "extra", "The above copyright notice and this permission notice shall be included in all\n" ], [ "line", "copies or substantial portions of the Software.\n" ], [ "extra", "copies or substantial portions of the Software.\n" ], [ "line", "THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n" ], [ "extra", "THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n" ], [ "line", "IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n" ], [ "extra", "IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n" ], [ "line", "FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n" ], [ "extra", "FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n" ], [ "line", "AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n" ], [ "extra", "AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n" ], [ "line", "LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n" ], [ "extra", "LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n" ], [ "line", "OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n" ], [ "extra", "OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n" ], [ "line", "SOFTWARE.\n" ], [ "extra", "SOFTWARE.\n" ], [ "line", " 1..0\n" ], [ "line", " 1..0 # no tests found\n" ], [ "line", " 1..0 # no tests found\n" ], [ "line", "ok 1 - boom # time=5.26ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 5.26, "name": "boom" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=12.555ms\n" ], [ "comment", "# time=12.555ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: boom\n" ], [ "line", " # package - Easy package.json exports.\n" ], [ "line", " ## Intro\n" ], [ "line", " This module provides an easy way to export package.json data.\n" ], [ "line", " It contains auto-discovery functionality, which means that it will\n" ], [ "line", " find your package.json file automatically. Cool, ugh?\n" ], [ "line", " ## Installation\n" ], [ "line", " # Subtest: npm install package line\n" ], [ "line", " $ npm install package\n" ], [ "line", " ## Usage\n" ], [ "line", " var package = require('package')(); // contains package.json data.\n" ], [ "line", " var yourAwesomeModule = {};\n" ], [ "line", " yourAwesomeModule.version = package.version;\n" ], [ "line", " ## Contribution\n" ], [ "line", " Bug fixes and features are welcomed.\n" ], [ "line", " ## Other similar modules\n" ], [ "line", " - pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero.\n" ], [ "line", " - JSON.parse + fs.readFile\n" ], [ "line", " ## License\n" ], [ "line", " MIT License\n" ], [ "line", " Copyright (C) 2011 Veselin Todorov\n" ], [ "line", " Permission is hereby granted, free of charge, to any person obtaining a copy of\n" ], [ "line", " this software and associated documentation files (the \"Software\"), to deal in\n" ], [ "line", " the Software without restriction, including without limitation the rights to\n" ], [ "line", " use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\n" ], [ "line", " of the Software, and to permit persons to whom the Software is furnished to do\n" ], [ "line", " so, subject to the following conditions:\n" ], [ "line", " The above copyright notice and this permission notice shall be included in all\n" ], [ "line", " copies or substantial portions of the Software.\n" ], [ "line", " THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n" ], [ "line", " IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n" ], [ "line", " FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n" ], [ "line", " AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n" ], [ "line", " LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n" ], [ "line", " OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n" ], [ "line", " SOFTWARE.\n" ], [ "line", " 1..0\n" ], [ "line", " 1..0 # no tests found\n" ], [ "line", " 1..0 # no tests found\n" ], [ "line", " ok 1 - boom # time=5.26ms\n" ], [ "line", " 1..1\n" ], [ "line", " # time=12.555ms\n" ], [ "line", "not ok 1 - index.js # time=201.609ms\n" ], [ "line", " ---\n" ], [ "line", " arguments:\n" ], [ "line", " - index.js\n" ], [ "line", " timeout: 30000\n" ], [ "line", " results:\n" ], [ "line", " ok: false\n" ], [ "line", " count: 1\n" ], [ "line", " pass: 1\n" ], [ "line", " plan:\n" ], [ "line", " start: 1\n" ], [ "line", " end: 1\n" ], [ "line", " command: /usr/local/bin/iojs\n" ], [ "line", " file: index.js\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "time": 201.609, "name": "index.js", "diag": { "arguments": [ "index.js" ], "timeout": 30000, "results": { "ok": false, "count": 1, "pass": 1, "plan": { "start": 1, "end": 1 } }, "command": "/usr/local/bin/iojs", "file": "index.js" } } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 of 1 tests\n" ], [ "comment", "# failed 1 of 1 tests\n" ], [ "line", "# time=209.666ms\n" ], [ "comment", "# time=209.666ms\n" ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "time": 201.609, "name": "index.js", "diag": { "arguments": [ "index.js" ], "timeout": 30000, "results": { "ok": false, "count": 1, "pass": 1, "plan": { "start": 1, "end": 1 } }, "command": "/usr/local/bin/iojs", "file": "index.js" } } ] } ] ] tap-parser-7.0.0/test/fixtures/indented-stdout-noise--preservewhite.json000066400000000000000000000410111320135610000264770ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: index.js\n" ], [ "child", [ [ "comment", "# Subtest: index.js\n" ], [ "line", "# Subtest: boom\n" ], [ "child", [ [ "comment", "# Subtest: boom\n" ], [ "line", "# Subtest: npm install package line\n" ], [ "child", [ [ "comment", "# Subtest: npm install package line\n" ], [ "line", "$ npm install package\n" ], [ "extra", "$ npm install package\n" ], [ "line", "var package = require('package')(); // contains package.json data.\n" ], [ "extra", "var package = require('package')(); // contains package.json data.\n" ], [ "line", "var yourAwesomeModule = {};\n" ], [ "extra", "var yourAwesomeModule = {};\n" ], [ "line", "yourAwesomeModule.version = package.version;\n" ], [ "extra", "yourAwesomeModule.version = package.version;\n" ], [ "line", "1..0 # no tests found\n" ], [ "plan", { "start": 1, "end": 0, "comment": "no tests found" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "no tests found", "comment": "no tests found" }, "failures": [] } ] ] ], [ "line", " $ npm install package\n" ], [ "line", " var package = require('package')(); // contains package.json data.\n" ], [ "line", " var yourAwesomeModule = {};\n" ], [ "line", " yourAwesomeModule.version = package.version;\n" ], [ "line", "1..0\n" ], [ "extra", "1..0\n" ], [ "line", " 1..0 # no tests found\n" ], [ "line", "1..0 # no tests found\n" ], [ "plan", { "start": 1, "end": 0, "comment": "no tests found" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "no tests found", "comment": "no tests found" }, "failures": [] } ] ] ], [ "line", "# package - Easy package.json exports.\n" ], [ "comment", "# package - Easy package.json exports.\n" ], [ "line", "## Intro\n" ], [ "comment", "## Intro\n" ], [ "line", "This module provides an easy way to export package.json data.\n" ], [ "extra", "This module provides an easy way to export package.json data.\n" ], [ "line", "It contains auto-discovery functionality, which means that it will\n" ], [ "extra", "It contains auto-discovery functionality, which means that it will\n" ], [ "line", "find your package.json file automatically. Cool, ugh?\n" ], [ "extra", "find your package.json file automatically. Cool, ugh?\n" ], [ "line", "## Installation\n" ], [ "comment", "## Installation\n" ], [ "line", " # Subtest: npm install package line\n" ], [ "line", " $ npm install package\n" ], [ "line", "## Usage\n" ], [ "comment", "## Usage\n" ], [ "line", " var package = require('package')(); // contains package.json data.\n" ], [ "line", " var yourAwesomeModule = {};\n" ], [ "line", " yourAwesomeModule.version = package.version;\n" ], [ "line", "## Contribution\n" ], [ "comment", "## Contribution\n" ], [ "line", "Bug fixes and features are welcomed.\n" ], [ "extra", "Bug fixes and features are welcomed.\n" ], [ "line", "## Other similar modules\n" ], [ "comment", "## Other similar modules\n" ], [ "line", "- pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero.\n" ], [ "extra", "- pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero.\n" ], [ "line", "- JSON.parse + fs.readFile\n" ], [ "extra", "- JSON.parse + fs.readFile\n" ], [ "line", "## License\n" ], [ "comment", "## License\n" ], [ "line", "MIT License\n" ], [ "extra", "MIT License\n" ], [ "line", "Copyright (C) 2011 Veselin Todorov\n" ], [ "extra", "Copyright (C) 2011 Veselin Todorov\n" ], [ "line", "Permission is hereby granted, free of charge, to any person obtaining a copy of\n" ], [ "extra", "Permission is hereby granted, free of charge, to any person obtaining a copy of\n" ], [ "line", "this software and associated documentation files (the \"Software\"), to deal in\n" ], [ "extra", "this software and associated documentation files (the \"Software\"), to deal in\n" ], [ "line", "the Software without restriction, including without limitation the rights to\n" ], [ "extra", "the Software without restriction, including without limitation the rights to\n" ], [ "line", "use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\n" ], [ "extra", "use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\n" ], [ "line", "of the Software, and to permit persons to whom the Software is furnished to do\n" ], [ "extra", "of the Software, and to permit persons to whom the Software is furnished to do\n" ], [ "line", "so, subject to the following conditions:\n" ], [ "extra", "so, subject to the following conditions:\n" ], [ "line", "The above copyright notice and this permission notice shall be included in all\n" ], [ "extra", "The above copyright notice and this permission notice shall be included in all\n" ], [ "line", "copies or substantial portions of the Software.\n" ], [ "extra", "copies or substantial portions of the Software.\n" ], [ "line", "THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n" ], [ "extra", "THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n" ], [ "line", "IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n" ], [ "extra", "IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n" ], [ "line", "FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n" ], [ "extra", "FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n" ], [ "line", "AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n" ], [ "extra", "AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n" ], [ "line", "LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n" ], [ "extra", "LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n" ], [ "line", "OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n" ], [ "extra", "OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n" ], [ "line", "SOFTWARE.\n" ], [ "extra", "SOFTWARE.\n" ], [ "line", " 1..0\n" ], [ "line", " 1..0 # no tests found\n" ], [ "line", " 1..0 # no tests found\n" ], [ "line", "ok 1 - boom # time=5.26ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 5.26, "name": "boom" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=12.555ms\n" ], [ "comment", "# time=12.555ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: boom\n" ], [ "line", " # package - Easy package.json exports.\n" ], [ "line", " ## Intro\n" ], [ "line", " This module provides an easy way to export package.json data.\n" ], [ "line", " It contains auto-discovery functionality, which means that it will\n" ], [ "line", " find your package.json file automatically. Cool, ugh?\n" ], [ "line", " ## Installation\n" ], [ "line", " # Subtest: npm install package line\n" ], [ "line", " $ npm install package\n" ], [ "line", " ## Usage\n" ], [ "line", " var package = require('package')(); // contains package.json data.\n" ], [ "line", " var yourAwesomeModule = {};\n" ], [ "line", " yourAwesomeModule.version = package.version;\n" ], [ "line", " ## Contribution\n" ], [ "line", " Bug fixes and features are welcomed.\n" ], [ "line", " ## Other similar modules\n" ], [ "line", " - pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero.\n" ], [ "line", " - JSON.parse + fs.readFile\n" ], [ "line", " ## License\n" ], [ "line", " MIT License\n" ], [ "line", " Copyright (C) 2011 Veselin Todorov\n" ], [ "line", " Permission is hereby granted, free of charge, to any person obtaining a copy of\n" ], [ "line", " this software and associated documentation files (the \"Software\"), to deal in\n" ], [ "line", " the Software without restriction, including without limitation the rights to\n" ], [ "line", " use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\n" ], [ "line", " of the Software, and to permit persons to whom the Software is furnished to do\n" ], [ "line", " so, subject to the following conditions:\n" ], [ "line", " The above copyright notice and this permission notice shall be included in all\n" ], [ "line", " copies or substantial portions of the Software.\n" ], [ "line", " THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n" ], [ "line", " IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n" ], [ "line", " FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n" ], [ "line", " AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n" ], [ "line", " LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n" ], [ "line", " OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n" ], [ "line", " SOFTWARE.\n" ], [ "line", " 1..0\n" ], [ "line", " 1..0 # no tests found\n" ], [ "line", " 1..0 # no tests found\n" ], [ "line", " ok 1 - boom # time=5.26ms\n" ], [ "line", " 1..1\n" ], [ "line", " # time=12.555ms\n" ], [ "line", "not ok 1 - index.js # time=201.609ms\n" ], [ "line", " ---\n" ], [ "line", " arguments:\n" ], [ "line", " - index.js\n" ], [ "line", " timeout: 30000\n" ], [ "line", " results:\n" ], [ "line", " ok: false\n" ], [ "line", " count: 1\n" ], [ "line", " pass: 1\n" ], [ "line", " plan:\n" ], [ "line", " start: 1\n" ], [ "line", " end: 1\n" ], [ "line", " command: /usr/local/bin/iojs\n" ], [ "line", " file: index.js\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "time": 201.609, "name": "index.js", "diag": { "arguments": [ "index.js" ], "timeout": 30000, "results": { "ok": false, "count": 1, "pass": 1, "plan": { "start": 1, "end": 1 } }, "command": "/usr/local/bin/iojs", "file": "index.js" } } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 of 1 tests\n" ], [ "comment", "# failed 1 of 1 tests\n" ], [ "line", "# time=209.666ms\n" ], [ "comment", "# time=209.666ms\n" ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "time": 201.609, "name": "index.js", "diag": { "arguments": [ "index.js" ], "timeout": 30000, "results": { "ok": false, "count": 1, "pass": 1, "plan": { "start": 1, "end": 1 } }, "command": "/usr/local/bin/iojs", "file": "index.js" } } ] } ] ] tap-parser-7.0.0/test/fixtures/indented-stdout-noise.json000066400000000000000000000410111320135610000235300ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: index.js\n" ], [ "child", [ [ "comment", "# Subtest: index.js\n" ], [ "line", "# Subtest: boom\n" ], [ "child", [ [ "comment", "# Subtest: boom\n" ], [ "line", "# Subtest: npm install package line\n" ], [ "child", [ [ "comment", "# Subtest: npm install package line\n" ], [ "line", "$ npm install package\n" ], [ "extra", "$ npm install package\n" ], [ "line", "var package = require('package')(); // contains package.json data.\n" ], [ "extra", "var package = require('package')(); // contains package.json data.\n" ], [ "line", "var yourAwesomeModule = {};\n" ], [ "extra", "var yourAwesomeModule = {};\n" ], [ "line", "yourAwesomeModule.version = package.version;\n" ], [ "extra", "yourAwesomeModule.version = package.version;\n" ], [ "line", "1..0 # no tests found\n" ], [ "plan", { "start": 1, "end": 0, "comment": "no tests found" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "no tests found", "comment": "no tests found" }, "failures": [] } ] ] ], [ "line", " $ npm install package\n" ], [ "line", " var package = require('package')(); // contains package.json data.\n" ], [ "line", " var yourAwesomeModule = {};\n" ], [ "line", " yourAwesomeModule.version = package.version;\n" ], [ "line", "1..0\n" ], [ "extra", "1..0\n" ], [ "line", " 1..0 # no tests found\n" ], [ "line", "1..0 # no tests found\n" ], [ "plan", { "start": 1, "end": 0, "comment": "no tests found" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "no tests found", "comment": "no tests found" }, "failures": [] } ] ] ], [ "line", "# package - Easy package.json exports.\n" ], [ "comment", "# package - Easy package.json exports.\n" ], [ "line", "## Intro\n" ], [ "comment", "## Intro\n" ], [ "line", "This module provides an easy way to export package.json data.\n" ], [ "extra", "This module provides an easy way to export package.json data.\n" ], [ "line", "It contains auto-discovery functionality, which means that it will\n" ], [ "extra", "It contains auto-discovery functionality, which means that it will\n" ], [ "line", "find your package.json file automatically. Cool, ugh?\n" ], [ "extra", "find your package.json file automatically. Cool, ugh?\n" ], [ "line", "## Installation\n" ], [ "comment", "## Installation\n" ], [ "line", " # Subtest: npm install package line\n" ], [ "line", " $ npm install package\n" ], [ "line", "## Usage\n" ], [ "comment", "## Usage\n" ], [ "line", " var package = require('package')(); // contains package.json data.\n" ], [ "line", " var yourAwesomeModule = {};\n" ], [ "line", " yourAwesomeModule.version = package.version;\n" ], [ "line", "## Contribution\n" ], [ "comment", "## Contribution\n" ], [ "line", "Bug fixes and features are welcomed.\n" ], [ "extra", "Bug fixes and features are welcomed.\n" ], [ "line", "## Other similar modules\n" ], [ "comment", "## Other similar modules\n" ], [ "line", "- pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero.\n" ], [ "extra", "- pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero.\n" ], [ "line", "- JSON.parse + fs.readFile\n" ], [ "extra", "- JSON.parse + fs.readFile\n" ], [ "line", "## License\n" ], [ "comment", "## License\n" ], [ "line", "MIT License\n" ], [ "extra", "MIT License\n" ], [ "line", "Copyright (C) 2011 Veselin Todorov\n" ], [ "extra", "Copyright (C) 2011 Veselin Todorov\n" ], [ "line", "Permission is hereby granted, free of charge, to any person obtaining a copy of\n" ], [ "extra", "Permission is hereby granted, free of charge, to any person obtaining a copy of\n" ], [ "line", "this software and associated documentation files (the \"Software\"), to deal in\n" ], [ "extra", "this software and associated documentation files (the \"Software\"), to deal in\n" ], [ "line", "the Software without restriction, including without limitation the rights to\n" ], [ "extra", "the Software without restriction, including without limitation the rights to\n" ], [ "line", "use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\n" ], [ "extra", "use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\n" ], [ "line", "of the Software, and to permit persons to whom the Software is furnished to do\n" ], [ "extra", "of the Software, and to permit persons to whom the Software is furnished to do\n" ], [ "line", "so, subject to the following conditions:\n" ], [ "extra", "so, subject to the following conditions:\n" ], [ "line", "The above copyright notice and this permission notice shall be included in all\n" ], [ "extra", "The above copyright notice and this permission notice shall be included in all\n" ], [ "line", "copies or substantial portions of the Software.\n" ], [ "extra", "copies or substantial portions of the Software.\n" ], [ "line", "THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n" ], [ "extra", "THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n" ], [ "line", "IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n" ], [ "extra", "IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n" ], [ "line", "FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n" ], [ "extra", "FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n" ], [ "line", "AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n" ], [ "extra", "AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n" ], [ "line", "LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n" ], [ "extra", "LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n" ], [ "line", "OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n" ], [ "extra", "OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n" ], [ "line", "SOFTWARE.\n" ], [ "extra", "SOFTWARE.\n" ], [ "line", " 1..0\n" ], [ "line", " 1..0 # no tests found\n" ], [ "line", " 1..0 # no tests found\n" ], [ "line", "ok 1 - boom # time=5.26ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 5.26, "name": "boom" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=12.555ms\n" ], [ "comment", "# time=12.555ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: boom\n" ], [ "line", " # package - Easy package.json exports.\n" ], [ "line", " ## Intro\n" ], [ "line", " This module provides an easy way to export package.json data.\n" ], [ "line", " It contains auto-discovery functionality, which means that it will\n" ], [ "line", " find your package.json file automatically. Cool, ugh?\n" ], [ "line", " ## Installation\n" ], [ "line", " # Subtest: npm install package line\n" ], [ "line", " $ npm install package\n" ], [ "line", " ## Usage\n" ], [ "line", " var package = require('package')(); // contains package.json data.\n" ], [ "line", " var yourAwesomeModule = {};\n" ], [ "line", " yourAwesomeModule.version = package.version;\n" ], [ "line", " ## Contribution\n" ], [ "line", " Bug fixes and features are welcomed.\n" ], [ "line", " ## Other similar modules\n" ], [ "line", " - pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero.\n" ], [ "line", " - JSON.parse + fs.readFile\n" ], [ "line", " ## License\n" ], [ "line", " MIT License\n" ], [ "line", " Copyright (C) 2011 Veselin Todorov\n" ], [ "line", " Permission is hereby granted, free of charge, to any person obtaining a copy of\n" ], [ "line", " this software and associated documentation files (the \"Software\"), to deal in\n" ], [ "line", " the Software without restriction, including without limitation the rights to\n" ], [ "line", " use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\n" ], [ "line", " of the Software, and to permit persons to whom the Software is furnished to do\n" ], [ "line", " so, subject to the following conditions:\n" ], [ "line", " The above copyright notice and this permission notice shall be included in all\n" ], [ "line", " copies or substantial portions of the Software.\n" ], [ "line", " THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n" ], [ "line", " IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n" ], [ "line", " FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n" ], [ "line", " AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n" ], [ "line", " LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n" ], [ "line", " OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n" ], [ "line", " SOFTWARE.\n" ], [ "line", " 1..0\n" ], [ "line", " 1..0 # no tests found\n" ], [ "line", " 1..0 # no tests found\n" ], [ "line", " ok 1 - boom # time=5.26ms\n" ], [ "line", " 1..1\n" ], [ "line", " # time=12.555ms\n" ], [ "line", "not ok 1 - index.js # time=201.609ms\n" ], [ "line", " ---\n" ], [ "line", " arguments:\n" ], [ "line", " - index.js\n" ], [ "line", " timeout: 30000\n" ], [ "line", " results:\n" ], [ "line", " ok: false\n" ], [ "line", " count: 1\n" ], [ "line", " pass: 1\n" ], [ "line", " plan:\n" ], [ "line", " start: 1\n" ], [ "line", " end: 1\n" ], [ "line", " command: /usr/local/bin/iojs\n" ], [ "line", " file: index.js\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "time": 201.609, "name": "index.js", "diag": { "arguments": [ "index.js" ], "timeout": 30000, "results": { "ok": false, "count": 1, "pass": 1, "plan": { "start": 1, "end": 1 } }, "command": "/usr/local/bin/iojs", "file": "index.js" } } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 of 1 tests\n" ], [ "comment", "# failed 1 of 1 tests\n" ], [ "line", "# time=209.666ms\n" ], [ "comment", "# time=209.666ms\n" ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "time": 201.609, "name": "index.js", "diag": { "arguments": [ "index.js" ], "timeout": 30000, "results": { "ok": false, "count": 1, "pass": 1, "plan": { "start": 1, "end": 1 } }, "command": "/usr/local/bin/iojs", "file": "index.js" } } ] } ] ] tap-parser-7.0.0/test/fixtures/indented-stdout-noise.tap000066400000000000000000000044561320135610000233570ustar00rootroot00000000000000TAP version 13 # Subtest: index.js TAP version 13 # Subtest: boom # package - Easy package.json exports. ## Intro This module provides an easy way to export package.json data. It contains auto-discovery functionality, which means that it will find your package.json file automatically. Cool, ugh? ## Installation # Subtest: npm install package line $ npm install package ## Usage var package = require('package')(); // contains package.json data. var yourAwesomeModule = {}; yourAwesomeModule.version = package.version; ## Contribution Bug fixes and features are welcomed. ## Other similar modules - pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero. - JSON.parse + fs.readFile ## License MIT License Copyright (C) 2011 Veselin Todorov Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 1..0 ok 1 - boom # time=5.26ms 1..1 # time=12.555ms not ok 1 - index.js # time=201.609ms --- arguments: - index.js timeout: 30000 results: ok: false count: 1 pass: 1 plan: start: 1 end: 1 command: /usr/local/bin/iojs file: index.js ... 1..1 # failed 1 of 1 tests # time=209.666ms tap-parser-7.0.0/test/fixtures/junk_before_plan--bail--omitversion.json000066400000000000000000000013111320135610000262200ustar00rootroot00000000000000[ [ "line", "this is junk\n" ], [ "extra", "this is junk\n" ], [ "line", "# this is a comment\n" ], [ "comment", "# this is a comment\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/junk_before_plan--bail--preservewhite--omitversion.json000066400000000000000000000013111320135610000311670ustar00rootroot00000000000000[ [ "line", "this is junk\n" ], [ "extra", "this is junk\n" ], [ "line", "# this is a comment\n" ], [ "comment", "# this is a comment\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/junk_before_plan--bail--preservewhite.json000066400000000000000000000013111320135610000265360ustar00rootroot00000000000000[ [ "line", "this is junk\n" ], [ "extra", "this is junk\n" ], [ "line", "# this is a comment\n" ], [ "comment", "# this is a comment\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/junk_before_plan--bail.json000066400000000000000000000013111320135610000235670ustar00rootroot00000000000000[ [ "line", "this is junk\n" ], [ "extra", "this is junk\n" ], [ "line", "# this is a comment\n" ], [ "comment", "# this is a comment\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/junk_before_plan--omitversion.json000066400000000000000000000013111320135610000252360ustar00rootroot00000000000000[ [ "line", "this is junk\n" ], [ "extra", "this is junk\n" ], [ "line", "# this is a comment\n" ], [ "comment", "# this is a comment\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/junk_before_plan--preservewhite--omitversion.json000066400000000000000000000013111320135610000302050ustar00rootroot00000000000000[ [ "line", "this is junk\n" ], [ "extra", "this is junk\n" ], [ "line", "# this is a comment\n" ], [ "comment", "# this is a comment\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/junk_before_plan--preservewhite.json000066400000000000000000000013111320135610000255540ustar00rootroot00000000000000[ [ "line", "this is junk\n" ], [ "extra", "this is junk\n" ], [ "line", "# this is a comment\n" ], [ "comment", "# this is a comment\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/junk_before_plan.json000066400000000000000000000013111320135610000226050ustar00rootroot00000000000000[ [ "line", "this is junk\n" ], [ "extra", "this is junk\n" ], [ "line", "# this is a comment\n" ], [ "comment", "# this is a comment\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/junk_before_plan.tap000066400000000000000000000000531320135610000224220ustar00rootroot00000000000000this is junk # this is a comment 1..1 ok 1 tap-parser-7.0.0/test/fixtures/line-break--bail--omitversion.json000066400000000000000000000104571320135610000247410ustar00rootroot00000000000000[ [ "line", "# Subtest: foo\n" ], [ "child", [ [ "comment", "# Subtest: foo\n" ], [ "line", "not ok 1 - should be equivalent\n" ], [ "line", " ---\n" ], [ "line", " found:\n" ], [ "line", " - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\n" ], [ "line", " wanted:\n" ], [ "line", " - >-\n" ], [ "line", " xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" ], [ "line", " \n" ], [ "line", " yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "should be equivalent", "diag": { "found": [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy" ], "wanted": [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\nyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy" ] } } ], [ "line", "Bail out! # should be equivalent\n" ], [ "bailout", "# should be equivalent" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# should be equivalent", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "should be equivalent", "diag": { "found": [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy" ], "wanted": [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\nyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy" ] } } ] } ] ] ], [ "line", " not ok 1 - should be equivalent\n" ], [ "line", " ---\n" ], [ "line", " found:\n" ], [ "line", " - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\n" ], [ "line", " wanted:\n" ], [ "line", " - >-\n" ], [ "line", " xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" ], [ "line", " \n" ], [ "line", " yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\n" ], [ "line", " ...\n" ], [ "line", " Bail out! # should be equivalent\n" ], [ "bailout", "# should be equivalent" ], [ "line", "Bail out! # should be equivalent\n" ], [ "complete", { "ok": false, "count": 0, "pass": 0, "fail": 0, "bailout": "# should be equivalent", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/line-break--bail--preservewhite--omitversion.json000066400000000000000000000104571320135610000277100ustar00rootroot00000000000000[ [ "line", "# Subtest: foo\n" ], [ "child", [ [ "comment", "# Subtest: foo\n" ], [ "line", "not ok 1 - should be equivalent\n" ], [ "line", " ---\n" ], [ "line", " found:\n" ], [ "line", " - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\n" ], [ "line", " wanted:\n" ], [ "line", " - >-\n" ], [ "line", " xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" ], [ "line", " \n" ], [ "line", " yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "should be equivalent", "diag": { "found": [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy" ], "wanted": [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\nyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy" ] } } ], [ "line", "Bail out! # should be equivalent\n" ], [ "bailout", "# should be equivalent" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# should be equivalent", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "should be equivalent", "diag": { "found": [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy" ], "wanted": [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\nyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy" ] } } ] } ] ] ], [ "line", " not ok 1 - should be equivalent\n" ], [ "line", " ---\n" ], [ "line", " found:\n" ], [ "line", " - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\n" ], [ "line", " wanted:\n" ], [ "line", " - >-\n" ], [ "line", " xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" ], [ "line", " \n" ], [ "line", " yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\n" ], [ "line", " ...\n" ], [ "line", " Bail out! # should be equivalent\n" ], [ "bailout", "# should be equivalent" ], [ "line", "Bail out! # should be equivalent\n" ], [ "complete", { "ok": false, "count": 0, "pass": 0, "fail": 0, "bailout": "# should be equivalent", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/line-break--bail--preservewhite.json000066400000000000000000000105721320135610000252550ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: foo\n" ], [ "child", [ [ "comment", "# Subtest: foo\n" ], [ "line", "not ok 1 - should be equivalent\n" ], [ "line", " ---\n" ], [ "line", " found:\n" ], [ "line", " - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\n" ], [ "line", " wanted:\n" ], [ "line", " - >-\n" ], [ "line", " xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" ], [ "line", " \n" ], [ "line", " yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "should be equivalent", "diag": { "found": [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy" ], "wanted": [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\nyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy" ] } } ], [ "line", "Bail out! # should be equivalent\n" ], [ "bailout", "# should be equivalent" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# should be equivalent", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "should be equivalent", "diag": { "found": [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy" ], "wanted": [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\nyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy" ] } } ] } ] ] ], [ "line", " not ok 1 - should be equivalent\n" ], [ "line", " ---\n" ], [ "line", " found:\n" ], [ "line", " - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\n" ], [ "line", " wanted:\n" ], [ "line", " - >-\n" ], [ "line", " xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" ], [ "line", " \n" ], [ "line", " yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\n" ], [ "line", " ...\n" ], [ "line", " Bail out! # should be equivalent\n" ], [ "bailout", "# should be equivalent" ], [ "line", "Bail out! # should be equivalent\n" ], [ "complete", { "ok": false, "count": 0, "pass": 0, "fail": 0, "bailout": "# should be equivalent", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/line-break--bail.json000066400000000000000000000105721320135610000223060ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: foo\n" ], [ "child", [ [ "comment", "# Subtest: foo\n" ], [ "line", "not ok 1 - should be equivalent\n" ], [ "line", " ---\n" ], [ "line", " found:\n" ], [ "line", " - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\n" ], [ "line", " wanted:\n" ], [ "line", " - >-\n" ], [ "line", " xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" ], [ "line", " \n" ], [ "line", " yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "should be equivalent", "diag": { "found": [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy" ], "wanted": [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\nyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy" ] } } ], [ "line", "Bail out! # should be equivalent\n" ], [ "bailout", "# should be equivalent" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# should be equivalent", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "should be equivalent", "diag": { "found": [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy" ], "wanted": [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\nyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy" ] } } ] } ] ] ], [ "line", " not ok 1 - should be equivalent\n" ], [ "line", " ---\n" ], [ "line", " found:\n" ], [ "line", " - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\n" ], [ "line", " wanted:\n" ], [ "line", " - >-\n" ], [ "line", " xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" ], [ "line", " \n" ], [ "line", " yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\n" ], [ "line", " ...\n" ], [ "line", " Bail out! # should be equivalent\n" ], [ "bailout", "# should be equivalent" ], [ "line", "Bail out! # should be equivalent\n" ], [ "complete", { "ok": false, "count": 0, "pass": 0, "fail": 0, "bailout": "# should be equivalent", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/line-break--omitversion.json000066400000000000000000000141421320135610000237520ustar00rootroot00000000000000[ [ "line", "# Subtest: foo\n" ], [ "child", [ [ "comment", "# Subtest: foo\n" ], [ "line", "not ok 1 - should be equivalent\n" ], [ "line", " ---\n" ], [ "line", " found:\n" ], [ "line", " - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\n" ], [ "line", " wanted:\n" ], [ "line", " - >-\n" ], [ "line", " xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" ], [ "line", " \n" ], [ "line", " yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "should be equivalent", "diag": { "found": [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy" ], "wanted": [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\nyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy" ] } } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 of 1 tests\n" ], [ "comment", "# failed 1 of 1 tests\n" ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "should be equivalent", "diag": { "found": [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy" ], "wanted": [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\nyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy" ] } } ] } ] ] ], [ "line", " not ok 1 - should be equivalent\n" ], [ "line", " ---\n" ], [ "line", " found:\n" ], [ "line", " - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\n" ], [ "line", " wanted:\n" ], [ "line", " - >-\n" ], [ "line", " xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" ], [ "line", " \n" ], [ "line", " yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\n" ], [ "line", " ...\n" ], [ "line", " 1..1\n" ], [ "line", " # failed 1 of 1 tests\n" ], [ "line", " # failed 1 test\n" ], [ "line", "not ok 1 - foo # time=13.457ms\n" ], [ "line", " ---\n" ], [ "line", " results:\n" ], [ "line", " plan:\n" ], [ "line", " start: 1\n" ], [ "line", " end: 1\n" ], [ "line", " count: 1\n" ], [ "line", " pass: 0\n" ], [ "line", " ok: false\n" ], [ "line", " fail: 1\n" ], [ "line", " time: 13.457\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "time": 13.457, "name": "foo", "diag": { "results": { "plan": { "start": 1, "end": 1 }, "count": 1, "pass": 0, "ok": false, "fail": 1, "time": 13.457 } } } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 of 1 tests\n" ], [ "comment", "# failed 1 of 1 tests\n" ], [ "line", "# time=22.566ms\n" ], [ "comment", "# time=22.566ms\n" ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "time": 13.457, "name": "foo", "diag": { "results": { "plan": { "start": 1, "end": 1 }, "count": 1, "pass": 0, "ok": false, "fail": 1, "time": 13.457 } } } ] } ] ] tap-parser-7.0.0/test/fixtures/line-break--preservewhite--omitversion.json000066400000000000000000000141421320135610000267210ustar00rootroot00000000000000[ [ "line", "# Subtest: foo\n" ], [ "child", [ [ "comment", "# Subtest: foo\n" ], [ "line", "not ok 1 - should be equivalent\n" ], [ "line", " ---\n" ], [ "line", " found:\n" ], [ "line", " - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\n" ], [ "line", " wanted:\n" ], [ "line", " - >-\n" ], [ "line", " xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" ], [ "line", " \n" ], [ "line", " yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "should be equivalent", "diag": { "found": [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy" ], "wanted": [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\nyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy" ] } } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 of 1 tests\n" ], [ "comment", "# failed 1 of 1 tests\n" ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "should be equivalent", "diag": { "found": [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy" ], "wanted": [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\nyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy" ] } } ] } ] ] ], [ "line", " not ok 1 - should be equivalent\n" ], [ "line", " ---\n" ], [ "line", " found:\n" ], [ "line", " - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\n" ], [ "line", " wanted:\n" ], [ "line", " - >-\n" ], [ "line", " xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" ], [ "line", " \n" ], [ "line", " yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\n" ], [ "line", " ...\n" ], [ "line", " 1..1\n" ], [ "line", " # failed 1 of 1 tests\n" ], [ "line", " # failed 1 test\n" ], [ "line", "not ok 1 - foo # time=13.457ms\n" ], [ "line", " ---\n" ], [ "line", " results:\n" ], [ "line", " plan:\n" ], [ "line", " start: 1\n" ], [ "line", " end: 1\n" ], [ "line", " count: 1\n" ], [ "line", " pass: 0\n" ], [ "line", " ok: false\n" ], [ "line", " fail: 1\n" ], [ "line", " time: 13.457\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "time": 13.457, "name": "foo", "diag": { "results": { "plan": { "start": 1, "end": 1 }, "count": 1, "pass": 0, "ok": false, "fail": 1, "time": 13.457 } } } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 of 1 tests\n" ], [ "comment", "# failed 1 of 1 tests\n" ], [ "line", "# time=22.566ms\n" ], [ "comment", "# time=22.566ms\n" ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "time": 13.457, "name": "foo", "diag": { "results": { "plan": { "start": 1, "end": 1 }, "count": 1, "pass": 0, "ok": false, "fail": 1, "time": 13.457 } } } ] } ] ] tap-parser-7.0.0/test/fixtures/line-break--preservewhite.json000066400000000000000000000142551320135610000242750ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: foo\n" ], [ "child", [ [ "comment", "# Subtest: foo\n" ], [ "line", "not ok 1 - should be equivalent\n" ], [ "line", " ---\n" ], [ "line", " found:\n" ], [ "line", " - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\n" ], [ "line", " wanted:\n" ], [ "line", " - >-\n" ], [ "line", " xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" ], [ "line", " \n" ], [ "line", " yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "should be equivalent", "diag": { "found": [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy" ], "wanted": [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\nyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy" ] } } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 of 1 tests\n" ], [ "comment", "# failed 1 of 1 tests\n" ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "should be equivalent", "diag": { "found": [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy" ], "wanted": [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\nyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy" ] } } ] } ] ] ], [ "line", " not ok 1 - should be equivalent\n" ], [ "line", " ---\n" ], [ "line", " found:\n" ], [ "line", " - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\n" ], [ "line", " wanted:\n" ], [ "line", " - >-\n" ], [ "line", " xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" ], [ "line", " \n" ], [ "line", " yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\n" ], [ "line", " ...\n" ], [ "line", " 1..1\n" ], [ "line", " # failed 1 of 1 tests\n" ], [ "line", " # failed 1 test\n" ], [ "line", "not ok 1 - foo # time=13.457ms\n" ], [ "line", " ---\n" ], [ "line", " results:\n" ], [ "line", " plan:\n" ], [ "line", " start: 1\n" ], [ "line", " end: 1\n" ], [ "line", " count: 1\n" ], [ "line", " pass: 0\n" ], [ "line", " ok: false\n" ], [ "line", " fail: 1\n" ], [ "line", " time: 13.457\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "time": 13.457, "name": "foo", "diag": { "results": { "plan": { "start": 1, "end": 1 }, "count": 1, "pass": 0, "ok": false, "fail": 1, "time": 13.457 } } } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 of 1 tests\n" ], [ "comment", "# failed 1 of 1 tests\n" ], [ "line", "# time=22.566ms\n" ], [ "comment", "# time=22.566ms\n" ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "time": 13.457, "name": "foo", "diag": { "results": { "plan": { "start": 1, "end": 1 }, "count": 1, "pass": 0, "ok": false, "fail": 1, "time": 13.457 } } } ] } ] ] tap-parser-7.0.0/test/fixtures/line-break.json000066400000000000000000000142551320135610000213260ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: foo\n" ], [ "child", [ [ "comment", "# Subtest: foo\n" ], [ "line", "not ok 1 - should be equivalent\n" ], [ "line", " ---\n" ], [ "line", " found:\n" ], [ "line", " - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\n" ], [ "line", " wanted:\n" ], [ "line", " - >-\n" ], [ "line", " xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" ], [ "line", " \n" ], [ "line", " yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "should be equivalent", "diag": { "found": [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy" ], "wanted": [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\nyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy" ] } } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 of 1 tests\n" ], [ "comment", "# failed 1 of 1 tests\n" ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "should be equivalent", "diag": { "found": [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy" ], "wanted": [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\nyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy" ] } } ] } ] ] ], [ "line", " not ok 1 - should be equivalent\n" ], [ "line", " ---\n" ], [ "line", " found:\n" ], [ "line", " - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\n" ], [ "line", " wanted:\n" ], [ "line", " - >-\n" ], [ "line", " xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" ], [ "line", " \n" ], [ "line", " yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\n" ], [ "line", " ...\n" ], [ "line", " 1..1\n" ], [ "line", " # failed 1 of 1 tests\n" ], [ "line", " # failed 1 test\n" ], [ "line", "not ok 1 - foo # time=13.457ms\n" ], [ "line", " ---\n" ], [ "line", " results:\n" ], [ "line", " plan:\n" ], [ "line", " start: 1\n" ], [ "line", " end: 1\n" ], [ "line", " count: 1\n" ], [ "line", " pass: 0\n" ], [ "line", " ok: false\n" ], [ "line", " fail: 1\n" ], [ "line", " time: 13.457\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "time": 13.457, "name": "foo", "diag": { "results": { "plan": { "start": 1, "end": 1 }, "count": 1, "pass": 0, "ok": false, "fail": 1, "time": 13.457 } } } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 of 1 tests\n" ], [ "comment", "# failed 1 of 1 tests\n" ], [ "line", "# time=22.566ms\n" ], [ "comment", "# time=22.566ms\n" ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "time": 13.457, "name": "foo", "diag": { "results": { "plan": { "start": 1, "end": 1 }, "count": 1, "pass": 0, "ok": false, "fail": 1, "time": 13.457 } } } ] } ] ] tap-parser-7.0.0/test/fixtures/line-break.tap000066400000000000000000000014401320135610000211310ustar00rootroot00000000000000TAP version 13 # Subtest: foo not ok 1 - should be equivalent --- found: - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy wanted: - >- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy ... 1..1 # failed 1 of 1 tests not ok 1 - foo # time=13.457ms --- results: plan: start: 1 end: 1 count: 1 pass: 0 ok: false fail: 1 time: 13.457 ... 1..1 # failed 1 of 1 tests # time=22.566ms tap-parser-7.0.0/test/fixtures/lone_not_bug--bail--omitversion.json000066400000000000000000000014761320135610000254030ustar00rootroot00000000000000[ [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/lone_not_bug--bail--preservewhite--omitversion.json000066400000000000000000000014761320135610000303520ustar00rootroot00000000000000[ [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/lone_not_bug--bail--preservewhite.json000066400000000000000000000014761320135610000257210ustar00rootroot00000000000000[ [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/lone_not_bug--bail.json000066400000000000000000000014761320135610000227520ustar00rootroot00000000000000[ [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/lone_not_bug--omitversion.json000066400000000000000000000014761320135610000244210ustar00rootroot00000000000000[ [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/lone_not_bug--preservewhite--omitversion.json000066400000000000000000000014761320135610000273700ustar00rootroot00000000000000[ [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/lone_not_bug--preservewhite.json000066400000000000000000000014761320135610000247370ustar00rootroot00000000000000[ [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/lone_not_bug.json000066400000000000000000000014761320135610000217700ustar00rootroot00000000000000[ [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/lone_not_bug.tap000066400000000000000000000000311320135610000215650ustar00rootroot00000000000000ok 1 ok 2 ok 3 ok 4 1..4 tap-parser-7.0.0/test/fixtures/missing--bail--omitversion.json000066400000000000000000000023031320135610000243700ustar00rootroot00000000000000[ [ "line", "1..6\n" ], [ "plan", { "start": 1, "end": 6 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "# test count(5) != plan(6)\n" ], [ "comment", "# test count(5) != plan(6)\n" ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 6, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/missing--bail--preservewhite--omitversion.json000066400000000000000000000023031320135610000273370ustar00rootroot00000000000000[ [ "line", "1..6\n" ], [ "plan", { "start": 1, "end": 6 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "# test count(5) != plan(6)\n" ], [ "comment", "# test count(5) != plan(6)\n" ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 6, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/missing--bail--preservewhite.json000066400000000000000000000024161320135610000247130ustar00rootroot00000000000000[ [ "line", "TAP Version 13\n" ], [ "version", 13 ], [ "line", "1..6\n" ], [ "plan", { "start": 1, "end": 6 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "# test count(5) != plan(6)\n" ], [ "comment", "# test count(5) != plan(6)\n" ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 6, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/missing--bail.json000066400000000000000000000024161320135610000217440ustar00rootroot00000000000000[ [ "line", "TAP Version 13\n" ], [ "version", 13 ], [ "line", "1..6\n" ], [ "plan", { "start": 1, "end": 6 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "# test count(5) != plan(6)\n" ], [ "comment", "# test count(5) != plan(6)\n" ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 6, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/missing--omitversion.json000066400000000000000000000023031320135610000234060ustar00rootroot00000000000000[ [ "line", "1..6\n" ], [ "plan", { "start": 1, "end": 6 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "# test count(5) != plan(6)\n" ], [ "comment", "# test count(5) != plan(6)\n" ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 6, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/missing--preservewhite--omitversion.json000066400000000000000000000023031320135610000263550ustar00rootroot00000000000000[ [ "line", "1..6\n" ], [ "plan", { "start": 1, "end": 6 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "# test count(5) != plan(6)\n" ], [ "comment", "# test count(5) != plan(6)\n" ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 6, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/missing--preservewhite.json000066400000000000000000000024161320135610000237310ustar00rootroot00000000000000[ [ "line", "TAP Version 13\n" ], [ "version", 13 ], [ "line", "1..6\n" ], [ "plan", { "start": 1, "end": 6 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "# test count(5) != plan(6)\n" ], [ "comment", "# test count(5) != plan(6)\n" ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 6, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/missing.json000066400000000000000000000024161320135610000207620ustar00rootroot00000000000000[ [ "line", "TAP Version 13\n" ], [ "version", 13 ], [ "line", "1..6\n" ], [ "plan", { "start": 1, "end": 6 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "# test count(5) != plan(6)\n" ], [ "comment", "# test count(5) != plan(6)\n" ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 6, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/missing.tap000066400000000000000000000000431320135610000205670ustar00rootroot00000000000000TAP Version 13 1..6 ok ok ok ok ok tap-parser-7.0.0/test/fixtures/no-numbers--bail--omitversion.json000066400000000000000000000016241320135610000250110ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok we are good\n" ], [ "assert", { "ok": true, "id": 1, "name": "we are good" } ], [ "line", "not ok 2 we are bad\n" ], [ "assert", { "ok": false, "id": 2, "name": "we are bad" } ], [ "line", "Bail out! # we are bad\n" ], [ "bailout", "# we are bad" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": "# we are bad", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2, "name": "we are bad" } ] } ] ] tap-parser-7.0.0/test/fixtures/no-numbers--bail--preservewhite--omitversion.json000066400000000000000000000016241320135610000277600ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok we are good\n" ], [ "assert", { "ok": true, "id": 1, "name": "we are good" } ], [ "line", "not ok 2 we are bad\n" ], [ "assert", { "ok": false, "id": 2, "name": "we are bad" } ], [ "line", "Bail out! # we are bad\n" ], [ "bailout", "# we are bad" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": "# we are bad", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2, "name": "we are bad" } ] } ] ] tap-parser-7.0.0/test/fixtures/no-numbers--bail--preservewhite.json000066400000000000000000000016241320135610000253270ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok we are good\n" ], [ "assert", { "ok": true, "id": 1, "name": "we are good" } ], [ "line", "not ok 2 we are bad\n" ], [ "assert", { "ok": false, "id": 2, "name": "we are bad" } ], [ "line", "Bail out! # we are bad\n" ], [ "bailout", "# we are bad" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": "# we are bad", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2, "name": "we are bad" } ] } ] ] tap-parser-7.0.0/test/fixtures/no-numbers--bail.json000066400000000000000000000016241320135610000223600ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok we are good\n" ], [ "assert", { "ok": true, "id": 1, "name": "we are good" } ], [ "line", "not ok 2 we are bad\n" ], [ "assert", { "ok": false, "id": 2, "name": "we are bad" } ], [ "line", "Bail out! # we are bad\n" ], [ "bailout", "# we are bad" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": "# we are bad", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2, "name": "we are bad" } ] } ] ] tap-parser-7.0.0/test/fixtures/no-numbers--omitversion.json000066400000000000000000000020451320135610000240250ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok we are good\n" ], [ "assert", { "ok": true, "id": 1, "name": "we are good" } ], [ "line", "not ok 2 we are bad\n" ], [ "assert", { "ok": false, "id": 2, "name": "we are bad" } ], [ "line", "ok we are zesty!\n" ], [ "assert", { "ok": true, "id": 3, "name": "we are zesty!" } ], [ "line", "# failed 1 of 3 tests\n" ], [ "comment", "# failed 1 of 3 tests\n" ], [ "complete", { "ok": false, "count": 3, "pass": 2, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2, "name": "we are bad" } ] } ] ] tap-parser-7.0.0/test/fixtures/no-numbers--preservewhite--omitversion.json000066400000000000000000000020451320135610000267740ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok we are good\n" ], [ "assert", { "ok": true, "id": 1, "name": "we are good" } ], [ "line", "not ok 2 we are bad\n" ], [ "assert", { "ok": false, "id": 2, "name": "we are bad" } ], [ "line", "ok we are zesty!\n" ], [ "assert", { "ok": true, "id": 3, "name": "we are zesty!" } ], [ "line", "# failed 1 of 3 tests\n" ], [ "comment", "# failed 1 of 3 tests\n" ], [ "complete", { "ok": false, "count": 3, "pass": 2, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2, "name": "we are bad" } ] } ] ] tap-parser-7.0.0/test/fixtures/no-numbers--preservewhite.json000066400000000000000000000020451320135610000243430ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok we are good\n" ], [ "assert", { "ok": true, "id": 1, "name": "we are good" } ], [ "line", "not ok 2 we are bad\n" ], [ "assert", { "ok": false, "id": 2, "name": "we are bad" } ], [ "line", "ok we are zesty!\n" ], [ "assert", { "ok": true, "id": 3, "name": "we are zesty!" } ], [ "line", "# failed 1 of 3 tests\n" ], [ "comment", "# failed 1 of 3 tests\n" ], [ "complete", { "ok": false, "count": 3, "pass": 2, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2, "name": "we are bad" } ] } ] ] tap-parser-7.0.0/test/fixtures/no-numbers.json000066400000000000000000000020451320135610000213740ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok we are good\n" ], [ "assert", { "ok": true, "id": 1, "name": "we are good" } ], [ "line", "not ok 2 we are bad\n" ], [ "assert", { "ok": false, "id": 2, "name": "we are bad" } ], [ "line", "ok we are zesty!\n" ], [ "assert", { "ok": true, "id": 3, "name": "we are zesty!" } ], [ "line", "# failed 1 of 3 tests\n" ], [ "comment", "# failed 1 of 3 tests\n" ], [ "complete", { "ok": false, "count": 3, "pass": 2, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2, "name": "we are bad" } ] } ] ] tap-parser-7.0.0/test/fixtures/no-numbers.tap000066400000000000000000000000711320135610000212040ustar00rootroot000000000000001..3 ok we are good not ok 2 we are bad ok we are zesty! tap-parser-7.0.0/test/fixtures/no-plan--bail--omitversion.json000066400000000000000000000025641320135610000242740ustar00rootroot00000000000000[ [ "line", "# before 1\n" ], [ "comment", "# before 1\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "ok 2 should be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equivalent" } ], [ "line", "# before 3\n" ], [ "comment", "# before 3\n" ], [ "line", "ok 3 should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "# test count(4) != plan(null)\n" ], [ "comment", "# test count(4) != plan(null)\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "no plan" } ] } ] ] tap-parser-7.0.0/test/fixtures/no-plan--bail--preservewhite--omitversion.json000066400000000000000000000025641320135610000272430ustar00rootroot00000000000000[ [ "line", "# before 1\n" ], [ "comment", "# before 1\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "ok 2 should be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equivalent" } ], [ "line", "# before 3\n" ], [ "comment", "# before 3\n" ], [ "line", "ok 3 should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "# test count(4) != plan(null)\n" ], [ "comment", "# test count(4) != plan(null)\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "no plan" } ] } ] ] tap-parser-7.0.0/test/fixtures/no-plan--bail--preservewhite.json000066400000000000000000000026771320135610000246170ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# before 1\n" ], [ "comment", "# before 1\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "ok 2 should be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equivalent" } ], [ "line", "# before 3\n" ], [ "comment", "# before 3\n" ], [ "line", "ok 3 should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "# test count(4) != plan(null)\n" ], [ "comment", "# test count(4) != plan(null)\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "no plan" } ] } ] ] tap-parser-7.0.0/test/fixtures/no-plan--bail.json000066400000000000000000000026771320135610000216500ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# before 1\n" ], [ "comment", "# before 1\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "ok 2 should be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equivalent" } ], [ "line", "# before 3\n" ], [ "comment", "# before 3\n" ], [ "line", "ok 3 should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "# test count(4) != plan(null)\n" ], [ "comment", "# test count(4) != plan(null)\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "no plan" } ] } ] ] tap-parser-7.0.0/test/fixtures/no-plan--omitversion.json000066400000000000000000000025641320135610000233120ustar00rootroot00000000000000[ [ "line", "# before 1\n" ], [ "comment", "# before 1\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "ok 2 should be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equivalent" } ], [ "line", "# before 3\n" ], [ "comment", "# before 3\n" ], [ "line", "ok 3 should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "# test count(4) != plan(null)\n" ], [ "comment", "# test count(4) != plan(null)\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "no plan" } ] } ] ] tap-parser-7.0.0/test/fixtures/no-plan--preservewhite--omitversion.json000066400000000000000000000025641320135610000262610ustar00rootroot00000000000000[ [ "line", "# before 1\n" ], [ "comment", "# before 1\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "ok 2 should be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equivalent" } ], [ "line", "# before 3\n" ], [ "comment", "# before 3\n" ], [ "line", "ok 3 should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "# test count(4) != plan(null)\n" ], [ "comment", "# test count(4) != plan(null)\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "no plan" } ] } ] ] tap-parser-7.0.0/test/fixtures/no-plan--preservewhite.json000066400000000000000000000026771320135610000236350ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# before 1\n" ], [ "comment", "# before 1\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "ok 2 should be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equivalent" } ], [ "line", "# before 3\n" ], [ "comment", "# before 3\n" ], [ "line", "ok 3 should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "# test count(4) != plan(null)\n" ], [ "comment", "# test count(4) != plan(null)\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "no plan" } ] } ] ] tap-parser-7.0.0/test/fixtures/no-plan.json000066400000000000000000000026771320135610000206660ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# before 1\n" ], [ "comment", "# before 1\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "ok 2 should be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equivalent" } ], [ "line", "# before 3\n" ], [ "comment", "# before 3\n" ], [ "line", "ok 3 should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "# test count(4) != plan(null)\n" ], [ "comment", "# test count(4) != plan(null)\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "no plan" } ] } ] ] tap-parser-7.0.0/test/fixtures/no-plan.tap000066400000000000000000000001771320135610000204720ustar00rootroot00000000000000TAP version 13 # before 1 ok 1 should be equal ok 2 should be equivalent # before 3 ok 3 should be equal ok 4 (unnamed assert) tap-parser-7.0.0/test/fixtures/no_nums--bail--omitversion.json000066400000000000000000000015421320135610000244010ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 3 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 3, "pass": 2, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 3 } ] } ] ] tap-parser-7.0.0/test/fixtures/no_nums--bail--preservewhite--omitversion.json000066400000000000000000000015421320135610000273500ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 3 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 3, "pass": 2, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 3 } ] } ] ] tap-parser-7.0.0/test/fixtures/no_nums--bail--preservewhite.json000066400000000000000000000015421320135610000247170ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 3 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 3, "pass": 2, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 3 } ] } ] ] tap-parser-7.0.0/test/fixtures/no_nums--bail.json000066400000000000000000000015421320135610000217500ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 3 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 3, "pass": 2, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 3 } ] } ] ] tap-parser-7.0.0/test/fixtures/no_nums--omitversion.json000066400000000000000000000021141320135610000234130ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 3 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 3 } ] } ] ] tap-parser-7.0.0/test/fixtures/no_nums--preservewhite--omitversion.json000066400000000000000000000021141320135610000263620ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 3 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 3 } ] } ] ] tap-parser-7.0.0/test/fixtures/no_nums--preservewhite.json000066400000000000000000000021141320135610000237310ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 3 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 3 } ] } ] ] tap-parser-7.0.0/test/fixtures/no_nums.json000066400000000000000000000021141320135610000207620ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 3 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 3 } ] } ] ] tap-parser-7.0.0/test/fixtures/no_nums.tap000066400000000000000000000000301320135610000205700ustar00rootroot000000000000001..5 ok ok not ok ok ok tap-parser-7.0.0/test/fixtures/not-enough--bail--omitversion.json000066400000000000000000000033071320135610000250070ustar00rootroot00000000000000[ [ "line", "# before 1\n" ], [ "comment", "# before 1\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "ok 2 should be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equivalent" } ], [ "line", "# before 3\n" ], [ "comment", "# before 3\n" ], [ "line", "ok 3 should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "# test count(4) != plan(5)\n" ], [ "comment", "# test count(4) != plan(5)\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/not-enough--bail--preservewhite--omitversion.json000066400000000000000000000033071320135610000277560ustar00rootroot00000000000000[ [ "line", "# before 1\n" ], [ "comment", "# before 1\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "ok 2 should be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equivalent" } ], [ "line", "# before 3\n" ], [ "comment", "# before 3\n" ], [ "line", "ok 3 should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "# test count(4) != plan(5)\n" ], [ "comment", "# test count(4) != plan(5)\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/not-enough--bail--preservewhite.json000066400000000000000000000034221320135610000253230ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# before 1\n" ], [ "comment", "# before 1\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "ok 2 should be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equivalent" } ], [ "line", "# before 3\n" ], [ "comment", "# before 3\n" ], [ "line", "ok 3 should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "# test count(4) != plan(5)\n" ], [ "comment", "# test count(4) != plan(5)\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/not-enough--bail.json000066400000000000000000000034221320135610000223540ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# before 1\n" ], [ "comment", "# before 1\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "ok 2 should be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equivalent" } ], [ "line", "# before 3\n" ], [ "comment", "# before 3\n" ], [ "line", "ok 3 should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "# test count(4) != plan(5)\n" ], [ "comment", "# test count(4) != plan(5)\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/not-enough--omitversion.json000066400000000000000000000033071320135610000240250ustar00rootroot00000000000000[ [ "line", "# before 1\n" ], [ "comment", "# before 1\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "ok 2 should be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equivalent" } ], [ "line", "# before 3\n" ], [ "comment", "# before 3\n" ], [ "line", "ok 3 should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "# test count(4) != plan(5)\n" ], [ "comment", "# test count(4) != plan(5)\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/not-enough--preservewhite--omitversion.json000066400000000000000000000033071320135610000267740ustar00rootroot00000000000000[ [ "line", "# before 1\n" ], [ "comment", "# before 1\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "ok 2 should be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equivalent" } ], [ "line", "# before 3\n" ], [ "comment", "# before 3\n" ], [ "line", "ok 3 should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "# test count(4) != plan(5)\n" ], [ "comment", "# test count(4) != plan(5)\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/not-enough--preservewhite.json000066400000000000000000000034221320135610000243410ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# before 1\n" ], [ "comment", "# before 1\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "ok 2 should be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equivalent" } ], [ "line", "# before 3\n" ], [ "comment", "# before 3\n" ], [ "line", "ok 3 should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "# test count(4) != plan(5)\n" ], [ "comment", "# test count(4) != plan(5)\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/not-enough.json000066400000000000000000000034221320135610000213720ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# before 1\n" ], [ "comment", "# before 1\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "ok 2 should be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equivalent" } ], [ "line", "# before 3\n" ], [ "comment", "# before 3\n" ], [ "line", "ok 3 should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "# test count(4) != plan(5)\n" ], [ "comment", "# test count(4) != plan(5)\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/not-enough.tap000066400000000000000000000002371320135610000212060ustar00rootroot00000000000000TAP version 13 # before 1 ok 1 should be equal ok 2 should be equivalent # before 3 ok 3 should be equal ok 4 (unnamed assert) 1..5 # tests 4 # pass 4 # ok tap-parser-7.0.0/test/fixtures/not-ok--bail--omitversion.json000066400000000000000000000020221320135610000241240ustar00rootroot00000000000000[ [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "not ok 2 should be equivalent\n" ], [ "assert", { "ok": false, "id": 2, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "Bail out! # should be equivalent\n" ], [ "bailout", "# should be equivalent" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": "# should be equivalent", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2, "name": "should be equivalent" } ] } ] ] tap-parser-7.0.0/test/fixtures/not-ok--bail--preservewhite--omitversion.json000066400000000000000000000020221320135610000270730ustar00rootroot00000000000000[ [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "not ok 2 should be equivalent\n" ], [ "assert", { "ok": false, "id": 2, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "Bail out! # should be equivalent\n" ], [ "bailout", "# should be equivalent" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": "# should be equivalent", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2, "name": "should be equivalent" } ] } ] ] tap-parser-7.0.0/test/fixtures/not-ok--bail--preservewhite.json000066400000000000000000000021351320135610000244470ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "not ok 2 should be equivalent\n" ], [ "assert", { "ok": false, "id": 2, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "Bail out! # should be equivalent\n" ], [ "bailout", "# should be equivalent" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": "# should be equivalent", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2, "name": "should be equivalent" } ] } ] ] tap-parser-7.0.0/test/fixtures/not-ok--bail.json000066400000000000000000000021351320135610000215000ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "not ok 2 should be equivalent\n" ], [ "assert", { "ok": false, "id": 2, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "Bail out! # should be equivalent\n" ], [ "bailout", "# should be equivalent" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": "# should be equivalent", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2, "name": "should be equivalent" } ] } ] ] tap-parser-7.0.0/test/fixtures/not-ok--omitversion.json000066400000000000000000000031641320135610000231520ustar00rootroot00000000000000[ [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "not ok 2 should be equivalent\n" ], [ "assert", { "ok": false, "id": 2, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 3 should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# fail 1\n" ], [ "comment", "# fail 1\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 3, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2, "name": "should be equivalent" } ] } ] ] tap-parser-7.0.0/test/fixtures/not-ok--preservewhite--omitversion.json000066400000000000000000000031641320135610000261210ustar00rootroot00000000000000[ [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "not ok 2 should be equivalent\n" ], [ "assert", { "ok": false, "id": 2, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 3 should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# fail 1\n" ], [ "comment", "# fail 1\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 3, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2, "name": "should be equivalent" } ] } ] ] tap-parser-7.0.0/test/fixtures/not-ok--preservewhite.json000066400000000000000000000032771320135610000234750ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "not ok 2 should be equivalent\n" ], [ "assert", { "ok": false, "id": 2, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 3 should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# fail 1\n" ], [ "comment", "# fail 1\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 3, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2, "name": "should be equivalent" } ] } ] ] tap-parser-7.0.0/test/fixtures/not-ok-todo--bail--omitversion.json000066400000000000000000000030071320135610000250730ustar00rootroot00000000000000[ [ "line", "# TAP emitted by Test::More 0.98\n" ], [ "comment", "# TAP emitted by Test::More 0.98\n" ], [ "line", "ok 1 - should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "not ok 2 - should be equivalent # TODO but we will fix it later\n" ], [ "assert", { "ok": false, "id": 2, "todo": "but we will fix it later", "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 3 - should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 - (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# Looks like you failed 1 test of 4.\n" ], [ "comment", "# Looks like you failed 1 test of 4.\n" ], [ "line", "# todo: 1\n" ], [ "comment", "# todo: 1\n" ], [ "complete", { "ok": true, "count": 4, "pass": 3, "fail": 1, "bailout": false, "todo": 1, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/not-ok-todo--bail--preservewhite--omitversion.json000066400000000000000000000030071320135610000300420ustar00rootroot00000000000000[ [ "line", "# TAP emitted by Test::More 0.98\n" ], [ "comment", "# TAP emitted by Test::More 0.98\n" ], [ "line", "ok 1 - should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "not ok 2 - should be equivalent # TODO but we will fix it later\n" ], [ "assert", { "ok": false, "id": 2, "todo": "but we will fix it later", "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 3 - should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 - (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# Looks like you failed 1 test of 4.\n" ], [ "comment", "# Looks like you failed 1 test of 4.\n" ], [ "line", "# todo: 1\n" ], [ "comment", "# todo: 1\n" ], [ "complete", { "ok": true, "count": 4, "pass": 3, "fail": 1, "bailout": false, "todo": 1, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/not-ok-todo--bail--preservewhite.json000066400000000000000000000030071320135610000254110ustar00rootroot00000000000000[ [ "line", "# TAP emitted by Test::More 0.98\n" ], [ "comment", "# TAP emitted by Test::More 0.98\n" ], [ "line", "ok 1 - should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "not ok 2 - should be equivalent # TODO but we will fix it later\n" ], [ "assert", { "ok": false, "id": 2, "todo": "but we will fix it later", "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 3 - should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 - (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# Looks like you failed 1 test of 4.\n" ], [ "comment", "# Looks like you failed 1 test of 4.\n" ], [ "line", "# todo: 1\n" ], [ "comment", "# todo: 1\n" ], [ "complete", { "ok": true, "count": 4, "pass": 3, "fail": 1, "bailout": false, "todo": 1, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/not-ok-todo--bail.json000066400000000000000000000030071320135610000224420ustar00rootroot00000000000000[ [ "line", "# TAP emitted by Test::More 0.98\n" ], [ "comment", "# TAP emitted by Test::More 0.98\n" ], [ "line", "ok 1 - should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "not ok 2 - should be equivalent # TODO but we will fix it later\n" ], [ "assert", { "ok": false, "id": 2, "todo": "but we will fix it later", "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 3 - should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 - (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# Looks like you failed 1 test of 4.\n" ], [ "comment", "# Looks like you failed 1 test of 4.\n" ], [ "line", "# todo: 1\n" ], [ "comment", "# todo: 1\n" ], [ "complete", { "ok": true, "count": 4, "pass": 3, "fail": 1, "bailout": false, "todo": 1, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/not-ok-todo--omitversion.json000066400000000000000000000030071320135610000241110ustar00rootroot00000000000000[ [ "line", "# TAP emitted by Test::More 0.98\n" ], [ "comment", "# TAP emitted by Test::More 0.98\n" ], [ "line", "ok 1 - should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "not ok 2 - should be equivalent # TODO but we will fix it later\n" ], [ "assert", { "ok": false, "id": 2, "todo": "but we will fix it later", "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 3 - should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 - (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# Looks like you failed 1 test of 4.\n" ], [ "comment", "# Looks like you failed 1 test of 4.\n" ], [ "line", "# todo: 1\n" ], [ "comment", "# todo: 1\n" ], [ "complete", { "ok": true, "count": 4, "pass": 3, "fail": 1, "bailout": false, "todo": 1, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/not-ok-todo--preservewhite--omitversion.json000066400000000000000000000030071320135610000270600ustar00rootroot00000000000000[ [ "line", "# TAP emitted by Test::More 0.98\n" ], [ "comment", "# TAP emitted by Test::More 0.98\n" ], [ "line", "ok 1 - should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "not ok 2 - should be equivalent # TODO but we will fix it later\n" ], [ "assert", { "ok": false, "id": 2, "todo": "but we will fix it later", "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 3 - should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 - (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# Looks like you failed 1 test of 4.\n" ], [ "comment", "# Looks like you failed 1 test of 4.\n" ], [ "line", "# todo: 1\n" ], [ "comment", "# todo: 1\n" ], [ "complete", { "ok": true, "count": 4, "pass": 3, "fail": 1, "bailout": false, "todo": 1, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/not-ok-todo--preservewhite.json000066400000000000000000000030071320135610000244270ustar00rootroot00000000000000[ [ "line", "# TAP emitted by Test::More 0.98\n" ], [ "comment", "# TAP emitted by Test::More 0.98\n" ], [ "line", "ok 1 - should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "not ok 2 - should be equivalent # TODO but we will fix it later\n" ], [ "assert", { "ok": false, "id": 2, "todo": "but we will fix it later", "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 3 - should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 - (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# Looks like you failed 1 test of 4.\n" ], [ "comment", "# Looks like you failed 1 test of 4.\n" ], [ "line", "# todo: 1\n" ], [ "comment", "# todo: 1\n" ], [ "complete", { "ok": true, "count": 4, "pass": 3, "fail": 1, "bailout": false, "todo": 1, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/not-ok-todo.json000066400000000000000000000030071320135610000214600ustar00rootroot00000000000000[ [ "line", "# TAP emitted by Test::More 0.98\n" ], [ "comment", "# TAP emitted by Test::More 0.98\n" ], [ "line", "ok 1 - should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "not ok 2 - should be equivalent # TODO but we will fix it later\n" ], [ "assert", { "ok": false, "id": 2, "todo": "but we will fix it later", "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 3 - should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 - (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# Looks like you failed 1 test of 4.\n" ], [ "comment", "# Looks like you failed 1 test of 4.\n" ], [ "line", "# todo: 1\n" ], [ "comment", "# todo: 1\n" ], [ "complete", { "ok": true, "count": 4, "pass": 3, "fail": 1, "bailout": false, "todo": 1, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/not-ok-todo.tap000066400000000000000000000003311320135610000212700ustar00rootroot00000000000000# TAP emitted by Test::More 0.98 ok 1 - should be equal not ok 2 - should be equivalent # TODO but we will fix it later # boop ok 3 - should be equal ok 4 - (unnamed assert) 1..4 # Looks like you failed 1 test of 4. tap-parser-7.0.0/test/fixtures/not-ok-with-trailing-comment--bail--omitversion.json000066400000000000000000000020221320135610000303440ustar00rootroot00000000000000[ [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "not ok 2 should be equivalent\n" ], [ "assert", { "ok": false, "id": 2, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "Bail out! # should be equivalent\n" ], [ "bailout", "# should be equivalent" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": "# should be equivalent", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2, "name": "should be equivalent" } ] } ] ] tap-parser-7.0.0/test/fixtures/not-ok-with-trailing-comment--bail--preservewhite--omitversion.json000066400000000000000000000020221320135610000333130ustar00rootroot00000000000000[ [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "not ok 2 should be equivalent\n" ], [ "assert", { "ok": false, "id": 2, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "Bail out! # should be equivalent\n" ], [ "bailout", "# should be equivalent" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": "# should be equivalent", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2, "name": "should be equivalent" } ] } ] ] tap-parser-7.0.0/test/fixtures/not-ok-with-trailing-comment--bail--preservewhite.json000066400000000000000000000021351320135610000306670ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "not ok 2 should be equivalent\n" ], [ "assert", { "ok": false, "id": 2, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "Bail out! # should be equivalent\n" ], [ "bailout", "# should be equivalent" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": "# should be equivalent", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2, "name": "should be equivalent" } ] } ] ] tap-parser-7.0.0/test/fixtures/not-ok-with-trailing-comment--bail.json000066400000000000000000000021351320135610000257200ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "not ok 2 should be equivalent\n" ], [ "assert", { "ok": false, "id": 2, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "Bail out! # should be equivalent\n" ], [ "bailout", "# should be equivalent" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": "# should be equivalent", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2, "name": "should be equivalent" } ] } ] ] tap-parser-7.0.0/test/fixtures/not-ok-with-trailing-comment--omitversion.json000066400000000000000000000031641320135610000273720ustar00rootroot00000000000000[ [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "not ok 2 should be equivalent\n" ], [ "assert", { "ok": false, "id": 2, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 3 should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# fail 1\n" ], [ "comment", "# fail 1\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 3, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2, "name": "should be equivalent" } ] } ] ] tap-parser-7.0.0/test/fixtures/not-ok-with-trailing-comment--preservewhite--omitversion.json000066400000000000000000000031641320135610000323410ustar00rootroot00000000000000[ [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "not ok 2 should be equivalent\n" ], [ "assert", { "ok": false, "id": 2, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 3 should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# fail 1\n" ], [ "comment", "# fail 1\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 3, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2, "name": "should be equivalent" } ] } ] ] tap-parser-7.0.0/test/fixtures/not-ok-with-trailing-comment--preservewhite.json000066400000000000000000000032771320135610000277150ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "not ok 2 should be equivalent\n" ], [ "assert", { "ok": false, "id": 2, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 3 should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# fail 1\n" ], [ "comment", "# fail 1\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 3, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2, "name": "should be equivalent" } ] } ] ] tap-parser-7.0.0/test/fixtures/not-ok-with-trailing-comment.json000066400000000000000000000032771320135610000247460ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "not ok 2 should be equivalent\n" ], [ "assert", { "ok": false, "id": 2, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 3 should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# fail 1\n" ], [ "comment", "# fail 1\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 3, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2, "name": "should be equivalent" } ] } ] ] tap-parser-7.0.0/test/fixtures/not-ok-with-trailing-comment.tap000066400000000000000000000002651320135610000245530ustar00rootroot00000000000000TAP version 13 # beep ok 1 should be equal not ok 2 should be equivalent # boop ok 3 should be equal ok 4 (unnamed assert) 1..4 # tests 4 # pass 3 # fail 1 # failed 1 of 4 tests tap-parser-7.0.0/test/fixtures/not-ok.json000066400000000000000000000032771320135610000205260ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "not ok 2 should be equivalent\n" ], [ "assert", { "ok": false, "id": 2, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 3 should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# fail 1\n" ], [ "comment", "# fail 1\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 3, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2, "name": "should be equivalent" } ] } ] ] tap-parser-7.0.0/test/fixtures/not-ok.tap000066400000000000000000000002371320135610000203320ustar00rootroot00000000000000TAP version 13 # beep ok 1 should be equal not ok 2 should be equivalent # boop ok 3 should be equal ok 4 (unnamed assert) 1..4 # tests 4 # pass 3 # fail 1 tap-parser-7.0.0/test/fixtures/offset--bail--omitversion.json000066400000000000000000000030111320135610000242020ustar00rootroot00000000000000[ [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 8 should be equal\n" ], [ "assert", { "ok": true, "id": 8, "name": "should be equal" } ], [ "line", "ok 9 should be equivalent\n" ], [ "assert", { "ok": true, "id": 9, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 10 should be equal\n" ], [ "assert", { "ok": true, "id": 10, "name": "should be equal" } ], [ "line", "ok 11 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 11, "name": "(unnamed assert)" } ], [ "line", "8..11\n" ], [ "plan", { "start": 8, "end": 11 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "# test count(4) != plan(11)\n" ], [ "comment", "# test count(4) != plan(11)\n" ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 8, "end": 11, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/offset--bail--preservewhite--omitversion.json000066400000000000000000000030111320135610000271510ustar00rootroot00000000000000[ [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 8 should be equal\n" ], [ "assert", { "ok": true, "id": 8, "name": "should be equal" } ], [ "line", "ok 9 should be equivalent\n" ], [ "assert", { "ok": true, "id": 9, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 10 should be equal\n" ], [ "assert", { "ok": true, "id": 10, "name": "should be equal" } ], [ "line", "ok 11 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 11, "name": "(unnamed assert)" } ], [ "line", "8..11\n" ], [ "plan", { "start": 8, "end": 11 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "# test count(4) != plan(11)\n" ], [ "comment", "# test count(4) != plan(11)\n" ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 8, "end": 11, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/offset--bail--preservewhite.json000066400000000000000000000031241320135610000245250ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 8 should be equal\n" ], [ "assert", { "ok": true, "id": 8, "name": "should be equal" } ], [ "line", "ok 9 should be equivalent\n" ], [ "assert", { "ok": true, "id": 9, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 10 should be equal\n" ], [ "assert", { "ok": true, "id": 10, "name": "should be equal" } ], [ "line", "ok 11 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 11, "name": "(unnamed assert)" } ], [ "line", "8..11\n" ], [ "plan", { "start": 8, "end": 11 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "# test count(4) != plan(11)\n" ], [ "comment", "# test count(4) != plan(11)\n" ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 8, "end": 11, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/offset--bail.json000066400000000000000000000031241320135610000215560ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 8 should be equal\n" ], [ "assert", { "ok": true, "id": 8, "name": "should be equal" } ], [ "line", "ok 9 should be equivalent\n" ], [ "assert", { "ok": true, "id": 9, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 10 should be equal\n" ], [ "assert", { "ok": true, "id": 10, "name": "should be equal" } ], [ "line", "ok 11 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 11, "name": "(unnamed assert)" } ], [ "line", "8..11\n" ], [ "plan", { "start": 8, "end": 11 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "# test count(4) != plan(11)\n" ], [ "comment", "# test count(4) != plan(11)\n" ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 8, "end": 11, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/offset--omitversion.json000066400000000000000000000030111320135610000232200ustar00rootroot00000000000000[ [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 8 should be equal\n" ], [ "assert", { "ok": true, "id": 8, "name": "should be equal" } ], [ "line", "ok 9 should be equivalent\n" ], [ "assert", { "ok": true, "id": 9, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 10 should be equal\n" ], [ "assert", { "ok": true, "id": 10, "name": "should be equal" } ], [ "line", "ok 11 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 11, "name": "(unnamed assert)" } ], [ "line", "8..11\n" ], [ "plan", { "start": 8, "end": 11 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "# test count(4) != plan(11)\n" ], [ "comment", "# test count(4) != plan(11)\n" ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 8, "end": 11, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/offset--preservewhite--omitversion.json000066400000000000000000000030111320135610000261670ustar00rootroot00000000000000[ [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 8 should be equal\n" ], [ "assert", { "ok": true, "id": 8, "name": "should be equal" } ], [ "line", "ok 9 should be equivalent\n" ], [ "assert", { "ok": true, "id": 9, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 10 should be equal\n" ], [ "assert", { "ok": true, "id": 10, "name": "should be equal" } ], [ "line", "ok 11 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 11, "name": "(unnamed assert)" } ], [ "line", "8..11\n" ], [ "plan", { "start": 8, "end": 11 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "# test count(4) != plan(11)\n" ], [ "comment", "# test count(4) != plan(11)\n" ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 8, "end": 11, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/offset--preservewhite.json000066400000000000000000000031241320135610000235430ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 8 should be equal\n" ], [ "assert", { "ok": true, "id": 8, "name": "should be equal" } ], [ "line", "ok 9 should be equivalent\n" ], [ "assert", { "ok": true, "id": 9, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 10 should be equal\n" ], [ "assert", { "ok": true, "id": 10, "name": "should be equal" } ], [ "line", "ok 11 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 11, "name": "(unnamed assert)" } ], [ "line", "8..11\n" ], [ "plan", { "start": 8, "end": 11 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "# test count(4) != plan(11)\n" ], [ "comment", "# test count(4) != plan(11)\n" ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 8, "end": 11, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/offset-mismatch--bail--omitversion.json000066400000000000000000000031261320135610000260140ustar00rootroot00000000000000[ [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 8 should be equal\n" ], [ "assert", { "ok": true, "id": 8, "name": "should be equal" } ], [ "line", "ok 9 should be equivalent\n" ], [ "assert", { "ok": true, "id": 9, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 10 should be equal\n" ], [ "assert", { "ok": true, "id": 10, "name": "should be equal" } ], [ "line", "ok 11 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 11, "name": "(unnamed assert)" } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "first test id does not match plan start" } ] } ] ] tap-parser-7.0.0/test/fixtures/offset-mismatch--bail--preservewhite--omitversion.json000066400000000000000000000031261320135610000307630ustar00rootroot00000000000000[ [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 8 should be equal\n" ], [ "assert", { "ok": true, "id": 8, "name": "should be equal" } ], [ "line", "ok 9 should be equivalent\n" ], [ "assert", { "ok": true, "id": 9, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 10 should be equal\n" ], [ "assert", { "ok": true, "id": 10, "name": "should be equal" } ], [ "line", "ok 11 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 11, "name": "(unnamed assert)" } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "first test id does not match plan start" } ] } ] ] tap-parser-7.0.0/test/fixtures/offset-mismatch--bail--preservewhite.json000066400000000000000000000032411320135610000263300ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 8 should be equal\n" ], [ "assert", { "ok": true, "id": 8, "name": "should be equal" } ], [ "line", "ok 9 should be equivalent\n" ], [ "assert", { "ok": true, "id": 9, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 10 should be equal\n" ], [ "assert", { "ok": true, "id": 10, "name": "should be equal" } ], [ "line", "ok 11 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 11, "name": "(unnamed assert)" } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "first test id does not match plan start" } ] } ] ] tap-parser-7.0.0/test/fixtures/offset-mismatch--bail.json000066400000000000000000000032411320135610000233610ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 8 should be equal\n" ], [ "assert", { "ok": true, "id": 8, "name": "should be equal" } ], [ "line", "ok 9 should be equivalent\n" ], [ "assert", { "ok": true, "id": 9, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 10 should be equal\n" ], [ "assert", { "ok": true, "id": 10, "name": "should be equal" } ], [ "line", "ok 11 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 11, "name": "(unnamed assert)" } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "first test id does not match plan start" } ] } ] ] tap-parser-7.0.0/test/fixtures/offset-mismatch--omitversion.json000066400000000000000000000031261320135610000250320ustar00rootroot00000000000000[ [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 8 should be equal\n" ], [ "assert", { "ok": true, "id": 8, "name": "should be equal" } ], [ "line", "ok 9 should be equivalent\n" ], [ "assert", { "ok": true, "id": 9, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 10 should be equal\n" ], [ "assert", { "ok": true, "id": 10, "name": "should be equal" } ], [ "line", "ok 11 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 11, "name": "(unnamed assert)" } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "first test id does not match plan start" } ] } ] ] tap-parser-7.0.0/test/fixtures/offset-mismatch--preservewhite--omitversion.json000066400000000000000000000031261320135610000300010ustar00rootroot00000000000000[ [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 8 should be equal\n" ], [ "assert", { "ok": true, "id": 8, "name": "should be equal" } ], [ "line", "ok 9 should be equivalent\n" ], [ "assert", { "ok": true, "id": 9, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 10 should be equal\n" ], [ "assert", { "ok": true, "id": 10, "name": "should be equal" } ], [ "line", "ok 11 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 11, "name": "(unnamed assert)" } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "first test id does not match plan start" } ] } ] ] tap-parser-7.0.0/test/fixtures/offset-mismatch--preservewhite.json000066400000000000000000000032411320135610000253460ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 8 should be equal\n" ], [ "assert", { "ok": true, "id": 8, "name": "should be equal" } ], [ "line", "ok 9 should be equivalent\n" ], [ "assert", { "ok": true, "id": 9, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 10 should be equal\n" ], [ "assert", { "ok": true, "id": 10, "name": "should be equal" } ], [ "line", "ok 11 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 11, "name": "(unnamed assert)" } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "first test id does not match plan start" } ] } ] ] tap-parser-7.0.0/test/fixtures/offset-mismatch.json000066400000000000000000000032411320135610000223770ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 8 should be equal\n" ], [ "assert", { "ok": true, "id": 8, "name": "should be equal" } ], [ "line", "ok 9 should be equivalent\n" ], [ "assert", { "ok": true, "id": 9, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 10 should be equal\n" ], [ "assert", { "ok": true, "id": 10, "name": "should be equal" } ], [ "line", "ok 11 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 11, "name": "(unnamed assert)" } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "first test id does not match plan start" } ] } ] ] tap-parser-7.0.0/test/fixtures/offset-mismatch.tap000066400000000000000000000002311320135610000222060ustar00rootroot00000000000000TAP version 13 # beep ok 8 should be equal ok 9 should be equivalent # boop ok 10 should be equal ok 11 (unnamed assert) 1..4 # tests 4 # pass 4 # ok tap-parser-7.0.0/test/fixtures/offset.json000066400000000000000000000031241320135610000205740ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 8 should be equal\n" ], [ "assert", { "ok": true, "id": 8, "name": "should be equal" } ], [ "line", "ok 9 should be equivalent\n" ], [ "assert", { "ok": true, "id": 9, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 10 should be equal\n" ], [ "assert", { "ok": true, "id": 10, "name": "should be equal" } ], [ "line", "ok 11 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 11, "name": "(unnamed assert)" } ], [ "line", "8..11\n" ], [ "plan", { "start": 8, "end": 11 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "# test count(4) != plan(11)\n" ], [ "comment", "# test count(4) != plan(11)\n" ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 8, "end": 11, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/offset.tap000066400000000000000000000002321320135610000204040ustar00rootroot00000000000000TAP version 13 # beep ok 8 should be equal ok 9 should be equivalent # boop ok 10 should be equal ok 11 (unnamed assert) 8..11 # tests 4 # pass 4 # ok tap-parser-7.0.0/test/fixtures/ok--bail--omitversion.json000066400000000000000000000027471320135610000233440ustar00rootroot00000000000000[ [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "ok 2 should be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 3 should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..4 # just some plan comment\n" ], [ "plan", { "start": 1, "end": 4, "comment": "just some plan comment" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "just some plan comment" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/ok--bail--preservewhite--omitversion.json000066400000000000000000000027471320135610000263130ustar00rootroot00000000000000[ [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "ok 2 should be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 3 should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..4 # just some plan comment\n" ], [ "plan", { "start": 1, "end": 4, "comment": "just some plan comment" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "just some plan comment" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/ok--bail--preservewhite.json000066400000000000000000000030621320135610000236510ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "ok 2 should be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 3 should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..4 # just some plan comment\n" ], [ "plan", { "start": 1, "end": 4, "comment": "just some plan comment" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "just some plan comment" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/ok--bail.json000066400000000000000000000030621320135610000207020ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "ok 2 should be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 3 should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..4 # just some plan comment\n" ], [ "plan", { "start": 1, "end": 4, "comment": "just some plan comment" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "just some plan comment" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/ok--omitversion.json000066400000000000000000000027471320135610000223620ustar00rootroot00000000000000[ [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "ok 2 should be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 3 should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..4 # just some plan comment\n" ], [ "plan", { "start": 1, "end": 4, "comment": "just some plan comment" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "just some plan comment" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/ok--preservewhite--omitversion.json000066400000000000000000000027471320135610000253310ustar00rootroot00000000000000[ [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "ok 2 should be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 3 should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..4 # just some plan comment\n" ], [ "plan", { "start": 1, "end": 4, "comment": "just some plan comment" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "just some plan comment" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/ok--preservewhite.json000066400000000000000000000030621320135610000226670ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "ok 2 should be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 3 should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..4 # just some plan comment\n" ], [ "plan", { "start": 1, "end": 4, "comment": "just some plan comment" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "just some plan comment" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/ok.json000066400000000000000000000030621320135610000177200ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "ok 2 should be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 3 should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..4 # just some plan comment\n" ], [ "plan", { "start": 1, "end": 4, "comment": "just some plan comment" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "just some plan comment" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/ok.tap000066400000000000000000000002601320135610000175300ustar00rootroot00000000000000TAP version 13 # beep ok 1 should be equal ok 2 should be equivalent # boop ok 3 should be equal ok 4 (unnamed assert) 1..4 # just some plan comment # tests 4 # pass 4 # ok tap-parser-7.0.0/test/fixtures/one-ok--bail--omitversion.json000066400000000000000000000010171320135610000241100ustar00rootroot00000000000000[ [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/one-ok--bail--preservewhite--omitversion.json000066400000000000000000000010171320135610000270570ustar00rootroot00000000000000[ [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/one-ok--bail--preservewhite.json000066400000000000000000000011321320135610000244240ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/one-ok--bail.json000066400000000000000000000011321320135610000214550ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/one-ok--omitversion.json000066400000000000000000000010171320135610000231260ustar00rootroot00000000000000[ [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/one-ok--preservewhite--omitversion.json000066400000000000000000000010171320135610000260750ustar00rootroot00000000000000[ [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/one-ok--preservewhite.json000066400000000000000000000011321320135610000234420ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/one-ok.json000066400000000000000000000011321320135610000204730ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/one-ok.tap000066400000000000000000000000311320135610000203030ustar00rootroot00000000000000TAP version 13 ok 1 1..1 tap-parser-7.0.0/test/fixtures/out-of-order--bail--omitversion.json000066400000000000000000000026151320135610000252470ustar00rootroot00000000000000[ [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "ok 3 should be equivalent\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 2 should be equal\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/out-of-order--bail--preservewhite--omitversion.json000066400000000000000000000026151320135610000302160ustar00rootroot00000000000000[ [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "ok 3 should be equivalent\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 2 should be equal\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/out-of-order--bail--preservewhite.json000066400000000000000000000027301320135610000255630ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "ok 3 should be equivalent\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 2 should be equal\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/out-of-order--bail.json000066400000000000000000000027301320135610000226140ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "ok 3 should be equivalent\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 2 should be equal\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/out-of-order--omitversion.json000066400000000000000000000026151320135610000242650ustar00rootroot00000000000000[ [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "ok 3 should be equivalent\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 2 should be equal\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/out-of-order--preservewhite--omitversion.json000066400000000000000000000026151320135610000272340ustar00rootroot00000000000000[ [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "ok 3 should be equivalent\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 2 should be equal\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/out-of-order--preservewhite.json000066400000000000000000000027301320135610000246010ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "ok 3 should be equivalent\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 2 should be equal\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/out-of-order.json000066400000000000000000000027301320135610000216320ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "ok 3 should be equivalent\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 2 should be equal\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/out-of-order.tap000066400000000000000000000002271320135610000214440ustar00rootroot00000000000000TAP version 13 # beep ok 1 should be equal ok 3 should be equivalent # boop ok 2 should be equal ok 4 (unnamed assert) 1..4 # tests 4 # pass 4 # ok tap-parser-7.0.0/test/fixtures/out_err_mix--bail--omitversion.json000066400000000000000000000012031320135610000252510ustar00rootroot00000000000000[ [ "line", "one\n" ], [ "extra", "one\n" ], [ "line", "three\n" ], [ "extra", "three\n" ], [ "line", "1..0 # no tests found\n" ], [ "plan", { "start": 1, "end": 0, "comment": "no tests found" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "no tests found", "comment": "no tests found" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/out_err_mix--bail--preservewhite--omitversion.json000066400000000000000000000012031320135610000302200ustar00rootroot00000000000000[ [ "line", "one\n" ], [ "extra", "one\n" ], [ "line", "three\n" ], [ "extra", "three\n" ], [ "line", "1..0 # no tests found\n" ], [ "plan", { "start": 1, "end": 0, "comment": "no tests found" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "no tests found", "comment": "no tests found" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/out_err_mix--bail--preservewhite.json000066400000000000000000000012031320135610000255670ustar00rootroot00000000000000[ [ "line", "one\n" ], [ "extra", "one\n" ], [ "line", "three\n" ], [ "extra", "three\n" ], [ "line", "1..0 # no tests found\n" ], [ "plan", { "start": 1, "end": 0, "comment": "no tests found" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "no tests found", "comment": "no tests found" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/out_err_mix--bail.json000066400000000000000000000012031320135610000226200ustar00rootroot00000000000000[ [ "line", "one\n" ], [ "extra", "one\n" ], [ "line", "three\n" ], [ "extra", "three\n" ], [ "line", "1..0 # no tests found\n" ], [ "plan", { "start": 1, "end": 0, "comment": "no tests found" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "no tests found", "comment": "no tests found" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/out_err_mix--omitversion.json000066400000000000000000000012031320135610000242670ustar00rootroot00000000000000[ [ "line", "one\n" ], [ "extra", "one\n" ], [ "line", "three\n" ], [ "extra", "three\n" ], [ "line", "1..0 # no tests found\n" ], [ "plan", { "start": 1, "end": 0, "comment": "no tests found" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "no tests found", "comment": "no tests found" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/out_err_mix--preservewhite--omitversion.json000066400000000000000000000012031320135610000272360ustar00rootroot00000000000000[ [ "line", "one\n" ], [ "extra", "one\n" ], [ "line", "three\n" ], [ "extra", "three\n" ], [ "line", "1..0 # no tests found\n" ], [ "plan", { "start": 1, "end": 0, "comment": "no tests found" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "no tests found", "comment": "no tests found" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/out_err_mix--preservewhite.json000066400000000000000000000012031320135610000246050ustar00rootroot00000000000000[ [ "line", "one\n" ], [ "extra", "one\n" ], [ "line", "three\n" ], [ "extra", "three\n" ], [ "line", "1..0 # no tests found\n" ], [ "plan", { "start": 1, "end": 0, "comment": "no tests found" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "no tests found", "comment": "no tests found" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/out_err_mix.json000066400000000000000000000012031320135610000216360ustar00rootroot00000000000000[ [ "line", "one\n" ], [ "extra", "one\n" ], [ "line", "three\n" ], [ "extra", "three\n" ], [ "line", "1..0 # no tests found\n" ], [ "plan", { "start": 1, "end": 0, "comment": "no tests found" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "no tests found", "comment": "no tests found" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/out_err_mix.tap000066400000000000000000000000121320135610000214460ustar00rootroot00000000000000one three tap-parser-7.0.0/test/fixtures/out_of_order--bail--omitversion.json000066400000000000000000000057261320135610000254210ustar00rootroot00000000000000[ [ "line", "ok 2 - Test that argument passing works\n" ], [ "assert", { "ok": true, "id": 2, "name": "Test that argument passing works" } ], [ "line", "ok 3 - Test that passing arguments as references work\n" ], [ "assert", { "ok": true, "id": 3, "name": "Test that passing arguments as references work" } ], [ "line", "ok 4 - Test a normal sub\n" ], [ "assert", { "ok": true, "id": 4, "name": "Test a normal sub" } ], [ "line", "ok 6 - Detach test\n" ], [ "assert", { "ok": true, "id": 6, "name": "Detach test" } ], [ "line", "ok 8 - Nested thread test\n" ], [ "assert", { "ok": true, "id": 8, "name": "Nested thread test" } ], [ "line", "ok 9 - Nested thread test\n" ], [ "assert", { "ok": true, "id": 9, "name": "Nested thread test" } ], [ "line", "ok 10 - Wanted 7, got 7\n" ], [ "assert", { "ok": true, "id": 10, "name": "Wanted 7, got 7" } ], [ "line", "ok 11 - Wanted 7, got 7\n" ], [ "assert", { "ok": true, "id": 11, "name": "Wanted 7, got 7" } ], [ "line", "ok 12 - Wanted 8, got 8\n" ], [ "assert", { "ok": true, "id": 12, "name": "Wanted 8, got 8" } ], [ "line", "ok 13 - Wanted 8, got 8\n" ], [ "assert", { "ok": true, "id": 13, "name": "Wanted 8, got 8" } ], [ "line", "1..15\n" ], [ "plan", { "start": 1, "end": 15 } ], [ "line", "ok 1\n" ], [ "extra", "ok 1\n" ], [ "line", "ok 5 - Check that Config::threads is true\n" ], [ "extra", "ok 5 - Check that Config::threads is true\n" ], [ "line", "ok 7 - Detach test\n" ], [ "extra", "ok 7 - Detach test\n" ], [ "line", "ok 14 - Check so that tid for threads work for main thread\n" ], [ "extra", "ok 14 - Check so that tid for threads work for main thread\n" ], [ "line", "ok 15 - Check so that tid for threads work for main thread\n" ], [ "extra", "ok 15 - Check so that tid for threads work for main thread\n" ], [ "line", "# test count(10) != plan(15)\n" ], [ "comment", "# test count(10) != plan(15)\n" ], [ "line", "# failed 1 of 10 tests\n" ], [ "comment", "# failed 1 of 10 tests\n" ], [ "complete", { "ok": false, "count": 10, "pass": 10, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 15, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/out_of_order--bail--preservewhite--omitversion.json000066400000000000000000000057261320135610000303700ustar00rootroot00000000000000[ [ "line", "ok 2 - Test that argument passing works\n" ], [ "assert", { "ok": true, "id": 2, "name": "Test that argument passing works" } ], [ "line", "ok 3 - Test that passing arguments as references work\n" ], [ "assert", { "ok": true, "id": 3, "name": "Test that passing arguments as references work" } ], [ "line", "ok 4 - Test a normal sub\n" ], [ "assert", { "ok": true, "id": 4, "name": "Test a normal sub" } ], [ "line", "ok 6 - Detach test\n" ], [ "assert", { "ok": true, "id": 6, "name": "Detach test" } ], [ "line", "ok 8 - Nested thread test\n" ], [ "assert", { "ok": true, "id": 8, "name": "Nested thread test" } ], [ "line", "ok 9 - Nested thread test\n" ], [ "assert", { "ok": true, "id": 9, "name": "Nested thread test" } ], [ "line", "ok 10 - Wanted 7, got 7\n" ], [ "assert", { "ok": true, "id": 10, "name": "Wanted 7, got 7" } ], [ "line", "ok 11 - Wanted 7, got 7\n" ], [ "assert", { "ok": true, "id": 11, "name": "Wanted 7, got 7" } ], [ "line", "ok 12 - Wanted 8, got 8\n" ], [ "assert", { "ok": true, "id": 12, "name": "Wanted 8, got 8" } ], [ "line", "ok 13 - Wanted 8, got 8\n" ], [ "assert", { "ok": true, "id": 13, "name": "Wanted 8, got 8" } ], [ "line", "1..15\n" ], [ "plan", { "start": 1, "end": 15 } ], [ "line", "ok 1\n" ], [ "extra", "ok 1\n" ], [ "line", "ok 5 - Check that Config::threads is true\n" ], [ "extra", "ok 5 - Check that Config::threads is true\n" ], [ "line", "ok 7 - Detach test\n" ], [ "extra", "ok 7 - Detach test\n" ], [ "line", "ok 14 - Check so that tid for threads work for main thread\n" ], [ "extra", "ok 14 - Check so that tid for threads work for main thread\n" ], [ "line", "ok 15 - Check so that tid for threads work for main thread\n" ], [ "extra", "ok 15 - Check so that tid for threads work for main thread\n" ], [ "line", "# test count(10) != plan(15)\n" ], [ "comment", "# test count(10) != plan(15)\n" ], [ "line", "# failed 1 of 10 tests\n" ], [ "comment", "# failed 1 of 10 tests\n" ], [ "complete", { "ok": false, "count": 10, "pass": 10, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 15, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/out_of_order--bail--preservewhite.json000066400000000000000000000057261320135610000257370ustar00rootroot00000000000000[ [ "line", "ok 2 - Test that argument passing works\n" ], [ "assert", { "ok": true, "id": 2, "name": "Test that argument passing works" } ], [ "line", "ok 3 - Test that passing arguments as references work\n" ], [ "assert", { "ok": true, "id": 3, "name": "Test that passing arguments as references work" } ], [ "line", "ok 4 - Test a normal sub\n" ], [ "assert", { "ok": true, "id": 4, "name": "Test a normal sub" } ], [ "line", "ok 6 - Detach test\n" ], [ "assert", { "ok": true, "id": 6, "name": "Detach test" } ], [ "line", "ok 8 - Nested thread test\n" ], [ "assert", { "ok": true, "id": 8, "name": "Nested thread test" } ], [ "line", "ok 9 - Nested thread test\n" ], [ "assert", { "ok": true, "id": 9, "name": "Nested thread test" } ], [ "line", "ok 10 - Wanted 7, got 7\n" ], [ "assert", { "ok": true, "id": 10, "name": "Wanted 7, got 7" } ], [ "line", "ok 11 - Wanted 7, got 7\n" ], [ "assert", { "ok": true, "id": 11, "name": "Wanted 7, got 7" } ], [ "line", "ok 12 - Wanted 8, got 8\n" ], [ "assert", { "ok": true, "id": 12, "name": "Wanted 8, got 8" } ], [ "line", "ok 13 - Wanted 8, got 8\n" ], [ "assert", { "ok": true, "id": 13, "name": "Wanted 8, got 8" } ], [ "line", "1..15\n" ], [ "plan", { "start": 1, "end": 15 } ], [ "line", "ok 1\n" ], [ "extra", "ok 1\n" ], [ "line", "ok 5 - Check that Config::threads is true\n" ], [ "extra", "ok 5 - Check that Config::threads is true\n" ], [ "line", "ok 7 - Detach test\n" ], [ "extra", "ok 7 - Detach test\n" ], [ "line", "ok 14 - Check so that tid for threads work for main thread\n" ], [ "extra", "ok 14 - Check so that tid for threads work for main thread\n" ], [ "line", "ok 15 - Check so that tid for threads work for main thread\n" ], [ "extra", "ok 15 - Check so that tid for threads work for main thread\n" ], [ "line", "# test count(10) != plan(15)\n" ], [ "comment", "# test count(10) != plan(15)\n" ], [ "line", "# failed 1 of 10 tests\n" ], [ "comment", "# failed 1 of 10 tests\n" ], [ "complete", { "ok": false, "count": 10, "pass": 10, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 15, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/out_of_order--bail.json000066400000000000000000000057261320135610000227700ustar00rootroot00000000000000[ [ "line", "ok 2 - Test that argument passing works\n" ], [ "assert", { "ok": true, "id": 2, "name": "Test that argument passing works" } ], [ "line", "ok 3 - Test that passing arguments as references work\n" ], [ "assert", { "ok": true, "id": 3, "name": "Test that passing arguments as references work" } ], [ "line", "ok 4 - Test a normal sub\n" ], [ "assert", { "ok": true, "id": 4, "name": "Test a normal sub" } ], [ "line", "ok 6 - Detach test\n" ], [ "assert", { "ok": true, "id": 6, "name": "Detach test" } ], [ "line", "ok 8 - Nested thread test\n" ], [ "assert", { "ok": true, "id": 8, "name": "Nested thread test" } ], [ "line", "ok 9 - Nested thread test\n" ], [ "assert", { "ok": true, "id": 9, "name": "Nested thread test" } ], [ "line", "ok 10 - Wanted 7, got 7\n" ], [ "assert", { "ok": true, "id": 10, "name": "Wanted 7, got 7" } ], [ "line", "ok 11 - Wanted 7, got 7\n" ], [ "assert", { "ok": true, "id": 11, "name": "Wanted 7, got 7" } ], [ "line", "ok 12 - Wanted 8, got 8\n" ], [ "assert", { "ok": true, "id": 12, "name": "Wanted 8, got 8" } ], [ "line", "ok 13 - Wanted 8, got 8\n" ], [ "assert", { "ok": true, "id": 13, "name": "Wanted 8, got 8" } ], [ "line", "1..15\n" ], [ "plan", { "start": 1, "end": 15 } ], [ "line", "ok 1\n" ], [ "extra", "ok 1\n" ], [ "line", "ok 5 - Check that Config::threads is true\n" ], [ "extra", "ok 5 - Check that Config::threads is true\n" ], [ "line", "ok 7 - Detach test\n" ], [ "extra", "ok 7 - Detach test\n" ], [ "line", "ok 14 - Check so that tid for threads work for main thread\n" ], [ "extra", "ok 14 - Check so that tid for threads work for main thread\n" ], [ "line", "ok 15 - Check so that tid for threads work for main thread\n" ], [ "extra", "ok 15 - Check so that tid for threads work for main thread\n" ], [ "line", "# test count(10) != plan(15)\n" ], [ "comment", "# test count(10) != plan(15)\n" ], [ "line", "# failed 1 of 10 tests\n" ], [ "comment", "# failed 1 of 10 tests\n" ], [ "complete", { "ok": false, "count": 10, "pass": 10, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 15, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/out_of_order--omitversion.json000066400000000000000000000057261320135610000244370ustar00rootroot00000000000000[ [ "line", "ok 2 - Test that argument passing works\n" ], [ "assert", { "ok": true, "id": 2, "name": "Test that argument passing works" } ], [ "line", "ok 3 - Test that passing arguments as references work\n" ], [ "assert", { "ok": true, "id": 3, "name": "Test that passing arguments as references work" } ], [ "line", "ok 4 - Test a normal sub\n" ], [ "assert", { "ok": true, "id": 4, "name": "Test a normal sub" } ], [ "line", "ok 6 - Detach test\n" ], [ "assert", { "ok": true, "id": 6, "name": "Detach test" } ], [ "line", "ok 8 - Nested thread test\n" ], [ "assert", { "ok": true, "id": 8, "name": "Nested thread test" } ], [ "line", "ok 9 - Nested thread test\n" ], [ "assert", { "ok": true, "id": 9, "name": "Nested thread test" } ], [ "line", "ok 10 - Wanted 7, got 7\n" ], [ "assert", { "ok": true, "id": 10, "name": "Wanted 7, got 7" } ], [ "line", "ok 11 - Wanted 7, got 7\n" ], [ "assert", { "ok": true, "id": 11, "name": "Wanted 7, got 7" } ], [ "line", "ok 12 - Wanted 8, got 8\n" ], [ "assert", { "ok": true, "id": 12, "name": "Wanted 8, got 8" } ], [ "line", "ok 13 - Wanted 8, got 8\n" ], [ "assert", { "ok": true, "id": 13, "name": "Wanted 8, got 8" } ], [ "line", "1..15\n" ], [ "plan", { "start": 1, "end": 15 } ], [ "line", "ok 1\n" ], [ "extra", "ok 1\n" ], [ "line", "ok 5 - Check that Config::threads is true\n" ], [ "extra", "ok 5 - Check that Config::threads is true\n" ], [ "line", "ok 7 - Detach test\n" ], [ "extra", "ok 7 - Detach test\n" ], [ "line", "ok 14 - Check so that tid for threads work for main thread\n" ], [ "extra", "ok 14 - Check so that tid for threads work for main thread\n" ], [ "line", "ok 15 - Check so that tid for threads work for main thread\n" ], [ "extra", "ok 15 - Check so that tid for threads work for main thread\n" ], [ "line", "# test count(10) != plan(15)\n" ], [ "comment", "# test count(10) != plan(15)\n" ], [ "line", "# failed 1 of 10 tests\n" ], [ "comment", "# failed 1 of 10 tests\n" ], [ "complete", { "ok": false, "count": 10, "pass": 10, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 15, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/out_of_order--preservewhite--omitversion.json000066400000000000000000000057261320135610000274060ustar00rootroot00000000000000[ [ "line", "ok 2 - Test that argument passing works\n" ], [ "assert", { "ok": true, "id": 2, "name": "Test that argument passing works" } ], [ "line", "ok 3 - Test that passing arguments as references work\n" ], [ "assert", { "ok": true, "id": 3, "name": "Test that passing arguments as references work" } ], [ "line", "ok 4 - Test a normal sub\n" ], [ "assert", { "ok": true, "id": 4, "name": "Test a normal sub" } ], [ "line", "ok 6 - Detach test\n" ], [ "assert", { "ok": true, "id": 6, "name": "Detach test" } ], [ "line", "ok 8 - Nested thread test\n" ], [ "assert", { "ok": true, "id": 8, "name": "Nested thread test" } ], [ "line", "ok 9 - Nested thread test\n" ], [ "assert", { "ok": true, "id": 9, "name": "Nested thread test" } ], [ "line", "ok 10 - Wanted 7, got 7\n" ], [ "assert", { "ok": true, "id": 10, "name": "Wanted 7, got 7" } ], [ "line", "ok 11 - Wanted 7, got 7\n" ], [ "assert", { "ok": true, "id": 11, "name": "Wanted 7, got 7" } ], [ "line", "ok 12 - Wanted 8, got 8\n" ], [ "assert", { "ok": true, "id": 12, "name": "Wanted 8, got 8" } ], [ "line", "ok 13 - Wanted 8, got 8\n" ], [ "assert", { "ok": true, "id": 13, "name": "Wanted 8, got 8" } ], [ "line", "1..15\n" ], [ "plan", { "start": 1, "end": 15 } ], [ "line", "ok 1\n" ], [ "extra", "ok 1\n" ], [ "line", "ok 5 - Check that Config::threads is true\n" ], [ "extra", "ok 5 - Check that Config::threads is true\n" ], [ "line", "ok 7 - Detach test\n" ], [ "extra", "ok 7 - Detach test\n" ], [ "line", "ok 14 - Check so that tid for threads work for main thread\n" ], [ "extra", "ok 14 - Check so that tid for threads work for main thread\n" ], [ "line", "ok 15 - Check so that tid for threads work for main thread\n" ], [ "extra", "ok 15 - Check so that tid for threads work for main thread\n" ], [ "line", "# test count(10) != plan(15)\n" ], [ "comment", "# test count(10) != plan(15)\n" ], [ "line", "# failed 1 of 10 tests\n" ], [ "comment", "# failed 1 of 10 tests\n" ], [ "complete", { "ok": false, "count": 10, "pass": 10, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 15, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/out_of_order--preservewhite.json000066400000000000000000000057261320135610000247550ustar00rootroot00000000000000[ [ "line", "ok 2 - Test that argument passing works\n" ], [ "assert", { "ok": true, "id": 2, "name": "Test that argument passing works" } ], [ "line", "ok 3 - Test that passing arguments as references work\n" ], [ "assert", { "ok": true, "id": 3, "name": "Test that passing arguments as references work" } ], [ "line", "ok 4 - Test a normal sub\n" ], [ "assert", { "ok": true, "id": 4, "name": "Test a normal sub" } ], [ "line", "ok 6 - Detach test\n" ], [ "assert", { "ok": true, "id": 6, "name": "Detach test" } ], [ "line", "ok 8 - Nested thread test\n" ], [ "assert", { "ok": true, "id": 8, "name": "Nested thread test" } ], [ "line", "ok 9 - Nested thread test\n" ], [ "assert", { "ok": true, "id": 9, "name": "Nested thread test" } ], [ "line", "ok 10 - Wanted 7, got 7\n" ], [ "assert", { "ok": true, "id": 10, "name": "Wanted 7, got 7" } ], [ "line", "ok 11 - Wanted 7, got 7\n" ], [ "assert", { "ok": true, "id": 11, "name": "Wanted 7, got 7" } ], [ "line", "ok 12 - Wanted 8, got 8\n" ], [ "assert", { "ok": true, "id": 12, "name": "Wanted 8, got 8" } ], [ "line", "ok 13 - Wanted 8, got 8\n" ], [ "assert", { "ok": true, "id": 13, "name": "Wanted 8, got 8" } ], [ "line", "1..15\n" ], [ "plan", { "start": 1, "end": 15 } ], [ "line", "ok 1\n" ], [ "extra", "ok 1\n" ], [ "line", "ok 5 - Check that Config::threads is true\n" ], [ "extra", "ok 5 - Check that Config::threads is true\n" ], [ "line", "ok 7 - Detach test\n" ], [ "extra", "ok 7 - Detach test\n" ], [ "line", "ok 14 - Check so that tid for threads work for main thread\n" ], [ "extra", "ok 14 - Check so that tid for threads work for main thread\n" ], [ "line", "ok 15 - Check so that tid for threads work for main thread\n" ], [ "extra", "ok 15 - Check so that tid for threads work for main thread\n" ], [ "line", "# test count(10) != plan(15)\n" ], [ "comment", "# test count(10) != plan(15)\n" ], [ "line", "# failed 1 of 10 tests\n" ], [ "comment", "# failed 1 of 10 tests\n" ], [ "complete", { "ok": false, "count": 10, "pass": 10, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 15, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/out_of_order.json000066400000000000000000000057261320135610000220060ustar00rootroot00000000000000[ [ "line", "ok 2 - Test that argument passing works\n" ], [ "assert", { "ok": true, "id": 2, "name": "Test that argument passing works" } ], [ "line", "ok 3 - Test that passing arguments as references work\n" ], [ "assert", { "ok": true, "id": 3, "name": "Test that passing arguments as references work" } ], [ "line", "ok 4 - Test a normal sub\n" ], [ "assert", { "ok": true, "id": 4, "name": "Test a normal sub" } ], [ "line", "ok 6 - Detach test\n" ], [ "assert", { "ok": true, "id": 6, "name": "Detach test" } ], [ "line", "ok 8 - Nested thread test\n" ], [ "assert", { "ok": true, "id": 8, "name": "Nested thread test" } ], [ "line", "ok 9 - Nested thread test\n" ], [ "assert", { "ok": true, "id": 9, "name": "Nested thread test" } ], [ "line", "ok 10 - Wanted 7, got 7\n" ], [ "assert", { "ok": true, "id": 10, "name": "Wanted 7, got 7" } ], [ "line", "ok 11 - Wanted 7, got 7\n" ], [ "assert", { "ok": true, "id": 11, "name": "Wanted 7, got 7" } ], [ "line", "ok 12 - Wanted 8, got 8\n" ], [ "assert", { "ok": true, "id": 12, "name": "Wanted 8, got 8" } ], [ "line", "ok 13 - Wanted 8, got 8\n" ], [ "assert", { "ok": true, "id": 13, "name": "Wanted 8, got 8" } ], [ "line", "1..15\n" ], [ "plan", { "start": 1, "end": 15 } ], [ "line", "ok 1\n" ], [ "extra", "ok 1\n" ], [ "line", "ok 5 - Check that Config::threads is true\n" ], [ "extra", "ok 5 - Check that Config::threads is true\n" ], [ "line", "ok 7 - Detach test\n" ], [ "extra", "ok 7 - Detach test\n" ], [ "line", "ok 14 - Check so that tid for threads work for main thread\n" ], [ "extra", "ok 14 - Check so that tid for threads work for main thread\n" ], [ "line", "ok 15 - Check so that tid for threads work for main thread\n" ], [ "extra", "ok 15 - Check so that tid for threads work for main thread\n" ], [ "line", "# test count(10) != plan(15)\n" ], [ "comment", "# test count(10) != plan(15)\n" ], [ "line", "# failed 1 of 10 tests\n" ], [ "comment", "# failed 1 of 10 tests\n" ], [ "complete", { "ok": false, "count": 10, "pass": 10, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 15, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/out_of_order.tap000066400000000000000000000007341320135610000216130ustar00rootroot00000000000000ok 2 - Test that argument passing works ok 3 - Test that passing arguments as references work ok 4 - Test a normal sub ok 6 - Detach test ok 8 - Nested thread test ok 9 - Nested thread test ok 10 - Wanted 7, got 7 ok 11 - Wanted 7, got 7 ok 12 - Wanted 8, got 8 ok 13 - Wanted 8, got 8 1..15 ok 1 ok 5 - Check that Config::threads is true ok 7 - Detach test ok 14 - Check so that tid for threads work for main thread ok 15 - Check so that tid for threads work for main thread tap-parser-7.0.0/test/fixtures/outside-plan--bail--omitversion.json000066400000000000000000000031141320135610000253240ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 234 - pretty big\n" ], [ "assert", { "ok": true, "id": 234, "name": "pretty big", "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "ok 5 - less big\n" ], [ "assert", { "ok": true, "id": 5, "name": "less big", "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "ok 3 - three\n" ], [ "assert", { "ok": true, "id": 3, "name": "three" } ], [ "line", "# failed 2 of 3 tests\n" ], [ "comment", "# failed 2 of 3 tests\n" ], [ "complete", { "ok": false, "count": 3, "pass": 3, "fail": 2, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 234, "name": "pretty big", "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } }, { "ok": true, "id": 5, "name": "less big", "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ] } ] ] tap-parser-7.0.0/test/fixtures/outside-plan--bail--preservewhite--omitversion.json000066400000000000000000000031141320135610000302730ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 234 - pretty big\n" ], [ "assert", { "ok": true, "id": 234, "name": "pretty big", "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "ok 5 - less big\n" ], [ "assert", { "ok": true, "id": 5, "name": "less big", "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "ok 3 - three\n" ], [ "assert", { "ok": true, "id": 3, "name": "three" } ], [ "line", "# failed 2 of 3 tests\n" ], [ "comment", "# failed 2 of 3 tests\n" ], [ "complete", { "ok": false, "count": 3, "pass": 3, "fail": 2, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 234, "name": "pretty big", "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } }, { "ok": true, "id": 5, "name": "less big", "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ] } ] ] tap-parser-7.0.0/test/fixtures/outside-plan--bail--preservewhite.json000066400000000000000000000032271320135610000256470ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 234 - pretty big\n" ], [ "assert", { "ok": true, "id": 234, "name": "pretty big", "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "ok 5 - less big\n" ], [ "assert", { "ok": true, "id": 5, "name": "less big", "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "ok 3 - three\n" ], [ "assert", { "ok": true, "id": 3, "name": "three" } ], [ "line", "# failed 2 of 3 tests\n" ], [ "comment", "# failed 2 of 3 tests\n" ], [ "complete", { "ok": false, "count": 3, "pass": 3, "fail": 2, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 234, "name": "pretty big", "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } }, { "ok": true, "id": 5, "name": "less big", "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ] } ] ] tap-parser-7.0.0/test/fixtures/outside-plan--bail.json000066400000000000000000000032271320135610000227000ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 234 - pretty big\n" ], [ "assert", { "ok": true, "id": 234, "name": "pretty big", "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "ok 5 - less big\n" ], [ "assert", { "ok": true, "id": 5, "name": "less big", "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "ok 3 - three\n" ], [ "assert", { "ok": true, "id": 3, "name": "three" } ], [ "line", "# failed 2 of 3 tests\n" ], [ "comment", "# failed 2 of 3 tests\n" ], [ "complete", { "ok": false, "count": 3, "pass": 3, "fail": 2, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 234, "name": "pretty big", "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } }, { "ok": true, "id": 5, "name": "less big", "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ] } ] ] tap-parser-7.0.0/test/fixtures/outside-plan--omitversion.json000066400000000000000000000031141320135610000243420ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 234 - pretty big\n" ], [ "assert", { "ok": true, "id": 234, "name": "pretty big", "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "ok 5 - less big\n" ], [ "assert", { "ok": true, "id": 5, "name": "less big", "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "ok 3 - three\n" ], [ "assert", { "ok": true, "id": 3, "name": "three" } ], [ "line", "# failed 2 of 3 tests\n" ], [ "comment", "# failed 2 of 3 tests\n" ], [ "complete", { "ok": false, "count": 3, "pass": 3, "fail": 2, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 234, "name": "pretty big", "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } }, { "ok": true, "id": 5, "name": "less big", "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ] } ] ] tap-parser-7.0.0/test/fixtures/outside-plan--preservewhite--omitversion.json000066400000000000000000000031141320135610000273110ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 234 - pretty big\n" ], [ "assert", { "ok": true, "id": 234, "name": "pretty big", "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "ok 5 - less big\n" ], [ "assert", { "ok": true, "id": 5, "name": "less big", "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "ok 3 - three\n" ], [ "assert", { "ok": true, "id": 3, "name": "three" } ], [ "line", "# failed 2 of 3 tests\n" ], [ "comment", "# failed 2 of 3 tests\n" ], [ "complete", { "ok": false, "count": 3, "pass": 3, "fail": 2, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 234, "name": "pretty big", "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } }, { "ok": true, "id": 5, "name": "less big", "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ] } ] ] tap-parser-7.0.0/test/fixtures/outside-plan--preservewhite.json000066400000000000000000000032271320135610000246650ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 234 - pretty big\n" ], [ "assert", { "ok": true, "id": 234, "name": "pretty big", "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "ok 5 - less big\n" ], [ "assert", { "ok": true, "id": 5, "name": "less big", "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "ok 3 - three\n" ], [ "assert", { "ok": true, "id": 3, "name": "three" } ], [ "line", "# failed 2 of 3 tests\n" ], [ "comment", "# failed 2 of 3 tests\n" ], [ "complete", { "ok": false, "count": 3, "pass": 3, "fail": 2, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 234, "name": "pretty big", "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } }, { "ok": true, "id": 5, "name": "less big", "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ] } ] ] tap-parser-7.0.0/test/fixtures/outside-plan.json000066400000000000000000000032271320135610000217160ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 234 - pretty big\n" ], [ "assert", { "ok": true, "id": 234, "name": "pretty big", "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "ok 5 - less big\n" ], [ "assert", { "ok": true, "id": 5, "name": "less big", "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "ok 3 - three\n" ], [ "assert", { "ok": true, "id": 3, "name": "three" } ], [ "line", "# failed 2 of 3 tests\n" ], [ "comment", "# failed 2 of 3 tests\n" ], [ "complete", { "ok": false, "count": 3, "pass": 3, "fail": 2, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 234, "name": "pretty big", "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } }, { "ok": true, "id": 5, "name": "less big", "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ] } ] ] tap-parser-7.0.0/test/fixtures/outside-plan.tap000066400000000000000000000001051320135610000215210ustar00rootroot00000000000000TAP version 13 1..3 ok 234 - pretty big ok 5 - less big ok 3 - three tap-parser-7.0.0/test/fixtures/perl-test2-buffered--bail--omitversion.json000066400000000000000000000030641320135610000265050ustar00rootroot00000000000000[ [ "line", "# Seeded srand with seed '20160810' from local date.\n" ], [ "comment", "# Seeded srand with seed '20160810' from local date.\n" ], [ "line", "not ok 1 - empty {\n" ], [ "child", [ [ "comment", "# Subtest: empty\n" ], [ "line", "1..0\n" ], [ "plan", { "start": 1, "end": 0 } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..0\n" ], [ "line", "}\n" ], [ "assert", { "ok": false, "id": 1, "buffered": true, "name": "empty" } ], [ "line", "Bail out! # empty\n" ], [ "bailout", "# empty" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# empty", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "buffered": true, "name": "empty" } ] } ] ] tap-parser-7.0.0/test/fixtures/perl-test2-buffered--bail--preservewhite--omitversion.json000066400000000000000000000030641320135610000314540ustar00rootroot00000000000000[ [ "line", "# Seeded srand with seed '20160810' from local date.\n" ], [ "comment", "# Seeded srand with seed '20160810' from local date.\n" ], [ "line", "not ok 1 - empty {\n" ], [ "child", [ [ "comment", "# Subtest: empty\n" ], [ "line", "1..0\n" ], [ "plan", { "start": 1, "end": 0 } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..0\n" ], [ "line", "}\n" ], [ "assert", { "ok": false, "id": 1, "buffered": true, "name": "empty" } ], [ "line", "Bail out! # empty\n" ], [ "bailout", "# empty" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# empty", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "buffered": true, "name": "empty" } ] } ] ] tap-parser-7.0.0/test/fixtures/perl-test2-buffered--bail--preservewhite.json000066400000000000000000000030641320135610000270230ustar00rootroot00000000000000[ [ "line", "# Seeded srand with seed '20160810' from local date.\n" ], [ "comment", "# Seeded srand with seed '20160810' from local date.\n" ], [ "line", "not ok 1 - empty {\n" ], [ "child", [ [ "comment", "# Subtest: empty\n" ], [ "line", "1..0\n" ], [ "plan", { "start": 1, "end": 0 } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..0\n" ], [ "line", "}\n" ], [ "assert", { "ok": false, "id": 1, "buffered": true, "name": "empty" } ], [ "line", "Bail out! # empty\n" ], [ "bailout", "# empty" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# empty", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "buffered": true, "name": "empty" } ] } ] ] tap-parser-7.0.0/test/fixtures/perl-test2-buffered--bail.json000066400000000000000000000030641320135610000240540ustar00rootroot00000000000000[ [ "line", "# Seeded srand with seed '20160810' from local date.\n" ], [ "comment", "# Seeded srand with seed '20160810' from local date.\n" ], [ "line", "not ok 1 - empty {\n" ], [ "child", [ [ "comment", "# Subtest: empty\n" ], [ "line", "1..0\n" ], [ "plan", { "start": 1, "end": 0 } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..0\n" ], [ "line", "}\n" ], [ "assert", { "ok": false, "id": 1, "buffered": true, "name": "empty" } ], [ "line", "Bail out! # empty\n" ], [ "bailout", "# empty" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# empty", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "buffered": true, "name": "empty" } ] } ] ] tap-parser-7.0.0/test/fixtures/perl-test2-buffered--omitversion.json000066400000000000000000000163171320135610000255300ustar00rootroot00000000000000[ [ "line", "# Seeded srand with seed '20160810' from local date.\n" ], [ "comment", "# Seeded srand with seed '20160810' from local date.\n" ], [ "line", "not ok 1 - empty {\n" ], [ "child", [ [ "comment", "# Subtest: empty\n" ], [ "line", "1..0\n" ], [ "plan", { "start": 1, "end": 0 } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..0\n" ], [ "line", "}\n" ], [ "assert", { "ok": false, "id": 1, "buffered": true, "name": "empty" } ], [ "line", "ok 2 - my_test {\n" ], [ "child", [ [ "comment", "# Subtest: my_test\n" ], [ "line", "ok 1 - subtest event A\n" ], [ "assert", { "ok": true, "id": 1, "name": "subtest event A" } ], [ "line", "ok 2 - subtest event B\n" ], [ "assert", { "ok": true, "id": 2, "name": "subtest event B" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - subtest event A\n" ], [ "line", " ok 2 - subtest event B\n" ], [ "line", " 1..2\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 2, "buffered": true, "name": "my_test" } ], [ "line", "ok 3 - my_test_plan {\n" ], [ "child", [ [ "comment", "# Subtest: my_test_plan\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - subtest event A\n" ], [ "assert", { "ok": true, "id": 1, "name": "subtest event A" } ], [ "line", "ok 2 - subtest event B\n" ], [ "assert", { "ok": true, "id": 2, "name": "subtest event B" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - subtest event A\n" ], [ "line", " ok 2 - subtest event B\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 3, "buffered": true, "name": "my_test_plan" } ], [ "line", "# Subtest: my_streamy_test\n" ], [ "child", [ [ "comment", "# Subtest: my_streamy_test\n" ], [ "line", "ok 1 - subtest event A\n" ], [ "assert", { "ok": true, "id": 1, "name": "subtest event A" } ], [ "line", "ok 2 - subtest event B\n" ], [ "assert", { "ok": true, "id": 2, "name": "subtest event B" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - subtest event A\n" ], [ "line", " ok 2 - subtest event B\n" ], [ "line", " 1..2\n" ], [ "line", "ok 4 - Subtest: my_streamy_test\n" ], [ "assert", { "ok": true, "id": 4, "name": "Subtest: my_streamy_test" } ], [ "line", "# Subtest: my_streamy_test_plan\n" ], [ "child", [ [ "comment", "# Subtest: my_streamy_test_plan\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - subtest event A\n" ], [ "assert", { "ok": true, "id": 1, "name": "subtest event A" } ], [ "line", "ok 2 - subtest event B\n" ], [ "assert", { "ok": true, "id": 2, "name": "subtest event B" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - subtest event A\n" ], [ "line", " ok 2 - subtest event B\n" ], [ "line", "ok 5 - Subtest: my_streamy_test_plan\n" ], [ "assert", { "ok": true, "id": 5, "name": "Subtest: my_streamy_test_plan" } ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "buffered": true, "name": "empty" } ] } ] ] tap-parser-7.0.0/test/fixtures/perl-test2-buffered--preservewhite--omitversion.json000066400000000000000000000163171320135610000304770ustar00rootroot00000000000000[ [ "line", "# Seeded srand with seed '20160810' from local date.\n" ], [ "comment", "# Seeded srand with seed '20160810' from local date.\n" ], [ "line", "not ok 1 - empty {\n" ], [ "child", [ [ "comment", "# Subtest: empty\n" ], [ "line", "1..0\n" ], [ "plan", { "start": 1, "end": 0 } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..0\n" ], [ "line", "}\n" ], [ "assert", { "ok": false, "id": 1, "buffered": true, "name": "empty" } ], [ "line", "ok 2 - my_test {\n" ], [ "child", [ [ "comment", "# Subtest: my_test\n" ], [ "line", "ok 1 - subtest event A\n" ], [ "assert", { "ok": true, "id": 1, "name": "subtest event A" } ], [ "line", "ok 2 - subtest event B\n" ], [ "assert", { "ok": true, "id": 2, "name": "subtest event B" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - subtest event A\n" ], [ "line", " ok 2 - subtest event B\n" ], [ "line", " 1..2\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 2, "buffered": true, "name": "my_test" } ], [ "line", "ok 3 - my_test_plan {\n" ], [ "child", [ [ "comment", "# Subtest: my_test_plan\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - subtest event A\n" ], [ "assert", { "ok": true, "id": 1, "name": "subtest event A" } ], [ "line", "ok 2 - subtest event B\n" ], [ "assert", { "ok": true, "id": 2, "name": "subtest event B" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - subtest event A\n" ], [ "line", " ok 2 - subtest event B\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 3, "buffered": true, "name": "my_test_plan" } ], [ "line", "# Subtest: my_streamy_test\n" ], [ "child", [ [ "comment", "# Subtest: my_streamy_test\n" ], [ "line", "ok 1 - subtest event A\n" ], [ "assert", { "ok": true, "id": 1, "name": "subtest event A" } ], [ "line", "ok 2 - subtest event B\n" ], [ "assert", { "ok": true, "id": 2, "name": "subtest event B" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - subtest event A\n" ], [ "line", " ok 2 - subtest event B\n" ], [ "line", " 1..2\n" ], [ "line", "ok 4 - Subtest: my_streamy_test\n" ], [ "assert", { "ok": true, "id": 4, "name": "Subtest: my_streamy_test" } ], [ "line", "# Subtest: my_streamy_test_plan\n" ], [ "child", [ [ "comment", "# Subtest: my_streamy_test_plan\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - subtest event A\n" ], [ "assert", { "ok": true, "id": 1, "name": "subtest event A" } ], [ "line", "ok 2 - subtest event B\n" ], [ "assert", { "ok": true, "id": 2, "name": "subtest event B" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - subtest event A\n" ], [ "line", " ok 2 - subtest event B\n" ], [ "line", "ok 5 - Subtest: my_streamy_test_plan\n" ], [ "assert", { "ok": true, "id": 5, "name": "Subtest: my_streamy_test_plan" } ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "buffered": true, "name": "empty" } ] } ] ] tap-parser-7.0.0/test/fixtures/perl-test2-buffered--preservewhite.json000066400000000000000000000163171320135610000260460ustar00rootroot00000000000000[ [ "line", "# Seeded srand with seed '20160810' from local date.\n" ], [ "comment", "# Seeded srand with seed '20160810' from local date.\n" ], [ "line", "not ok 1 - empty {\n" ], [ "child", [ [ "comment", "# Subtest: empty\n" ], [ "line", "1..0\n" ], [ "plan", { "start": 1, "end": 0 } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..0\n" ], [ "line", "}\n" ], [ "assert", { "ok": false, "id": 1, "buffered": true, "name": "empty" } ], [ "line", "ok 2 - my_test {\n" ], [ "child", [ [ "comment", "# Subtest: my_test\n" ], [ "line", "ok 1 - subtest event A\n" ], [ "assert", { "ok": true, "id": 1, "name": "subtest event A" } ], [ "line", "ok 2 - subtest event B\n" ], [ "assert", { "ok": true, "id": 2, "name": "subtest event B" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - subtest event A\n" ], [ "line", " ok 2 - subtest event B\n" ], [ "line", " 1..2\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 2, "buffered": true, "name": "my_test" } ], [ "line", "ok 3 - my_test_plan {\n" ], [ "child", [ [ "comment", "# Subtest: my_test_plan\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - subtest event A\n" ], [ "assert", { "ok": true, "id": 1, "name": "subtest event A" } ], [ "line", "ok 2 - subtest event B\n" ], [ "assert", { "ok": true, "id": 2, "name": "subtest event B" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - subtest event A\n" ], [ "line", " ok 2 - subtest event B\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 3, "buffered": true, "name": "my_test_plan" } ], [ "line", "# Subtest: my_streamy_test\n" ], [ "child", [ [ "comment", "# Subtest: my_streamy_test\n" ], [ "line", "ok 1 - subtest event A\n" ], [ "assert", { "ok": true, "id": 1, "name": "subtest event A" } ], [ "line", "ok 2 - subtest event B\n" ], [ "assert", { "ok": true, "id": 2, "name": "subtest event B" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - subtest event A\n" ], [ "line", " ok 2 - subtest event B\n" ], [ "line", " 1..2\n" ], [ "line", "ok 4 - Subtest: my_streamy_test\n" ], [ "assert", { "ok": true, "id": 4, "name": "Subtest: my_streamy_test" } ], [ "line", "# Subtest: my_streamy_test_plan\n" ], [ "child", [ [ "comment", "# Subtest: my_streamy_test_plan\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - subtest event A\n" ], [ "assert", { "ok": true, "id": 1, "name": "subtest event A" } ], [ "line", "ok 2 - subtest event B\n" ], [ "assert", { "ok": true, "id": 2, "name": "subtest event B" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - subtest event A\n" ], [ "line", " ok 2 - subtest event B\n" ], [ "line", "ok 5 - Subtest: my_streamy_test_plan\n" ], [ "assert", { "ok": true, "id": 5, "name": "Subtest: my_streamy_test_plan" } ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "buffered": true, "name": "empty" } ] } ] ] tap-parser-7.0.0/test/fixtures/perl-test2-buffered.json000066400000000000000000000163171320135610000230770ustar00rootroot00000000000000[ [ "line", "# Seeded srand with seed '20160810' from local date.\n" ], [ "comment", "# Seeded srand with seed '20160810' from local date.\n" ], [ "line", "not ok 1 - empty {\n" ], [ "child", [ [ "comment", "# Subtest: empty\n" ], [ "line", "1..0\n" ], [ "plan", { "start": 1, "end": 0 } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..0\n" ], [ "line", "}\n" ], [ "assert", { "ok": false, "id": 1, "buffered": true, "name": "empty" } ], [ "line", "ok 2 - my_test {\n" ], [ "child", [ [ "comment", "# Subtest: my_test\n" ], [ "line", "ok 1 - subtest event A\n" ], [ "assert", { "ok": true, "id": 1, "name": "subtest event A" } ], [ "line", "ok 2 - subtest event B\n" ], [ "assert", { "ok": true, "id": 2, "name": "subtest event B" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - subtest event A\n" ], [ "line", " ok 2 - subtest event B\n" ], [ "line", " 1..2\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 2, "buffered": true, "name": "my_test" } ], [ "line", "ok 3 - my_test_plan {\n" ], [ "child", [ [ "comment", "# Subtest: my_test_plan\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - subtest event A\n" ], [ "assert", { "ok": true, "id": 1, "name": "subtest event A" } ], [ "line", "ok 2 - subtest event B\n" ], [ "assert", { "ok": true, "id": 2, "name": "subtest event B" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - subtest event A\n" ], [ "line", " ok 2 - subtest event B\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 3, "buffered": true, "name": "my_test_plan" } ], [ "line", "# Subtest: my_streamy_test\n" ], [ "child", [ [ "comment", "# Subtest: my_streamy_test\n" ], [ "line", "ok 1 - subtest event A\n" ], [ "assert", { "ok": true, "id": 1, "name": "subtest event A" } ], [ "line", "ok 2 - subtest event B\n" ], [ "assert", { "ok": true, "id": 2, "name": "subtest event B" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - subtest event A\n" ], [ "line", " ok 2 - subtest event B\n" ], [ "line", " 1..2\n" ], [ "line", "ok 4 - Subtest: my_streamy_test\n" ], [ "assert", { "ok": true, "id": 4, "name": "Subtest: my_streamy_test" } ], [ "line", "# Subtest: my_streamy_test_plan\n" ], [ "child", [ [ "comment", "# Subtest: my_streamy_test_plan\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - subtest event A\n" ], [ "assert", { "ok": true, "id": 1, "name": "subtest event A" } ], [ "line", "ok 2 - subtest event B\n" ], [ "assert", { "ok": true, "id": 2, "name": "subtest event B" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - subtest event A\n" ], [ "line", " ok 2 - subtest event B\n" ], [ "line", "ok 5 - Subtest: my_streamy_test_plan\n" ], [ "assert", { "ok": true, "id": 5, "name": "Subtest: my_streamy_test_plan" } ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "buffered": true, "name": "empty" } ] } ] ] tap-parser-7.0.0/test/fixtures/perl-test2-buffered.tap000066400000000000000000000007771320135610000227150ustar00rootroot00000000000000# Seeded srand with seed '20160810' from local date. not ok 1 - empty { 1..0 } ok 2 - my_test { ok 1 - subtest event A ok 2 - subtest event B 1..2 } ok 3 - my_test_plan { 1..2 ok 1 - subtest event A ok 2 - subtest event B } # Subtest: my_streamy_test ok 1 - subtest event A ok 2 - subtest event B 1..2 ok 4 - Subtest: my_streamy_test # Subtest: my_streamy_test_plan 1..2 ok 1 - subtest event A ok 2 - subtest event B ok 5 - Subtest: my_streamy_test_plan 1..5 tap-parser-7.0.0/test/fixtures/perl-test2-streamed--bail--omitversion.json000066400000000000000000000066231320135610000265330ustar00rootroot00000000000000[ [ "line", "# Seeded srand with seed '20160809' from local date.\n" ], [ "comment", "# Seeded srand with seed '20160809' from local date.\n" ], [ "line", "# Subtest: my_streamy_test\n" ], [ "child", [ [ "comment", "# Subtest: my_streamy_test\n" ], [ "line", "ok 1 - subtest event A\n" ], [ "assert", { "ok": true, "id": 1, "name": "subtest event A" } ], [ "line", "ok 2 - subtest event B\n" ], [ "assert", { "ok": true, "id": 2, "name": "subtest event B" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - subtest event A\n" ], [ "line", " ok 2 - subtest event B\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - Subtest: my_streamy_test\n" ], [ "assert", { "ok": true, "id": 1, "name": "Subtest: my_streamy_test" } ], [ "line", "# Subtest: my_streamy_test_plan\n" ], [ "child", [ [ "comment", "# Subtest: my_streamy_test_plan\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - subtest event A\n" ], [ "assert", { "ok": true, "id": 1, "name": "subtest event A" } ], [ "line", "ok 2 - subtest event B\n" ], [ "assert", { "ok": true, "id": 2, "name": "subtest event B" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - subtest event A\n" ], [ "line", " ok 2 - subtest event B\n" ], [ "line", "ok 2 - Subtest: my_streamy_test_plan\n" ], [ "assert", { "ok": true, "id": 2, "name": "Subtest: my_streamy_test_plan" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/perl-test2-streamed--bail--preservewhite--omitversion.json000066400000000000000000000066231320135610000315020ustar00rootroot00000000000000[ [ "line", "# Seeded srand with seed '20160809' from local date.\n" ], [ "comment", "# Seeded srand with seed '20160809' from local date.\n" ], [ "line", "# Subtest: my_streamy_test\n" ], [ "child", [ [ "comment", "# Subtest: my_streamy_test\n" ], [ "line", "ok 1 - subtest event A\n" ], [ "assert", { "ok": true, "id": 1, "name": "subtest event A" } ], [ "line", "ok 2 - subtest event B\n" ], [ "assert", { "ok": true, "id": 2, "name": "subtest event B" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - subtest event A\n" ], [ "line", " ok 2 - subtest event B\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - Subtest: my_streamy_test\n" ], [ "assert", { "ok": true, "id": 1, "name": "Subtest: my_streamy_test" } ], [ "line", "# Subtest: my_streamy_test_plan\n" ], [ "child", [ [ "comment", "# Subtest: my_streamy_test_plan\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - subtest event A\n" ], [ "assert", { "ok": true, "id": 1, "name": "subtest event A" } ], [ "line", "ok 2 - subtest event B\n" ], [ "assert", { "ok": true, "id": 2, "name": "subtest event B" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - subtest event A\n" ], [ "line", " ok 2 - subtest event B\n" ], [ "line", "ok 2 - Subtest: my_streamy_test_plan\n" ], [ "assert", { "ok": true, "id": 2, "name": "Subtest: my_streamy_test_plan" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/perl-test2-streamed--bail--preservewhite.json000066400000000000000000000066231320135610000270510ustar00rootroot00000000000000[ [ "line", "# Seeded srand with seed '20160809' from local date.\n" ], [ "comment", "# Seeded srand with seed '20160809' from local date.\n" ], [ "line", "# Subtest: my_streamy_test\n" ], [ "child", [ [ "comment", "# Subtest: my_streamy_test\n" ], [ "line", "ok 1 - subtest event A\n" ], [ "assert", { "ok": true, "id": 1, "name": "subtest event A" } ], [ "line", "ok 2 - subtest event B\n" ], [ "assert", { "ok": true, "id": 2, "name": "subtest event B" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - subtest event A\n" ], [ "line", " ok 2 - subtest event B\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - Subtest: my_streamy_test\n" ], [ "assert", { "ok": true, "id": 1, "name": "Subtest: my_streamy_test" } ], [ "line", "# Subtest: my_streamy_test_plan\n" ], [ "child", [ [ "comment", "# Subtest: my_streamy_test_plan\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - subtest event A\n" ], [ "assert", { "ok": true, "id": 1, "name": "subtest event A" } ], [ "line", "ok 2 - subtest event B\n" ], [ "assert", { "ok": true, "id": 2, "name": "subtest event B" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - subtest event A\n" ], [ "line", " ok 2 - subtest event B\n" ], [ "line", "ok 2 - Subtest: my_streamy_test_plan\n" ], [ "assert", { "ok": true, "id": 2, "name": "Subtest: my_streamy_test_plan" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/perl-test2-streamed--bail.json000066400000000000000000000066231320135610000241020ustar00rootroot00000000000000[ [ "line", "# Seeded srand with seed '20160809' from local date.\n" ], [ "comment", "# Seeded srand with seed '20160809' from local date.\n" ], [ "line", "# Subtest: my_streamy_test\n" ], [ "child", [ [ "comment", "# Subtest: my_streamy_test\n" ], [ "line", "ok 1 - subtest event A\n" ], [ "assert", { "ok": true, "id": 1, "name": "subtest event A" } ], [ "line", "ok 2 - subtest event B\n" ], [ "assert", { "ok": true, "id": 2, "name": "subtest event B" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - subtest event A\n" ], [ "line", " ok 2 - subtest event B\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - Subtest: my_streamy_test\n" ], [ "assert", { "ok": true, "id": 1, "name": "Subtest: my_streamy_test" } ], [ "line", "# Subtest: my_streamy_test_plan\n" ], [ "child", [ [ "comment", "# Subtest: my_streamy_test_plan\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - subtest event A\n" ], [ "assert", { "ok": true, "id": 1, "name": "subtest event A" } ], [ "line", "ok 2 - subtest event B\n" ], [ "assert", { "ok": true, "id": 2, "name": "subtest event B" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - subtest event A\n" ], [ "line", " ok 2 - subtest event B\n" ], [ "line", "ok 2 - Subtest: my_streamy_test_plan\n" ], [ "assert", { "ok": true, "id": 2, "name": "Subtest: my_streamy_test_plan" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/perl-test2-streamed--omitversion.json000066400000000000000000000066231320135610000255510ustar00rootroot00000000000000[ [ "line", "# Seeded srand with seed '20160809' from local date.\n" ], [ "comment", "# Seeded srand with seed '20160809' from local date.\n" ], [ "line", "# Subtest: my_streamy_test\n" ], [ "child", [ [ "comment", "# Subtest: my_streamy_test\n" ], [ "line", "ok 1 - subtest event A\n" ], [ "assert", { "ok": true, "id": 1, "name": "subtest event A" } ], [ "line", "ok 2 - subtest event B\n" ], [ "assert", { "ok": true, "id": 2, "name": "subtest event B" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - subtest event A\n" ], [ "line", " ok 2 - subtest event B\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - Subtest: my_streamy_test\n" ], [ "assert", { "ok": true, "id": 1, "name": "Subtest: my_streamy_test" } ], [ "line", "# Subtest: my_streamy_test_plan\n" ], [ "child", [ [ "comment", "# Subtest: my_streamy_test_plan\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - subtest event A\n" ], [ "assert", { "ok": true, "id": 1, "name": "subtest event A" } ], [ "line", "ok 2 - subtest event B\n" ], [ "assert", { "ok": true, "id": 2, "name": "subtest event B" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - subtest event A\n" ], [ "line", " ok 2 - subtest event B\n" ], [ "line", "ok 2 - Subtest: my_streamy_test_plan\n" ], [ "assert", { "ok": true, "id": 2, "name": "Subtest: my_streamy_test_plan" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/perl-test2-streamed--preservewhite--omitversion.json000066400000000000000000000066231320135610000305200ustar00rootroot00000000000000[ [ "line", "# Seeded srand with seed '20160809' from local date.\n" ], [ "comment", "# Seeded srand with seed '20160809' from local date.\n" ], [ "line", "# Subtest: my_streamy_test\n" ], [ "child", [ [ "comment", "# Subtest: my_streamy_test\n" ], [ "line", "ok 1 - subtest event A\n" ], [ "assert", { "ok": true, "id": 1, "name": "subtest event A" } ], [ "line", "ok 2 - subtest event B\n" ], [ "assert", { "ok": true, "id": 2, "name": "subtest event B" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - subtest event A\n" ], [ "line", " ok 2 - subtest event B\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - Subtest: my_streamy_test\n" ], [ "assert", { "ok": true, "id": 1, "name": "Subtest: my_streamy_test" } ], [ "line", "# Subtest: my_streamy_test_plan\n" ], [ "child", [ [ "comment", "# Subtest: my_streamy_test_plan\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - subtest event A\n" ], [ "assert", { "ok": true, "id": 1, "name": "subtest event A" } ], [ "line", "ok 2 - subtest event B\n" ], [ "assert", { "ok": true, "id": 2, "name": "subtest event B" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - subtest event A\n" ], [ "line", " ok 2 - subtest event B\n" ], [ "line", "ok 2 - Subtest: my_streamy_test_plan\n" ], [ "assert", { "ok": true, "id": 2, "name": "Subtest: my_streamy_test_plan" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/perl-test2-streamed--preservewhite.json000066400000000000000000000066231320135610000260670ustar00rootroot00000000000000[ [ "line", "# Seeded srand with seed '20160809' from local date.\n" ], [ "comment", "# Seeded srand with seed '20160809' from local date.\n" ], [ "line", "# Subtest: my_streamy_test\n" ], [ "child", [ [ "comment", "# Subtest: my_streamy_test\n" ], [ "line", "ok 1 - subtest event A\n" ], [ "assert", { "ok": true, "id": 1, "name": "subtest event A" } ], [ "line", "ok 2 - subtest event B\n" ], [ "assert", { "ok": true, "id": 2, "name": "subtest event B" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - subtest event A\n" ], [ "line", " ok 2 - subtest event B\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - Subtest: my_streamy_test\n" ], [ "assert", { "ok": true, "id": 1, "name": "Subtest: my_streamy_test" } ], [ "line", "# Subtest: my_streamy_test_plan\n" ], [ "child", [ [ "comment", "# Subtest: my_streamy_test_plan\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - subtest event A\n" ], [ "assert", { "ok": true, "id": 1, "name": "subtest event A" } ], [ "line", "ok 2 - subtest event B\n" ], [ "assert", { "ok": true, "id": 2, "name": "subtest event B" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - subtest event A\n" ], [ "line", " ok 2 - subtest event B\n" ], [ "line", "ok 2 - Subtest: my_streamy_test_plan\n" ], [ "assert", { "ok": true, "id": 2, "name": "Subtest: my_streamy_test_plan" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/perl-test2-streamed.json000066400000000000000000000066231320135610000231200ustar00rootroot00000000000000[ [ "line", "# Seeded srand with seed '20160809' from local date.\n" ], [ "comment", "# Seeded srand with seed '20160809' from local date.\n" ], [ "line", "# Subtest: my_streamy_test\n" ], [ "child", [ [ "comment", "# Subtest: my_streamy_test\n" ], [ "line", "ok 1 - subtest event A\n" ], [ "assert", { "ok": true, "id": 1, "name": "subtest event A" } ], [ "line", "ok 2 - subtest event B\n" ], [ "assert", { "ok": true, "id": 2, "name": "subtest event B" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - subtest event A\n" ], [ "line", " ok 2 - subtest event B\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - Subtest: my_streamy_test\n" ], [ "assert", { "ok": true, "id": 1, "name": "Subtest: my_streamy_test" } ], [ "line", "# Subtest: my_streamy_test_plan\n" ], [ "child", [ [ "comment", "# Subtest: my_streamy_test_plan\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - subtest event A\n" ], [ "assert", { "ok": true, "id": 1, "name": "subtest event A" } ], [ "line", "ok 2 - subtest event B\n" ], [ "assert", { "ok": true, "id": 2, "name": "subtest event B" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - subtest event A\n" ], [ "line", " ok 2 - subtest event B\n" ], [ "line", "ok 2 - Subtest: my_streamy_test_plan\n" ], [ "assert", { "ok": true, "id": 2, "name": "Subtest: my_streamy_test_plan" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/perl-test2-streamed.tap000066400000000000000000000004701320135610000227250ustar00rootroot00000000000000# Seeded srand with seed '20160809' from local date. # Subtest: my_streamy_test ok 1 - subtest event A ok 2 - subtest event B 1..2 ok 1 - Subtest: my_streamy_test # Subtest: my_streamy_test_plan 1..2 ok 1 - subtest event A ok 2 - subtest event B ok 2 - Subtest: my_streamy_test_plan 1..2 tap-parser-7.0.0/test/fixtures/plan-in-bad-places-post--bail--omitversion.json000066400000000000000000000044071320135610000272400ustar00rootroot00000000000000[ [ "line", "ok subtest {\n" ], [ "child", [ [ "comment", "# Subtest: subtest\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "subtest" } ], [ "line", "1..99\n" ], [ "extra", "1..99\n" ], [ "line", "ok yaml\n" ], [ "line", " ---\n" ], [ "line", " ok: lamy\n" ], [ "assert", { "ok": true, "id": 2, "name": "yaml" } ], [ "extra", " ---\n ok: lamy\n" ], [ "line", "1..99\n" ], [ "plan", { "start": 1, "end": 99 } ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "line", "1..2\n" ], [ "extra", "1..2\n" ], [ "line", "1..2\n" ], [ "extra", "1..2\n" ], [ "line", "# test count(2) != plan(99)\n" ], [ "comment", "# test count(2) != plan(99)\n" ], [ "line", "# failed 1 of 2 tests\n" ], [ "comment", "# failed 1 of 2 tests\n" ], [ "complete", { "ok": false, "count": 2, "pass": 2, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 99, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/plan-in-bad-places-post--bail--preservewhite--omitversion.json000066400000000000000000000044071320135610000322070ustar00rootroot00000000000000[ [ "line", "ok subtest {\n" ], [ "child", [ [ "comment", "# Subtest: subtest\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "subtest" } ], [ "line", "1..99\n" ], [ "extra", "1..99\n" ], [ "line", "ok yaml\n" ], [ "line", " ---\n" ], [ "line", " ok: lamy\n" ], [ "assert", { "ok": true, "id": 2, "name": "yaml" } ], [ "extra", " ---\n ok: lamy\n" ], [ "line", "1..99\n" ], [ "plan", { "start": 1, "end": 99 } ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "line", "1..2\n" ], [ "extra", "1..2\n" ], [ "line", "1..2\n" ], [ "extra", "1..2\n" ], [ "line", "# test count(2) != plan(99)\n" ], [ "comment", "# test count(2) != plan(99)\n" ], [ "line", "# failed 1 of 2 tests\n" ], [ "comment", "# failed 1 of 2 tests\n" ], [ "complete", { "ok": false, "count": 2, "pass": 2, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 99, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/plan-in-bad-places-post--bail--preservewhite.json000066400000000000000000000045221320135610000275540ustar00rootroot00000000000000[ [ "line", "tap version 13\n" ], [ "version", 13 ], [ "line", "ok subtest {\n" ], [ "child", [ [ "comment", "# Subtest: subtest\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "subtest" } ], [ "line", "1..99\n" ], [ "extra", "1..99\n" ], [ "line", "ok yaml\n" ], [ "line", " ---\n" ], [ "line", " ok: lamy\n" ], [ "assert", { "ok": true, "id": 2, "name": "yaml" } ], [ "extra", " ---\n ok: lamy\n" ], [ "line", "1..99\n" ], [ "plan", { "start": 1, "end": 99 } ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "line", "1..2\n" ], [ "extra", "1..2\n" ], [ "line", "1..2\n" ], [ "extra", "1..2\n" ], [ "line", "# test count(2) != plan(99)\n" ], [ "comment", "# test count(2) != plan(99)\n" ], [ "line", "# failed 1 of 2 tests\n" ], [ "comment", "# failed 1 of 2 tests\n" ], [ "complete", { "ok": false, "count": 2, "pass": 2, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 99, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/plan-in-bad-places-post--bail.json000066400000000000000000000045221320135610000246050ustar00rootroot00000000000000[ [ "line", "tap version 13\n" ], [ "version", 13 ], [ "line", "ok subtest {\n" ], [ "child", [ [ "comment", "# Subtest: subtest\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "subtest" } ], [ "line", "1..99\n" ], [ "extra", "1..99\n" ], [ "line", "ok yaml\n" ], [ "line", " ---\n" ], [ "line", " ok: lamy\n" ], [ "assert", { "ok": true, "id": 2, "name": "yaml" } ], [ "extra", " ---\n ok: lamy\n" ], [ "line", "1..99\n" ], [ "plan", { "start": 1, "end": 99 } ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "line", "1..2\n" ], [ "extra", "1..2\n" ], [ "line", "1..2\n" ], [ "extra", "1..2\n" ], [ "line", "# test count(2) != plan(99)\n" ], [ "comment", "# test count(2) != plan(99)\n" ], [ "line", "# failed 1 of 2 tests\n" ], [ "comment", "# failed 1 of 2 tests\n" ], [ "complete", { "ok": false, "count": 2, "pass": 2, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 99, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/plan-in-bad-places-post--omitversion.json000066400000000000000000000044071320135610000262560ustar00rootroot00000000000000[ [ "line", "ok subtest {\n" ], [ "child", [ [ "comment", "# Subtest: subtest\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "subtest" } ], [ "line", "1..99\n" ], [ "extra", "1..99\n" ], [ "line", "ok yaml\n" ], [ "line", " ---\n" ], [ "line", " ok: lamy\n" ], [ "assert", { "ok": true, "id": 2, "name": "yaml" } ], [ "extra", " ---\n ok: lamy\n" ], [ "line", "1..99\n" ], [ "plan", { "start": 1, "end": 99 } ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "line", "1..2\n" ], [ "extra", "1..2\n" ], [ "line", "1..2\n" ], [ "extra", "1..2\n" ], [ "line", "# test count(2) != plan(99)\n" ], [ "comment", "# test count(2) != plan(99)\n" ], [ "line", "# failed 1 of 2 tests\n" ], [ "comment", "# failed 1 of 2 tests\n" ], [ "complete", { "ok": false, "count": 2, "pass": 2, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 99, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/plan-in-bad-places-post--preservewhite--omitversion.json000066400000000000000000000044071320135610000312250ustar00rootroot00000000000000[ [ "line", "ok subtest {\n" ], [ "child", [ [ "comment", "# Subtest: subtest\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "subtest" } ], [ "line", "1..99\n" ], [ "extra", "1..99\n" ], [ "line", "ok yaml\n" ], [ "line", " ---\n" ], [ "line", " ok: lamy\n" ], [ "assert", { "ok": true, "id": 2, "name": "yaml" } ], [ "extra", " ---\n ok: lamy\n" ], [ "line", "1..99\n" ], [ "plan", { "start": 1, "end": 99 } ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "line", "1..2\n" ], [ "extra", "1..2\n" ], [ "line", "1..2\n" ], [ "extra", "1..2\n" ], [ "line", "# test count(2) != plan(99)\n" ], [ "comment", "# test count(2) != plan(99)\n" ], [ "line", "# failed 1 of 2 tests\n" ], [ "comment", "# failed 1 of 2 tests\n" ], [ "complete", { "ok": false, "count": 2, "pass": 2, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 99, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/plan-in-bad-places-post--preservewhite.json000066400000000000000000000045221320135610000265720ustar00rootroot00000000000000[ [ "line", "tap version 13\n" ], [ "version", 13 ], [ "line", "ok subtest {\n" ], [ "child", [ [ "comment", "# Subtest: subtest\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "subtest" } ], [ "line", "1..99\n" ], [ "extra", "1..99\n" ], [ "line", "ok yaml\n" ], [ "line", " ---\n" ], [ "line", " ok: lamy\n" ], [ "assert", { "ok": true, "id": 2, "name": "yaml" } ], [ "extra", " ---\n ok: lamy\n" ], [ "line", "1..99\n" ], [ "plan", { "start": 1, "end": 99 } ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "line", "1..2\n" ], [ "extra", "1..2\n" ], [ "line", "1..2\n" ], [ "extra", "1..2\n" ], [ "line", "# test count(2) != plan(99)\n" ], [ "comment", "# test count(2) != plan(99)\n" ], [ "line", "# failed 1 of 2 tests\n" ], [ "comment", "# failed 1 of 2 tests\n" ], [ "complete", { "ok": false, "count": 2, "pass": 2, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 99, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/plan-in-bad-places-post.json000066400000000000000000000045221320135610000236230ustar00rootroot00000000000000[ [ "line", "tap version 13\n" ], [ "version", 13 ], [ "line", "ok subtest {\n" ], [ "child", [ [ "comment", "# Subtest: subtest\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "subtest" } ], [ "line", "1..99\n" ], [ "extra", "1..99\n" ], [ "line", "ok yaml\n" ], [ "line", " ---\n" ], [ "line", " ok: lamy\n" ], [ "assert", { "ok": true, "id": 2, "name": "yaml" } ], [ "extra", " ---\n ok: lamy\n" ], [ "line", "1..99\n" ], [ "plan", { "start": 1, "end": 99 } ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "line", "1..2\n" ], [ "extra", "1..2\n" ], [ "line", "1..2\n" ], [ "extra", "1..2\n" ], [ "line", "# test count(2) != plan(99)\n" ], [ "comment", "# test count(2) != plan(99)\n" ], [ "line", "# failed 1 of 2 tests\n" ], [ "comment", "# failed 1 of 2 tests\n" ], [ "complete", { "ok": false, "count": 2, "pass": 2, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 99, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/plan-in-bad-places-post.tap000066400000000000000000000001661320135610000234360ustar00rootroot00000000000000tap version 13 ok subtest { tap version 13 1..1 1..99 ok } ok yaml --- ok: lamy 1..99 ... 1..2 1..2 tap-parser-7.0.0/test/fixtures/plan-in-bad-places-pre--bail--omitversion.json000066400000000000000000000037321320135610000270410ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "1..2\n" ], [ "extra", "1..2\n" ], [ "line", "ok subtest {\n" ], [ "child", [ [ "comment", "# Subtest: subtest\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "subtest" } ], [ "line", "1..99\n" ], [ "extra", "1..99\n" ], [ "line", "ok yaml\n" ], [ "line", " ---\n" ], [ "line", " ok: lamy\n" ], [ "assert", { "ok": true, "id": 2, "name": "yaml" } ], [ "extra", " ---\n ok: lamy\n" ], [ "line", "1..99\n" ], [ "extra", "1..99\n" ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/plan-in-bad-places-pre--bail--preservewhite--omitversion.json000066400000000000000000000037321320135610000320100ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "1..2\n" ], [ "extra", "1..2\n" ], [ "line", "ok subtest {\n" ], [ "child", [ [ "comment", "# Subtest: subtest\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "subtest" } ], [ "line", "1..99\n" ], [ "extra", "1..99\n" ], [ "line", "ok yaml\n" ], [ "line", " ---\n" ], [ "line", " ok: lamy\n" ], [ "assert", { "ok": true, "id": 2, "name": "yaml" } ], [ "extra", " ---\n ok: lamy\n" ], [ "line", "1..99\n" ], [ "extra", "1..99\n" ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/plan-in-bad-places-pre--bail--preservewhite.json000066400000000000000000000040451320135610000273550ustar00rootroot00000000000000[ [ "line", "tap version 13\n" ], [ "version", 13 ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "1..2\n" ], [ "extra", "1..2\n" ], [ "line", "ok subtest {\n" ], [ "child", [ [ "comment", "# Subtest: subtest\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "subtest" } ], [ "line", "1..99\n" ], [ "extra", "1..99\n" ], [ "line", "ok yaml\n" ], [ "line", " ---\n" ], [ "line", " ok: lamy\n" ], [ "assert", { "ok": true, "id": 2, "name": "yaml" } ], [ "extra", " ---\n ok: lamy\n" ], [ "line", "1..99\n" ], [ "extra", "1..99\n" ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/plan-in-bad-places-pre--bail.json000066400000000000000000000040451320135610000244060ustar00rootroot00000000000000[ [ "line", "tap version 13\n" ], [ "version", 13 ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "1..2\n" ], [ "extra", "1..2\n" ], [ "line", "ok subtest {\n" ], [ "child", [ [ "comment", "# Subtest: subtest\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "subtest" } ], [ "line", "1..99\n" ], [ "extra", "1..99\n" ], [ "line", "ok yaml\n" ], [ "line", " ---\n" ], [ "line", " ok: lamy\n" ], [ "assert", { "ok": true, "id": 2, "name": "yaml" } ], [ "extra", " ---\n ok: lamy\n" ], [ "line", "1..99\n" ], [ "extra", "1..99\n" ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/plan-in-bad-places-pre--omitversion.json000066400000000000000000000037321320135610000260570ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "1..2\n" ], [ "extra", "1..2\n" ], [ "line", "ok subtest {\n" ], [ "child", [ [ "comment", "# Subtest: subtest\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "subtest" } ], [ "line", "1..99\n" ], [ "extra", "1..99\n" ], [ "line", "ok yaml\n" ], [ "line", " ---\n" ], [ "line", " ok: lamy\n" ], [ "assert", { "ok": true, "id": 2, "name": "yaml" } ], [ "extra", " ---\n ok: lamy\n" ], [ "line", "1..99\n" ], [ "extra", "1..99\n" ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/plan-in-bad-places-pre--preservewhite--omitversion.json000066400000000000000000000037321320135610000310260ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "1..2\n" ], [ "extra", "1..2\n" ], [ "line", "ok subtest {\n" ], [ "child", [ [ "comment", "# Subtest: subtest\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "subtest" } ], [ "line", "1..99\n" ], [ "extra", "1..99\n" ], [ "line", "ok yaml\n" ], [ "line", " ---\n" ], [ "line", " ok: lamy\n" ], [ "assert", { "ok": true, "id": 2, "name": "yaml" } ], [ "extra", " ---\n ok: lamy\n" ], [ "line", "1..99\n" ], [ "extra", "1..99\n" ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/plan-in-bad-places-pre--preservewhite.json000066400000000000000000000040451320135610000263730ustar00rootroot00000000000000[ [ "line", "tap version 13\n" ], [ "version", 13 ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "1..2\n" ], [ "extra", "1..2\n" ], [ "line", "ok subtest {\n" ], [ "child", [ [ "comment", "# Subtest: subtest\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "subtest" } ], [ "line", "1..99\n" ], [ "extra", "1..99\n" ], [ "line", "ok yaml\n" ], [ "line", " ---\n" ], [ "line", " ok: lamy\n" ], [ "assert", { "ok": true, "id": 2, "name": "yaml" } ], [ "extra", " ---\n ok: lamy\n" ], [ "line", "1..99\n" ], [ "extra", "1..99\n" ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/plan-in-bad-places-pre.json000066400000000000000000000040451320135610000234240ustar00rootroot00000000000000[ [ "line", "tap version 13\n" ], [ "version", 13 ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "1..2\n" ], [ "extra", "1..2\n" ], [ "line", "ok subtest {\n" ], [ "child", [ [ "comment", "# Subtest: subtest\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "subtest" } ], [ "line", "1..99\n" ], [ "extra", "1..99\n" ], [ "line", "ok yaml\n" ], [ "line", " ---\n" ], [ "line", " ok: lamy\n" ], [ "assert", { "ok": true, "id": 2, "name": "yaml" } ], [ "extra", " ---\n ok: lamy\n" ], [ "line", "1..99\n" ], [ "extra", "1..99\n" ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/plan-in-bad-places-pre.tap000066400000000000000000000001661320135610000232370ustar00rootroot00000000000000tap version 13 1..2 1..2 ok subtest { tap version 13 1..1 1..99 ok } ok yaml --- ok: lamy 1..99 ... tap-parser-7.0.0/test/fixtures/plan-invalid--bail--omitversion.json000066400000000000000000000011301320135610000252720ustar00rootroot00000000000000[ [ "line", "100..1\n" ], [ "extra", "100..1\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/plan-invalid--bail--preservewhite--omitversion.json000066400000000000000000000011301320135610000302410ustar00rootroot00000000000000[ [ "line", "100..1\n" ], [ "extra", "100..1\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/plan-invalid--bail--preservewhite.json000066400000000000000000000011301320135610000256100ustar00rootroot00000000000000[ [ "line", "100..1\n" ], [ "extra", "100..1\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/plan-invalid--bail.json000066400000000000000000000011301320135610000226410ustar00rootroot00000000000000[ [ "line", "100..1\n" ], [ "extra", "100..1\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/plan-invalid--omitversion.json000066400000000000000000000011301320135610000243100ustar00rootroot00000000000000[ [ "line", "100..1\n" ], [ "extra", "100..1\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/plan-invalid--preservewhite--omitversion.json000066400000000000000000000011301320135610000272570ustar00rootroot00000000000000[ [ "line", "100..1\n" ], [ "extra", "100..1\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/plan-invalid--preservewhite.json000066400000000000000000000011301320135610000246260ustar00rootroot00000000000000[ [ "line", "100..1\n" ], [ "extra", "100..1\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/plan-invalid-strict--bail--omitversion.json000066400000000000000000000016261320135610000266120ustar00rootroot00000000000000[ [ "line", "pragma +strict\n" ], [ "pragma", "strict", true ], [ "line", "100..1\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "plan end cannot be less than plan start", "plan": { "start": 100, "end": 1 } } ] } ] ] tap-parser-7.0.0/test/fixtures/plan-invalid-strict--bail--preservewhite--omitversion.json000066400000000000000000000016261320135610000315610ustar00rootroot00000000000000[ [ "line", "pragma +strict\n" ], [ "pragma", "strict", true ], [ "line", "100..1\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "plan end cannot be less than plan start", "plan": { "start": 100, "end": 1 } } ] } ] ] tap-parser-7.0.0/test/fixtures/plan-invalid-strict--bail--preservewhite.json000066400000000000000000000016261320135610000271300ustar00rootroot00000000000000[ [ "line", "pragma +strict\n" ], [ "pragma", "strict", true ], [ "line", "100..1\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "plan end cannot be less than plan start", "plan": { "start": 100, "end": 1 } } ] } ] ] tap-parser-7.0.0/test/fixtures/plan-invalid-strict--bail.json000066400000000000000000000016261320135610000241610ustar00rootroot00000000000000[ [ "line", "pragma +strict\n" ], [ "pragma", "strict", true ], [ "line", "100..1\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "plan end cannot be less than plan start", "plan": { "start": 100, "end": 1 } } ] } ] ] tap-parser-7.0.0/test/fixtures/plan-invalid-strict--omitversion.json000066400000000000000000000016261320135610000256300ustar00rootroot00000000000000[ [ "line", "pragma +strict\n" ], [ "pragma", "strict", true ], [ "line", "100..1\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "plan end cannot be less than plan start", "plan": { "start": 100, "end": 1 } } ] } ] ] tap-parser-7.0.0/test/fixtures/plan-invalid-strict--preservewhite--omitversion.json000066400000000000000000000016261320135610000305770ustar00rootroot00000000000000[ [ "line", "pragma +strict\n" ], [ "pragma", "strict", true ], [ "line", "100..1\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "plan end cannot be less than plan start", "plan": { "start": 100, "end": 1 } } ] } ] ] tap-parser-7.0.0/test/fixtures/plan-invalid-strict--preservewhite.json000066400000000000000000000016261320135610000261460ustar00rootroot00000000000000[ [ "line", "pragma +strict\n" ], [ "pragma", "strict", true ], [ "line", "100..1\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "plan end cannot be less than plan start", "plan": { "start": 100, "end": 1 } } ] } ] ] tap-parser-7.0.0/test/fixtures/plan-invalid-strict.json000066400000000000000000000016261320135610000231770ustar00rootroot00000000000000[ [ "line", "pragma +strict\n" ], [ "pragma", "strict", true ], [ "line", "100..1\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "plan end cannot be less than plan start", "plan": { "start": 100, "end": 1 } } ] } ] ] tap-parser-7.0.0/test/fixtures/plan-invalid-strict.tap000066400000000000000000000000401320135610000227770ustar00rootroot00000000000000pragma +strict 100..1 ok 1 1..1 tap-parser-7.0.0/test/fixtures/plan-invalid.json000066400000000000000000000011301320135610000216570ustar00rootroot00000000000000[ [ "line", "100..1\n" ], [ "extra", "100..1\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/plan-invalid.tap000066400000000000000000000000211320135610000214700ustar00rootroot00000000000000100..1 ok 1 1..1 tap-parser-7.0.0/test/fixtures/pragma-after-failure--bail--omitversion.json000066400000000000000000000010761320135610000267200ustar00rootroot00000000000000[ [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 } ] } ] ] tap-parser-7.0.0/test/fixtures/pragma-after-failure--bail--preservewhite--omitversion.json000066400000000000000000000010761320135610000316670ustar00rootroot00000000000000[ [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 } ] } ] ] tap-parser-7.0.0/test/fixtures/pragma-after-failure--bail--preservewhite.json000066400000000000000000000010761320135610000272360ustar00rootroot00000000000000[ [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 } ] } ] ] tap-parser-7.0.0/test/fixtures/pragma-after-failure--bail.json000066400000000000000000000010761320135610000242670ustar00rootroot00000000000000[ [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 } ] } ] ] tap-parser-7.0.0/test/fixtures/pragma-after-failure--omitversion.json000066400000000000000000000015751320135610000257420ustar00rootroot00000000000000[ [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "pragma +custom\n" ], [ "pragma", "custom", true ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# failed 1 of 2 tests\n" ], [ "comment", "# failed 1 of 2 tests\n" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 } ] } ] ] tap-parser-7.0.0/test/fixtures/pragma-after-failure--preservewhite--omitversion.json000066400000000000000000000015751320135610000307110ustar00rootroot00000000000000[ [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "pragma +custom\n" ], [ "pragma", "custom", true ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# failed 1 of 2 tests\n" ], [ "comment", "# failed 1 of 2 tests\n" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 } ] } ] ] tap-parser-7.0.0/test/fixtures/pragma-after-failure--preservewhite.json000066400000000000000000000015751320135610000262600ustar00rootroot00000000000000[ [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "pragma +custom\n" ], [ "pragma", "custom", true ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# failed 1 of 2 tests\n" ], [ "comment", "# failed 1 of 2 tests\n" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 } ] } ] ] tap-parser-7.0.0/test/fixtures/pragma-after-failure.json000066400000000000000000000015751320135610000233110ustar00rootroot00000000000000[ [ "line", "not ok\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "pragma +custom\n" ], [ "pragma", "custom", true ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# failed 1 of 2 tests\n" ], [ "comment", "# failed 1 of 2 tests\n" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 } ] } ] ] tap-parser-7.0.0/test/fixtures/pragma-after-failure.tap000066400000000000000000000000361320135610000231130ustar00rootroot00000000000000not ok pragma +custom ok 1..2 tap-parser-7.0.0/test/fixtures/pragma-mid-child--bail--omitversion.json000066400000000000000000000030621320135610000260210ustar00rootroot00000000000000[ [ "line", "pragma +foo\n" ], [ "pragma", "foo", true ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", "pragma +foo\n" ], [ "extra", "pragma +foo\n" ], [ "line", " ok\n" ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/pragma-mid-child--bail--preservewhite--omitversion.json000066400000000000000000000030621320135610000307700ustar00rootroot00000000000000[ [ "line", "pragma +foo\n" ], [ "pragma", "foo", true ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", "pragma +foo\n" ], [ "extra", "pragma +foo\n" ], [ "line", " ok\n" ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/pragma-mid-child--bail--preservewhite.json000066400000000000000000000030621320135610000263370ustar00rootroot00000000000000[ [ "line", "pragma +foo\n" ], [ "pragma", "foo", true ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", "pragma +foo\n" ], [ "extra", "pragma +foo\n" ], [ "line", " ok\n" ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/pragma-mid-child--bail.json000066400000000000000000000030621320135610000233700ustar00rootroot00000000000000[ [ "line", "pragma +foo\n" ], [ "pragma", "foo", true ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", "pragma +foo\n" ], [ "extra", "pragma +foo\n" ], [ "line", " ok\n" ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/pragma-mid-child--omitversion.json000066400000000000000000000030621320135610000250370ustar00rootroot00000000000000[ [ "line", "pragma +foo\n" ], [ "pragma", "foo", true ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", "pragma +foo\n" ], [ "extra", "pragma +foo\n" ], [ "line", " ok\n" ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/pragma-mid-child--preservewhite--omitversion.json000066400000000000000000000030621320135610000300060ustar00rootroot00000000000000[ [ "line", "pragma +foo\n" ], [ "pragma", "foo", true ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", "pragma +foo\n" ], [ "extra", "pragma +foo\n" ], [ "line", " ok\n" ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/pragma-mid-child--preservewhite.json000066400000000000000000000030621320135610000253550ustar00rootroot00000000000000[ [ "line", "pragma +foo\n" ], [ "pragma", "foo", true ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", "pragma +foo\n" ], [ "extra", "pragma +foo\n" ], [ "line", " ok\n" ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/pragma-mid-child-strict--bail--omitversion.json000066400000000000000000000034351320135610000273330ustar00rootroot00000000000000[ [ "line", "pragma +strict\n" ], [ "pragma", "strict", true ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", "pragma +strict\n" ], [ "extra", "pragma +strict\n" ], [ "line", " ok\n" ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "Non-TAP data encountered in strict mode", "data": "pragma +strict\n" } ] } ] ] tap-parser-7.0.0/test/fixtures/pragma-mid-child-strict--bail--preservewhite--omitversion.json000066400000000000000000000034351320135610000323020ustar00rootroot00000000000000[ [ "line", "pragma +strict\n" ], [ "pragma", "strict", true ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", "pragma +strict\n" ], [ "extra", "pragma +strict\n" ], [ "line", " ok\n" ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "Non-TAP data encountered in strict mode", "data": "pragma +strict\n" } ] } ] ] tap-parser-7.0.0/test/fixtures/pragma-mid-child-strict--bail--preservewhite.json000066400000000000000000000035501320135610000276470ustar00rootroot00000000000000[ [ "line", "tap version 13\n" ], [ "version", 13 ], [ "line", "pragma +strict\n" ], [ "pragma", "strict", true ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", "pragma +strict\n" ], [ "extra", "pragma +strict\n" ], [ "line", " ok\n" ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "Non-TAP data encountered in strict mode", "data": "pragma +strict\n" } ] } ] ] tap-parser-7.0.0/test/fixtures/pragma-mid-child-strict--bail.json000066400000000000000000000035501320135610000247000ustar00rootroot00000000000000[ [ "line", "tap version 13\n" ], [ "version", 13 ], [ "line", "pragma +strict\n" ], [ "pragma", "strict", true ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", "pragma +strict\n" ], [ "extra", "pragma +strict\n" ], [ "line", " ok\n" ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "Non-TAP data encountered in strict mode", "data": "pragma +strict\n" } ] } ] ] tap-parser-7.0.0/test/fixtures/pragma-mid-child-strict--omitversion.json000066400000000000000000000034351320135610000263510ustar00rootroot00000000000000[ [ "line", "pragma +strict\n" ], [ "pragma", "strict", true ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", "pragma +strict\n" ], [ "extra", "pragma +strict\n" ], [ "line", " ok\n" ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "Non-TAP data encountered in strict mode", "data": "pragma +strict\n" } ] } ] ] tap-parser-7.0.0/test/fixtures/pragma-mid-child-strict--preservewhite--omitversion.json000066400000000000000000000034351320135610000313200ustar00rootroot00000000000000[ [ "line", "pragma +strict\n" ], [ "pragma", "strict", true ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", "pragma +strict\n" ], [ "extra", "pragma +strict\n" ], [ "line", " ok\n" ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "Non-TAP data encountered in strict mode", "data": "pragma +strict\n" } ] } ] ] tap-parser-7.0.0/test/fixtures/pragma-mid-child-strict--preservewhite.json000066400000000000000000000035501320135610000266650ustar00rootroot00000000000000[ [ "line", "tap version 13\n" ], [ "version", 13 ], [ "line", "pragma +strict\n" ], [ "pragma", "strict", true ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", "pragma +strict\n" ], [ "extra", "pragma +strict\n" ], [ "line", " ok\n" ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "Non-TAP data encountered in strict mode", "data": "pragma +strict\n" } ] } ] ] tap-parser-7.0.0/test/fixtures/pragma-mid-child-strict.json000066400000000000000000000035501320135610000237160ustar00rootroot00000000000000[ [ "line", "tap version 13\n" ], [ "version", 13 ], [ "line", "pragma +strict\n" ], [ "pragma", "strict", true ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", "pragma +strict\n" ], [ "extra", "pragma +strict\n" ], [ "line", " ok\n" ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "Non-TAP data encountered in strict mode", "data": "pragma +strict\n" } ] } ] ] tap-parser-7.0.0/test/fixtures/pragma-mid-child-strict.tap000066400000000000000000000001231320135610000235220ustar00rootroot00000000000000tap version 13 pragma +strict 1..1 # Subtest 1..1 pragma +strict ok ok tap-parser-7.0.0/test/fixtures/pragma-mid-child.json000066400000000000000000000030621320135610000224060ustar00rootroot00000000000000[ [ "line", "pragma +foo\n" ], [ "pragma", "foo", true ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", "pragma +foo\n" ], [ "extra", "pragma +foo\n" ], [ "line", " ok\n" ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/pragma-mid-child.tap000066400000000000000000000000721320135610000222170ustar00rootroot00000000000000pragma +foo 1..1 # Subtest 1..1 pragma +foo ok ok tap-parser-7.0.0/test/fixtures/pragma-mid-yaml--bail--omitversion.json000066400000000000000000000017771320135610000257130ustar00rootroot00000000000000[ [ "line", "pragma +foo\n" ], [ "pragma", "foo", true ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 - some yaml\n" ], [ "line", " ---\n" ], [ "line", " ok: true\n" ], [ "assert", { "ok": true, "id": 1, "name": "some yaml" } ], [ "extra", " ---\n ok: true\n" ], [ "line", "pragma +foo\n" ], [ "pragma", "foo", true ], [ "line", " name: some yaml\n" ], [ "extra", " name: some yaml\n" ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/pragma-mid-yaml--bail--preservewhite--omitversion.json000066400000000000000000000017771320135610000306620ustar00rootroot00000000000000[ [ "line", "pragma +foo\n" ], [ "pragma", "foo", true ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 - some yaml\n" ], [ "line", " ---\n" ], [ "line", " ok: true\n" ], [ "assert", { "ok": true, "id": 1, "name": "some yaml" } ], [ "extra", " ---\n ok: true\n" ], [ "line", "pragma +foo\n" ], [ "pragma", "foo", true ], [ "line", " name: some yaml\n" ], [ "extra", " name: some yaml\n" ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/pragma-mid-yaml--bail--preservewhite.json000066400000000000000000000017771320135610000262310ustar00rootroot00000000000000[ [ "line", "pragma +foo\n" ], [ "pragma", "foo", true ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 - some yaml\n" ], [ "line", " ---\n" ], [ "line", " ok: true\n" ], [ "assert", { "ok": true, "id": 1, "name": "some yaml" } ], [ "extra", " ---\n ok: true\n" ], [ "line", "pragma +foo\n" ], [ "pragma", "foo", true ], [ "line", " name: some yaml\n" ], [ "extra", " name: some yaml\n" ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/pragma-mid-yaml--bail.json000066400000000000000000000017771320135610000232620ustar00rootroot00000000000000[ [ "line", "pragma +foo\n" ], [ "pragma", "foo", true ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 - some yaml\n" ], [ "line", " ---\n" ], [ "line", " ok: true\n" ], [ "assert", { "ok": true, "id": 1, "name": "some yaml" } ], [ "extra", " ---\n ok: true\n" ], [ "line", "pragma +foo\n" ], [ "pragma", "foo", true ], [ "line", " name: some yaml\n" ], [ "extra", " name: some yaml\n" ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/pragma-mid-yaml--omitversion.json000066400000000000000000000017771320135610000247310ustar00rootroot00000000000000[ [ "line", "pragma +foo\n" ], [ "pragma", "foo", true ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 - some yaml\n" ], [ "line", " ---\n" ], [ "line", " ok: true\n" ], [ "assert", { "ok": true, "id": 1, "name": "some yaml" } ], [ "extra", " ---\n ok: true\n" ], [ "line", "pragma +foo\n" ], [ "pragma", "foo", true ], [ "line", " name: some yaml\n" ], [ "extra", " name: some yaml\n" ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/pragma-mid-yaml--preservewhite--omitversion.json000066400000000000000000000017771320135610000277000ustar00rootroot00000000000000[ [ "line", "pragma +foo\n" ], [ "pragma", "foo", true ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 - some yaml\n" ], [ "line", " ---\n" ], [ "line", " ok: true\n" ], [ "assert", { "ok": true, "id": 1, "name": "some yaml" } ], [ "extra", " ---\n ok: true\n" ], [ "line", "pragma +foo\n" ], [ "pragma", "foo", true ], [ "line", " name: some yaml\n" ], [ "extra", " name: some yaml\n" ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/pragma-mid-yaml--preservewhite.json000066400000000000000000000017771320135610000252470ustar00rootroot00000000000000[ [ "line", "pragma +foo\n" ], [ "pragma", "foo", true ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 - some yaml\n" ], [ "line", " ---\n" ], [ "line", " ok: true\n" ], [ "assert", { "ok": true, "id": 1, "name": "some yaml" } ], [ "extra", " ---\n ok: true\n" ], [ "line", "pragma +foo\n" ], [ "pragma", "foo", true ], [ "line", " name: some yaml\n" ], [ "extra", " name: some yaml\n" ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/pragma-mid-yaml.json000066400000000000000000000017771320135610000223000ustar00rootroot00000000000000[ [ "line", "pragma +foo\n" ], [ "pragma", "foo", true ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 - some yaml\n" ], [ "line", " ---\n" ], [ "line", " ok: true\n" ], [ "assert", { "ok": true, "id": 1, "name": "some yaml" } ], [ "extra", " ---\n ok: true\n" ], [ "line", "pragma +foo\n" ], [ "pragma", "foo", true ], [ "line", " name: some yaml\n" ], [ "extra", " name: some yaml\n" ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/pragma-mid-yaml.tap000066400000000000000000000001271320135610000220770ustar00rootroot00000000000000pragma +foo 1..1 ok 1 - some yaml --- ok: true pragma +foo name: some yaml ... tap-parser-7.0.0/test/fixtures/schwern--bail--omitversion.json000066400000000000000000000010501320135610000243660ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 - 42\n" ], [ "assert", { "ok": true, "id": 1, "name": "42" } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/schwern--bail--preservewhite--omitversion.json000066400000000000000000000010501320135610000273350ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 - 42\n" ], [ "assert", { "ok": true, "id": 1, "name": "42" } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/schwern--bail--preservewhite.json000066400000000000000000000010501320135610000247040ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 - 42\n" ], [ "assert", { "ok": true, "id": 1, "name": "42" } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/schwern--bail.json000066400000000000000000000010501320135610000217350ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 - 42\n" ], [ "assert", { "ok": true, "id": 1, "name": "42" } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/schwern--omitversion.json000066400000000000000000000010501320135610000234040ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 - 42\n" ], [ "assert", { "ok": true, "id": 1, "name": "42" } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/schwern--preservewhite--omitversion.json000066400000000000000000000010501320135610000263530ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 - 42\n" ], [ "assert", { "ok": true, "id": 1, "name": "42" } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/schwern--preservewhite.json000066400000000000000000000010501320135610000237220ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 - 42\n" ], [ "assert", { "ok": true, "id": 1, "name": "42" } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/schwern-todo-quiet--bail--omitversion.json000066400000000000000000000021621320135610000264630ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "not ok 2\n" ], [ "assert", { "ok": false, "id": 2 } ], [ "line", "# Failed test at ../../andy/schwern.pl line 17.\n" ], [ "comment", "# Failed test at ../../andy/schwern.pl line 17.\n" ], [ "line", "# got: '23'\n" ], [ "comment", "# got: '23'\n" ], [ "line", "# expected: '42'\n" ], [ "comment", "# expected: '42'\n" ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2 } ] } ] ] tap-parser-7.0.0/test/fixtures/schwern-todo-quiet--bail--preservewhite--omitversion.json000066400000000000000000000021621320135610000314320ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "not ok 2\n" ], [ "assert", { "ok": false, "id": 2 } ], [ "line", "# Failed test at ../../andy/schwern.pl line 17.\n" ], [ "comment", "# Failed test at ../../andy/schwern.pl line 17.\n" ], [ "line", "# got: '23'\n" ], [ "comment", "# got: '23'\n" ], [ "line", "# expected: '42'\n" ], [ "comment", "# expected: '42'\n" ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2 } ] } ] ] tap-parser-7.0.0/test/fixtures/schwern-todo-quiet--bail--preservewhite.json000066400000000000000000000021621320135610000270010ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "not ok 2\n" ], [ "assert", { "ok": false, "id": 2 } ], [ "line", "# Failed test at ../../andy/schwern.pl line 17.\n" ], [ "comment", "# Failed test at ../../andy/schwern.pl line 17.\n" ], [ "line", "# got: '23'\n" ], [ "comment", "# got: '23'\n" ], [ "line", "# expected: '42'\n" ], [ "comment", "# expected: '42'\n" ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2 } ] } ] ] tap-parser-7.0.0/test/fixtures/schwern-todo-quiet--bail.json000066400000000000000000000021621320135610000240320ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "not ok 2\n" ], [ "assert", { "ok": false, "id": 2 } ], [ "line", "# Failed test at ../../andy/schwern.pl line 17.\n" ], [ "comment", "# Failed test at ../../andy/schwern.pl line 17.\n" ], [ "line", "# got: '23'\n" ], [ "comment", "# got: '23'\n" ], [ "line", "# expected: '42'\n" ], [ "comment", "# expected: '42'\n" ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2 } ] } ] ] tap-parser-7.0.0/test/fixtures/schwern-todo-quiet--omitversion.json000066400000000000000000000037311320135610000255040ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "not ok 2\n" ], [ "assert", { "ok": false, "id": 2 } ], [ "line", "# Failed test at ../../andy/schwern.pl line 17.\n" ], [ "comment", "# Failed test at ../../andy/schwern.pl line 17.\n" ], [ "line", "# got: '23'\n" ], [ "comment", "# got: '23'\n" ], [ "line", "# expected: '42'\n" ], [ "comment", "# expected: '42'\n" ], [ "line", "not ok 3 # TODO Roman numerials still not a built in type\n" ], [ "assert", { "ok": false, "id": 3, "todo": "Roman numerials still not a built in type", "name": "" } ], [ "line", "# Failed (TODO) test at ../../andy/schwern.pl line 20.\n" ], [ "comment", "# Failed (TODO) test at ../../andy/schwern.pl line 20.\n" ], [ "line", "# got: 'XXIII'\n" ], [ "comment", "# got: 'XXIII'\n" ], [ "line", "# expected: '23'\n" ], [ "comment", "# expected: '23'\n" ], [ "line", "# Looks like you failed 1 test of 3.\n" ], [ "comment", "# Looks like you failed 1 test of 3.\n" ], [ "line", "# failed 2 of 3 tests\n" ], [ "comment", "# failed 2 of 3 tests\n" ], [ "line", "# todo: 1\n" ], [ "comment", "# todo: 1\n" ], [ "complete", { "ok": false, "count": 3, "pass": 1, "fail": 2, "bailout": false, "todo": 1, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2 } ] } ] ] tap-parser-7.0.0/test/fixtures/schwern-todo-quiet--preservewhite--omitversion.json000066400000000000000000000037311320135610000304530ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "not ok 2\n" ], [ "assert", { "ok": false, "id": 2 } ], [ "line", "# Failed test at ../../andy/schwern.pl line 17.\n" ], [ "comment", "# Failed test at ../../andy/schwern.pl line 17.\n" ], [ "line", "# got: '23'\n" ], [ "comment", "# got: '23'\n" ], [ "line", "# expected: '42'\n" ], [ "comment", "# expected: '42'\n" ], [ "line", "not ok 3 # TODO Roman numerials still not a built in type\n" ], [ "assert", { "ok": false, "id": 3, "todo": "Roman numerials still not a built in type", "name": "" } ], [ "line", "# Failed (TODO) test at ../../andy/schwern.pl line 20.\n" ], [ "comment", "# Failed (TODO) test at ../../andy/schwern.pl line 20.\n" ], [ "line", "# got: 'XXIII'\n" ], [ "comment", "# got: 'XXIII'\n" ], [ "line", "# expected: '23'\n" ], [ "comment", "# expected: '23'\n" ], [ "line", "# Looks like you failed 1 test of 3.\n" ], [ "comment", "# Looks like you failed 1 test of 3.\n" ], [ "line", "# failed 2 of 3 tests\n" ], [ "comment", "# failed 2 of 3 tests\n" ], [ "line", "# todo: 1\n" ], [ "comment", "# todo: 1\n" ], [ "complete", { "ok": false, "count": 3, "pass": 1, "fail": 2, "bailout": false, "todo": 1, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2 } ] } ] ] tap-parser-7.0.0/test/fixtures/schwern-todo-quiet--preservewhite.json000066400000000000000000000037311320135610000260220ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "not ok 2\n" ], [ "assert", { "ok": false, "id": 2 } ], [ "line", "# Failed test at ../../andy/schwern.pl line 17.\n" ], [ "comment", "# Failed test at ../../andy/schwern.pl line 17.\n" ], [ "line", "# got: '23'\n" ], [ "comment", "# got: '23'\n" ], [ "line", "# expected: '42'\n" ], [ "comment", "# expected: '42'\n" ], [ "line", "not ok 3 # TODO Roman numerials still not a built in type\n" ], [ "assert", { "ok": false, "id": 3, "todo": "Roman numerials still not a built in type", "name": "" } ], [ "line", "# Failed (TODO) test at ../../andy/schwern.pl line 20.\n" ], [ "comment", "# Failed (TODO) test at ../../andy/schwern.pl line 20.\n" ], [ "line", "# got: 'XXIII'\n" ], [ "comment", "# got: 'XXIII'\n" ], [ "line", "# expected: '23'\n" ], [ "comment", "# expected: '23'\n" ], [ "line", "# Looks like you failed 1 test of 3.\n" ], [ "comment", "# Looks like you failed 1 test of 3.\n" ], [ "line", "# failed 2 of 3 tests\n" ], [ "comment", "# failed 2 of 3 tests\n" ], [ "line", "# todo: 1\n" ], [ "comment", "# todo: 1\n" ], [ "complete", { "ok": false, "count": 3, "pass": 1, "fail": 2, "bailout": false, "todo": 1, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2 } ] } ] ] tap-parser-7.0.0/test/fixtures/schwern-todo-quiet.json000066400000000000000000000037311320135610000230530ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "not ok 2\n" ], [ "assert", { "ok": false, "id": 2 } ], [ "line", "# Failed test at ../../andy/schwern.pl line 17.\n" ], [ "comment", "# Failed test at ../../andy/schwern.pl line 17.\n" ], [ "line", "# got: '23'\n" ], [ "comment", "# got: '23'\n" ], [ "line", "# expected: '42'\n" ], [ "comment", "# expected: '42'\n" ], [ "line", "not ok 3 # TODO Roman numerials still not a built in type\n" ], [ "assert", { "ok": false, "id": 3, "todo": "Roman numerials still not a built in type", "name": "" } ], [ "line", "# Failed (TODO) test at ../../andy/schwern.pl line 20.\n" ], [ "comment", "# Failed (TODO) test at ../../andy/schwern.pl line 20.\n" ], [ "line", "# got: 'XXIII'\n" ], [ "comment", "# got: 'XXIII'\n" ], [ "line", "# expected: '23'\n" ], [ "comment", "# expected: '23'\n" ], [ "line", "# Looks like you failed 1 test of 3.\n" ], [ "comment", "# Looks like you failed 1 test of 3.\n" ], [ "line", "# failed 2 of 3 tests\n" ], [ "comment", "# failed 2 of 3 tests\n" ], [ "line", "# todo: 1\n" ], [ "comment", "# todo: 1\n" ], [ "complete", { "ok": false, "count": 3, "pass": 1, "fail": 2, "bailout": false, "todo": 1, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2 } ] } ] ] tap-parser-7.0.0/test/fixtures/schwern-todo-quiet.tap000066400000000000000000000004641320135610000226660ustar00rootroot000000000000001..3 ok 1 not ok 2 # Failed test at ../../andy/schwern.pl line 17. # got: '23' # expected: '42' not ok 3 # TODO Roman numerials still not a built in type # Failed (TODO) test at ../../andy/schwern.pl line 20. # got: 'XXIII' # expected: '23' # Looks like you failed 1 test of 3. tap-parser-7.0.0/test/fixtures/schwern.json000066400000000000000000000010501320135610000207530ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 - 42\n" ], [ "assert", { "ok": true, "id": 1, "name": "42" } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/schwern.tap000066400000000000000000000000171320135610000205700ustar00rootroot000000000000001..1 ok 1 - 42 tap-parser-7.0.0/test/fixtures/sequence_misparse--bail--omitversion.json000066400000000000000000000024201320135610000264320ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3 # skipped on foobar system\n" ], [ "assert", { "ok": true, "id": 3, "name": "# skipped on foobar system" } ], [ "line", "# 1234567890123456789012345678901234567890\n" ], [ "comment", "# 1234567890123456789012345678901234567890\n" ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "# 1234567890123456789012345678901234567890\n" ], [ "comment", "# 1234567890123456789012345678901234567890\n" ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/sequence_misparse--bail--preservewhite--omitversion.json000066400000000000000000000024201320135610000314010ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3 # skipped on foobar system\n" ], [ "assert", { "ok": true, "id": 3, "name": "# skipped on foobar system" } ], [ "line", "# 1234567890123456789012345678901234567890\n" ], [ "comment", "# 1234567890123456789012345678901234567890\n" ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "# 1234567890123456789012345678901234567890\n" ], [ "comment", "# 1234567890123456789012345678901234567890\n" ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/sequence_misparse--bail--preservewhite.json000066400000000000000000000024201320135610000267500ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3 # skipped on foobar system\n" ], [ "assert", { "ok": true, "id": 3, "name": "# skipped on foobar system" } ], [ "line", "# 1234567890123456789012345678901234567890\n" ], [ "comment", "# 1234567890123456789012345678901234567890\n" ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "# 1234567890123456789012345678901234567890\n" ], [ "comment", "# 1234567890123456789012345678901234567890\n" ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/sequence_misparse--bail.json000066400000000000000000000024201320135610000240010ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3 # skipped on foobar system\n" ], [ "assert", { "ok": true, "id": 3, "name": "# skipped on foobar system" } ], [ "line", "# 1234567890123456789012345678901234567890\n" ], [ "comment", "# 1234567890123456789012345678901234567890\n" ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "# 1234567890123456789012345678901234567890\n" ], [ "comment", "# 1234567890123456789012345678901234567890\n" ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/sequence_misparse--omitversion.json000066400000000000000000000024201320135610000254500ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3 # skipped on foobar system\n" ], [ "assert", { "ok": true, "id": 3, "name": "# skipped on foobar system" } ], [ "line", "# 1234567890123456789012345678901234567890\n" ], [ "comment", "# 1234567890123456789012345678901234567890\n" ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "# 1234567890123456789012345678901234567890\n" ], [ "comment", "# 1234567890123456789012345678901234567890\n" ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/sequence_misparse--preservewhite--omitversion.json000066400000000000000000000024201320135610000304170ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3 # skipped on foobar system\n" ], [ "assert", { "ok": true, "id": 3, "name": "# skipped on foobar system" } ], [ "line", "# 1234567890123456789012345678901234567890\n" ], [ "comment", "# 1234567890123456789012345678901234567890\n" ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "# 1234567890123456789012345678901234567890\n" ], [ "comment", "# 1234567890123456789012345678901234567890\n" ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/sequence_misparse--preservewhite.json000066400000000000000000000024201320135610000257660ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3 # skipped on foobar system\n" ], [ "assert", { "ok": true, "id": 3, "name": "# skipped on foobar system" } ], [ "line", "# 1234567890123456789012345678901234567890\n" ], [ "comment", "# 1234567890123456789012345678901234567890\n" ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "# 1234567890123456789012345678901234567890\n" ], [ "comment", "# 1234567890123456789012345678901234567890\n" ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/sequence_misparse.json000066400000000000000000000024201320135610000230170ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3 # skipped on foobar system\n" ], [ "assert", { "ok": true, "id": 3, "name": "# skipped on foobar system" } ], [ "line", "# 1234567890123456789012345678901234567890\n" ], [ "comment", "# 1234567890123456789012345678901234567890\n" ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "# 1234567890123456789012345678901234567890\n" ], [ "comment", "# 1234567890123456789012345678901234567890\n" ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/sequence_misparse.tap000066400000000000000000000002171320135610000226340ustar00rootroot000000000000001..5 ok 1 ok 2 ok 3 # skipped on foobar system # 1234567890123456789012345678901234567890 ok 4 # 1234567890123456789012345678901234567890 ok 5 tap-parser-7.0.0/test/fixtures/simple--bail--omitversion.json000066400000000000000000000016431320135610000242160ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/simple--bail--preservewhite--omitversion.json000066400000000000000000000016431320135610000271650ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/simple--bail--preservewhite.json000066400000000000000000000016431320135610000245340ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/simple--bail.json000066400000000000000000000016431320135610000215650ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/simple--omitversion.json000066400000000000000000000016431320135610000232340ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/simple--preservewhite--omitversion.json000066400000000000000000000016431320135610000262030ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/simple--preservewhite.json000066400000000000000000000016431320135610000235520ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/simple.json000066400000000000000000000016431320135610000206030ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/simple.tap000066400000000000000000000000361320135610000204110ustar00rootroot000000000000001..5 ok 1 ok 2 ok 3 ok 4 ok 5 tap-parser-7.0.0/test/fixtures/simple_fail--bail--omitversion.json000066400000000000000000000014031320135610000252030ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "not ok 2\n" ], [ "assert", { "ok": false, "id": 2 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2 } ] } ] ] tap-parser-7.0.0/test/fixtures/simple_fail--bail--preservewhite--omitversion.json000066400000000000000000000014031320135610000301520ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "not ok 2\n" ], [ "assert", { "ok": false, "id": 2 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2 } ] } ] ] tap-parser-7.0.0/test/fixtures/simple_fail--bail--preservewhite.json000066400000000000000000000014031320135610000255210ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "not ok 2\n" ], [ "assert", { "ok": false, "id": 2 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2 } ] } ] ] tap-parser-7.0.0/test/fixtures/simple_fail--bail.json000066400000000000000000000014031320135610000225520ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "not ok 2\n" ], [ "assert", { "ok": false, "id": 2 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2 } ] } ] ] tap-parser-7.0.0/test/fixtures/simple_fail--omitversion.json000066400000000000000000000022311320135610000242210ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "not ok 2\n" ], [ "assert", { "ok": false, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "not ok 5\n" ], [ "assert", { "ok": false, "id": 5 } ], [ "line", "# failed 2 of 5 tests\n" ], [ "comment", "# failed 2 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 3, "fail": 2, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2 }, { "ok": false, "id": 5 } ] } ] ] tap-parser-7.0.0/test/fixtures/simple_fail--preservewhite--omitversion.json000066400000000000000000000022311320135610000271700ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "not ok 2\n" ], [ "assert", { "ok": false, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "not ok 5\n" ], [ "assert", { "ok": false, "id": 5 } ], [ "line", "# failed 2 of 5 tests\n" ], [ "comment", "# failed 2 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 3, "fail": 2, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2 }, { "ok": false, "id": 5 } ] } ] ] tap-parser-7.0.0/test/fixtures/simple_fail--preservewhite.json000066400000000000000000000022311320135610000245370ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "not ok 2\n" ], [ "assert", { "ok": false, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "not ok 5\n" ], [ "assert", { "ok": false, "id": 5 } ], [ "line", "# failed 2 of 5 tests\n" ], [ "comment", "# failed 2 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 3, "fail": 2, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2 }, { "ok": false, "id": 5 } ] } ] ] tap-parser-7.0.0/test/fixtures/simple_fail.json000066400000000000000000000022311320135610000215700ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "not ok 2\n" ], [ "assert", { "ok": false, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "not ok 5\n" ], [ "assert", { "ok": false, "id": 5 } ], [ "line", "# failed 2 of 5 tests\n" ], [ "comment", "# failed 2 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 3, "fail": 2, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2 }, { "ok": false, "id": 5 } ] } ] ] tap-parser-7.0.0/test/fixtures/simple_fail.tap000066400000000000000000000000461320135610000214050ustar00rootroot000000000000001..5 ok 1 not ok 2 ok 3 ok 4 not ok 5 tap-parser-7.0.0/test/fixtures/simple_yaml--bail--omitversion.json000066400000000000000000000036371320135610000252450ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "line", " ---\n" ], [ "line", " -\n" ], [ "line", " fnurk: skib\n" ], [ "line", " ponk: gleeb\n" ], [ "line", " -\n" ], [ "line", " bar: krup\n" ], [ "line", " foo: plink\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 2, "diag": [ { "fnurk": "skib", "ponk": "gleeb" }, { "bar": "krup", "foo": "plink" } ] } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "line", " ---\n" ], [ "line", " expected:\n" ], [ "line", " - 1\n" ], [ "line", " - 2\n" ], [ "line", " - 4\n" ], [ "line", " got:\n" ], [ "line", " - 1\n" ], [ "line", " - pong\n" ], [ "line", " - 4\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 4, "diag": { "expected": [ 1, 2, 4 ], "got": [ 1, "pong", 4 ] } } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/simple_yaml--bail--preservewhite--omitversion.json000066400000000000000000000036371320135610000302140ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "line", " ---\n" ], [ "line", " -\n" ], [ "line", " fnurk: skib\n" ], [ "line", " ponk: gleeb\n" ], [ "line", " -\n" ], [ "line", " bar: krup\n" ], [ "line", " foo: plink\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 2, "diag": [ { "fnurk": "skib", "ponk": "gleeb" }, { "bar": "krup", "foo": "plink" } ] } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "line", " ---\n" ], [ "line", " expected:\n" ], [ "line", " - 1\n" ], [ "line", " - 2\n" ], [ "line", " - 4\n" ], [ "line", " got:\n" ], [ "line", " - 1\n" ], [ "line", " - pong\n" ], [ "line", " - 4\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 4, "diag": { "expected": [ 1, 2, 4 ], "got": [ 1, "pong", 4 ] } } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/simple_yaml--bail--preservewhite.json000066400000000000000000000037521320135610000255610ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "line", " ---\n" ], [ "line", " -\n" ], [ "line", " fnurk: skib\n" ], [ "line", " ponk: gleeb\n" ], [ "line", " -\n" ], [ "line", " bar: krup\n" ], [ "line", " foo: plink\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 2, "diag": [ { "fnurk": "skib", "ponk": "gleeb" }, { "bar": "krup", "foo": "plink" } ] } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "line", " ---\n" ], [ "line", " expected:\n" ], [ "line", " - 1\n" ], [ "line", " - 2\n" ], [ "line", " - 4\n" ], [ "line", " got:\n" ], [ "line", " - 1\n" ], [ "line", " - pong\n" ], [ "line", " - 4\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 4, "diag": { "expected": [ 1, 2, 4 ], "got": [ 1, "pong", 4 ] } } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/simple_yaml--bail.json000066400000000000000000000037521320135610000226120ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "line", " ---\n" ], [ "line", " -\n" ], [ "line", " fnurk: skib\n" ], [ "line", " ponk: gleeb\n" ], [ "line", " -\n" ], [ "line", " bar: krup\n" ], [ "line", " foo: plink\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 2, "diag": [ { "fnurk": "skib", "ponk": "gleeb" }, { "bar": "krup", "foo": "plink" } ] } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "line", " ---\n" ], [ "line", " expected:\n" ], [ "line", " - 1\n" ], [ "line", " - 2\n" ], [ "line", " - 4\n" ], [ "line", " got:\n" ], [ "line", " - 1\n" ], [ "line", " - pong\n" ], [ "line", " - 4\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 4, "diag": { "expected": [ 1, 2, 4 ], "got": [ 1, "pong", 4 ] } } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/simple_yaml--omitversion.json000066400000000000000000000036371320135610000242630ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "line", " ---\n" ], [ "line", " -\n" ], [ "line", " fnurk: skib\n" ], [ "line", " ponk: gleeb\n" ], [ "line", " -\n" ], [ "line", " bar: krup\n" ], [ "line", " foo: plink\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 2, "diag": [ { "fnurk": "skib", "ponk": "gleeb" }, { "bar": "krup", "foo": "plink" } ] } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "line", " ---\n" ], [ "line", " expected:\n" ], [ "line", " - 1\n" ], [ "line", " - 2\n" ], [ "line", " - 4\n" ], [ "line", " got:\n" ], [ "line", " - 1\n" ], [ "line", " - pong\n" ], [ "line", " - 4\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 4, "diag": { "expected": [ 1, 2, 4 ], "got": [ 1, "pong", 4 ] } } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/simple_yaml--preservewhite--omitversion.json000066400000000000000000000036371320135610000272320ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "line", " ---\n" ], [ "line", " -\n" ], [ "line", " fnurk: skib\n" ], [ "line", " ponk: gleeb\n" ], [ "line", " -\n" ], [ "line", " bar: krup\n" ], [ "line", " foo: plink\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 2, "diag": [ { "fnurk": "skib", "ponk": "gleeb" }, { "bar": "krup", "foo": "plink" } ] } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "line", " ---\n" ], [ "line", " expected:\n" ], [ "line", " - 1\n" ], [ "line", " - 2\n" ], [ "line", " - 4\n" ], [ "line", " got:\n" ], [ "line", " - 1\n" ], [ "line", " - pong\n" ], [ "line", " - 4\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 4, "diag": { "expected": [ 1, 2, 4 ], "got": [ 1, "pong", 4 ] } } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/simple_yaml--preservewhite.json000066400000000000000000000037521320135610000245770ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "line", " ---\n" ], [ "line", " -\n" ], [ "line", " fnurk: skib\n" ], [ "line", " ponk: gleeb\n" ], [ "line", " -\n" ], [ "line", " bar: krup\n" ], [ "line", " foo: plink\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 2, "diag": [ { "fnurk": "skib", "ponk": "gleeb" }, { "bar": "krup", "foo": "plink" } ] } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "line", " ---\n" ], [ "line", " expected:\n" ], [ "line", " - 1\n" ], [ "line", " - 2\n" ], [ "line", " - 4\n" ], [ "line", " got:\n" ], [ "line", " - 1\n" ], [ "line", " - pong\n" ], [ "line", " - 4\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 4, "diag": { "expected": [ 1, 2, 4 ], "got": [ 1, "pong", 4 ] } } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/simple_yaml.json000066400000000000000000000037521320135610000216300ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "line", " ---\n" ], [ "line", " -\n" ], [ "line", " fnurk: skib\n" ], [ "line", " ponk: gleeb\n" ], [ "line", " -\n" ], [ "line", " bar: krup\n" ], [ "line", " foo: plink\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 2, "diag": [ { "fnurk": "skib", "ponk": "gleeb" }, { "bar": "krup", "foo": "plink" } ] } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "line", " ---\n" ], [ "line", " expected:\n" ], [ "line", " - 1\n" ], [ "line", " - 2\n" ], [ "line", " - 4\n" ], [ "line", " got:\n" ], [ "line", " - 1\n" ], [ "line", " - pong\n" ], [ "line", " - 4\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 4, "diag": { "expected": [ 1, 2, 4 ], "got": [ 1, "pong", 4 ] } } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/simple_yaml.tap000066400000000000000000000003201320135610000214270ustar00rootroot00000000000000TAP version 13 1..5 ok 1 ok 2 --- - fnurk: skib ponk: gleeb - bar: krup foo: plink ... ok 3 ok 4 --- expected: - 1 - 2 - 4 got: - 1 - pong - 4 ... ok 5 tap-parser-7.0.0/test/fixtures/simple_yaml_missing_version13--bail--omitversion.json000066400000000000000000000036371320135610000307070ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "line", " ---\n" ], [ "line", " -\n" ], [ "line", " fnurk: skib\n" ], [ "line", " ponk: gleeb\n" ], [ "line", " -\n" ], [ "line", " bar: krup\n" ], [ "line", " foo: plink\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 2, "diag": [ { "fnurk": "skib", "ponk": "gleeb" }, { "bar": "krup", "foo": "plink" } ] } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "line", " ---\n" ], [ "line", " expected:\n" ], [ "line", " - 1\n" ], [ "line", " - 2\n" ], [ "line", " - 4\n" ], [ "line", " got:\n" ], [ "line", " - 1\n" ], [ "line", " - pong\n" ], [ "line", " - 4\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 4, "diag": { "expected": [ 1, 2, 4 ], "got": [ 1, "pong", 4 ] } } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/simple_yaml_missing_version13--bail--preservewhite--omitversion.json000066400000000000000000000036371320135610000336560ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "line", " ---\n" ], [ "line", " -\n" ], [ "line", " fnurk: skib\n" ], [ "line", " ponk: gleeb\n" ], [ "line", " -\n" ], [ "line", " bar: krup\n" ], [ "line", " foo: plink\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 2, "diag": [ { "fnurk": "skib", "ponk": "gleeb" }, { "bar": "krup", "foo": "plink" } ] } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "line", " ---\n" ], [ "line", " expected:\n" ], [ "line", " - 1\n" ], [ "line", " - 2\n" ], [ "line", " - 4\n" ], [ "line", " got:\n" ], [ "line", " - 1\n" ], [ "line", " - pong\n" ], [ "line", " - 4\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 4, "diag": { "expected": [ 1, 2, 4 ], "got": [ 1, "pong", 4 ] } } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/simple_yaml_missing_version13--bail--preservewhite.json000066400000000000000000000036371320135610000312250ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "line", " ---\n" ], [ "line", " -\n" ], [ "line", " fnurk: skib\n" ], [ "line", " ponk: gleeb\n" ], [ "line", " -\n" ], [ "line", " bar: krup\n" ], [ "line", " foo: plink\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 2, "diag": [ { "fnurk": "skib", "ponk": "gleeb" }, { "bar": "krup", "foo": "plink" } ] } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "line", " ---\n" ], [ "line", " expected:\n" ], [ "line", " - 1\n" ], [ "line", " - 2\n" ], [ "line", " - 4\n" ], [ "line", " got:\n" ], [ "line", " - 1\n" ], [ "line", " - pong\n" ], [ "line", " - 4\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 4, "diag": { "expected": [ 1, 2, 4 ], "got": [ 1, "pong", 4 ] } } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/simple_yaml_missing_version13--bail.json000066400000000000000000000036371320135610000262560ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "line", " ---\n" ], [ "line", " -\n" ], [ "line", " fnurk: skib\n" ], [ "line", " ponk: gleeb\n" ], [ "line", " -\n" ], [ "line", " bar: krup\n" ], [ "line", " foo: plink\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 2, "diag": [ { "fnurk": "skib", "ponk": "gleeb" }, { "bar": "krup", "foo": "plink" } ] } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "line", " ---\n" ], [ "line", " expected:\n" ], [ "line", " - 1\n" ], [ "line", " - 2\n" ], [ "line", " - 4\n" ], [ "line", " got:\n" ], [ "line", " - 1\n" ], [ "line", " - pong\n" ], [ "line", " - 4\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 4, "diag": { "expected": [ 1, 2, 4 ], "got": [ 1, "pong", 4 ] } } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/simple_yaml_missing_version13--omitversion.json000066400000000000000000000036371320135610000277250ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "line", " ---\n" ], [ "line", " -\n" ], [ "line", " fnurk: skib\n" ], [ "line", " ponk: gleeb\n" ], [ "line", " -\n" ], [ "line", " bar: krup\n" ], [ "line", " foo: plink\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 2, "diag": [ { "fnurk": "skib", "ponk": "gleeb" }, { "bar": "krup", "foo": "plink" } ] } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "line", " ---\n" ], [ "line", " expected:\n" ], [ "line", " - 1\n" ], [ "line", " - 2\n" ], [ "line", " - 4\n" ], [ "line", " got:\n" ], [ "line", " - 1\n" ], [ "line", " - pong\n" ], [ "line", " - 4\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 4, "diag": { "expected": [ 1, 2, 4 ], "got": [ 1, "pong", 4 ] } } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/simple_yaml_missing_version13--preservewhite--omitversion.json000066400000000000000000000036371320135610000326740ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "line", " ---\n" ], [ "line", " -\n" ], [ "line", " fnurk: skib\n" ], [ "line", " ponk: gleeb\n" ], [ "line", " -\n" ], [ "line", " bar: krup\n" ], [ "line", " foo: plink\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 2, "diag": [ { "fnurk": "skib", "ponk": "gleeb" }, { "bar": "krup", "foo": "plink" } ] } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "line", " ---\n" ], [ "line", " expected:\n" ], [ "line", " - 1\n" ], [ "line", " - 2\n" ], [ "line", " - 4\n" ], [ "line", " got:\n" ], [ "line", " - 1\n" ], [ "line", " - pong\n" ], [ "line", " - 4\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 4, "diag": { "expected": [ 1, 2, 4 ], "got": [ 1, "pong", 4 ] } } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/simple_yaml_missing_version13--preservewhite.json000066400000000000000000000036371320135610000302430ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "line", " ---\n" ], [ "line", " -\n" ], [ "line", " fnurk: skib\n" ], [ "line", " ponk: gleeb\n" ], [ "line", " -\n" ], [ "line", " bar: krup\n" ], [ "line", " foo: plink\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 2, "diag": [ { "fnurk": "skib", "ponk": "gleeb" }, { "bar": "krup", "foo": "plink" } ] } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "line", " ---\n" ], [ "line", " expected:\n" ], [ "line", " - 1\n" ], [ "line", " - 2\n" ], [ "line", " - 4\n" ], [ "line", " got:\n" ], [ "line", " - 1\n" ], [ "line", " - pong\n" ], [ "line", " - 4\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 4, "diag": { "expected": [ 1, 2, 4 ], "got": [ 1, "pong", 4 ] } } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/simple_yaml_missing_version13.json000066400000000000000000000036371320135610000252740ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "line", " ---\n" ], [ "line", " -\n" ], [ "line", " fnurk: skib\n" ], [ "line", " ponk: gleeb\n" ], [ "line", " -\n" ], [ "line", " bar: krup\n" ], [ "line", " foo: plink\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 2, "diag": [ { "fnurk": "skib", "ponk": "gleeb" }, { "bar": "krup", "foo": "plink" } ] } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "line", " ---\n" ], [ "line", " expected:\n" ], [ "line", " - 1\n" ], [ "line", " - 2\n" ], [ "line", " - 4\n" ], [ "line", " got:\n" ], [ "line", " - 1\n" ], [ "line", " - pong\n" ], [ "line", " - 4\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 4, "diag": { "expected": [ 1, 2, 4 ], "got": [ 1, "pong", 4 ] } } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/simple_yaml_missing_version13.tap000066400000000000000000000003011320135610000250700ustar00rootroot000000000000001..5 ok 1 ok 2 --- - fnurk: skib ponk: gleeb - bar: krup foo: plink ... ok 3 ok 4 --- expected: - 1 - 2 - 4 got: - 1 - pong - 4 ... ok 5 tap-parser-7.0.0/test/fixtures/skip--bail--omitversion.json000066400000000000000000000020671320135610000236740ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2 # skip rain delay\n" ], [ "assert", { "ok": true, "id": 2, "skip": "rain delay", "name": "" } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip--bail--preservewhite--omitversion.json000066400000000000000000000020671320135610000266430ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2 # skip rain delay\n" ], [ "assert", { "ok": true, "id": 2, "skip": "rain delay", "name": "" } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip--bail--preservewhite.json000066400000000000000000000020671320135610000242120ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2 # skip rain delay\n" ], [ "assert", { "ok": true, "id": 2, "skip": "rain delay", "name": "" } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip--bail.json000066400000000000000000000020671320135610000212430ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2 # skip rain delay\n" ], [ "assert", { "ok": true, "id": 2, "skip": "rain delay", "name": "" } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip--omitversion.json000066400000000000000000000020671320135610000227120ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2 # skip rain delay\n" ], [ "assert", { "ok": true, "id": 2, "skip": "rain delay", "name": "" } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip--preservewhite--omitversion.json000066400000000000000000000020671320135610000256610ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2 # skip rain delay\n" ], [ "assert", { "ok": true, "id": 2, "skip": "rain delay", "name": "" } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip--preservewhite.json000066400000000000000000000020671320135610000232300ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2 # skip rain delay\n" ], [ "assert", { "ok": true, "id": 2, "skip": "rain delay", "name": "" } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip-all--bail--omitversion.json000066400000000000000000000012741320135610000244410ustar00rootroot00000000000000[ [ "line", "# TAP emitted by Test::More 0.98\n" ], [ "comment", "# TAP emitted by Test::More 0.98\n" ], [ "line", "1..0 # SKIP Insufficient positron flux\n" ], [ "plan", { "start": 1, "end": 0, "comment": "SKIP Insufficient positron flux" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "SKIP Insufficient positron flux", "comment": "SKIP Insufficient positron flux" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip-all--bail--preservewhite--omitversion.json000066400000000000000000000012741320135610000274100ustar00rootroot00000000000000[ [ "line", "# TAP emitted by Test::More 0.98\n" ], [ "comment", "# TAP emitted by Test::More 0.98\n" ], [ "line", "1..0 # SKIP Insufficient positron flux\n" ], [ "plan", { "start": 1, "end": 0, "comment": "SKIP Insufficient positron flux" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "SKIP Insufficient positron flux", "comment": "SKIP Insufficient positron flux" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip-all--bail--preservewhite.json000066400000000000000000000012741320135610000247570ustar00rootroot00000000000000[ [ "line", "# TAP emitted by Test::More 0.98\n" ], [ "comment", "# TAP emitted by Test::More 0.98\n" ], [ "line", "1..0 # SKIP Insufficient positron flux\n" ], [ "plan", { "start": 1, "end": 0, "comment": "SKIP Insufficient positron flux" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "SKIP Insufficient positron flux", "comment": "SKIP Insufficient positron flux" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip-all--bail.json000066400000000000000000000012741320135610000220100ustar00rootroot00000000000000[ [ "line", "# TAP emitted by Test::More 0.98\n" ], [ "comment", "# TAP emitted by Test::More 0.98\n" ], [ "line", "1..0 # SKIP Insufficient positron flux\n" ], [ "plan", { "start": 1, "end": 0, "comment": "SKIP Insufficient positron flux" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "SKIP Insufficient positron flux", "comment": "SKIP Insufficient positron flux" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip-all--omitversion.json000066400000000000000000000012741320135610000234570ustar00rootroot00000000000000[ [ "line", "# TAP emitted by Test::More 0.98\n" ], [ "comment", "# TAP emitted by Test::More 0.98\n" ], [ "line", "1..0 # SKIP Insufficient positron flux\n" ], [ "plan", { "start": 1, "end": 0, "comment": "SKIP Insufficient positron flux" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "SKIP Insufficient positron flux", "comment": "SKIP Insufficient positron flux" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip-all--preservewhite--omitversion.json000066400000000000000000000012741320135610000264260ustar00rootroot00000000000000[ [ "line", "# TAP emitted by Test::More 0.98\n" ], [ "comment", "# TAP emitted by Test::More 0.98\n" ], [ "line", "1..0 # SKIP Insufficient positron flux\n" ], [ "plan", { "start": 1, "end": 0, "comment": "SKIP Insufficient positron flux" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "SKIP Insufficient positron flux", "comment": "SKIP Insufficient positron flux" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip-all--preservewhite.json000066400000000000000000000012741320135610000237750ustar00rootroot00000000000000[ [ "line", "# TAP emitted by Test::More 0.98\n" ], [ "comment", "# TAP emitted by Test::More 0.98\n" ], [ "line", "1..0 # SKIP Insufficient positron flux\n" ], [ "plan", { "start": 1, "end": 0, "comment": "SKIP Insufficient positron flux" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "SKIP Insufficient positron flux", "comment": "SKIP Insufficient positron flux" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip-all-nonempty--bail--omitversion.json000066400000000000000000000015421320135610000263060ustar00rootroot00000000000000[ [ "line", "# TAP emitted by Test::More 0.98\n" ], [ "comment", "# TAP emitted by Test::More 0.98\n" ], [ "line", "1..1 # SKIP Insufficient positron flux\n" ], [ "plan", { "start": 1, "end": 1, "comment": "SKIP Insufficient positron flux" } ], [ "line", "ok 1 found some spare flux in bottom drawer\n" ], [ "assert", { "ok": true, "id": 1, "name": "found some spare flux in bottom drawer" } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "SKIP Insufficient positron flux" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip-all-nonempty--bail--preservewhite--omitversion.json000066400000000000000000000015421320135610000312550ustar00rootroot00000000000000[ [ "line", "# TAP emitted by Test::More 0.98\n" ], [ "comment", "# TAP emitted by Test::More 0.98\n" ], [ "line", "1..1 # SKIP Insufficient positron flux\n" ], [ "plan", { "start": 1, "end": 1, "comment": "SKIP Insufficient positron flux" } ], [ "line", "ok 1 found some spare flux in bottom drawer\n" ], [ "assert", { "ok": true, "id": 1, "name": "found some spare flux in bottom drawer" } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "SKIP Insufficient positron flux" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip-all-nonempty--bail--preservewhite.json000066400000000000000000000015421320135610000266240ustar00rootroot00000000000000[ [ "line", "# TAP emitted by Test::More 0.98\n" ], [ "comment", "# TAP emitted by Test::More 0.98\n" ], [ "line", "1..1 # SKIP Insufficient positron flux\n" ], [ "plan", { "start": 1, "end": 1, "comment": "SKIP Insufficient positron flux" } ], [ "line", "ok 1 found some spare flux in bottom drawer\n" ], [ "assert", { "ok": true, "id": 1, "name": "found some spare flux in bottom drawer" } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "SKIP Insufficient positron flux" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip-all-nonempty--bail.json000066400000000000000000000015421320135610000236550ustar00rootroot00000000000000[ [ "line", "# TAP emitted by Test::More 0.98\n" ], [ "comment", "# TAP emitted by Test::More 0.98\n" ], [ "line", "1..1 # SKIP Insufficient positron flux\n" ], [ "plan", { "start": 1, "end": 1, "comment": "SKIP Insufficient positron flux" } ], [ "line", "ok 1 found some spare flux in bottom drawer\n" ], [ "assert", { "ok": true, "id": 1, "name": "found some spare flux in bottom drawer" } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "SKIP Insufficient positron flux" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip-all-nonempty--omitversion.json000066400000000000000000000015421320135610000253240ustar00rootroot00000000000000[ [ "line", "# TAP emitted by Test::More 0.98\n" ], [ "comment", "# TAP emitted by Test::More 0.98\n" ], [ "line", "1..1 # SKIP Insufficient positron flux\n" ], [ "plan", { "start": 1, "end": 1, "comment": "SKIP Insufficient positron flux" } ], [ "line", "ok 1 found some spare flux in bottom drawer\n" ], [ "assert", { "ok": true, "id": 1, "name": "found some spare flux in bottom drawer" } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "SKIP Insufficient positron flux" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip-all-nonempty--preservewhite--omitversion.json000066400000000000000000000015421320135610000302730ustar00rootroot00000000000000[ [ "line", "# TAP emitted by Test::More 0.98\n" ], [ "comment", "# TAP emitted by Test::More 0.98\n" ], [ "line", "1..1 # SKIP Insufficient positron flux\n" ], [ "plan", { "start": 1, "end": 1, "comment": "SKIP Insufficient positron flux" } ], [ "line", "ok 1 found some spare flux in bottom drawer\n" ], [ "assert", { "ok": true, "id": 1, "name": "found some spare flux in bottom drawer" } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "SKIP Insufficient positron flux" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip-all-nonempty--preservewhite.json000066400000000000000000000015421320135610000256420ustar00rootroot00000000000000[ [ "line", "# TAP emitted by Test::More 0.98\n" ], [ "comment", "# TAP emitted by Test::More 0.98\n" ], [ "line", "1..1 # SKIP Insufficient positron flux\n" ], [ "plan", { "start": 1, "end": 1, "comment": "SKIP Insufficient positron flux" } ], [ "line", "ok 1 found some spare flux in bottom drawer\n" ], [ "assert", { "ok": true, "id": 1, "name": "found some spare flux in bottom drawer" } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "SKIP Insufficient positron flux" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip-all-nonempty.json000066400000000000000000000015421320135610000226730ustar00rootroot00000000000000[ [ "line", "# TAP emitted by Test::More 0.98\n" ], [ "comment", "# TAP emitted by Test::More 0.98\n" ], [ "line", "1..1 # SKIP Insufficient positron flux\n" ], [ "plan", { "start": 1, "end": 1, "comment": "SKIP Insufficient positron flux" } ], [ "line", "ok 1 found some spare flux in bottom drawer\n" ], [ "assert", { "ok": true, "id": 1, "name": "found some spare flux in bottom drawer" } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "SKIP Insufficient positron flux" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip-all-nonempty.tap000066400000000000000000000001641320135610000225050ustar00rootroot00000000000000# TAP emitted by Test::More 0.98 1..1 # SKIP Insufficient positron flux ok 1 found some spare flux in bottom drawer tap-parser-7.0.0/test/fixtures/skip-all-with-assert--bail--omitversion.json000066400000000000000000000014411320135610000267050ustar00rootroot00000000000000[ [ "line", "# TAP emitted by Test::More 0.98\n" ], [ "comment", "# TAP emitted by Test::More 0.98\n" ], [ "line", "1..0 # SKIP Insufficient skipping\n" ], [ "plan", { "start": 1, "end": 0, "comment": "SKIP Insufficient skipping" } ], [ "line", "ok 1 - should not be asserting\n" ], [ "extra", "ok 1 - should not be asserting\n" ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "SKIP Insufficient skipping", "comment": "SKIP Insufficient skipping" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip-all-with-assert--bail--preservewhite--omitversion.json000066400000000000000000000014411320135610000316540ustar00rootroot00000000000000[ [ "line", "# TAP emitted by Test::More 0.98\n" ], [ "comment", "# TAP emitted by Test::More 0.98\n" ], [ "line", "1..0 # SKIP Insufficient skipping\n" ], [ "plan", { "start": 1, "end": 0, "comment": "SKIP Insufficient skipping" } ], [ "line", "ok 1 - should not be asserting\n" ], [ "extra", "ok 1 - should not be asserting\n" ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "SKIP Insufficient skipping", "comment": "SKIP Insufficient skipping" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip-all-with-assert--bail--preservewhite.json000066400000000000000000000014411320135610000272230ustar00rootroot00000000000000[ [ "line", "# TAP emitted by Test::More 0.98\n" ], [ "comment", "# TAP emitted by Test::More 0.98\n" ], [ "line", "1..0 # SKIP Insufficient skipping\n" ], [ "plan", { "start": 1, "end": 0, "comment": "SKIP Insufficient skipping" } ], [ "line", "ok 1 - should not be asserting\n" ], [ "extra", "ok 1 - should not be asserting\n" ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "SKIP Insufficient skipping", "comment": "SKIP Insufficient skipping" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip-all-with-assert--bail.json000066400000000000000000000014411320135610000242540ustar00rootroot00000000000000[ [ "line", "# TAP emitted by Test::More 0.98\n" ], [ "comment", "# TAP emitted by Test::More 0.98\n" ], [ "line", "1..0 # SKIP Insufficient skipping\n" ], [ "plan", { "start": 1, "end": 0, "comment": "SKIP Insufficient skipping" } ], [ "line", "ok 1 - should not be asserting\n" ], [ "extra", "ok 1 - should not be asserting\n" ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "SKIP Insufficient skipping", "comment": "SKIP Insufficient skipping" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip-all-with-assert--omitversion.json000066400000000000000000000014411320135610000257230ustar00rootroot00000000000000[ [ "line", "# TAP emitted by Test::More 0.98\n" ], [ "comment", "# TAP emitted by Test::More 0.98\n" ], [ "line", "1..0 # SKIP Insufficient skipping\n" ], [ "plan", { "start": 1, "end": 0, "comment": "SKIP Insufficient skipping" } ], [ "line", "ok 1 - should not be asserting\n" ], [ "extra", "ok 1 - should not be asserting\n" ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "SKIP Insufficient skipping", "comment": "SKIP Insufficient skipping" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip-all-with-assert--preservewhite--omitversion.json000066400000000000000000000014411320135610000306720ustar00rootroot00000000000000[ [ "line", "# TAP emitted by Test::More 0.98\n" ], [ "comment", "# TAP emitted by Test::More 0.98\n" ], [ "line", "1..0 # SKIP Insufficient skipping\n" ], [ "plan", { "start": 1, "end": 0, "comment": "SKIP Insufficient skipping" } ], [ "line", "ok 1 - should not be asserting\n" ], [ "extra", "ok 1 - should not be asserting\n" ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "SKIP Insufficient skipping", "comment": "SKIP Insufficient skipping" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip-all-with-assert--preservewhite.json000066400000000000000000000014411320135610000262410ustar00rootroot00000000000000[ [ "line", "# TAP emitted by Test::More 0.98\n" ], [ "comment", "# TAP emitted by Test::More 0.98\n" ], [ "line", "1..0 # SKIP Insufficient skipping\n" ], [ "plan", { "start": 1, "end": 0, "comment": "SKIP Insufficient skipping" } ], [ "line", "ok 1 - should not be asserting\n" ], [ "extra", "ok 1 - should not be asserting\n" ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "SKIP Insufficient skipping", "comment": "SKIP Insufficient skipping" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip-all-with-assert.json000066400000000000000000000014411320135610000232720ustar00rootroot00000000000000[ [ "line", "# TAP emitted by Test::More 0.98\n" ], [ "comment", "# TAP emitted by Test::More 0.98\n" ], [ "line", "1..0 # SKIP Insufficient skipping\n" ], [ "plan", { "start": 1, "end": 0, "comment": "SKIP Insufficient skipping" } ], [ "line", "ok 1 - should not be asserting\n" ], [ "extra", "ok 1 - should not be asserting\n" ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "SKIP Insufficient skipping", "comment": "SKIP Insufficient skipping" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip-all-with-assert.tap000066400000000000000000000001421320135610000231020ustar00rootroot00000000000000# TAP emitted by Test::More 0.98 1..0 # SKIP Insufficient skipping ok 1 - should not be asserting tap-parser-7.0.0/test/fixtures/skip-all-with-test--bail--omitversion.json000066400000000000000000000016131320135610000263640ustar00rootroot00000000000000[ [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..0\n" ], [ "plan", { "start": 1, "end": 0 } ], [ "line", "# test count(1) != plan(0)\n" ], [ "comment", "# test count(1) != plan(0)\n" ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "Plan of 1..0, but test points encountered" } ] } ] ] tap-parser-7.0.0/test/fixtures/skip-all-with-test--bail--preservewhite--omitversion.json000066400000000000000000000016131320135610000313330ustar00rootroot00000000000000[ [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..0\n" ], [ "plan", { "start": 1, "end": 0 } ], [ "line", "# test count(1) != plan(0)\n" ], [ "comment", "# test count(1) != plan(0)\n" ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "Plan of 1..0, but test points encountered" } ] } ] ] tap-parser-7.0.0/test/fixtures/skip-all-with-test--bail--preservewhite.json000066400000000000000000000017261320135610000267070ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..0\n" ], [ "plan", { "start": 1, "end": 0 } ], [ "line", "# test count(1) != plan(0)\n" ], [ "comment", "# test count(1) != plan(0)\n" ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "Plan of 1..0, but test points encountered" } ] } ] ] tap-parser-7.0.0/test/fixtures/skip-all-with-test--bail.json000066400000000000000000000017261320135610000237400ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..0\n" ], [ "plan", { "start": 1, "end": 0 } ], [ "line", "# test count(1) != plan(0)\n" ], [ "comment", "# test count(1) != plan(0)\n" ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "Plan of 1..0, but test points encountered" } ] } ] ] tap-parser-7.0.0/test/fixtures/skip-all-with-test--omitversion.json000066400000000000000000000016131320135610000254020ustar00rootroot00000000000000[ [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..0\n" ], [ "plan", { "start": 1, "end": 0 } ], [ "line", "# test count(1) != plan(0)\n" ], [ "comment", "# test count(1) != plan(0)\n" ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "Plan of 1..0, but test points encountered" } ] } ] ] tap-parser-7.0.0/test/fixtures/skip-all-with-test--preservewhite--omitversion.json000066400000000000000000000016131320135610000303510ustar00rootroot00000000000000[ [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..0\n" ], [ "plan", { "start": 1, "end": 0 } ], [ "line", "# test count(1) != plan(0)\n" ], [ "comment", "# test count(1) != plan(0)\n" ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "Plan of 1..0, but test points encountered" } ] } ] ] tap-parser-7.0.0/test/fixtures/skip-all-with-test--preservewhite.json000066400000000000000000000017261320135610000257250ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..0\n" ], [ "plan", { "start": 1, "end": 0 } ], [ "line", "# test count(1) != plan(0)\n" ], [ "comment", "# test count(1) != plan(0)\n" ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "Plan of 1..0, but test points encountered" } ] } ] ] tap-parser-7.0.0/test/fixtures/skip-all-with-test.json000066400000000000000000000017261320135610000227560ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..0\n" ], [ "plan", { "start": 1, "end": 0 } ], [ "line", "# test count(1) != plan(0)\n" ], [ "comment", "# test count(1) != plan(0)\n" ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "Plan of 1..0, but test points encountered" } ] } ] ] tap-parser-7.0.0/test/fixtures/skip-all-with-test.tap000066400000000000000000000000271320135610000225620ustar00rootroot00000000000000TAP version 13 ok 1..0 tap-parser-7.0.0/test/fixtures/skip-all.json000066400000000000000000000012741320135610000210260ustar00rootroot00000000000000[ [ "line", "# TAP emitted by Test::More 0.98\n" ], [ "comment", "# TAP emitted by Test::More 0.98\n" ], [ "line", "1..0 # SKIP Insufficient positron flux\n" ], [ "plan", { "start": 1, "end": 0, "comment": "SKIP Insufficient positron flux" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "SKIP Insufficient positron flux", "comment": "SKIP Insufficient positron flux" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip-all.tap000066400000000000000000000001101320135610000206250ustar00rootroot00000000000000# TAP emitted by Test::More 0.98 1..0 # SKIP Insufficient positron flux tap-parser-7.0.0/test/fixtures/skip-one-fail--bail--omitversion.json000066400000000000000000000013051320135610000253560ustar00rootroot00000000000000[ [ "line", "not ok 1 does not count as failure # SKIP\n" ], [ "assert", { "ok": false, "id": 1, "skip": true, "name": "does not count as failure" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip-one-fail--bail--preservewhite--omitversion.json000066400000000000000000000013051320135610000303250ustar00rootroot00000000000000[ [ "line", "not ok 1 does not count as failure # SKIP\n" ], [ "assert", { "ok": false, "id": 1, "skip": true, "name": "does not count as failure" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip-one-fail--bail--preservewhite.json000066400000000000000000000014201320135610000256720ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "not ok 1 does not count as failure # SKIP\n" ], [ "assert", { "ok": false, "id": 1, "skip": true, "name": "does not count as failure" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip-one-fail--bail.json000066400000000000000000000014201320135610000227230ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "not ok 1 does not count as failure # SKIP\n" ], [ "assert", { "ok": false, "id": 1, "skip": true, "name": "does not count as failure" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip-one-fail--omitversion.json000066400000000000000000000013051320135610000243740ustar00rootroot00000000000000[ [ "line", "not ok 1 does not count as failure # SKIP\n" ], [ "assert", { "ok": false, "id": 1, "skip": true, "name": "does not count as failure" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip-one-fail--preservewhite--omitversion.json000066400000000000000000000013051320135610000273430ustar00rootroot00000000000000[ [ "line", "not ok 1 does not count as failure # SKIP\n" ], [ "assert", { "ok": false, "id": 1, "skip": true, "name": "does not count as failure" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip-one-fail--preservewhite.json000066400000000000000000000014201320135610000247100ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "not ok 1 does not count as failure # SKIP\n" ], [ "assert", { "ok": false, "id": 1, "skip": true, "name": "does not count as failure" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip-one-fail.json000066400000000000000000000014201320135610000217410ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "not ok 1 does not count as failure # SKIP\n" ], [ "assert", { "ok": false, "id": 1, "skip": true, "name": "does not count as failure" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip-one-fail.tap000066400000000000000000000000761320135610000215620ustar00rootroot00000000000000TAP version 13 not ok 1 does not count as failure # SKIP 1..1 tap-parser-7.0.0/test/fixtures/skip-one-ok--bail--omitversion.json000066400000000000000000000012461320135610000250600ustar00rootroot00000000000000[ [ "line", "ok 1 totally fine # SKIP\n" ], [ "assert", { "ok": true, "id": 1, "skip": true, "name": "totally fine" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip-one-ok--bail--preservewhite--omitversion.json000066400000000000000000000012461320135610000300270ustar00rootroot00000000000000[ [ "line", "ok 1 totally fine # SKIP\n" ], [ "assert", { "ok": true, "id": 1, "skip": true, "name": "totally fine" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip-one-ok--bail--preservewhite.json000066400000000000000000000013611320135610000253740ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "ok 1 totally fine # SKIP\n" ], [ "assert", { "ok": true, "id": 1, "skip": true, "name": "totally fine" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip-one-ok--bail.json000066400000000000000000000013611320135610000224250ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "ok 1 totally fine # SKIP\n" ], [ "assert", { "ok": true, "id": 1, "skip": true, "name": "totally fine" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip-one-ok--omitversion.json000066400000000000000000000012461320135610000240760ustar00rootroot00000000000000[ [ "line", "ok 1 totally fine # SKIP\n" ], [ "assert", { "ok": true, "id": 1, "skip": true, "name": "totally fine" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip-one-ok--preservewhite--omitversion.json000066400000000000000000000012461320135610000270450ustar00rootroot00000000000000[ [ "line", "ok 1 totally fine # SKIP\n" ], [ "assert", { "ok": true, "id": 1, "skip": true, "name": "totally fine" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip-one-ok--preservewhite.json000066400000000000000000000013611320135610000244120ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "ok 1 totally fine # SKIP\n" ], [ "assert", { "ok": true, "id": 1, "skip": true, "name": "totally fine" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip-one-ok.json000066400000000000000000000013611320135610000214430ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "ok 1 totally fine # SKIP\n" ], [ "assert", { "ok": true, "id": 1, "skip": true, "name": "totally fine" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip-one-ok.tap000066400000000000000000000000551320135610000212550ustar00rootroot00000000000000TAP version 13 ok 1 totally fine # SKIP 1..1 tap-parser-7.0.0/test/fixtures/skip.json000066400000000000000000000020671320135610000202610ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2 # skip rain delay\n" ], [ "assert", { "ok": true, "id": 2, "skip": "rain delay", "name": "" } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip.tap000066400000000000000000000000631320135610000200660ustar00rootroot000000000000001..5 ok 1 ok 2 # skip rain delay ok 3 ok 4 ok 5 tap-parser-7.0.0/test/fixtures/skip_nomsg--bail--omitversion.json000066400000000000000000000012151320135610000250710ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 # Skip\n" ], [ "assert", { "ok": true, "id": 1, "skip": true, "name": "" } ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip_nomsg--bail--preservewhite--omitversion.json000066400000000000000000000012151320135610000300400ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 # Skip\n" ], [ "assert", { "ok": true, "id": 1, "skip": true, "name": "" } ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip_nomsg--bail--preservewhite.json000066400000000000000000000012151320135610000254070ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 # Skip\n" ], [ "assert", { "ok": true, "id": 1, "skip": true, "name": "" } ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip_nomsg--bail.json000066400000000000000000000012151320135610000224400ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 # Skip\n" ], [ "assert", { "ok": true, "id": 1, "skip": true, "name": "" } ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip_nomsg--omitversion.json000066400000000000000000000012151320135610000241070ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 # Skip\n" ], [ "assert", { "ok": true, "id": 1, "skip": true, "name": "" } ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip_nomsg--preservewhite--omitversion.json000066400000000000000000000012151320135610000270560ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 # Skip\n" ], [ "assert", { "ok": true, "id": 1, "skip": true, "name": "" } ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip_nomsg--preservewhite.json000066400000000000000000000012151320135610000244250ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 # Skip\n" ], [ "assert", { "ok": true, "id": 1, "skip": true, "name": "" } ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip_nomsg.json000066400000000000000000000012151320135610000214560ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok 1 # Skip\n" ], [ "assert", { "ok": true, "id": 1, "skip": true, "name": "" } ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 1, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skip_nomsg.tap000066400000000000000000000000211320135610000212630ustar00rootroot000000000000001..1 ok 1 # Skip tap-parser-7.0.0/test/fixtures/skipall--bail--omitversion.json000066400000000000000000000007711320135610000243650ustar00rootroot00000000000000[ [ "line", "1..0 # skipping: rope\n" ], [ "plan", { "start": 1, "end": 0, "comment": "skipping: rope" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "skipping: rope", "comment": "skipping: rope" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skipall--bail--preservewhite--omitversion.json000066400000000000000000000007711320135610000273340ustar00rootroot00000000000000[ [ "line", "1..0 # skipping: rope\n" ], [ "plan", { "start": 1, "end": 0, "comment": "skipping: rope" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "skipping: rope", "comment": "skipping: rope" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skipall--bail--preservewhite.json000066400000000000000000000007711320135610000247030ustar00rootroot00000000000000[ [ "line", "1..0 # skipping: rope\n" ], [ "plan", { "start": 1, "end": 0, "comment": "skipping: rope" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "skipping: rope", "comment": "skipping: rope" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skipall--bail.json000066400000000000000000000007711320135610000217340ustar00rootroot00000000000000[ [ "line", "1..0 # skipping: rope\n" ], [ "plan", { "start": 1, "end": 0, "comment": "skipping: rope" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "skipping: rope", "comment": "skipping: rope" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skipall--omitversion.json000066400000000000000000000007711320135610000234030ustar00rootroot00000000000000[ [ "line", "1..0 # skipping: rope\n" ], [ "plan", { "start": 1, "end": 0, "comment": "skipping: rope" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "skipping: rope", "comment": "skipping: rope" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skipall--preservewhite--omitversion.json000066400000000000000000000007711320135610000263520ustar00rootroot00000000000000[ [ "line", "1..0 # skipping: rope\n" ], [ "plan", { "start": 1, "end": 0, "comment": "skipping: rope" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "skipping: rope", "comment": "skipping: rope" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skipall--preservewhite.json000066400000000000000000000007711320135610000237210ustar00rootroot00000000000000[ [ "line", "1..0 # skipping: rope\n" ], [ "plan", { "start": 1, "end": 0, "comment": "skipping: rope" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "skipping: rope", "comment": "skipping: rope" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skipall.json000066400000000000000000000007711320135610000207520ustar00rootroot00000000000000[ [ "line", "1..0 # skipping: rope\n" ], [ "plan", { "start": 1, "end": 0, "comment": "skipping: rope" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "skipping: rope", "comment": "skipping: rope" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skipall.tap000066400000000000000000000000261320135610000205560ustar00rootroot000000000000001..0 # skipping: rope tap-parser-7.0.0/test/fixtures/skipall_nomsg--bail--omitversion.json000066400000000000000000000006511320135610000255650ustar00rootroot00000000000000[ [ "line", "1..0\n" ], [ "plan", { "start": 1, "end": 0 } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skipall_nomsg--bail--preservewhite--omitversion.json000066400000000000000000000006511320135610000305340ustar00rootroot00000000000000[ [ "line", "1..0\n" ], [ "plan", { "start": 1, "end": 0 } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skipall_nomsg--bail--preservewhite.json000066400000000000000000000006511320135610000261030ustar00rootroot00000000000000[ [ "line", "1..0\n" ], [ "plan", { "start": 1, "end": 0 } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skipall_nomsg--bail.json000066400000000000000000000006511320135610000231340ustar00rootroot00000000000000[ [ "line", "1..0\n" ], [ "plan", { "start": 1, "end": 0 } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skipall_nomsg--omitversion.json000066400000000000000000000006511320135610000246030ustar00rootroot00000000000000[ [ "line", "1..0\n" ], [ "plan", { "start": 1, "end": 0 } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skipall_nomsg--preservewhite--omitversion.json000066400000000000000000000006511320135610000275520ustar00rootroot00000000000000[ [ "line", "1..0\n" ], [ "plan", { "start": 1, "end": 0 } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skipall_nomsg--preservewhite.json000066400000000000000000000006511320135610000251210ustar00rootroot00000000000000[ [ "line", "1..0\n" ], [ "plan", { "start": 1, "end": 0 } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skipall_nomsg.json000066400000000000000000000006511320135610000221520ustar00rootroot00000000000000[ [ "line", "1..0\n" ], [ "plan", { "start": 1, "end": 0 } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skipall_nomsg.tap000066400000000000000000000000051320135610000217560ustar00rootroot000000000000001..0 tap-parser-7.0.0/test/fixtures/skipall_v13--bail--omitversion.json000066400000000000000000000007711320135610000250560ustar00rootroot00000000000000[ [ "line", "1..0 # skipping: rope\n" ], [ "plan", { "start": 1, "end": 0, "comment": "skipping: rope" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "skipping: rope", "comment": "skipping: rope" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skipall_v13--bail--preservewhite--omitversion.json000066400000000000000000000007711320135610000300250ustar00rootroot00000000000000[ [ "line", "1..0 # skipping: rope\n" ], [ "plan", { "start": 1, "end": 0, "comment": "skipping: rope" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "skipping: rope", "comment": "skipping: rope" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skipall_v13--bail--preservewhite.json000066400000000000000000000011041320135610000253630ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..0 # skipping: rope\n" ], [ "plan", { "start": 1, "end": 0, "comment": "skipping: rope" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "skipping: rope", "comment": "skipping: rope" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skipall_v13--bail.json000066400000000000000000000011041320135610000224140ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..0 # skipping: rope\n" ], [ "plan", { "start": 1, "end": 0, "comment": "skipping: rope" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "skipping: rope", "comment": "skipping: rope" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skipall_v13--omitversion.json000066400000000000000000000007711320135610000240740ustar00rootroot00000000000000[ [ "line", "1..0 # skipping: rope\n" ], [ "plan", { "start": 1, "end": 0, "comment": "skipping: rope" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "skipping: rope", "comment": "skipping: rope" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skipall_v13--preservewhite--omitversion.json000066400000000000000000000007711320135610000270430ustar00rootroot00000000000000[ [ "line", "1..0 # skipping: rope\n" ], [ "plan", { "start": 1, "end": 0, "comment": "skipping: rope" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "skipping: rope", "comment": "skipping: rope" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skipall_v13--preservewhite.json000066400000000000000000000011041320135610000244010ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..0 # skipping: rope\n" ], [ "plan", { "start": 1, "end": 0, "comment": "skipping: rope" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "skipping: rope", "comment": "skipping: rope" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skipall_v13.json000066400000000000000000000011041320135610000214320ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..0 # skipping: rope\n" ], [ "plan", { "start": 1, "end": 0, "comment": "skipping: rope" } ], [ "complete", { "ok": true, "count": 0, "pass": 0, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 0, "skipAll": true, "skipReason": "skipping: rope", "comment": "skipping: rope" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skipall_v13.tap000066400000000000000000000000451320135610000212500ustar00rootroot00000000000000TAP version 13 1..0 # skipping: rope tap-parser-7.0.0/test/fixtures/skipping-a-few--bail--omitversion.json000066400000000000000000000027321320135610000255460ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1 - approved operating system\n" ], [ "assert", { "ok": true, "id": 1, "name": "approved operating system" } ], [ "line", "# $^0 is solaris\n" ], [ "comment", "# $^0 is solaris\n" ], [ "line", "ok 2 - # SKIP no /sys directory\n" ], [ "assert", { "ok": true, "id": 2, "skip": "no /sys directory", "name": "" } ], [ "line", "ok 3 - # SKIP no /sys directory\n" ], [ "assert", { "ok": true, "id": 3, "skip": "no /sys directory", "name": "" } ], [ "line", "ok 4 - # SKIP no /sys directory\n" ], [ "assert", { "ok": true, "id": 4, "skip": "no /sys directory", "name": "" } ], [ "line", "ok 5 - # SKIP no /sys directory\n" ], [ "assert", { "ok": true, "id": 5, "skip": "no /sys directory", "name": "" } ], [ "line", "# skip: 4\n" ], [ "comment", "# skip: 4\n" ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 4, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skipping-a-few--bail--preservewhite--omitversion.json000066400000000000000000000027321320135610000305150ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1 - approved operating system\n" ], [ "assert", { "ok": true, "id": 1, "name": "approved operating system" } ], [ "line", "# $^0 is solaris\n" ], [ "comment", "# $^0 is solaris\n" ], [ "line", "ok 2 - # SKIP no /sys directory\n" ], [ "assert", { "ok": true, "id": 2, "skip": "no /sys directory", "name": "" } ], [ "line", "ok 3 - # SKIP no /sys directory\n" ], [ "assert", { "ok": true, "id": 3, "skip": "no /sys directory", "name": "" } ], [ "line", "ok 4 - # SKIP no /sys directory\n" ], [ "assert", { "ok": true, "id": 4, "skip": "no /sys directory", "name": "" } ], [ "line", "ok 5 - # SKIP no /sys directory\n" ], [ "assert", { "ok": true, "id": 5, "skip": "no /sys directory", "name": "" } ], [ "line", "# skip: 4\n" ], [ "comment", "# skip: 4\n" ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 4, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skipping-a-few--bail--preservewhite.json000066400000000000000000000030451320135610000260620ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1 - approved operating system\n" ], [ "assert", { "ok": true, "id": 1, "name": "approved operating system" } ], [ "line", "# $^0 is solaris\n" ], [ "comment", "# $^0 is solaris\n" ], [ "line", "ok 2 - # SKIP no /sys directory\n" ], [ "assert", { "ok": true, "id": 2, "skip": "no /sys directory", "name": "" } ], [ "line", "ok 3 - # SKIP no /sys directory\n" ], [ "assert", { "ok": true, "id": 3, "skip": "no /sys directory", "name": "" } ], [ "line", "ok 4 - # SKIP no /sys directory\n" ], [ "assert", { "ok": true, "id": 4, "skip": "no /sys directory", "name": "" } ], [ "line", "ok 5 - # SKIP no /sys directory\n" ], [ "assert", { "ok": true, "id": 5, "skip": "no /sys directory", "name": "" } ], [ "line", "# skip: 4\n" ], [ "comment", "# skip: 4\n" ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 4, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skipping-a-few--bail.json000066400000000000000000000030451320135610000231130ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1 - approved operating system\n" ], [ "assert", { "ok": true, "id": 1, "name": "approved operating system" } ], [ "line", "# $^0 is solaris\n" ], [ "comment", "# $^0 is solaris\n" ], [ "line", "ok 2 - # SKIP no /sys directory\n" ], [ "assert", { "ok": true, "id": 2, "skip": "no /sys directory", "name": "" } ], [ "line", "ok 3 - # SKIP no /sys directory\n" ], [ "assert", { "ok": true, "id": 3, "skip": "no /sys directory", "name": "" } ], [ "line", "ok 4 - # SKIP no /sys directory\n" ], [ "assert", { "ok": true, "id": 4, "skip": "no /sys directory", "name": "" } ], [ "line", "ok 5 - # SKIP no /sys directory\n" ], [ "assert", { "ok": true, "id": 5, "skip": "no /sys directory", "name": "" } ], [ "line", "# skip: 4\n" ], [ "comment", "# skip: 4\n" ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 4, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skipping-a-few--omitversion.json000066400000000000000000000027321320135610000245640ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1 - approved operating system\n" ], [ "assert", { "ok": true, "id": 1, "name": "approved operating system" } ], [ "line", "# $^0 is solaris\n" ], [ "comment", "# $^0 is solaris\n" ], [ "line", "ok 2 - # SKIP no /sys directory\n" ], [ "assert", { "ok": true, "id": 2, "skip": "no /sys directory", "name": "" } ], [ "line", "ok 3 - # SKIP no /sys directory\n" ], [ "assert", { "ok": true, "id": 3, "skip": "no /sys directory", "name": "" } ], [ "line", "ok 4 - # SKIP no /sys directory\n" ], [ "assert", { "ok": true, "id": 4, "skip": "no /sys directory", "name": "" } ], [ "line", "ok 5 - # SKIP no /sys directory\n" ], [ "assert", { "ok": true, "id": 5, "skip": "no /sys directory", "name": "" } ], [ "line", "# skip: 4\n" ], [ "comment", "# skip: 4\n" ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 4, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skipping-a-few--preservewhite--omitversion.json000066400000000000000000000027321320135610000275330ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1 - approved operating system\n" ], [ "assert", { "ok": true, "id": 1, "name": "approved operating system" } ], [ "line", "# $^0 is solaris\n" ], [ "comment", "# $^0 is solaris\n" ], [ "line", "ok 2 - # SKIP no /sys directory\n" ], [ "assert", { "ok": true, "id": 2, "skip": "no /sys directory", "name": "" } ], [ "line", "ok 3 - # SKIP no /sys directory\n" ], [ "assert", { "ok": true, "id": 3, "skip": "no /sys directory", "name": "" } ], [ "line", "ok 4 - # SKIP no /sys directory\n" ], [ "assert", { "ok": true, "id": 4, "skip": "no /sys directory", "name": "" } ], [ "line", "ok 5 - # SKIP no /sys directory\n" ], [ "assert", { "ok": true, "id": 5, "skip": "no /sys directory", "name": "" } ], [ "line", "# skip: 4\n" ], [ "comment", "# skip: 4\n" ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 4, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skipping-a-few--preservewhite.json000066400000000000000000000030451320135610000251000ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1 - approved operating system\n" ], [ "assert", { "ok": true, "id": 1, "name": "approved operating system" } ], [ "line", "# $^0 is solaris\n" ], [ "comment", "# $^0 is solaris\n" ], [ "line", "ok 2 - # SKIP no /sys directory\n" ], [ "assert", { "ok": true, "id": 2, "skip": "no /sys directory", "name": "" } ], [ "line", "ok 3 - # SKIP no /sys directory\n" ], [ "assert", { "ok": true, "id": 3, "skip": "no /sys directory", "name": "" } ], [ "line", "ok 4 - # SKIP no /sys directory\n" ], [ "assert", { "ok": true, "id": 4, "skip": "no /sys directory", "name": "" } ], [ "line", "ok 5 - # SKIP no /sys directory\n" ], [ "assert", { "ok": true, "id": 5, "skip": "no /sys directory", "name": "" } ], [ "line", "# skip: 4\n" ], [ "comment", "# skip: 4\n" ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 4, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skipping-a-few.json000066400000000000000000000030451320135610000221310ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1 - approved operating system\n" ], [ "assert", { "ok": true, "id": 1, "name": "approved operating system" } ], [ "line", "# $^0 is solaris\n" ], [ "comment", "# $^0 is solaris\n" ], [ "line", "ok 2 - # SKIP no /sys directory\n" ], [ "assert", { "ok": true, "id": 2, "skip": "no /sys directory", "name": "" } ], [ "line", "ok 3 - # SKIP no /sys directory\n" ], [ "assert", { "ok": true, "id": 3, "skip": "no /sys directory", "name": "" } ], [ "line", "ok 4 - # SKIP no /sys directory\n" ], [ "assert", { "ok": true, "id": 4, "skip": "no /sys directory", "name": "" } ], [ "line", "ok 5 - # SKIP no /sys directory\n" ], [ "assert", { "ok": true, "id": 5, "skip": "no /sys directory", "name": "" } ], [ "line", "# skip: 4\n" ], [ "comment", "# skip: 4\n" ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 4, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/skipping-a-few.tap000066400000000000000000000003061320135610000217410ustar00rootroot00000000000000TAP version 13 1..5 ok 1 - approved operating system # $^0 is solaris ok 2 - # SKIP no /sys directory ok 3 - # SKIP no /sys directory ok 4 - # SKIP no /sys directory ok 5 - # SKIP no /sys directory tap-parser-7.0.0/test/fixtures/space_after_plan--bail--omitversion.json000066400000000000000000000024111320135610000262050ustar00rootroot00000000000000[ [ "line", "1..5 \n" ], [ "extra", "1..5 \n" ], [ "line", "ok 1 \n" ], [ "assert", { "ok": true, "id": 1, "name": "" } ], [ "line", "ok 2 \n" ], [ "assert", { "ok": true, "id": 2, "name": "" } ], [ "line", "ok 3 \n" ], [ "assert", { "ok": true, "id": 3, "name": "" } ], [ "line", "ok 4 \n" ], [ "assert", { "ok": true, "id": 4, "name": "" } ], [ "line", "ok 5 \n" ], [ "assert", { "ok": true, "id": 5, "name": "" } ], [ "line", "# test count(5) != plan(null)\n" ], [ "comment", "# test count(5) != plan(null)\n" ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "no plan" } ] } ] ] tap-parser-7.0.0/test/fixtures/space_after_plan--bail--preservewhite--omitversion.json000066400000000000000000000024111320135610000311540ustar00rootroot00000000000000[ [ "line", "1..5 \n" ], [ "extra", "1..5 \n" ], [ "line", "ok 1 \n" ], [ "assert", { "ok": true, "id": 1, "name": "" } ], [ "line", "ok 2 \n" ], [ "assert", { "ok": true, "id": 2, "name": "" } ], [ "line", "ok 3 \n" ], [ "assert", { "ok": true, "id": 3, "name": "" } ], [ "line", "ok 4 \n" ], [ "assert", { "ok": true, "id": 4, "name": "" } ], [ "line", "ok 5 \n" ], [ "assert", { "ok": true, "id": 5, "name": "" } ], [ "line", "# test count(5) != plan(null)\n" ], [ "comment", "# test count(5) != plan(null)\n" ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "no plan" } ] } ] ] tap-parser-7.0.0/test/fixtures/space_after_plan--bail--preservewhite.json000066400000000000000000000024111320135610000265230ustar00rootroot00000000000000[ [ "line", "1..5 \n" ], [ "extra", "1..5 \n" ], [ "line", "ok 1 \n" ], [ "assert", { "ok": true, "id": 1, "name": "" } ], [ "line", "ok 2 \n" ], [ "assert", { "ok": true, "id": 2, "name": "" } ], [ "line", "ok 3 \n" ], [ "assert", { "ok": true, "id": 3, "name": "" } ], [ "line", "ok 4 \n" ], [ "assert", { "ok": true, "id": 4, "name": "" } ], [ "line", "ok 5 \n" ], [ "assert", { "ok": true, "id": 5, "name": "" } ], [ "line", "# test count(5) != plan(null)\n" ], [ "comment", "# test count(5) != plan(null)\n" ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "no plan" } ] } ] ] tap-parser-7.0.0/test/fixtures/space_after_plan--bail.json000066400000000000000000000024111320135610000235540ustar00rootroot00000000000000[ [ "line", "1..5 \n" ], [ "extra", "1..5 \n" ], [ "line", "ok 1 \n" ], [ "assert", { "ok": true, "id": 1, "name": "" } ], [ "line", "ok 2 \n" ], [ "assert", { "ok": true, "id": 2, "name": "" } ], [ "line", "ok 3 \n" ], [ "assert", { "ok": true, "id": 3, "name": "" } ], [ "line", "ok 4 \n" ], [ "assert", { "ok": true, "id": 4, "name": "" } ], [ "line", "ok 5 \n" ], [ "assert", { "ok": true, "id": 5, "name": "" } ], [ "line", "# test count(5) != plan(null)\n" ], [ "comment", "# test count(5) != plan(null)\n" ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "no plan" } ] } ] ] tap-parser-7.0.0/test/fixtures/space_after_plan--omitversion.json000066400000000000000000000024111320135610000252230ustar00rootroot00000000000000[ [ "line", "1..5 \n" ], [ "extra", "1..5 \n" ], [ "line", "ok 1 \n" ], [ "assert", { "ok": true, "id": 1, "name": "" } ], [ "line", "ok 2 \n" ], [ "assert", { "ok": true, "id": 2, "name": "" } ], [ "line", "ok 3 \n" ], [ "assert", { "ok": true, "id": 3, "name": "" } ], [ "line", "ok 4 \n" ], [ "assert", { "ok": true, "id": 4, "name": "" } ], [ "line", "ok 5 \n" ], [ "assert", { "ok": true, "id": 5, "name": "" } ], [ "line", "# test count(5) != plan(null)\n" ], [ "comment", "# test count(5) != plan(null)\n" ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "no plan" } ] } ] ] tap-parser-7.0.0/test/fixtures/space_after_plan--preservewhite--omitversion.json000066400000000000000000000024111320135610000301720ustar00rootroot00000000000000[ [ "line", "1..5 \n" ], [ "extra", "1..5 \n" ], [ "line", "ok 1 \n" ], [ "assert", { "ok": true, "id": 1, "name": "" } ], [ "line", "ok 2 \n" ], [ "assert", { "ok": true, "id": 2, "name": "" } ], [ "line", "ok 3 \n" ], [ "assert", { "ok": true, "id": 3, "name": "" } ], [ "line", "ok 4 \n" ], [ "assert", { "ok": true, "id": 4, "name": "" } ], [ "line", "ok 5 \n" ], [ "assert", { "ok": true, "id": 5, "name": "" } ], [ "line", "# test count(5) != plan(null)\n" ], [ "comment", "# test count(5) != plan(null)\n" ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "no plan" } ] } ] ] tap-parser-7.0.0/test/fixtures/space_after_plan--preservewhite.json000066400000000000000000000024111320135610000255410ustar00rootroot00000000000000[ [ "line", "1..5 \n" ], [ "extra", "1..5 \n" ], [ "line", "ok 1 \n" ], [ "assert", { "ok": true, "id": 1, "name": "" } ], [ "line", "ok 2 \n" ], [ "assert", { "ok": true, "id": 2, "name": "" } ], [ "line", "ok 3 \n" ], [ "assert", { "ok": true, "id": 3, "name": "" } ], [ "line", "ok 4 \n" ], [ "assert", { "ok": true, "id": 4, "name": "" } ], [ "line", "ok 5 \n" ], [ "assert", { "ok": true, "id": 5, "name": "" } ], [ "line", "# test count(5) != plan(null)\n" ], [ "comment", "# test count(5) != plan(null)\n" ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "no plan" } ] } ] ] tap-parser-7.0.0/test/fixtures/space_after_plan.json000066400000000000000000000024111320135610000225720ustar00rootroot00000000000000[ [ "line", "1..5 \n" ], [ "extra", "1..5 \n" ], [ "line", "ok 1 \n" ], [ "assert", { "ok": true, "id": 1, "name": "" } ], [ "line", "ok 2 \n" ], [ "assert", { "ok": true, "id": 2, "name": "" } ], [ "line", "ok 3 \n" ], [ "assert", { "ok": true, "id": 3, "name": "" } ], [ "line", "ok 4 \n" ], [ "assert", { "ok": true, "id": 4, "name": "" } ], [ "line", "ok 5 \n" ], [ "assert", { "ok": true, "id": 5, "name": "" } ], [ "line", "# test count(5) != plan(null)\n" ], [ "comment", "# test count(5) != plan(null)\n" ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "no plan" } ] } ] ] tap-parser-7.0.0/test/fixtures/space_after_plan.tap000066400000000000000000000000441320135610000224050ustar00rootroot000000000000001..5 ok 1 ok 2 ok 3 ok 4 ok 5 tap-parser-7.0.0/test/fixtures/stdout_stderr--bail--omitversion.json000066400000000000000000000014761320135610000256360ustar00rootroot00000000000000[ [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/stdout_stderr--bail--preservewhite--omitversion.json000066400000000000000000000014761320135610000306050ustar00rootroot00000000000000[ [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/stdout_stderr--bail--preservewhite.json000066400000000000000000000014761320135610000261540ustar00rootroot00000000000000[ [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/stdout_stderr--bail.json000066400000000000000000000014761320135610000232050ustar00rootroot00000000000000[ [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/stdout_stderr--omitversion.json000066400000000000000000000014761320135610000246540ustar00rootroot00000000000000[ [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/stdout_stderr--preservewhite--omitversion.json000066400000000000000000000014761320135610000276230ustar00rootroot00000000000000[ [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/stdout_stderr--preservewhite.json000066400000000000000000000014761320135610000251720ustar00rootroot00000000000000[ [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/stdout_stderr.json000066400000000000000000000014761320135610000222230ustar00rootroot00000000000000[ [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "complete", { "ok": true, "count": 4, "pass": 4, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/stdout_stderr.tap000066400000000000000000000000311320135610000220200ustar00rootroot00000000000000ok 1 ok 2 ok 3 ok 4 1..4 tap-parser-7.0.0/test/fixtures/strict--bail--omitversion.json000066400000000000000000000021471320135610000242350ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "pragma +strict\n" ], [ "pragma", "strict", true ], [ "line", "Nonsense!\n" ], [ "extra", "Nonsense!\n" ], [ "line", "pragma -strict\n" ], [ "pragma", "strict", false ], [ "line", "Doesn't matter.\n" ], [ "extra", "Doesn't matter.\n" ], [ "line", "ok 1 All OK\n" ], [ "assert", { "ok": true, "id": 1, "name": "All OK" } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "Non-TAP data encountered in strict mode", "data": "Nonsense!\n" } ] } ] ] tap-parser-7.0.0/test/fixtures/strict--bail--preservewhite--omitversion.json000066400000000000000000000021471320135610000272040ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "pragma +strict\n" ], [ "pragma", "strict", true ], [ "line", "Nonsense!\n" ], [ "extra", "Nonsense!\n" ], [ "line", "pragma -strict\n" ], [ "pragma", "strict", false ], [ "line", "Doesn't matter.\n" ], [ "extra", "Doesn't matter.\n" ], [ "line", "ok 1 All OK\n" ], [ "assert", { "ok": true, "id": 1, "name": "All OK" } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "Non-TAP data encountered in strict mode", "data": "Nonsense!\n" } ] } ] ] tap-parser-7.0.0/test/fixtures/strict--bail--preservewhite.json000066400000000000000000000022621320135610000245510ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "pragma +strict\n" ], [ "pragma", "strict", true ], [ "line", "Nonsense!\n" ], [ "extra", "Nonsense!\n" ], [ "line", "pragma -strict\n" ], [ "pragma", "strict", false ], [ "line", "Doesn't matter.\n" ], [ "extra", "Doesn't matter.\n" ], [ "line", "ok 1 All OK\n" ], [ "assert", { "ok": true, "id": 1, "name": "All OK" } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "Non-TAP data encountered in strict mode", "data": "Nonsense!\n" } ] } ] ] tap-parser-7.0.0/test/fixtures/strict--bail.json000066400000000000000000000022621320135610000216020ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "pragma +strict\n" ], [ "pragma", "strict", true ], [ "line", "Nonsense!\n" ], [ "extra", "Nonsense!\n" ], [ "line", "pragma -strict\n" ], [ "pragma", "strict", false ], [ "line", "Doesn't matter.\n" ], [ "extra", "Doesn't matter.\n" ], [ "line", "ok 1 All OK\n" ], [ "assert", { "ok": true, "id": 1, "name": "All OK" } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "Non-TAP data encountered in strict mode", "data": "Nonsense!\n" } ] } ] ] tap-parser-7.0.0/test/fixtures/strict--omitversion.json000066400000000000000000000021471320135610000232530ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "pragma +strict\n" ], [ "pragma", "strict", true ], [ "line", "Nonsense!\n" ], [ "extra", "Nonsense!\n" ], [ "line", "pragma -strict\n" ], [ "pragma", "strict", false ], [ "line", "Doesn't matter.\n" ], [ "extra", "Doesn't matter.\n" ], [ "line", "ok 1 All OK\n" ], [ "assert", { "ok": true, "id": 1, "name": "All OK" } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "Non-TAP data encountered in strict mode", "data": "Nonsense!\n" } ] } ] ] tap-parser-7.0.0/test/fixtures/strict--preservewhite--omitversion.json000066400000000000000000000021471320135610000262220ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "pragma +strict\n" ], [ "pragma", "strict", true ], [ "line", "Nonsense!\n" ], [ "extra", "Nonsense!\n" ], [ "line", "pragma -strict\n" ], [ "pragma", "strict", false ], [ "line", "Doesn't matter.\n" ], [ "extra", "Doesn't matter.\n" ], [ "line", "ok 1 All OK\n" ], [ "assert", { "ok": true, "id": 1, "name": "All OK" } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "Non-TAP data encountered in strict mode", "data": "Nonsense!\n" } ] } ] ] tap-parser-7.0.0/test/fixtures/strict--preservewhite.json000066400000000000000000000022621320135610000235670ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "pragma +strict\n" ], [ "pragma", "strict", true ], [ "line", "Nonsense!\n" ], [ "extra", "Nonsense!\n" ], [ "line", "pragma -strict\n" ], [ "pragma", "strict", false ], [ "line", "Doesn't matter.\n" ], [ "extra", "Doesn't matter.\n" ], [ "line", "ok 1 All OK\n" ], [ "assert", { "ok": true, "id": 1, "name": "All OK" } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "Non-TAP data encountered in strict mode", "data": "Nonsense!\n" } ] } ] ] tap-parser-7.0.0/test/fixtures/strict.json000066400000000000000000000022621320135610000206200ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "pragma +strict\n" ], [ "pragma", "strict", true ], [ "line", "Nonsense!\n" ], [ "extra", "Nonsense!\n" ], [ "line", "pragma -strict\n" ], [ "pragma", "strict", false ], [ "line", "Doesn't matter.\n" ], [ "extra", "Doesn't matter.\n" ], [ "line", "ok 1 All OK\n" ], [ "assert", { "ok": true, "id": 1, "name": "All OK" } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "Non-TAP data encountered in strict mode", "data": "Nonsense!\n" } ] } ] ] tap-parser-7.0.0/test/fixtures/strict.tap000066400000000000000000000001301320135610000204230ustar00rootroot00000000000000TAP version 13 1..1 pragma +strict Nonsense! pragma -strict Doesn't matter. ok 1 All OK tap-parser-7.0.0/test/fixtures/subtest-buffer--bail--omitversion.json000066400000000000000000000133571320135610000256720ustar00rootroot00000000000000[ [ "line", "ok 1 - nesting {\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - first {\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "first" } ], [ "line", "ok 2 - second {\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 2, "buffered": true, "name": "second" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - first {\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " }\n" ], [ "line", " ok 2 - second {\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " }\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=66.857ms\n" ], [ "comment", "# time=66.857ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-buffer--bail--preservewhite--omitversion.json000066400000000000000000000133571320135610000306410ustar00rootroot00000000000000[ [ "line", "ok 1 - nesting {\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - first {\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "first" } ], [ "line", "ok 2 - second {\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 2, "buffered": true, "name": "second" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - first {\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " }\n" ], [ "line", " ok 2 - second {\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " }\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=66.857ms\n" ], [ "comment", "# time=66.857ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-buffer--bail--preservewhite.json000066400000000000000000000134721320135610000262060ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "ok 1 - nesting {\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - first {\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "first" } ], [ "line", "ok 2 - second {\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 2, "buffered": true, "name": "second" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - first {\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " }\n" ], [ "line", " ok 2 - second {\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " }\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=66.857ms\n" ], [ "comment", "# time=66.857ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-buffer--bail.json000066400000000000000000000134721320135610000232370ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "ok 1 - nesting {\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - first {\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "first" } ], [ "line", "ok 2 - second {\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 2, "buffered": true, "name": "second" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - first {\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " }\n" ], [ "line", " ok 2 - second {\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " }\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=66.857ms\n" ], [ "comment", "# time=66.857ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-buffer--omitversion.json000066400000000000000000000133571320135610000247100ustar00rootroot00000000000000[ [ "line", "ok 1 - nesting {\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - first {\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "first" } ], [ "line", "ok 2 - second {\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 2, "buffered": true, "name": "second" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - first {\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " }\n" ], [ "line", " ok 2 - second {\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " }\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=66.857ms\n" ], [ "comment", "# time=66.857ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-buffer--preservewhite--omitversion.json000066400000000000000000000133571320135610000276570ustar00rootroot00000000000000[ [ "line", "ok 1 - nesting {\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - first {\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "first" } ], [ "line", "ok 2 - second {\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 2, "buffered": true, "name": "second" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - first {\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " }\n" ], [ "line", " ok 2 - second {\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " }\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=66.857ms\n" ], [ "comment", "# time=66.857ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-buffer--preservewhite.json000066400000000000000000000134721320135610000252240ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "ok 1 - nesting {\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - first {\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "first" } ], [ "line", "ok 2 - second {\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 2, "buffered": true, "name": "second" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - first {\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " }\n" ], [ "line", " ok 2 - second {\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " }\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=66.857ms\n" ], [ "comment", "# time=66.857ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-buffer-diags-time--bail--omitversion.json000066400000000000000000000076041320135610000277110ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1 - first # time=12.34ms {\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "ok x\n" ], [ "assert", { "ok": true, "id": 1, "name": "x" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok x\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "time": 12.34, "buffered": true, "name": "first" } ], [ "line", "ok 2 - second { # time=12.34ms\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok x\n" ], [ "assert", { "ok": true, "id": 1, "name": "x" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok x\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 2, "time": 12.34, "buffered": true, "name": "second" } ], [ "line", "ok 3 - third # time=43.21ms\n" ], [ "line", " ---\n" ], [ "line", " some: diagnostic\n" ], [ "line", " ...\n" ], [ "line", "{\n" ], [ "child", [ [ "comment", "# Subtest: third\n" ], [ "line", "ok y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok y\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 3, "time": 43.21, "name": "third", "diag": { "some": "diagnostic" }, "buffered": true } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-buffer-diags-time--bail--preservewhite--omitversion.json000066400000000000000000000076041320135610000326600ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1 - first # time=12.34ms {\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "ok x\n" ], [ "assert", { "ok": true, "id": 1, "name": "x" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok x\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "time": 12.34, "buffered": true, "name": "first" } ], [ "line", "ok 2 - second { # time=12.34ms\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok x\n" ], [ "assert", { "ok": true, "id": 1, "name": "x" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok x\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 2, "time": 12.34, "buffered": true, "name": "second" } ], [ "line", "ok 3 - third # time=43.21ms\n" ], [ "line", " ---\n" ], [ "line", " some: diagnostic\n" ], [ "line", " ...\n" ], [ "line", "{\n" ], [ "child", [ [ "comment", "# Subtest: third\n" ], [ "line", "ok y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok y\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 3, "time": 43.21, "name": "third", "diag": { "some": "diagnostic" }, "buffered": true } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-buffer-diags-time--bail--preservewhite.json000066400000000000000000000076041320135610000302270ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1 - first # time=12.34ms {\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "ok x\n" ], [ "assert", { "ok": true, "id": 1, "name": "x" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok x\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "time": 12.34, "buffered": true, "name": "first" } ], [ "line", "ok 2 - second { # time=12.34ms\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok x\n" ], [ "assert", { "ok": true, "id": 1, "name": "x" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok x\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 2, "time": 12.34, "buffered": true, "name": "second" } ], [ "line", "ok 3 - third # time=43.21ms\n" ], [ "line", " ---\n" ], [ "line", " some: diagnostic\n" ], [ "line", " ...\n" ], [ "line", "{\n" ], [ "child", [ [ "comment", "# Subtest: third\n" ], [ "line", "ok y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok y\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 3, "time": 43.21, "name": "third", "diag": { "some": "diagnostic" }, "buffered": true } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-buffer-diags-time--bail.json000066400000000000000000000076041320135610000252600ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1 - first # time=12.34ms {\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "ok x\n" ], [ "assert", { "ok": true, "id": 1, "name": "x" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok x\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "time": 12.34, "buffered": true, "name": "first" } ], [ "line", "ok 2 - second { # time=12.34ms\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok x\n" ], [ "assert", { "ok": true, "id": 1, "name": "x" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok x\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 2, "time": 12.34, "buffered": true, "name": "second" } ], [ "line", "ok 3 - third # time=43.21ms\n" ], [ "line", " ---\n" ], [ "line", " some: diagnostic\n" ], [ "line", " ...\n" ], [ "line", "{\n" ], [ "child", [ [ "comment", "# Subtest: third\n" ], [ "line", "ok y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok y\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 3, "time": 43.21, "name": "third", "diag": { "some": "diagnostic" }, "buffered": true } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-buffer-diags-time--omitversion.json000066400000000000000000000076041320135610000267270ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1 - first # time=12.34ms {\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "ok x\n" ], [ "assert", { "ok": true, "id": 1, "name": "x" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok x\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "time": 12.34, "buffered": true, "name": "first" } ], [ "line", "ok 2 - second { # time=12.34ms\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok x\n" ], [ "assert", { "ok": true, "id": 1, "name": "x" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok x\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 2, "time": 12.34, "buffered": true, "name": "second" } ], [ "line", "ok 3 - third # time=43.21ms\n" ], [ "line", " ---\n" ], [ "line", " some: diagnostic\n" ], [ "line", " ...\n" ], [ "line", "{\n" ], [ "child", [ [ "comment", "# Subtest: third\n" ], [ "line", "ok y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok y\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 3, "time": 43.21, "name": "third", "diag": { "some": "diagnostic" }, "buffered": true } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-buffer-diags-time--preservewhite--omitversion.json000066400000000000000000000076041320135610000316760ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1 - first # time=12.34ms {\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "ok x\n" ], [ "assert", { "ok": true, "id": 1, "name": "x" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok x\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "time": 12.34, "buffered": true, "name": "first" } ], [ "line", "ok 2 - second { # time=12.34ms\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok x\n" ], [ "assert", { "ok": true, "id": 1, "name": "x" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok x\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 2, "time": 12.34, "buffered": true, "name": "second" } ], [ "line", "ok 3 - third # time=43.21ms\n" ], [ "line", " ---\n" ], [ "line", " some: diagnostic\n" ], [ "line", " ...\n" ], [ "line", "{\n" ], [ "child", [ [ "comment", "# Subtest: third\n" ], [ "line", "ok y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok y\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 3, "time": 43.21, "name": "third", "diag": { "some": "diagnostic" }, "buffered": true } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-buffer-diags-time--preservewhite.json000066400000000000000000000076041320135610000272450ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1 - first # time=12.34ms {\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "ok x\n" ], [ "assert", { "ok": true, "id": 1, "name": "x" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok x\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "time": 12.34, "buffered": true, "name": "first" } ], [ "line", "ok 2 - second { # time=12.34ms\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok x\n" ], [ "assert", { "ok": true, "id": 1, "name": "x" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok x\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 2, "time": 12.34, "buffered": true, "name": "second" } ], [ "line", "ok 3 - third # time=43.21ms\n" ], [ "line", " ---\n" ], [ "line", " some: diagnostic\n" ], [ "line", " ...\n" ], [ "line", "{\n" ], [ "child", [ [ "comment", "# Subtest: third\n" ], [ "line", "ok y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok y\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 3, "time": 43.21, "name": "third", "diag": { "some": "diagnostic" }, "buffered": true } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-buffer-diags-time.json000066400000000000000000000076041320135610000242760ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1 - first # time=12.34ms {\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "ok x\n" ], [ "assert", { "ok": true, "id": 1, "name": "x" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok x\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "time": 12.34, "buffered": true, "name": "first" } ], [ "line", "ok 2 - second { # time=12.34ms\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok x\n" ], [ "assert", { "ok": true, "id": 1, "name": "x" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok x\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 2, "time": 12.34, "buffered": true, "name": "second" } ], [ "line", "ok 3 - third # time=43.21ms\n" ], [ "line", " ---\n" ], [ "line", " some: diagnostic\n" ], [ "line", " ...\n" ], [ "line", "{\n" ], [ "child", [ [ "comment", "# Subtest: third\n" ], [ "line", "ok y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok y\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 3, "time": 43.21, "name": "third", "diag": { "some": "diagnostic" }, "buffered": true } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-buffer-diags-time.tap000066400000000000000000000002761320135610000241070ustar00rootroot000000000000001..3 ok 1 - first # time=12.34ms { ok x 1..1 } ok 2 - second { # time=12.34ms ok x 1..1 } ok 3 - third # time=43.21ms --- some: diagnostic ... { ok y 1..1 } tap-parser-7.0.0/test/fixtures/subtest-buffer-todo--bail--omitversion.json000066400000000000000000000053021320135610000266240ustar00rootroot00000000000000[ [ "line", "ok 1 - tbd # TODO foo {\n" ], [ "child", [ [ "comment", "# Subtest: tbd\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "todo": "foo", "buffered": true, "name": "tbd" } ], [ "line", "ok 2 - skippy # skip {\n" ], [ "child", [ [ "comment", "# Subtest: skippy\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 2, "skip": true, "buffered": true, "name": "skippy" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# todo: 1\n" ], [ "comment", "# todo: 1\n" ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 1, "skip": 1, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-buffer-todo--bail--preservewhite--omitversion.json000066400000000000000000000053021320135610000315730ustar00rootroot00000000000000[ [ "line", "ok 1 - tbd # TODO foo {\n" ], [ "child", [ [ "comment", "# Subtest: tbd\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "todo": "foo", "buffered": true, "name": "tbd" } ], [ "line", "ok 2 - skippy # skip {\n" ], [ "child", [ [ "comment", "# Subtest: skippy\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 2, "skip": true, "buffered": true, "name": "skippy" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# todo: 1\n" ], [ "comment", "# todo: 1\n" ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 1, "skip": 1, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-buffer-todo--bail--preservewhite.json000066400000000000000000000054151320135610000271470ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "ok 1 - tbd # TODO foo {\n" ], [ "child", [ [ "comment", "# Subtest: tbd\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "todo": "foo", "buffered": true, "name": "tbd" } ], [ "line", "ok 2 - skippy # skip {\n" ], [ "child", [ [ "comment", "# Subtest: skippy\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 2, "skip": true, "buffered": true, "name": "skippy" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# todo: 1\n" ], [ "comment", "# todo: 1\n" ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 1, "skip": 1, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-buffer-todo--bail.json000066400000000000000000000054151320135610000242000ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "ok 1 - tbd # TODO foo {\n" ], [ "child", [ [ "comment", "# Subtest: tbd\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "todo": "foo", "buffered": true, "name": "tbd" } ], [ "line", "ok 2 - skippy # skip {\n" ], [ "child", [ [ "comment", "# Subtest: skippy\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 2, "skip": true, "buffered": true, "name": "skippy" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# todo: 1\n" ], [ "comment", "# todo: 1\n" ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 1, "skip": 1, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-buffer-todo--omitversion.json000066400000000000000000000053021320135610000256420ustar00rootroot00000000000000[ [ "line", "ok 1 - tbd # TODO foo {\n" ], [ "child", [ [ "comment", "# Subtest: tbd\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "todo": "foo", "buffered": true, "name": "tbd" } ], [ "line", "ok 2 - skippy # skip {\n" ], [ "child", [ [ "comment", "# Subtest: skippy\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 2, "skip": true, "buffered": true, "name": "skippy" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# todo: 1\n" ], [ "comment", "# todo: 1\n" ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 1, "skip": 1, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-buffer-todo--preservewhite--omitversion.json000066400000000000000000000053021320135610000306110ustar00rootroot00000000000000[ [ "line", "ok 1 - tbd # TODO foo {\n" ], [ "child", [ [ "comment", "# Subtest: tbd\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "todo": "foo", "buffered": true, "name": "tbd" } ], [ "line", "ok 2 - skippy # skip {\n" ], [ "child", [ [ "comment", "# Subtest: skippy\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 2, "skip": true, "buffered": true, "name": "skippy" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# todo: 1\n" ], [ "comment", "# todo: 1\n" ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 1, "skip": 1, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-buffer-todo--preservewhite.json000066400000000000000000000054151320135610000261650ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "ok 1 - tbd # TODO foo {\n" ], [ "child", [ [ "comment", "# Subtest: tbd\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "todo": "foo", "buffered": true, "name": "tbd" } ], [ "line", "ok 2 - skippy # skip {\n" ], [ "child", [ [ "comment", "# Subtest: skippy\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 2, "skip": true, "buffered": true, "name": "skippy" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# todo: 1\n" ], [ "comment", "# todo: 1\n" ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 1, "skip": 1, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-buffer-todo.json000066400000000000000000000054151320135610000232160ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "ok 1 - tbd # TODO foo {\n" ], [ "child", [ [ "comment", "# Subtest: tbd\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "todo": "foo", "buffered": true, "name": "tbd" } ], [ "line", "ok 2 - skippy # skip {\n" ], [ "child", [ [ "comment", "# Subtest: skippy\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 2, "skip": true, "buffered": true, "name": "skippy" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# todo: 1\n" ], [ "comment", "# todo: 1\n" ], [ "line", "# skip: 1\n" ], [ "comment", "# skip: 1\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 1, "skip": 1, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-buffer-todo.tap000066400000000000000000000001531320135610000230230ustar00rootroot00000000000000TAP version 13 ok 1 - tbd # TODO foo { ok 1 1..1 } ok 2 - skippy # skip { ok 1 1..1 } 1..2 tap-parser-7.0.0/test/fixtures/subtest-buffer.json000066400000000000000000000134721320135610000222550ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "ok 1 - nesting {\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - first {\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "first" } ], [ "line", "ok 2 - second {\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 2, "buffered": true, "name": "second" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - first {\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " }\n" ], [ "line", " ok 2 - second {\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " }\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=66.857ms\n" ], [ "comment", "# time=66.857ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-buffer.tap000066400000000000000000000004701320135610000220620ustar00rootroot00000000000000TAP version 13 ok 1 - nesting { 1..2 ok 1 - first { 1..2 ok 1 - true is ok ok 2 - doag is also okay } ok 2 - second { ok 1 - but that is ok ok 2 - this passes ok 3 - nested ok 1..3 } } ok 2 - this passes 1..2 # time=66.857ms tap-parser-7.0.0/test/fixtures/subtest-comment-indent--bail--omitversion.json000066400000000000000000000220751320135610000273370ustar00rootroot00000000000000[ [ "line", "# Subtest: ../tap/test/test/ok.js\n" ], [ "child", [ [ "comment", "# Subtest: ../tap/test/test/ok.js\n" ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=55.292ms\n" ], [ "comment", "# time=55.292ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: nesting\n" ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", " # time=55.292ms\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=223.468ms\n" ], [ "comment", "# time=223.468ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-comment-indent--bail--preservewhite--omitversion.json000066400000000000000000000220751320135610000323060ustar00rootroot00000000000000[ [ "line", "# Subtest: ../tap/test/test/ok.js\n" ], [ "child", [ [ "comment", "# Subtest: ../tap/test/test/ok.js\n" ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=55.292ms\n" ], [ "comment", "# time=55.292ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: nesting\n" ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", " # time=55.292ms\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=223.468ms\n" ], [ "comment", "# time=223.468ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-comment-indent--bail--preservewhite.json000066400000000000000000000222101320135610000276440ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: ../tap/test/test/ok.js\n" ], [ "child", [ [ "comment", "# Subtest: ../tap/test/test/ok.js\n" ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=55.292ms\n" ], [ "comment", "# time=55.292ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: nesting\n" ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", " # time=55.292ms\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=223.468ms\n" ], [ "comment", "# time=223.468ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-comment-indent--bail.json000066400000000000000000000222101320135610000246750ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: ../tap/test/test/ok.js\n" ], [ "child", [ [ "comment", "# Subtest: ../tap/test/test/ok.js\n" ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=55.292ms\n" ], [ "comment", "# time=55.292ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: nesting\n" ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", " # time=55.292ms\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=223.468ms\n" ], [ "comment", "# time=223.468ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-comment-indent--omitversion.json000066400000000000000000000220751320135610000263550ustar00rootroot00000000000000[ [ "line", "# Subtest: ../tap/test/test/ok.js\n" ], [ "child", [ [ "comment", "# Subtest: ../tap/test/test/ok.js\n" ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=55.292ms\n" ], [ "comment", "# time=55.292ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: nesting\n" ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", " # time=55.292ms\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=223.468ms\n" ], [ "comment", "# time=223.468ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-comment-indent--preservewhite--omitversion.json000066400000000000000000000220751320135610000313240ustar00rootroot00000000000000[ [ "line", "# Subtest: ../tap/test/test/ok.js\n" ], [ "child", [ [ "comment", "# Subtest: ../tap/test/test/ok.js\n" ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=55.292ms\n" ], [ "comment", "# time=55.292ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: nesting\n" ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", " # time=55.292ms\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=223.468ms\n" ], [ "comment", "# time=223.468ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-comment-indent--preservewhite.json000066400000000000000000000222101320135610000266620ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: ../tap/test/test/ok.js\n" ], [ "child", [ [ "comment", "# Subtest: ../tap/test/test/ok.js\n" ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=55.292ms\n" ], [ "comment", "# time=55.292ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: nesting\n" ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", " # time=55.292ms\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=223.468ms\n" ], [ "comment", "# time=223.468ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-comment-indent.json000066400000000000000000000222101320135610000237130ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: ../tap/test/test/ok.js\n" ], [ "child", [ [ "comment", "# Subtest: ../tap/test/test/ok.js\n" ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=55.292ms\n" ], [ "comment", "# time=55.292ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: nesting\n" ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", " # time=55.292ms\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=223.468ms\n" ], [ "comment", "# time=223.468ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-comment-indent.tap000066400000000000000000000011041320135610000235250ustar00rootroot00000000000000TAP version 13 # Subtest: ../tap/test/test/ok.js # Subtest: nesting # Subtest: first 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=8.987ms # Subtest: second ok 1 - but that is ok ok 2 - this passes ok 3 - nested ok 1..3 ok 2 - second # time=5.988ms 1..2 ok 1 - nesting # time=28.647ms ok 2 - this passes 1..2 # time=55.292ms ok 1 - ../tap/test/test/ok.js # time=205.826ms 1..1 # time=223.468ms tap-parser-7.0.0/test/fixtures/subtest-comment-leading--bail--omitversion.json000066400000000000000000000137531320135610000274640ustar00rootroot00000000000000[ [ "line", "# Subtest: test/test/ok.js\n" ], [ "comment", "# Subtest: test/test/ok.js\n" ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=55.292ms\n" ], [ "comment", "# time=55.292ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-comment-leading--bail--preservewhite--omitversion.json000066400000000000000000000137531320135610000324330ustar00rootroot00000000000000[ [ "line", "# Subtest: test/test/ok.js\n" ], [ "comment", "# Subtest: test/test/ok.js\n" ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=55.292ms\n" ], [ "comment", "# time=55.292ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-comment-leading--bail--preservewhite.json000066400000000000000000000140661320135610000300000ustar00rootroot00000000000000[ [ "line", "# Subtest: test/test/ok.js\n" ], [ "comment", "# Subtest: test/test/ok.js\n" ], [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=55.292ms\n" ], [ "comment", "# time=55.292ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-comment-leading--bail.json000066400000000000000000000140661320135610000250310ustar00rootroot00000000000000[ [ "line", "# Subtest: test/test/ok.js\n" ], [ "comment", "# Subtest: test/test/ok.js\n" ], [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=55.292ms\n" ], [ "comment", "# time=55.292ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-comment-leading--omitversion.json000066400000000000000000000137531320135610000265020ustar00rootroot00000000000000[ [ "line", "# Subtest: test/test/ok.js\n" ], [ "comment", "# Subtest: test/test/ok.js\n" ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=55.292ms\n" ], [ "comment", "# time=55.292ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-comment-leading--preservewhite--omitversion.json000066400000000000000000000137531320135610000314510ustar00rootroot00000000000000[ [ "line", "# Subtest: test/test/ok.js\n" ], [ "comment", "# Subtest: test/test/ok.js\n" ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=55.292ms\n" ], [ "comment", "# time=55.292ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-comment-leading--preservewhite.json000066400000000000000000000140661320135610000270160ustar00rootroot00000000000000[ [ "line", "# Subtest: test/test/ok.js\n" ], [ "comment", "# Subtest: test/test/ok.js\n" ], [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=55.292ms\n" ], [ "comment", "# time=55.292ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-comment-leading.json000066400000000000000000000140661320135610000240470ustar00rootroot00000000000000[ [ "line", "# Subtest: test/test/ok.js\n" ], [ "comment", "# Subtest: test/test/ok.js\n" ], [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=55.292ms\n" ], [ "comment", "# time=55.292ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-comment-leading.tap000066400000000000000000000006431320135610000236560ustar00rootroot00000000000000# Subtest: test/test/ok.js TAP version 13 # Subtest: nesting # Subtest: first 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=8.987ms # Subtest: second ok 1 - but that is ok ok 2 - this passes ok 3 - nested ok 1..3 ok 2 - second # time=5.988ms 1..2 ok 1 - nesting # time=28.647ms ok 2 - this passes 1..2 # time=55.292ms tap-parser-7.0.0/test/fixtures/subtest-comment-mixed-indent--bail--omitversion.json000066400000000000000000000220751320135610000304430ustar00rootroot00000000000000[ [ "line", "# Subtest: ../tap/test/test/ok.js\n" ], [ "child", [ [ "comment", "# Subtest: ../tap/test/test/ok.js\n" ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=55.292ms\n" ], [ "comment", "# time=55.292ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: nesting\n" ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", " # time=55.292ms\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=223.468ms\n" ], [ "comment", "# time=223.468ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-comment-mixed-indent--bail--preservewhite--omitversion.json000066400000000000000000000220751320135610000334120ustar00rootroot00000000000000[ [ "line", "# Subtest: ../tap/test/test/ok.js\n" ], [ "child", [ [ "comment", "# Subtest: ../tap/test/test/ok.js\n" ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=55.292ms\n" ], [ "comment", "# time=55.292ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: nesting\n" ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", " # time=55.292ms\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=223.468ms\n" ], [ "comment", "# time=223.468ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-comment-mixed-indent--bail--preservewhite.json000066400000000000000000000222101320135610000307500ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: ../tap/test/test/ok.js\n" ], [ "child", [ [ "comment", "# Subtest: ../tap/test/test/ok.js\n" ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=55.292ms\n" ], [ "comment", "# time=55.292ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: nesting\n" ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", " # time=55.292ms\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=223.468ms\n" ], [ "comment", "# time=223.468ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-comment-mixed-indent--bail.json000066400000000000000000000222101320135610000260010ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: ../tap/test/test/ok.js\n" ], [ "child", [ [ "comment", "# Subtest: ../tap/test/test/ok.js\n" ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=55.292ms\n" ], [ "comment", "# time=55.292ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: nesting\n" ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", " # time=55.292ms\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=223.468ms\n" ], [ "comment", "# time=223.468ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-comment-mixed-indent--omitversion.json000066400000000000000000000220751320135610000274610ustar00rootroot00000000000000[ [ "line", "# Subtest: ../tap/test/test/ok.js\n" ], [ "child", [ [ "comment", "# Subtest: ../tap/test/test/ok.js\n" ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=55.292ms\n" ], [ "comment", "# time=55.292ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: nesting\n" ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", " # time=55.292ms\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=223.468ms\n" ], [ "comment", "# time=223.468ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-comment-mixed-indent--preservewhite--omitversion.json000066400000000000000000000220751320135610000324300ustar00rootroot00000000000000[ [ "line", "# Subtest: ../tap/test/test/ok.js\n" ], [ "child", [ [ "comment", "# Subtest: ../tap/test/test/ok.js\n" ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=55.292ms\n" ], [ "comment", "# time=55.292ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: nesting\n" ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", " # time=55.292ms\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=223.468ms\n" ], [ "comment", "# time=223.468ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-comment-mixed-indent--preservewhite.json000066400000000000000000000222101320135610000277660ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: ../tap/test/test/ok.js\n" ], [ "child", [ [ "comment", "# Subtest: ../tap/test/test/ok.js\n" ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=55.292ms\n" ], [ "comment", "# time=55.292ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: nesting\n" ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", " # time=55.292ms\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=223.468ms\n" ], [ "comment", "# time=223.468ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-comment-mixed-indent.json000066400000000000000000000222101320135610000250170ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: ../tap/test/test/ok.js\n" ], [ "child", [ [ "comment", "# Subtest: ../tap/test/test/ok.js\n" ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=55.292ms\n" ], [ "comment", "# time=55.292ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: nesting\n" ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", " # time=55.292ms\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=223.468ms\n" ], [ "comment", "# time=223.468ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-comment-mixed-indent.tap000066400000000000000000000010701320135610000246330ustar00rootroot00000000000000TAP version 13 # Subtest: ../tap/test/test/ok.js # Subtest: nesting # Subtest: first 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=8.987ms # Subtest: second ok 1 - but that is ok ok 2 - this passes ok 3 - nested ok 1..3 ok 2 - second # time=5.988ms 1..2 ok 1 - nesting # time=28.647ms ok 2 - this passes 1..2 # time=55.292ms ok 1 - ../tap/test/test/ok.js # time=205.826ms 1..1 # time=223.468ms tap-parser-7.0.0/test/fixtures/subtest-comment-noindent--bail--omitversion.json000066400000000000000000000220751320135610000276740ustar00rootroot00000000000000[ [ "line", "# Subtest: ../tap/test/test/ok.js\n" ], [ "child", [ [ "comment", "# Subtest: ../tap/test/test/ok.js\n" ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=55.292ms\n" ], [ "comment", "# time=55.292ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: nesting\n" ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", " # time=55.292ms\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=223.468ms\n" ], [ "comment", "# time=223.468ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-comment-noindent--bail--preservewhite--omitversion.json000066400000000000000000000220751320135610000326430ustar00rootroot00000000000000[ [ "line", "# Subtest: ../tap/test/test/ok.js\n" ], [ "child", [ [ "comment", "# Subtest: ../tap/test/test/ok.js\n" ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=55.292ms\n" ], [ "comment", "# time=55.292ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: nesting\n" ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", " # time=55.292ms\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=223.468ms\n" ], [ "comment", "# time=223.468ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-comment-noindent--bail--preservewhite.json000066400000000000000000000222101320135610000302010ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: ../tap/test/test/ok.js\n" ], [ "child", [ [ "comment", "# Subtest: ../tap/test/test/ok.js\n" ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=55.292ms\n" ], [ "comment", "# time=55.292ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: nesting\n" ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", " # time=55.292ms\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=223.468ms\n" ], [ "comment", "# time=223.468ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-comment-noindent--bail.json000066400000000000000000000222101320135610000252320ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: ../tap/test/test/ok.js\n" ], [ "child", [ [ "comment", "# Subtest: ../tap/test/test/ok.js\n" ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=55.292ms\n" ], [ "comment", "# time=55.292ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: nesting\n" ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", " # time=55.292ms\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=223.468ms\n" ], [ "comment", "# time=223.468ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-comment-noindent--omitversion.json000066400000000000000000000220751320135610000267120ustar00rootroot00000000000000[ [ "line", "# Subtest: ../tap/test/test/ok.js\n" ], [ "child", [ [ "comment", "# Subtest: ../tap/test/test/ok.js\n" ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=55.292ms\n" ], [ "comment", "# time=55.292ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: nesting\n" ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", " # time=55.292ms\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=223.468ms\n" ], [ "comment", "# time=223.468ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-comment-noindent--preservewhite--omitversion.json000066400000000000000000000220751320135610000316610ustar00rootroot00000000000000[ [ "line", "# Subtest: ../tap/test/test/ok.js\n" ], [ "child", [ [ "comment", "# Subtest: ../tap/test/test/ok.js\n" ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=55.292ms\n" ], [ "comment", "# time=55.292ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: nesting\n" ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", " # time=55.292ms\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=223.468ms\n" ], [ "comment", "# time=223.468ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-comment-noindent--preservewhite.json000066400000000000000000000222101320135610000272170ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: ../tap/test/test/ok.js\n" ], [ "child", [ [ "comment", "# Subtest: ../tap/test/test/ok.js\n" ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=55.292ms\n" ], [ "comment", "# time=55.292ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: nesting\n" ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", " # time=55.292ms\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=223.468ms\n" ], [ "comment", "# time=223.468ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-comment-noindent.json000066400000000000000000000222101320135610000242500ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: ../tap/test/test/ok.js\n" ], [ "child", [ [ "comment", "# Subtest: ../tap/test/test/ok.js\n" ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=55.292ms\n" ], [ "comment", "# time=55.292ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: nesting\n" ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", " # time=55.292ms\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# time=223.468ms\n" ], [ "comment", "# time=223.468ms\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-comment-noindent.tap000066400000000000000000000010641320135610000240670ustar00rootroot00000000000000TAP version 13 # Subtest: ../tap/test/test/ok.js # Subtest: nesting # Subtest: first 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=8.987ms # Subtest: second ok 1 - but that is ok ok 2 - this passes ok 3 - nested ok 1..3 ok 2 - second # time=5.988ms 1..2 ok 1 - nesting # time=28.647ms ok 2 - this passes 1..2 # time=55.292ms ok 1 - ../tap/test/test/ok.js # time=205.826ms 1..1 # time=223.468ms tap-parser-7.0.0/test/fixtures/subtest-confusing--bail--omitversion.json000066400000000000000000000063031320135610000264050ustar00rootroot00000000000000[ [ "line", "ok 1 - a brace looks like this {\n" ], [ "child", [ [ "comment", "# Subtest: a brace looks like this\n" ], [ "line", "# Subtest: x\n" ], [ "child", [ [ "comment", "# Subtest: x\n" ], [ "line", "# Subtest: y\n" ], [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: x\n" ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "a brace looks like this" } ], [ "line", "ok 2 - x\n" ], [ "assert", { "ok": true, "id": 2, "name": "x" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-confusing--bail--preservewhite--omitversion.json000066400000000000000000000063031320135610000313540ustar00rootroot00000000000000[ [ "line", "ok 1 - a brace looks like this {\n" ], [ "child", [ [ "comment", "# Subtest: a brace looks like this\n" ], [ "line", "# Subtest: x\n" ], [ "child", [ [ "comment", "# Subtest: x\n" ], [ "line", "# Subtest: y\n" ], [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: x\n" ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "a brace looks like this" } ], [ "line", "ok 2 - x\n" ], [ "assert", { "ok": true, "id": 2, "name": "x" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-confusing--bail--preservewhite.json000066400000000000000000000064161320135610000267300ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "ok 1 - a brace looks like this {\n" ], [ "child", [ [ "comment", "# Subtest: a brace looks like this\n" ], [ "line", "# Subtest: x\n" ], [ "child", [ [ "comment", "# Subtest: x\n" ], [ "line", "# Subtest: y\n" ], [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: x\n" ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "a brace looks like this" } ], [ "line", "ok 2 - x\n" ], [ "assert", { "ok": true, "id": 2, "name": "x" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-confusing--bail.json000066400000000000000000000064161320135610000237610ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "ok 1 - a brace looks like this {\n" ], [ "child", [ [ "comment", "# Subtest: a brace looks like this\n" ], [ "line", "# Subtest: x\n" ], [ "child", [ [ "comment", "# Subtest: x\n" ], [ "line", "# Subtest: y\n" ], [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: x\n" ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "a brace looks like this" } ], [ "line", "ok 2 - x\n" ], [ "assert", { "ok": true, "id": 2, "name": "x" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-confusing--omitversion.json000066400000000000000000000063031320135610000254230ustar00rootroot00000000000000[ [ "line", "ok 1 - a brace looks like this {\n" ], [ "child", [ [ "comment", "# Subtest: a brace looks like this\n" ], [ "line", "# Subtest: x\n" ], [ "child", [ [ "comment", "# Subtest: x\n" ], [ "line", "# Subtest: y\n" ], [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: x\n" ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "a brace looks like this" } ], [ "line", "ok 2 - x\n" ], [ "assert", { "ok": true, "id": 2, "name": "x" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-confusing--preservewhite--omitversion.json000066400000000000000000000063031320135610000303720ustar00rootroot00000000000000[ [ "line", "ok 1 - a brace looks like this {\n" ], [ "child", [ [ "comment", "# Subtest: a brace looks like this\n" ], [ "line", "# Subtest: x\n" ], [ "child", [ [ "comment", "# Subtest: x\n" ], [ "line", "# Subtest: y\n" ], [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: x\n" ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "a brace looks like this" } ], [ "line", "ok 2 - x\n" ], [ "assert", { "ok": true, "id": 2, "name": "x" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-confusing--preservewhite.json000066400000000000000000000064161320135610000257460ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "ok 1 - a brace looks like this {\n" ], [ "child", [ [ "comment", "# Subtest: a brace looks like this\n" ], [ "line", "# Subtest: x\n" ], [ "child", [ [ "comment", "# Subtest: x\n" ], [ "line", "# Subtest: y\n" ], [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: x\n" ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "a brace looks like this" } ], [ "line", "ok 2 - x\n" ], [ "assert", { "ok": true, "id": 2, "name": "x" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-confusing.json000066400000000000000000000064161320135610000227770ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "ok 1 - a brace looks like this {\n" ], [ "child", [ [ "comment", "# Subtest: a brace looks like this\n" ], [ "line", "# Subtest: x\n" ], [ "child", [ [ "comment", "# Subtest: x\n" ], [ "line", "# Subtest: y\n" ], [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: x\n" ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "a brace looks like this" } ], [ "line", "ok 2 - x\n" ], [ "assert", { "ok": true, "id": 2, "name": "x" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-confusing.tap000066400000000000000000000002351320135610000226030ustar00rootroot00000000000000TAP version 13 ok 1 - a brace looks like this { # Subtest: x # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 1..1 ok 2 - x 1..2 tap-parser-7.0.0/test/fixtures/subtest-heading--bail--omitversion.json000066400000000000000000000060471320135610000260160ustar00rootroot00000000000000[ [ "line", "# Subtest: heading.js\n" ], [ "child", [ [ "comment", "# Subtest: heading.js\n" ], [ "line", "# Subtest: x\n" ], [ "child", [ [ "comment", "# Subtest: x\n" ], [ "line", "# Subtest: y\n" ], [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: x\n" ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - x\n" ], [ "assert", { "ok": true, "id": 1, "name": "x" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-heading--bail--preservewhite--omitversion.json000066400000000000000000000060471320135610000307650ustar00rootroot00000000000000[ [ "line", "# Subtest: heading.js\n" ], [ "child", [ [ "comment", "# Subtest: heading.js\n" ], [ "line", "# Subtest: x\n" ], [ "child", [ [ "comment", "# Subtest: x\n" ], [ "line", "# Subtest: y\n" ], [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: x\n" ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - x\n" ], [ "assert", { "ok": true, "id": 1, "name": "x" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-heading--bail--preservewhite.json000066400000000000000000000057021320135610000263310ustar00rootroot00000000000000[ [ "line", "# Subtest: heading.js\n" ], [ "comment", "# Subtest: heading.js\n" ], [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: x\n" ], [ "child", [ [ "comment", "# Subtest: x\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - x\n" ], [ "assert", { "ok": true, "id": 1, "name": "x" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-heading--bail.json000066400000000000000000000057021320135610000233620ustar00rootroot00000000000000[ [ "line", "# Subtest: heading.js\n" ], [ "comment", "# Subtest: heading.js\n" ], [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: x\n" ], [ "child", [ [ "comment", "# Subtest: x\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - x\n" ], [ "assert", { "ok": true, "id": 1, "name": "x" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-heading--omitversion.json000066400000000000000000000060471320135610000250340ustar00rootroot00000000000000[ [ "line", "# Subtest: heading.js\n" ], [ "child", [ [ "comment", "# Subtest: heading.js\n" ], [ "line", "# Subtest: x\n" ], [ "child", [ [ "comment", "# Subtest: x\n" ], [ "line", "# Subtest: y\n" ], [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: x\n" ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - x\n" ], [ "assert", { "ok": true, "id": 1, "name": "x" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-heading--preservewhite--omitversion.json000066400000000000000000000060471320135610000300030ustar00rootroot00000000000000[ [ "line", "# Subtest: heading.js\n" ], [ "child", [ [ "comment", "# Subtest: heading.js\n" ], [ "line", "# Subtest: x\n" ], [ "child", [ [ "comment", "# Subtest: x\n" ], [ "line", "# Subtest: y\n" ], [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: x\n" ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - x\n" ], [ "assert", { "ok": true, "id": 1, "name": "x" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-heading--preservewhite.json000066400000000000000000000057021320135610000253470ustar00rootroot00000000000000[ [ "line", "# Subtest: heading.js\n" ], [ "comment", "# Subtest: heading.js\n" ], [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: x\n" ], [ "child", [ [ "comment", "# Subtest: x\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - x\n" ], [ "assert", { "ok": true, "id": 1, "name": "x" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-heading.json000066400000000000000000000057021320135610000224000ustar00rootroot00000000000000[ [ "line", "# Subtest: heading.js\n" ], [ "comment", "# Subtest: heading.js\n" ], [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: x\n" ], [ "child", [ [ "comment", "# Subtest: x\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - x\n" ], [ "assert", { "ok": true, "id": 1, "name": "x" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-heading.tap000066400000000000000000000002221320135610000222030ustar00rootroot00000000000000# Subtest: heading.js TAP version 13 # Subtest: x # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 1..1 ok 1 - x 1..1 tap-parser-7.0.0/test/fixtures/subtest-maybe-child-unfulfilled--bail--omitversion.json000066400000000000000000000064251320135610000311040ustar00rootroot00000000000000[ [ "line", "# just a comment\n" ], [ "comment", "# just a comment\n" ], [ "line", "# Subtest: x\n" ], [ "child", [ [ "comment", "# Subtest: x\n" ], [ "line", "# Subtest: fake\n" ], [ "comment", "# Subtest: fake\n" ], [ "line", "ok 1 - not a subtest\n" ], [ "assert", { "ok": true, "id": 1, "name": "not a subtest" } ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 2 - y\n" ], [ "assert", { "ok": true, "id": 2, "name": "y" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: fake\n" ], [ "line", " ok 1 - not a subtest\n" ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 2 - y\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - x\n" ], [ "assert", { "ok": true, "id": 1, "name": "x" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] subtest-maybe-child-unfulfilled--bail--preservewhite--omitversion.json000066400000000000000000000064251320135610000337740ustar00rootroot00000000000000tap-parser-7.0.0/test/fixtures[ [ "line", "# just a comment\n" ], [ "comment", "# just a comment\n" ], [ "line", "# Subtest: x\n" ], [ "child", [ [ "comment", "# Subtest: x\n" ], [ "line", "# Subtest: fake\n" ], [ "comment", "# Subtest: fake\n" ], [ "line", "ok 1 - not a subtest\n" ], [ "assert", { "ok": true, "id": 1, "name": "not a subtest" } ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 2 - y\n" ], [ "assert", { "ok": true, "id": 2, "name": "y" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: fake\n" ], [ "line", " ok 1 - not a subtest\n" ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 2 - y\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - x\n" ], [ "assert", { "ok": true, "id": 1, "name": "x" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-maybe-child-unfulfilled--bail--preservewhite.json000066400000000000000000000065401320135610000314200ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# just a comment\n" ], [ "comment", "# just a comment\n" ], [ "line", "# Subtest: x\n" ], [ "child", [ [ "comment", "# Subtest: x\n" ], [ "line", "# Subtest: fake\n" ], [ "comment", "# Subtest: fake\n" ], [ "line", "ok 1 - not a subtest\n" ], [ "assert", { "ok": true, "id": 1, "name": "not a subtest" } ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 2 - y\n" ], [ "assert", { "ok": true, "id": 2, "name": "y" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: fake\n" ], [ "line", " ok 1 - not a subtest\n" ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 2 - y\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - x\n" ], [ "assert", { "ok": true, "id": 1, "name": "x" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-maybe-child-unfulfilled--bail.json000066400000000000000000000065401320135610000264510ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# just a comment\n" ], [ "comment", "# just a comment\n" ], [ "line", "# Subtest: x\n" ], [ "child", [ [ "comment", "# Subtest: x\n" ], [ "line", "# Subtest: fake\n" ], [ "comment", "# Subtest: fake\n" ], [ "line", "ok 1 - not a subtest\n" ], [ "assert", { "ok": true, "id": 1, "name": "not a subtest" } ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 2 - y\n" ], [ "assert", { "ok": true, "id": 2, "name": "y" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: fake\n" ], [ "line", " ok 1 - not a subtest\n" ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 2 - y\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - x\n" ], [ "assert", { "ok": true, "id": 1, "name": "x" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-maybe-child-unfulfilled--omitversion.json000066400000000000000000000064251320135610000301220ustar00rootroot00000000000000[ [ "line", "# just a comment\n" ], [ "comment", "# just a comment\n" ], [ "line", "# Subtest: x\n" ], [ "child", [ [ "comment", "# Subtest: x\n" ], [ "line", "# Subtest: fake\n" ], [ "comment", "# Subtest: fake\n" ], [ "line", "ok 1 - not a subtest\n" ], [ "assert", { "ok": true, "id": 1, "name": "not a subtest" } ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 2 - y\n" ], [ "assert", { "ok": true, "id": 2, "name": "y" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: fake\n" ], [ "line", " ok 1 - not a subtest\n" ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 2 - y\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - x\n" ], [ "assert", { "ok": true, "id": 1, "name": "x" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-maybe-child-unfulfilled--preservewhite--omitversion.json000066400000000000000000000064251320135610000330710ustar00rootroot00000000000000[ [ "line", "# just a comment\n" ], [ "comment", "# just a comment\n" ], [ "line", "# Subtest: x\n" ], [ "child", [ [ "comment", "# Subtest: x\n" ], [ "line", "# Subtest: fake\n" ], [ "comment", "# Subtest: fake\n" ], [ "line", "ok 1 - not a subtest\n" ], [ "assert", { "ok": true, "id": 1, "name": "not a subtest" } ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 2 - y\n" ], [ "assert", { "ok": true, "id": 2, "name": "y" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: fake\n" ], [ "line", " ok 1 - not a subtest\n" ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 2 - y\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - x\n" ], [ "assert", { "ok": true, "id": 1, "name": "x" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-maybe-child-unfulfilled--preservewhite.json000066400000000000000000000065401320135610000304360ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# just a comment\n" ], [ "comment", "# just a comment\n" ], [ "line", "# Subtest: x\n" ], [ "child", [ [ "comment", "# Subtest: x\n" ], [ "line", "# Subtest: fake\n" ], [ "comment", "# Subtest: fake\n" ], [ "line", "ok 1 - not a subtest\n" ], [ "assert", { "ok": true, "id": 1, "name": "not a subtest" } ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 2 - y\n" ], [ "assert", { "ok": true, "id": 2, "name": "y" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: fake\n" ], [ "line", " ok 1 - not a subtest\n" ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 2 - y\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - x\n" ], [ "assert", { "ok": true, "id": 1, "name": "x" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-maybe-child-unfulfilled.json000066400000000000000000000065401320135610000254670ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# just a comment\n" ], [ "comment", "# just a comment\n" ], [ "line", "# Subtest: x\n" ], [ "child", [ [ "comment", "# Subtest: x\n" ], [ "line", "# Subtest: fake\n" ], [ "comment", "# Subtest: fake\n" ], [ "line", "ok 1 - not a subtest\n" ], [ "assert", { "ok": true, "id": 1, "name": "not a subtest" } ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 2 - y\n" ], [ "assert", { "ok": true, "id": 2, "name": "y" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: fake\n" ], [ "line", " ok 1 - not a subtest\n" ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 2 - y\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - x\n" ], [ "assert", { "ok": true, "id": 1, "name": "x" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-maybe-child-unfulfilled.tap000066400000000000000000000002621320135610000252750ustar00rootroot00000000000000TAP version 13 # Subtest: x # just a comment # Subtest: fake ok 1 - not a subtest # Subtest: y ok 1 - ypoint 1..1 ok 2 - y 1..2 ok 1 - x 1..1 tap-parser-7.0.0/test/fixtures/subtest-mixing--bail--omitversion.json000066400000000000000000000534711320135610000257150ustar00rootroot00000000000000[ [ "line", "# All of these should be semantically equivalent\n" ], [ "comment", "# All of these should be semantically equivalent\n" ], [ "line", "ok 1 - x1 {\n" ], [ "child", [ [ "comment", "# Subtest: x1\n" ], [ "line", "ok 1 - y {\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - y {\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " }\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "x1" } ], [ "line", "ok 2 - x2 {\n" ], [ "child", [ [ "comment", "# Subtest: x2\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 2, "buffered": true, "name": "x2" } ], [ "line", "ok 3 - x3 {\n" ], [ "child", [ [ "comment", "# Subtest: x3\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 3, "buffered": true, "name": "x3" } ], [ "line", "# Subtest: x4\n" ], [ "child", [ [ "comment", "# Subtest: x4\n" ], [ "line", "ok 1 - y {\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - y {\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " }\n" ], [ "line", " 1..1\n" ], [ "line", "ok 4 - x4\n" ], [ "assert", { "ok": true, "id": 4, "name": "x4" } ], [ "line", "# Subtest: x5\n" ], [ "child", [ [ "comment", "# Subtest: x5\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "ok 5 - x5\n" ], [ "assert", { "ok": true, "id": 5, "name": "x5" } ], [ "line", "# Subtest: x6\n" ], [ "child", [ [ "comment", "# Subtest: x6\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "ok 6 - x6\n" ], [ "assert", { "ok": true, "id": 6, "name": "x6" } ], [ "line", "# Subtest: x7\n" ], [ "child", [ [ "comment", "# Subtest: x7\n" ], [ "line", "ok 1 - y {\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - y {\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " }\n" ], [ "line", " 1..1\n" ], [ "line", "ok 7 - x7\n" ], [ "assert", { "ok": true, "id": 7, "name": "x7" } ], [ "line", "# Subtest: x8\n" ], [ "child", [ [ "comment", "# Subtest: x8\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "ok 8 - x8\n" ], [ "assert", { "ok": true, "id": 8, "name": "x8" } ], [ "line", "# Subtest: x9\n" ], [ "child", [ [ "comment", "# Subtest: x9\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "ok 9 - x9\n" ], [ "assert", { "ok": true, "id": 9, "name": "x9" } ], [ "line", "1..9\n" ], [ "plan", { "start": 1, "end": 9 } ], [ "complete", { "ok": true, "count": 9, "pass": 9, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 9, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-mixing--bail--preservewhite--omitversion.json000066400000000000000000000534711320135610000306640ustar00rootroot00000000000000[ [ "line", "# All of these should be semantically equivalent\n" ], [ "comment", "# All of these should be semantically equivalent\n" ], [ "line", "ok 1 - x1 {\n" ], [ "child", [ [ "comment", "# Subtest: x1\n" ], [ "line", "ok 1 - y {\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - y {\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " }\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "x1" } ], [ "line", "ok 2 - x2 {\n" ], [ "child", [ [ "comment", "# Subtest: x2\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 2, "buffered": true, "name": "x2" } ], [ "line", "ok 3 - x3 {\n" ], [ "child", [ [ "comment", "# Subtest: x3\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 3, "buffered": true, "name": "x3" } ], [ "line", "# Subtest: x4\n" ], [ "child", [ [ "comment", "# Subtest: x4\n" ], [ "line", "ok 1 - y {\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - y {\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " }\n" ], [ "line", " 1..1\n" ], [ "line", "ok 4 - x4\n" ], [ "assert", { "ok": true, "id": 4, "name": "x4" } ], [ "line", "# Subtest: x5\n" ], [ "child", [ [ "comment", "# Subtest: x5\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "ok 5 - x5\n" ], [ "assert", { "ok": true, "id": 5, "name": "x5" } ], [ "line", "# Subtest: x6\n" ], [ "child", [ [ "comment", "# Subtest: x6\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "ok 6 - x6\n" ], [ "assert", { "ok": true, "id": 6, "name": "x6" } ], [ "line", "# Subtest: x7\n" ], [ "child", [ [ "comment", "# Subtest: x7\n" ], [ "line", "ok 1 - y {\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - y {\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " }\n" ], [ "line", " 1..1\n" ], [ "line", "ok 7 - x7\n" ], [ "assert", { "ok": true, "id": 7, "name": "x7" } ], [ "line", "# Subtest: x8\n" ], [ "child", [ [ "comment", "# Subtest: x8\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "ok 8 - x8\n" ], [ "assert", { "ok": true, "id": 8, "name": "x8" } ], [ "line", "# Subtest: x9\n" ], [ "child", [ [ "comment", "# Subtest: x9\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "ok 9 - x9\n" ], [ "assert", { "ok": true, "id": 9, "name": "x9" } ], [ "line", "1..9\n" ], [ "plan", { "start": 1, "end": 9 } ], [ "complete", { "ok": true, "count": 9, "pass": 9, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 9, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-mixing--bail--preservewhite.json000066400000000000000000000536041320135610000262310ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# All of these should be semantically equivalent\n" ], [ "comment", "# All of these should be semantically equivalent\n" ], [ "line", "ok 1 - x1 {\n" ], [ "child", [ [ "comment", "# Subtest: x1\n" ], [ "line", "ok 1 - y {\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - y {\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " }\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "x1" } ], [ "line", "ok 2 - x2 {\n" ], [ "child", [ [ "comment", "# Subtest: x2\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 2, "buffered": true, "name": "x2" } ], [ "line", "ok 3 - x3 {\n" ], [ "child", [ [ "comment", "# Subtest: x3\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 3, "buffered": true, "name": "x3" } ], [ "line", "# Subtest: x4\n" ], [ "child", [ [ "comment", "# Subtest: x4\n" ], [ "line", "ok 1 - y {\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - y {\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " }\n" ], [ "line", " 1..1\n" ], [ "line", "ok 4 - x4\n" ], [ "assert", { "ok": true, "id": 4, "name": "x4" } ], [ "line", "# Subtest: x5\n" ], [ "child", [ [ "comment", "# Subtest: x5\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "ok 5 - x5\n" ], [ "assert", { "ok": true, "id": 5, "name": "x5" } ], [ "line", "# Subtest: x6\n" ], [ "child", [ [ "comment", "# Subtest: x6\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "ok 6 - x6\n" ], [ "assert", { "ok": true, "id": 6, "name": "x6" } ], [ "line", "# Subtest: x7\n" ], [ "child", [ [ "comment", "# Subtest: x7\n" ], [ "line", "ok 1 - y {\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - y {\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " }\n" ], [ "line", " 1..1\n" ], [ "line", "ok 7 - x7\n" ], [ "assert", { "ok": true, "id": 7, "name": "x7" } ], [ "line", "# Subtest: x8\n" ], [ "child", [ [ "comment", "# Subtest: x8\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "ok 8 - x8\n" ], [ "assert", { "ok": true, "id": 8, "name": "x8" } ], [ "line", "# Subtest: x9\n" ], [ "child", [ [ "comment", "# Subtest: x9\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "ok 9 - x9\n" ], [ "assert", { "ok": true, "id": 9, "name": "x9" } ], [ "line", "1..9\n" ], [ "plan", { "start": 1, "end": 9 } ], [ "complete", { "ok": true, "count": 9, "pass": 9, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 9, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-mixing--bail.json000066400000000000000000000536041320135610000232620ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# All of these should be semantically equivalent\n" ], [ "comment", "# All of these should be semantically equivalent\n" ], [ "line", "ok 1 - x1 {\n" ], [ "child", [ [ "comment", "# Subtest: x1\n" ], [ "line", "ok 1 - y {\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - y {\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " }\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "x1" } ], [ "line", "ok 2 - x2 {\n" ], [ "child", [ [ "comment", "# Subtest: x2\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 2, "buffered": true, "name": "x2" } ], [ "line", "ok 3 - x3 {\n" ], [ "child", [ [ "comment", "# Subtest: x3\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 3, "buffered": true, "name": "x3" } ], [ "line", "# Subtest: x4\n" ], [ "child", [ [ "comment", "# Subtest: x4\n" ], [ "line", "ok 1 - y {\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - y {\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " }\n" ], [ "line", " 1..1\n" ], [ "line", "ok 4 - x4\n" ], [ "assert", { "ok": true, "id": 4, "name": "x4" } ], [ "line", "# Subtest: x5\n" ], [ "child", [ [ "comment", "# Subtest: x5\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "ok 5 - x5\n" ], [ "assert", { "ok": true, "id": 5, "name": "x5" } ], [ "line", "# Subtest: x6\n" ], [ "child", [ [ "comment", "# Subtest: x6\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "ok 6 - x6\n" ], [ "assert", { "ok": true, "id": 6, "name": "x6" } ], [ "line", "# Subtest: x7\n" ], [ "child", [ [ "comment", "# Subtest: x7\n" ], [ "line", "ok 1 - y {\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - y {\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " }\n" ], [ "line", " 1..1\n" ], [ "line", "ok 7 - x7\n" ], [ "assert", { "ok": true, "id": 7, "name": "x7" } ], [ "line", "# Subtest: x8\n" ], [ "child", [ [ "comment", "# Subtest: x8\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "ok 8 - x8\n" ], [ "assert", { "ok": true, "id": 8, "name": "x8" } ], [ "line", "# Subtest: x9\n" ], [ "child", [ [ "comment", "# Subtest: x9\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "ok 9 - x9\n" ], [ "assert", { "ok": true, "id": 9, "name": "x9" } ], [ "line", "1..9\n" ], [ "plan", { "start": 1, "end": 9 } ], [ "complete", { "ok": true, "count": 9, "pass": 9, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 9, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-mixing--omitversion.json000066400000000000000000000534711320135610000247330ustar00rootroot00000000000000[ [ "line", "# All of these should be semantically equivalent\n" ], [ "comment", "# All of these should be semantically equivalent\n" ], [ "line", "ok 1 - x1 {\n" ], [ "child", [ [ "comment", "# Subtest: x1\n" ], [ "line", "ok 1 - y {\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - y {\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " }\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "x1" } ], [ "line", "ok 2 - x2 {\n" ], [ "child", [ [ "comment", "# Subtest: x2\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 2, "buffered": true, "name": "x2" } ], [ "line", "ok 3 - x3 {\n" ], [ "child", [ [ "comment", "# Subtest: x3\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 3, "buffered": true, "name": "x3" } ], [ "line", "# Subtest: x4\n" ], [ "child", [ [ "comment", "# Subtest: x4\n" ], [ "line", "ok 1 - y {\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - y {\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " }\n" ], [ "line", " 1..1\n" ], [ "line", "ok 4 - x4\n" ], [ "assert", { "ok": true, "id": 4, "name": "x4" } ], [ "line", "# Subtest: x5\n" ], [ "child", [ [ "comment", "# Subtest: x5\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "ok 5 - x5\n" ], [ "assert", { "ok": true, "id": 5, "name": "x5" } ], [ "line", "# Subtest: x6\n" ], [ "child", [ [ "comment", "# Subtest: x6\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "ok 6 - x6\n" ], [ "assert", { "ok": true, "id": 6, "name": "x6" } ], [ "line", "# Subtest: x7\n" ], [ "child", [ [ "comment", "# Subtest: x7\n" ], [ "line", "ok 1 - y {\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - y {\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " }\n" ], [ "line", " 1..1\n" ], [ "line", "ok 7 - x7\n" ], [ "assert", { "ok": true, "id": 7, "name": "x7" } ], [ "line", "# Subtest: x8\n" ], [ "child", [ [ "comment", "# Subtest: x8\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "ok 8 - x8\n" ], [ "assert", { "ok": true, "id": 8, "name": "x8" } ], [ "line", "# Subtest: x9\n" ], [ "child", [ [ "comment", "# Subtest: x9\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "ok 9 - x9\n" ], [ "assert", { "ok": true, "id": 9, "name": "x9" } ], [ "line", "1..9\n" ], [ "plan", { "start": 1, "end": 9 } ], [ "complete", { "ok": true, "count": 9, "pass": 9, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 9, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-mixing--preservewhite--omitversion.json000066400000000000000000000534711320135610000277020ustar00rootroot00000000000000[ [ "line", "# All of these should be semantically equivalent\n" ], [ "comment", "# All of these should be semantically equivalent\n" ], [ "line", "ok 1 - x1 {\n" ], [ "child", [ [ "comment", "# Subtest: x1\n" ], [ "line", "ok 1 - y {\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - y {\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " }\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "x1" } ], [ "line", "ok 2 - x2 {\n" ], [ "child", [ [ "comment", "# Subtest: x2\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 2, "buffered": true, "name": "x2" } ], [ "line", "ok 3 - x3 {\n" ], [ "child", [ [ "comment", "# Subtest: x3\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 3, "buffered": true, "name": "x3" } ], [ "line", "# Subtest: x4\n" ], [ "child", [ [ "comment", "# Subtest: x4\n" ], [ "line", "ok 1 - y {\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - y {\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " }\n" ], [ "line", " 1..1\n" ], [ "line", "ok 4 - x4\n" ], [ "assert", { "ok": true, "id": 4, "name": "x4" } ], [ "line", "# Subtest: x5\n" ], [ "child", [ [ "comment", "# Subtest: x5\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "ok 5 - x5\n" ], [ "assert", { "ok": true, "id": 5, "name": "x5" } ], [ "line", "# Subtest: x6\n" ], [ "child", [ [ "comment", "# Subtest: x6\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "ok 6 - x6\n" ], [ "assert", { "ok": true, "id": 6, "name": "x6" } ], [ "line", "# Subtest: x7\n" ], [ "child", [ [ "comment", "# Subtest: x7\n" ], [ "line", "ok 1 - y {\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - y {\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " }\n" ], [ "line", " 1..1\n" ], [ "line", "ok 7 - x7\n" ], [ "assert", { "ok": true, "id": 7, "name": "x7" } ], [ "line", "# Subtest: x8\n" ], [ "child", [ [ "comment", "# Subtest: x8\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "ok 8 - x8\n" ], [ "assert", { "ok": true, "id": 8, "name": "x8" } ], [ "line", "# Subtest: x9\n" ], [ "child", [ [ "comment", "# Subtest: x9\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "ok 9 - x9\n" ], [ "assert", { "ok": true, "id": 9, "name": "x9" } ], [ "line", "1..9\n" ], [ "plan", { "start": 1, "end": 9 } ], [ "complete", { "ok": true, "count": 9, "pass": 9, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 9, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-mixing--preservewhite.json000066400000000000000000000536041320135610000252470ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# All of these should be semantically equivalent\n" ], [ "comment", "# All of these should be semantically equivalent\n" ], [ "line", "ok 1 - x1 {\n" ], [ "child", [ [ "comment", "# Subtest: x1\n" ], [ "line", "ok 1 - y {\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - y {\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " }\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "x1" } ], [ "line", "ok 2 - x2 {\n" ], [ "child", [ [ "comment", "# Subtest: x2\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 2, "buffered": true, "name": "x2" } ], [ "line", "ok 3 - x3 {\n" ], [ "child", [ [ "comment", "# Subtest: x3\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 3, "buffered": true, "name": "x3" } ], [ "line", "# Subtest: x4\n" ], [ "child", [ [ "comment", "# Subtest: x4\n" ], [ "line", "ok 1 - y {\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - y {\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " }\n" ], [ "line", " 1..1\n" ], [ "line", "ok 4 - x4\n" ], [ "assert", { "ok": true, "id": 4, "name": "x4" } ], [ "line", "# Subtest: x5\n" ], [ "child", [ [ "comment", "# Subtest: x5\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "ok 5 - x5\n" ], [ "assert", { "ok": true, "id": 5, "name": "x5" } ], [ "line", "# Subtest: x6\n" ], [ "child", [ [ "comment", "# Subtest: x6\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "ok 6 - x6\n" ], [ "assert", { "ok": true, "id": 6, "name": "x6" } ], [ "line", "# Subtest: x7\n" ], [ "child", [ [ "comment", "# Subtest: x7\n" ], [ "line", "ok 1 - y {\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - y {\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " }\n" ], [ "line", " 1..1\n" ], [ "line", "ok 7 - x7\n" ], [ "assert", { "ok": true, "id": 7, "name": "x7" } ], [ "line", "# Subtest: x8\n" ], [ "child", [ [ "comment", "# Subtest: x8\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "ok 8 - x8\n" ], [ "assert", { "ok": true, "id": 8, "name": "x8" } ], [ "line", "# Subtest: x9\n" ], [ "child", [ [ "comment", "# Subtest: x9\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "ok 9 - x9\n" ], [ "assert", { "ok": true, "id": 9, "name": "x9" } ], [ "line", "1..9\n" ], [ "plan", { "start": 1, "end": 9 } ], [ "complete", { "ok": true, "count": 9, "pass": 9, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 9, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-mixing.json000066400000000000000000000536041320135610000223000ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# All of these should be semantically equivalent\n" ], [ "comment", "# All of these should be semantically equivalent\n" ], [ "line", "ok 1 - x1 {\n" ], [ "child", [ [ "comment", "# Subtest: x1\n" ], [ "line", "ok 1 - y {\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - y {\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " }\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "x1" } ], [ "line", "ok 2 - x2 {\n" ], [ "child", [ [ "comment", "# Subtest: x2\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 2, "buffered": true, "name": "x2" } ], [ "line", "ok 3 - x3 {\n" ], [ "child", [ [ "comment", "# Subtest: x3\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 3, "buffered": true, "name": "x3" } ], [ "line", "# Subtest: x4\n" ], [ "child", [ [ "comment", "# Subtest: x4\n" ], [ "line", "ok 1 - y {\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - y {\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " }\n" ], [ "line", " 1..1\n" ], [ "line", "ok 4 - x4\n" ], [ "assert", { "ok": true, "id": 4, "name": "x4" } ], [ "line", "# Subtest: x5\n" ], [ "child", [ [ "comment", "# Subtest: x5\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "ok 5 - x5\n" ], [ "assert", { "ok": true, "id": 5, "name": "x5" } ], [ "line", "# Subtest: x6\n" ], [ "child", [ [ "comment", "# Subtest: x6\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "ok 6 - x6\n" ], [ "assert", { "ok": true, "id": 6, "name": "x6" } ], [ "line", "# Subtest: x7\n" ], [ "child", [ [ "comment", "# Subtest: x7\n" ], [ "line", "ok 1 - y {\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "}\n" ], [ "assert", { "ok": true, "id": 1, "buffered": true, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - y {\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " }\n" ], [ "line", " 1..1\n" ], [ "line", "ok 7 - x7\n" ], [ "assert", { "ok": true, "id": 7, "name": "x7" } ], [ "line", "# Subtest: x8\n" ], [ "child", [ [ "comment", "# Subtest: x8\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "ok 8 - x8\n" ], [ "assert", { "ok": true, "id": 8, "name": "x8" } ], [ "line", "# Subtest: x9\n" ], [ "child", [ [ "comment", "# Subtest: x9\n" ], [ "line", "# Subtest: y\n" ], [ "child", [ [ "comment", "# Subtest: y\n" ], [ "line", "ok 1 - ypoint\n" ], [ "assert", { "ok": true, "id": 1, "name": "ypoint" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", "ok 1 - y\n" ], [ "assert", { "ok": true, "id": 1, "name": "y" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: y\n" ], [ "line", " ok 1 - ypoint\n" ], [ "line", " 1..1\n" ], [ "line", " ok 1 - y\n" ], [ "line", " 1..1\n" ], [ "line", "ok 9 - x9\n" ], [ "assert", { "ok": true, "id": 9, "name": "x9" } ], [ "line", "1..9\n" ], [ "plan", { "start": 1, "end": 9 } ], [ "complete", { "ok": true, "count": 9, "pass": 9, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 9, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-mixing.tap000066400000000000000000000016411320135610000221050ustar00rootroot00000000000000TAP version 13 # All of these should be semantically equivalent ok 1 - x1 { ok 1 - y { ok 1 - ypoint 1..1 } 1..1 } ok 2 - x2 { # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 1..1 } ok 3 - x3 { # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 1..1 } # Subtest: x4 ok 1 - y { ok 1 - ypoint 1..1 } 1..1 ok 4 - x4 # Subtest: x5 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 1..1 ok 5 - x5 # Subtest: x6 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 1..1 ok 6 - x6 # Subtest: x7 ok 1 - y { ok 1 - ypoint 1..1 } 1..1 ok 7 - x7 # Subtest: x8 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 1..1 ok 8 - x8 # Subtest: x9 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 1..1 ok 9 - x9 1..9 tap-parser-7.0.0/test/fixtures/subtest-no-comment--bail--omitversion.json000066400000000000000000000212511320135610000264650ustar00rootroot00000000000000[ [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-no-comment--bail--preservewhite--omitversion.json000066400000000000000000000212511320135610000314340ustar00rootroot00000000000000[ [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-no-comment--bail--preservewhite.json000066400000000000000000000213641320135610000270100ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-no-comment--bail.json000066400000000000000000000213641320135610000240410ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-no-comment--omitversion.json000066400000000000000000000212511320135610000255030ustar00rootroot00000000000000[ [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-no-comment--preservewhite--omitversion.json000066400000000000000000000212511320135610000304520ustar00rootroot00000000000000[ [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-no-comment--preservewhite.json000066400000000000000000000213641320135610000260260ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-no-comment-leading-comment--bail--omitversion.json000066400000000000000000000213311320135610000315250ustar00rootroot00000000000000[ [ "line", "# Subtest: ../tap/test/test/ok.js\n" ], [ "child", [ [ "comment", "# Subtest: ../tap/test/test/ok.js\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] subtest-no-comment-leading-comment--bail--preservewhite--omitversion.json000066400000000000000000000213311320135610000344150ustar00rootroot00000000000000tap-parser-7.0.0/test/fixtures[ [ "line", "# Subtest: ../tap/test/test/ok.js\n" ], [ "child", [ [ "comment", "# Subtest: ../tap/test/test/ok.js\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-no-comment-leading-comment--bail--preservewhite.json000066400000000000000000000214441320135610000320500ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: ../tap/test/test/ok.js\n" ], [ "child", [ [ "comment", "# Subtest: ../tap/test/test/ok.js\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-no-comment-leading-comment--bail.json000066400000000000000000000214441320135610000271010ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: ../tap/test/test/ok.js\n" ], [ "child", [ [ "comment", "# Subtest: ../tap/test/test/ok.js\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-no-comment-leading-comment--omitversion.json000066400000000000000000000213311320135610000305430ustar00rootroot00000000000000[ [ "line", "# Subtest: ../tap/test/test/ok.js\n" ], [ "child", [ [ "comment", "# Subtest: ../tap/test/test/ok.js\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-no-comment-leading-comment--preservewhite--omitversion.json000066400000000000000000000213311320135610000335120ustar00rootroot00000000000000[ [ "line", "# Subtest: ../tap/test/test/ok.js\n" ], [ "child", [ [ "comment", "# Subtest: ../tap/test/test/ok.js\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-no-comment-leading-comment--preservewhite.json000066400000000000000000000214441320135610000310660ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: ../tap/test/test/ok.js\n" ], [ "child", [ [ "comment", "# Subtest: ../tap/test/test/ok.js\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-no-comment-leading-comment.json000066400000000000000000000214441320135610000261170ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: ../tap/test/test/ok.js\n" ], [ "child", [ [ "comment", "# Subtest: ../tap/test/test/ok.js\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-no-comment-leading-comment.tap000066400000000000000000000007011320135610000257230ustar00rootroot00000000000000TAP version 13 # Subtest: ../tap/test/test/ok.js 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=8.987ms ok 1 - but that is ok ok 2 - this passes ok 3 - nested ok 1..3 ok 2 - second # time=5.988ms 1..2 ok 1 - nesting # time=28.647ms ok 2 - this passes 1..2 ok 1 - ../tap/test/test/ok.js # time=205.826ms 1..1 tap-parser-7.0.0/test/fixtures/subtest-no-comment-mid-comment--bail--omitversion.json000066400000000000000000000212761320135610000307030ustar00rootroot00000000000000[ [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: first\n" ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-no-comment-mid-comment--bail--preservewhite--omitversion.json000066400000000000000000000212761320135610000336520ustar00rootroot00000000000000[ [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: first\n" ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-no-comment-mid-comment--bail--preservewhite.json000066400000000000000000000214111320135610000312100ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: first\n" ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-no-comment-mid-comment--bail.json000066400000000000000000000214111320135610000262410ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: first\n" ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-no-comment-mid-comment--omitversion.json000066400000000000000000000212761320135610000277210ustar00rootroot00000000000000[ [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: first\n" ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-no-comment-mid-comment--preservewhite--omitversion.json000066400000000000000000000212761320135610000326700ustar00rootroot00000000000000[ [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: first\n" ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-no-comment-mid-comment--preservewhite.json000066400000000000000000000214111320135610000302260ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: first\n" ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-no-comment-mid-comment-indent--bail--omitversion.json000066400000000000000000000213041320135610000321520ustar00rootroot00000000000000[ [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: nesting\n" ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] subtest-no-comment-mid-comment-indent--bail--preservewhite--omitversion.json000066400000000000000000000213041320135610000350420ustar00rootroot00000000000000tap-parser-7.0.0/test/fixtures[ [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: nesting\n" ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-no-comment-mid-comment-indent--bail--preservewhite.json000066400000000000000000000214171320135610000324750ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: nesting\n" ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-no-comment-mid-comment-indent--bail.json000066400000000000000000000214171320135610000275260ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: nesting\n" ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-no-comment-mid-comment-indent--omitversion.json000066400000000000000000000213041320135610000311700ustar00rootroot00000000000000[ [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: nesting\n" ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] subtest-no-comment-mid-comment-indent--preservewhite--omitversion.json000066400000000000000000000213041320135610000340600ustar00rootroot00000000000000tap-parser-7.0.0/test/fixtures[ [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: nesting\n" ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-no-comment-mid-comment-indent--preservewhite.json000066400000000000000000000214171320135610000315130ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: nesting\n" ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-no-comment-mid-comment-indent.json000066400000000000000000000214171320135610000265440ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: nesting\n" ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-no-comment-mid-comment-indent.tap000066400000000000000000000006721320135610000263570ustar00rootroot00000000000000TAP version 13 # Subtest: nesting 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=8.987ms ok 1 - but that is ok ok 2 - this passes ok 3 - nested ok 1..3 ok 2 - second # time=5.988ms 1..2 ok 1 - nesting # time=28.647ms ok 2 - this passes 1..2 ok 1 - ../tap/test/test/ok.js # time=205.826ms 1..1 tap-parser-7.0.0/test/fixtures/subtest-no-comment-mid-comment.json000066400000000000000000000214111320135610000252570ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: first\n" ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-no-comment-mid-comment.tap000066400000000000000000000006701320135610000250760ustar00rootroot00000000000000TAP version 13 # Subtest: first 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=8.987ms ok 1 - but that is ok ok 2 - this passes ok 3 - nested ok 1..3 ok 2 - second # time=5.988ms 1..2 ok 1 - nesting # time=28.647ms ok 2 - this passes 1..2 ok 1 - ../tap/test/test/ok.js # time=205.826ms 1..1 tap-parser-7.0.0/test/fixtures/subtest-no-comment.json000066400000000000000000000213641320135610000230570ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=8.987ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 8.987, "name": "first" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=5.988ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 5.988, "name": "second" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - nesting # time=28.647ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 28.647, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest\n" ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=8.987ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=5.988ms\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - nesting # time=28.647ms\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " 1..2\n" ], [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 205.826, "name": "../tap/test/test/ok.js" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-no-comment.tap000066400000000000000000000006371320135610000226720ustar00rootroot00000000000000TAP version 13 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=8.987ms ok 1 - but that is ok ok 2 - this passes ok 3 - nested ok 1..3 ok 2 - second # time=5.988ms 1..2 ok 1 - nesting # time=28.647ms ok 2 - this passes 1..2 ok 1 - ../tap/test/test/ok.js # time=205.826ms 1..1 tap-parser-7.0.0/test/fixtures/subtest-stream-comment--bail--omitversion.json000066400000000000000000000135731320135610000273540ustar00rootroot00000000000000[ [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=11.345ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 11.345, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=3.613ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 3.613, "name": "second" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=11.345ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=3.613ms\n" ], [ "line", "ok 1 - nesting # time=36.045ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 36.045, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=66.857ms\n" ], [ "comment", "# time=66.857ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-stream-comment--bail--preservewhite--omitversion.json000066400000000000000000000135731320135610000323230ustar00rootroot00000000000000[ [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=11.345ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 11.345, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=3.613ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 3.613, "name": "second" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=11.345ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=3.613ms\n" ], [ "line", "ok 1 - nesting # time=36.045ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 36.045, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=66.857ms\n" ], [ "comment", "# time=66.857ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-stream-comment--bail--preservewhite.json000066400000000000000000000137061320135610000276700ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=11.345ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 11.345, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=3.613ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 3.613, "name": "second" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=11.345ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=3.613ms\n" ], [ "line", "ok 1 - nesting # time=36.045ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 36.045, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=66.857ms\n" ], [ "comment", "# time=66.857ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-stream-comment--bail.json000066400000000000000000000137061320135610000247210ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=11.345ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 11.345, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=3.613ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 3.613, "name": "second" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=11.345ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=3.613ms\n" ], [ "line", "ok 1 - nesting # time=36.045ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 36.045, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=66.857ms\n" ], [ "comment", "# time=66.857ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-stream-comment--omitversion.json000066400000000000000000000135731320135610000263720ustar00rootroot00000000000000[ [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=11.345ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 11.345, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=3.613ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 3.613, "name": "second" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=11.345ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=3.613ms\n" ], [ "line", "ok 1 - nesting # time=36.045ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 36.045, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=66.857ms\n" ], [ "comment", "# time=66.857ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-stream-comment--preservewhite--omitversion.json000066400000000000000000000135731320135610000313410ustar00rootroot00000000000000[ [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=11.345ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 11.345, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=3.613ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 3.613, "name": "second" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=11.345ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=3.613ms\n" ], [ "line", "ok 1 - nesting # time=36.045ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 36.045, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=66.857ms\n" ], [ "comment", "# time=66.857ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-stream-comment--preservewhite.json000066400000000000000000000137061320135610000267060ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=11.345ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 11.345, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=3.613ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 3.613, "name": "second" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=11.345ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=3.613ms\n" ], [ "line", "ok 1 - nesting # time=36.045ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 36.045, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=66.857ms\n" ], [ "comment", "# time=66.857ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-stream-comment-indent--bail--omitversion.json000066400000000000000000000140561320135610000306300ustar00rootroot00000000000000[ [ "line", "# Subtest: ok.js\n" ], [ "child", [ [ "comment", "# Subtest: ok.js\n" ], [ "line", "# Subtest: nesting\n" ], [ "comment", "# Subtest: nesting\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=11.345ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 11.345, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=3.613ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 3.613, "name": "second" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: nesting\n" ], [ "line", " 1..2\n" ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=11.345ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=3.613ms\n" ], [ "line", "ok 1 - nesting # time=36.045ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 36.045, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=66.857ms\n" ], [ "comment", "# time=66.857ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-stream-comment-indent--bail--preservewhite--omitversion.json000066400000000000000000000140561320135610000335770ustar00rootroot00000000000000[ [ "line", "# Subtest: ok.js\n" ], [ "child", [ [ "comment", "# Subtest: ok.js\n" ], [ "line", "# Subtest: nesting\n" ], [ "comment", "# Subtest: nesting\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=11.345ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 11.345, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=3.613ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 3.613, "name": "second" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: nesting\n" ], [ "line", " 1..2\n" ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=11.345ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=3.613ms\n" ], [ "line", "ok 1 - nesting # time=36.045ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 36.045, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=66.857ms\n" ], [ "comment", "# time=66.857ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-stream-comment-indent--bail--preservewhite.json000066400000000000000000000140451320135610000311440ustar00rootroot00000000000000[ [ "line", "# Subtest: ok.js\n" ], [ "comment", "# Subtest: ok.js\n" ], [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=11.345ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 11.345, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=3.613ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 3.613, "name": "second" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=11.345ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=3.613ms\n" ], [ "line", "ok 1 - nesting # time=36.045ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 36.045, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=66.857ms\n" ], [ "comment", "# time=66.857ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-stream-comment-indent--bail.json000066400000000000000000000140451320135610000261750ustar00rootroot00000000000000[ [ "line", "# Subtest: ok.js\n" ], [ "comment", "# Subtest: ok.js\n" ], [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=11.345ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 11.345, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=3.613ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 3.613, "name": "second" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=11.345ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=3.613ms\n" ], [ "line", "ok 1 - nesting # time=36.045ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 36.045, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=66.857ms\n" ], [ "comment", "# time=66.857ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-stream-comment-indent--omitversion.json000066400000000000000000000140561320135610000276460ustar00rootroot00000000000000[ [ "line", "# Subtest: ok.js\n" ], [ "child", [ [ "comment", "# Subtest: ok.js\n" ], [ "line", "# Subtest: nesting\n" ], [ "comment", "# Subtest: nesting\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=11.345ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 11.345, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=3.613ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 3.613, "name": "second" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: nesting\n" ], [ "line", " 1..2\n" ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=11.345ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=3.613ms\n" ], [ "line", "ok 1 - nesting # time=36.045ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 36.045, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=66.857ms\n" ], [ "comment", "# time=66.857ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-stream-comment-indent--preservewhite--omitversion.json000066400000000000000000000140561320135610000326150ustar00rootroot00000000000000[ [ "line", "# Subtest: ok.js\n" ], [ "child", [ [ "comment", "# Subtest: ok.js\n" ], [ "line", "# Subtest: nesting\n" ], [ "comment", "# Subtest: nesting\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=11.345ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 11.345, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=3.613ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 3.613, "name": "second" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " # Subtest: nesting\n" ], [ "line", " 1..2\n" ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=11.345ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=3.613ms\n" ], [ "line", "ok 1 - nesting # time=36.045ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 36.045, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=66.857ms\n" ], [ "comment", "# time=66.857ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-stream-comment-indent--preservewhite.json000066400000000000000000000140451320135610000301620ustar00rootroot00000000000000[ [ "line", "# Subtest: ok.js\n" ], [ "comment", "# Subtest: ok.js\n" ], [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=11.345ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 11.345, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=3.613ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 3.613, "name": "second" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=11.345ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=3.613ms\n" ], [ "line", "ok 1 - nesting # time=36.045ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 36.045, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=66.857ms\n" ], [ "comment", "# time=66.857ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-stream-comment-indent.json000066400000000000000000000140451320135610000252130ustar00rootroot00000000000000[ [ "line", "# Subtest: ok.js\n" ], [ "comment", "# Subtest: ok.js\n" ], [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=11.345ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 11.345, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=3.613ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 3.613, "name": "second" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=11.345ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=3.613ms\n" ], [ "line", "ok 1 - nesting # time=36.045ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 36.045, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=66.857ms\n" ], [ "comment", "# time=66.857ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-stream-comment-indent.tap000066400000000000000000000006571320135610000250320ustar00rootroot00000000000000# Subtest: ok.js TAP version 13 # Subtest: nesting 1..2 # Subtest: first 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=11.345ms # Subtest: second ok 1 - but that is ok ok 2 - this passes ok 3 - nested ok 1..3 ok 2 - second # time=3.613ms ok 1 - nesting # time=36.045ms ok 2 - this passes 1..2 # time=66.857ms tap-parser-7.0.0/test/fixtures/subtest-stream-comment.json000066400000000000000000000137061320135610000237370ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: nesting\n" ], [ "child", [ [ "comment", "# Subtest: nesting\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# Subtest: first\n" ], [ "child", [ [ "comment", "# Subtest: first\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=11.345ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 11.345, "name": "first" } ], [ "line", "# Subtest: second\n" ], [ "child", [ [ "comment", "# Subtest: second\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=3.613ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 3.613, "name": "second" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " # Subtest: first\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=11.345ms\n" ], [ "line", " # Subtest: second\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=3.613ms\n" ], [ "line", "ok 1 - nesting # time=36.045ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 36.045, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# time=66.857ms\n" ], [ "comment", "# time=66.857ms\n" ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-stream-comment.tap000066400000000000000000000006221320135610000235430ustar00rootroot00000000000000TAP version 13 # Subtest: nesting 1..2 # Subtest: first 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=11.345ms # Subtest: second ok 1 - but that is ok ok 2 - this passes ok 3 - nested ok 1..3 ok 2 - second # time=3.613ms ok 1 - nesting # time=36.045ms ok 2 - this passes 1..2 # time=66.857ms tap-parser-7.0.0/test/fixtures/subtest-stream-no-comment--bail--omitversion.json000066400000000000000000000133371320135610000277640ustar00rootroot00000000000000[ [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=11.345ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 11.345, "name": "first" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=3.613ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 3.613, "name": "second" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=11.345ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=3.613ms\n" ], [ "line", "ok 1 - nesting # time=36.045ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 36.045, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-stream-no-comment--bail--preservewhite--omitversion.json000066400000000000000000000133371320135610000327330ustar00rootroot00000000000000[ [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=11.345ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 11.345, "name": "first" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=3.613ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 3.613, "name": "second" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=11.345ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=3.613ms\n" ], [ "line", "ok 1 - nesting # time=36.045ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 36.045, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-stream-no-comment--bail--preservewhite.json000066400000000000000000000134521320135610000303000ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=11.345ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 11.345, "name": "first" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=3.613ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 3.613, "name": "second" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=11.345ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=3.613ms\n" ], [ "line", "ok 1 - nesting # time=36.045ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 36.045, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-stream-no-comment--bail.json000066400000000000000000000134521320135610000253310ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=11.345ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 11.345, "name": "first" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=3.613ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 3.613, "name": "second" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=11.345ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=3.613ms\n" ], [ "line", "ok 1 - nesting # time=36.045ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 36.045, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-stream-no-comment--omitversion.json000066400000000000000000000133371320135610000270020ustar00rootroot00000000000000[ [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=11.345ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 11.345, "name": "first" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=3.613ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 3.613, "name": "second" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=11.345ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=3.613ms\n" ], [ "line", "ok 1 - nesting # time=36.045ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 36.045, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-stream-no-comment--preservewhite--omitversion.json000066400000000000000000000133371320135610000317510ustar00rootroot00000000000000[ [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=11.345ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 11.345, "name": "first" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=3.613ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 3.613, "name": "second" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=11.345ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=3.613ms\n" ], [ "line", "ok 1 - nesting # time=36.045ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 36.045, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-stream-no-comment--preservewhite.json000066400000000000000000000134521320135610000273160ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=11.345ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 11.345, "name": "first" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=3.613ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 3.613, "name": "second" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=11.345ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=3.613ms\n" ], [ "line", "ok 1 - nesting # time=36.045ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 36.045, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-stream-no-comment.json000066400000000000000000000134521320135610000243470ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "ok 1 - true is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is ok" } ], [ "line", "ok 2 - doag is also okay\n" ], [ "assert", { "ok": true, "id": 2, "name": "doag is also okay" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", "ok 1 - first # time=11.345ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 11.345, "name": "first" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "ok 1 - but that is ok\n" ], [ "assert", { "ok": true, "id": 1, "name": "but that is ok" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "ok 3 - nested ok\n" ], [ "assert", { "ok": true, "id": 3, "name": "nested ok" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", "ok 2 - second # time=3.613ms\n" ], [ "assert", { "ok": true, "id": 2, "time": 3.613, "name": "second" } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..2\n" ], [ "line", " # Subtest\n" ], [ "line", " 1..2\n" ], [ "line", " ok 1 - true is ok\n" ], [ "line", " ok 2 - doag is also okay\n" ], [ "line", " ok 1 - first # time=11.345ms\n" ], [ "line", " # Subtest\n" ], [ "line", " ok 1 - but that is ok\n" ], [ "line", " ok 2 - this passes\n" ], [ "line", " ok 3 - nested ok\n" ], [ "line", " 1..3\n" ], [ "line", " ok 2 - second # time=3.613ms\n" ], [ "line", "ok 1 - nesting # time=36.045ms\n" ], [ "assert", { "ok": true, "id": 1, "time": 36.045, "name": "nesting" } ], [ "line", "ok 2 - this passes\n" ], [ "assert", { "ok": true, "id": 2, "name": "this passes" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-stream-no-comment.tap000066400000000000000000000005041320135610000241540ustar00rootroot00000000000000TAP version 13 1..2 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=11.345ms ok 1 - but that is ok ok 2 - this passes ok 3 - nested ok 1..3 ok 2 - second # time=3.613ms ok 1 - nesting # time=36.045ms ok 2 - this passes 1..2 tap-parser-7.0.0/test/fixtures/subtest-unfinished--bail--omitversion.json000066400000000000000000000026431320135610000265510ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "# Subtest: unfinished\n" ], [ "child", [ [ "comment", "# Subtest: unfinished\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-unfinished--bail--preservewhite--omitversion.json000066400000000000000000000026431320135610000315200ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "# Subtest: unfinished\n" ], [ "child", [ [ "comment", "# Subtest: unfinished\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-unfinished--bail--preservewhite.json000066400000000000000000000027561320135610000270740ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "# Subtest: unfinished\n" ], [ "child", [ [ "comment", "# Subtest: unfinished\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-unfinished--bail.json000066400000000000000000000027561320135610000241250ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "# Subtest: unfinished\n" ], [ "child", [ [ "comment", "# Subtest: unfinished\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-unfinished--omitversion.json000066400000000000000000000026431320135610000255670ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "# Subtest: unfinished\n" ], [ "child", [ [ "comment", "# Subtest: unfinished\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-unfinished--preservewhite--omitversion.json000066400000000000000000000026431320135610000305360ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "# Subtest: unfinished\n" ], [ "child", [ [ "comment", "# Subtest: unfinished\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-unfinished--preservewhite.json000066400000000000000000000027561320135610000261120ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "# Subtest: unfinished\n" ], [ "child", [ [ "comment", "# Subtest: unfinished\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-unfinished.json000066400000000000000000000027561320135610000231430ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "# Subtest: unfinished\n" ], [ "child", [ [ "comment", "# Subtest: unfinished\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "ok\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " 1..1\n" ], [ "line", " ok\n" ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/subtest-unfinished.tap000066400000000000000000000001011320135610000227340ustar00rootroot00000000000000TAP version 13 1..1 ok # Subtest: unfinished 1..1 ok tap-parser-7.0.0/test/fixtures/switches--bail--omitversion.json000066400000000000000000000012361320135610000245540ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok 1\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 } ] } ] ] tap-parser-7.0.0/test/fixtures/switches--bail--preservewhite--omitversion.json000066400000000000000000000012361320135610000275230ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok 1\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 } ] } ] ] tap-parser-7.0.0/test/fixtures/switches--bail--preservewhite.json000066400000000000000000000012361320135610000250720ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok 1\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 } ] } ] ] tap-parser-7.0.0/test/fixtures/switches--bail.json000066400000000000000000000012361320135610000221230ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok 1\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 } ] } ] ] tap-parser-7.0.0/test/fixtures/switches--omitversion.json000066400000000000000000000012661320135610000235750ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok 1\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 } ] } ] ] tap-parser-7.0.0/test/fixtures/switches--preservewhite--omitversion.json000066400000000000000000000012661320135610000265440ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok 1\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 } ] } ] ] tap-parser-7.0.0/test/fixtures/switches--preservewhite.json000066400000000000000000000012661320135610000241130ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok 1\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 } ] } ] ] tap-parser-7.0.0/test/fixtures/switches.json000066400000000000000000000012661320135610000211440ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok 1\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 } ] } ] ] tap-parser-7.0.0/test/fixtures/switches.tap000066400000000000000000000000161320135610000207470ustar00rootroot000000000000001..1 not ok 1 tap-parser-7.0.0/test/fixtures/tap-tests--bail--omitversion.json000066400000000000000000001141411320135610000246470ustar00rootroot00000000000000[ [ "line", "# buffer_compare.js\n" ], [ "comment", "# buffer_compare.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# same buffers\n" ], [ "comment", "# same buffers\n" ], [ "line", "ok 1 should be equivalent\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equivalent" } ], [ "line", "# not same buffers\n" ], [ "comment", "# not same buffers\n" ], [ "line", "ok 2 should not be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should not be equivalent" } ], [ "line", "# tests 2\n" ], [ "comment", "# tests 2\n" ], [ "line", "# pass 2\n" ], [ "comment", "# pass 2\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 3 test/buffer_compare.js\n" ], [ "assert", { "ok": true, "id": 3, "name": "test/buffer_compare.js" } ], [ "line", "# common.js\n" ], [ "comment", "# common.js\n" ], [ "line", "ok 4 just setup, nothing relevant\n" ], [ "assert", { "ok": true, "id": 4, "name": "just setup, nothing relevant" } ], [ "line", "ok 5 test/common.js\n" ], [ "assert", { "ok": true, "id": 5, "name": "test/common.js" } ], [ "line", "# consumer.js\n" ], [ "comment", "# consumer.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# basic.tap\n" ], [ "comment", "# basic.tap\n" ], [ "line", "ok 6 should be equivalent\n" ], [ "assert", { "ok": true, "id": 6, "name": "should be equivalent" } ], [ "line", "# indent.tap\n" ], [ "comment", "# indent.tap\n" ], [ "line", "ok 7 should be equivalent\n" ], [ "assert", { "ok": true, "id": 7, "name": "should be equivalent" } ], [ "line", "# missing.tap\n" ], [ "comment", "# missing.tap\n" ], [ "line", "ok 8 should be equivalent\n" ], [ "assert", { "ok": true, "id": 8, "name": "should be equivalent" } ], [ "line", "# skip-all.tap\n" ], [ "comment", "# skip-all.tap\n" ], [ "line", "ok 9 should be equivalent\n" ], [ "assert", { "ok": true, "id": 9, "name": "should be equivalent" } ], [ "line", "# yamlish.tap\n" ], [ "comment", "# yamlish.tap\n" ], [ "line", "ok 10 should be equivalent\n" ], [ "assert", { "ok": true, "id": 10, "name": "should be equivalent" } ], [ "line", "# tests 5\n" ], [ "comment", "# tests 5\n" ], [ "line", "# pass 5\n" ], [ "comment", "# pass 5\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 11 test/consumer.js\n" ], [ "assert", { "ok": true, "id": 11, "name": "test/consumer.js" } ], [ "line", "# debug-test.js\n" ], [ "comment", "# debug-test.js\n" ], [ "line", "debug test\n" ], [ "extra", "debug test\n" ], [ "line", "t.plan=1\n" ], [ "extra", "t.plan=1\n" ], [ "line", "'Debugger listening on port 5858\\n'\n" ], [ "extra", "'Debugger listening on port 5858\\n'\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# debug test\n" ], [ "comment", "# debug test\n" ], [ "line", "ok 12 Should output debugger message\n" ], [ "assert", { "ok": true, "id": 12, "name": "Should output debugger message" } ], [ "line", "# tests 1\n" ], [ "comment", "# tests 1\n" ], [ "line", "# pass 1\n" ], [ "comment", "# pass 1\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 13 test/debug-test.js\n" ], [ "assert", { "ok": true, "id": 13, "name": "test/debug-test.js" } ], [ "line", "# deep-strict.js\n" ], [ "comment", "# deep-strict.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# strictDeepEquals shouldn't care about key order\n" ], [ "comment", "# strictDeepEquals shouldn't care about key order\n" ], [ "line", "ok 14 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 14, "name": "should be strictly equal" } ], [ "line", "# strictDeepEquals shouldn't care about key order recursively\n" ], [ "comment", "# strictDeepEquals shouldn't care about key order recursively\n" ], [ "line", "ok 15 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 15, "name": "should be strictly equal" } ], [ "line", "# strictDeepEquals shoudn't care about key order (but still might)\n" ], [ "comment", "# strictDeepEquals shoudn't care about key order (but still might)\n" ], [ "line", "ok 16 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 16, "name": "should be strictly equal" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 17 test/deep-strict.js\n" ], [ "assert", { "ok": true, "id": 17, "name": "test/deep-strict.js" } ], [ "line", "# deep.js\n" ], [ "comment", "# deep.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# deepEquals shouldn't care about key order and types\n" ], [ "comment", "# deepEquals shouldn't care about key order and types\n" ], [ "line", "ok 18 should be equivalent\n" ], [ "assert", { "ok": true, "id": 18, "name": "should be equivalent" } ], [ "line", "# deepEquals shouldn't care about key order recursively and types\n" ], [ "comment", "# deepEquals shouldn't care about key order recursively and types\n" ], [ "line", "ok 19 should be equivalent\n" ], [ "assert", { "ok": true, "id": 19, "name": "should be equivalent" } ], [ "line", "# deepEquals shoudn't care about key order (but still might) and types\n" ], [ "comment", "# deepEquals shoudn't care about key order (but still might) and types\n" ], [ "line", "ok 20 should be equivalent\n" ], [ "assert", { "ok": true, "id": 20, "name": "should be equivalent" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 21 test/deep.js\n" ], [ "assert", { "ok": true, "id": 21, "name": "test/deep.js" } ], [ "line", "# executed.sh\n" ], [ "comment", "# executed.sh\n" ], [ "line", "ok 22 File with executable bit should be executed\n" ], [ "assert", { "ok": true, "id": 22, "name": "File with executable bit should be executed" } ], [ "line", "ok 23 test/executed.sh\n" ], [ "assert", { "ok": true, "id": 23, "name": "test/executed.sh" } ], [ "line", "# exit-code.js\n" ], [ "comment", "# exit-code.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# exit code 1 when tap results show failure\n" ], [ "comment", "# exit code 1 when tap results show failure\n" ], [ "line", "# test exits 0, has failures\n" ], [ "comment", "# test exits 0, has failures\n" ], [ "line", "ok 24 should be equal\n" ], [ "assert", { "ok": true, "id": 24, "name": "should be equal" } ], [ "line", "ok 25 should be equal\n" ], [ "assert", { "ok": true, "id": 25, "name": "should be equal" } ], [ "line", "# test exits 1, has failures\n" ], [ "comment", "# test exits 1, has failures\n" ], [ "line", "ok 26 should be equal\n" ], [ "assert", { "ok": true, "id": 26, "name": "should be equal" } ], [ "line", "ok 27 should be equal\n" ], [ "assert", { "ok": true, "id": 27, "name": "should be equal" } ], [ "line", "# test exits 1, has no failures\n" ], [ "comment", "# test exits 1, has no failures\n" ], [ "line", "ok 28 should be equal\n" ], [ "assert", { "ok": true, "id": 28, "name": "should be equal" } ], [ "line", "ok 29 should be equal\n" ], [ "assert", { "ok": true, "id": 29, "name": "should be equal" } ], [ "line", "# successes exit 0\n" ], [ "comment", "# successes exit 0\n" ], [ "line", "# test that does nothing, but exits 0\n" ], [ "comment", "# test that does nothing, but exits 0\n" ], [ "line", "ok 30 should be equal\n" ], [ "assert", { "ok": true, "id": 30, "name": "should be equal" } ], [ "line", "ok 31 should be equal\n" ], [ "assert", { "ok": true, "id": 31, "name": "should be equal" } ], [ "line", "# test that succeeds, and exits 0\n" ], [ "comment", "# test that succeeds, and exits 0\n" ], [ "line", "ok 32 should be equal\n" ], [ "assert", { "ok": true, "id": 32, "name": "should be equal" } ], [ "line", "ok 33 should be equal\n" ], [ "assert", { "ok": true, "id": 33, "name": "should be equal" } ], [ "line", "# tests 10\n" ], [ "comment", "# tests 10\n" ], [ "line", "# pass 10\n" ], [ "comment", "# pass 10\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 34 test/exit-code.js\n" ], [ "assert", { "ok": true, "id": 34, "name": "test/exit-code.js" } ], [ "line", "# expose-gc-test.js\n" ], [ "comment", "# expose-gc-test.js\n" ], [ "line", "gc test\n" ], [ "extra", "gc test\n" ], [ "line", "t.plan=1\n" ], [ "extra", "t.plan=1\n" ], [ "line", "assert gc does not exist\n" ], [ "extra", "assert gc does not exist\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# gc test when the gc isn't there\n" ], [ "comment", "# gc test when the gc isn't there\n" ], [ "line", "gc test\n" ], [ "extra", "gc test\n" ], [ "line", "t.plan=2\n" ], [ "extra", "t.plan=2\n" ], [ "line", "gc test using --gc\n" ], [ "extra", "gc test using --gc\n" ], [ "line", "t.plan=1\n" ], [ "extra", "t.plan=1\n" ], [ "line", "assert gc exists\n" ], [ "extra", "assert gc exists\n" ], [ "line", "gc test using --expose-gc\n" ], [ "extra", "gc test using --expose-gc\n" ], [ "line", "t.plan=1\n" ], [ "extra", "t.plan=1\n" ], [ "line", "assert gc exists\n" ], [ "extra", "assert gc exists\n" ], [ "line", "ok 35 should be equal\n" ], [ "assert", { "ok": true, "id": 35, "name": "should be equal" } ], [ "line", "# gc test when the gc should be there\n" ], [ "comment", "# gc test when the gc should be there\n" ], [ "line", "# test for gc using --gc\n" ], [ "comment", "# test for gc using --gc\n" ], [ "line", "ok 36 should be equal\n" ], [ "assert", { "ok": true, "id": 36, "name": "should be equal" } ], [ "line", "# test for gc using --expose-gc\n" ], [ "comment", "# test for gc using --expose-gc\n" ], [ "line", "ok 37 should be equal\n" ], [ "assert", { "ok": true, "id": 37, "name": "should be equal" } ], [ "line", "# cleanup\n" ], [ "comment", "# cleanup\n" ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 38 test/expose-gc-test.js\n" ], [ "assert", { "ok": true, "id": 38, "name": "test/expose-gc-test.js" } ], [ "line", "# global-harness-async.js\n" ], [ "comment", "# global-harness-async.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# outer\n" ], [ "comment", "# outer\n" ], [ "line", "# inner 1\n" ], [ "comment", "# inner 1\n" ], [ "line", "ok 39 1-1\n" ], [ "assert", { "ok": true, "id": 39, "name": "1-1" } ], [ "line", "# inner 2\n" ], [ "comment", "# inner 2\n" ], [ "line", "ok 40 2-1\n" ], [ "assert", { "ok": true, "id": 40, "name": "2-1" } ], [ "line", "# inner 3\n" ], [ "comment", "# inner 3\n" ], [ "line", "ok 41 3-1\n" ], [ "assert", { "ok": true, "id": 41, "name": "3-1" } ], [ "line", "ok 42 test/global-harness-async.js\n" ], [ "assert", { "ok": true, "id": 42, "name": "test/global-harness-async.js" } ], [ "line", "# independent-timeouts.js\n" ], [ "comment", "# independent-timeouts.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# finishes in time\n" ], [ "comment", "# finishes in time\n" ], [ "line", "# finishes in time too\n" ], [ "comment", "# finishes in time too\n" ], [ "line", "# tests 0\n" ], [ "comment", "# tests 0\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 43 test/independent-timeouts.js\n" ], [ "assert", { "ok": true, "id": 43, "name": "test/independent-timeouts.js" } ], [ "line", "# isolated-conf-test.js\n" ], [ "comment", "# isolated-conf-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# one\n" ], [ "comment", "# one\n" ], [ "line", "ok 44 should be equal\n" ], [ "assert", { "ok": true, "id": 44, "name": "should be equal" } ], [ "line", "ok 45 should be equal\n" ], [ "assert", { "ok": true, "id": 45, "name": "should be equal" } ], [ "line", "# two\n" ], [ "comment", "# two\n" ], [ "line", "ok 46 should be equal\n" ], [ "assert", { "ok": true, "id": 46, "name": "should be equal" } ], [ "line", "ok 47 should be equal\n" ], [ "assert", { "ok": true, "id": 47, "name": "should be equal" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 48 test/isolated-conf-test.js\n" ], [ "assert", { "ok": true, "id": 48, "name": "test/isolated-conf-test.js" } ], [ "line", "# meta-test.js\n" ], [ "comment", "# meta-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# meta test\n" ], [ "comment", "# meta test\n" ], [ "line", "ok 49 sanity check\n" ], [ "assert", { "ok": true, "id": 49, "name": "sanity check" } ], [ "line", "ok 50 not ok\n" ], [ "assert", { "ok": true, "id": 50, "name": "not ok" } ], [ "line", "ok 51 total test count\n" ], [ "assert", { "ok": true, "id": 51, "name": "total test count" } ], [ "line", "ok 52 tests passed\n" ], [ "assert", { "ok": true, "id": 52, "name": "tests passed" } ], [ "line", "ok 53 tests failed\n" ], [ "assert", { "ok": true, "id": 53, "name": "tests failed" } ], [ "line", "ok 54 ok is boolean\n" ], [ "assert", { "ok": true, "id": 54, "name": "ok is boolean" } ], [ "line", "ok 55 skip is number\n" ], [ "assert", { "ok": true, "id": 55, "name": "skip is number" } ], [ "line", "ok 56 results isa Results\n" ], [ "assert", { "ok": true, "id": 56, "name": "results isa Results" } ], [ "line", "ok 57 test isa Test\n" ], [ "assert", { "ok": true, "id": 57, "name": "test isa Test" } ], [ "line", "ok 58 test isa Harness\n" ], [ "assert", { "ok": true, "id": 58, "name": "test isa Harness" } ], [ "line", "# tests 10\n" ], [ "comment", "# tests 10\n" ], [ "line", "# pass 10\n" ], [ "comment", "# pass 10\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 59 test/meta-test.js\n" ], [ "assert", { "ok": true, "id": 59, "name": "test/meta-test.js" } ], [ "line", "# nested-async.js\n" ], [ "comment", "# nested-async.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# Harness async test support\n" ], [ "comment", "# Harness async test support\n" ], [ "line", "ok 60 sync child A\n" ], [ "assert", { "ok": true, "id": 60, "name": "sync child A" } ], [ "line", "# sync child B\n" ], [ "comment", "# sync child B\n" ], [ "line", "# async grandchild A\n" ], [ "comment", "# async grandchild A\n" ], [ "line", "ok 61 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 61, "name": "(unnamed assert)" } ], [ "line", "# async grandchild B\n" ], [ "comment", "# async grandchild B\n" ], [ "line", "ok 62 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 62, "name": "(unnamed assert)" } ], [ "line", "# async child\n" ], [ "comment", "# async child\n" ], [ "line", "ok 63 sync grandchild in async child A\n" ], [ "assert", { "ok": true, "id": 63, "name": "sync grandchild in async child A" } ], [ "line", "# sync grandchild in async child B\n" ], [ "comment", "# sync grandchild in async child B\n" ], [ "line", "ok 64 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 64, "name": "(unnamed assert)" } ], [ "line", "# tests 5\n" ], [ "comment", "# tests 5\n" ], [ "line", "# pass 5\n" ], [ "comment", "# pass 5\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 65 test/nested-async.js\n" ], [ "assert", { "ok": true, "id": 65, "name": "test/nested-async.js" } ], [ "line", "# nested-test.js\n" ], [ "comment", "# nested-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# parent\n" ], [ "comment", "# parent\n" ], [ "line", "ok 66 p test\n" ], [ "assert", { "ok": true, "id": 66, "name": "p test" } ], [ "line", "# subtest\n" ], [ "comment", "# subtest\n" ], [ "line", "ok 67 ch test\n" ], [ "assert", { "ok": true, "id": 67, "name": "ch test" } ], [ "line", "# nested subtest\n" ], [ "comment", "# nested subtest\n" ], [ "line", "ok 68 grch test\n" ], [ "assert", { "ok": true, "id": 68, "name": "grch test" } ], [ "line", "# another subtest\n" ], [ "comment", "# another subtest\n" ], [ "line", "ok 69 ch test 2\n" ], [ "assert", { "ok": true, "id": 69, "name": "ch test 2" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 70 test/nested-test.js\n" ], [ "assert", { "ok": true, "id": 70, "name": "test/nested-test.js" } ], [ "line", "# non-tap-output.js\n" ], [ "comment", "# non-tap-output.js\n" ], [ "line", "# everything is fine\n" ], [ "comment", "# everything is fine\n" ], [ "line", "# there are no errors\n" ], [ "comment", "# there are no errors\n" ], [ "line", "# this output is not haiku.\n" ], [ "comment", "# this output is not haiku.\n" ], [ "line", "# is 8 ok?\n" ], [ "comment", "# is 8 ok?\n" ], [ "line", "ok 71 , 8 can stay.\n" ], [ "assert", { "ok": true, "id": 71, "name": ", 8 can stay." } ], [ "line", "# but: nevertheless, here we are\n" ], [ "comment", "# but: nevertheless, here we are\n" ], [ "line", "# this: is indented\n" ], [ "comment", "# this: is indented\n" ], [ "line", "# and: it\n" ], [ "comment", "# and: it\n" ], [ "line", "# might: ~\n" ], [ "comment", "# might: ~\n" ], [ "line", "# be: yaml?\n" ], [ "comment", "# be: yaml?\n" ], [ "line", "ok 72 might be confusing\n" ], [ "assert", { "ok": true, "id": 72, "name": "might be confusing" } ], [ "line", "ok 73 done now, exiting\n" ], [ "assert", { "ok": true, "id": 73, "name": "done now, exiting" } ], [ "line", "ok 74 test/non-tap-output.js\n" ], [ "assert", { "ok": true, "id": 74, "name": "test/non-tap-output.js" } ], [ "line", "# not-executed.sh\n" ], [ "comment", "# not-executed.sh\n" ], [ "line", "# output-childtest-description.js\n" ], [ "comment", "# output-childtest-description.js\n" ], [ "line", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\n" ], [ "comment", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# nested tests, parent and child pass\n" ], [ "comment", "# nested tests, parent and child pass\n" ], [ "line", "ok 75 outputs parent description\n" ], [ "assert", { "ok": true, "id": 75, "name": "outputs parent description" } ], [ "line", "ok 76 outputs child description\n" ], [ "assert", { "ok": true, "id": 76, "name": "outputs child description" } ], [ "line", "ok 77 outputs parent description before parent result\n" ], [ "assert", { "ok": true, "id": 77, "name": "outputs parent description before parent result" } ], [ "line", "ok 78 outputs parent result before child description\n" ], [ "assert", { "ok": true, "id": 78, "name": "outputs parent result before child description" } ], [ "line", "ok 79 outputs child description before child result\n" ], [ "assert", { "ok": true, "id": 79, "name": "outputs child description before child result" } ], [ "line", "# tests 5\n" ], [ "comment", "# tests 5\n" ], [ "line", "# pass 5\n" ], [ "comment", "# pass 5\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 80 test/output-childtest-description.js\n" ], [ "assert", { "ok": true, "id": 80, "name": "test/output-childtest-description.js" } ], [ "line", "# result-trap.js\n" ], [ "comment", "# result-trap.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trap result\n" ], [ "comment", "# trap result\n" ], [ "line", "ok 81 should be equal\n" ], [ "assert", { "ok": true, "id": 81, "name": "should be equal" } ], [ "line", "ok 82 should be equal\n" ], [ "assert", { "ok": true, "id": 82, "name": "should be equal" } ], [ "line", "# tests 2\n" ], [ "comment", "# tests 2\n" ], [ "line", "# pass 2\n" ], [ "comment", "# pass 2\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 83 test/result-trap.js\n" ], [ "assert", { "ok": true, "id": 83, "name": "test/result-trap.js" } ], [ "line", "# segv.js\n" ], [ "comment", "# segv.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# setup\n" ], [ "comment", "# setup\n" ], [ "line", "ok 84 compiled seg faulter\n" ], [ "assert", { "ok": true, "id": 84, "name": "compiled seg faulter" } ], [ "line", "# segv\n" ], [ "comment", "# segv\n" ], [ "line", "ok 85 should be equivalent\n" ], [ "assert", { "ok": true, "id": 85, "name": "should be equivalent" } ], [ "line", "ok 86 should be equivalent\n" ], [ "assert", { "ok": true, "id": 86, "name": "should be equivalent" } ], [ "line", "ok 87 should be equivalent\n" ], [ "assert", { "ok": true, "id": 87, "name": "should be equivalent" } ], [ "line", "ok 88 should be equivalent\n" ], [ "assert", { "ok": true, "id": 88, "name": "should be equivalent" } ], [ "line", "ok 89 should be equivalent\n" ], [ "assert", { "ok": true, "id": 89, "name": "should be equivalent" } ], [ "line", "ok 90 should be equal\n" ], [ "assert", { "ok": true, "id": 90, "name": "should be equal" } ], [ "line", "# cleanup\n" ], [ "comment", "# cleanup\n" ], [ "line", "ok 91 cleaned up\n" ], [ "assert", { "ok": true, "id": 91, "name": "cleaned up" } ], [ "line", "# tests 8\n" ], [ "comment", "# tests 8\n" ], [ "line", "# pass 8\n" ], [ "comment", "# pass 8\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 92 test/segv.js\n" ], [ "assert", { "ok": true, "id": 92, "name": "test/segv.js" } ], [ "line", "# simple-harness-test-with-plan.js\n" ], [ "comment", "# simple-harness-test-with-plan.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trivial success\n" ], [ "comment", "# trivial success\n" ], [ "line", "ok 93 it works\n" ], [ "assert", { "ok": true, "id": 93, "name": "it works" } ], [ "line", "# two tests\n" ], [ "comment", "# two tests\n" ], [ "line", "ok 94 math should work\n" ], [ "assert", { "ok": true, "id": 94, "name": "math should work" } ], [ "line", "ok 95 false should not be ok\n" ], [ "assert", { "ok": true, "id": 95, "name": "false should not be ok" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 96 test/simple-harness-test-with-plan.js\n" ], [ "assert", { "ok": true, "id": 96, "name": "test/simple-harness-test-with-plan.js" } ], [ "line", "# simple-harness-test.js\n" ], [ "comment", "# simple-harness-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trivial success\n" ], [ "comment", "# trivial success\n" ], [ "line", "ok 97 it works\n" ], [ "assert", { "ok": true, "id": 97, "name": "it works" } ], [ "line", "# two tests\n" ], [ "comment", "# two tests\n" ], [ "line", "ok 98 math should work\n" ], [ "assert", { "ok": true, "id": 98, "name": "math should work" } ], [ "line", "ok 99 false should not be ok\n" ], [ "assert", { "ok": true, "id": 99, "name": "false should not be ok" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 100 test/simple-harness-test.js\n" ], [ "assert", { "ok": true, "id": 100, "name": "test/simple-harness-test.js" } ], [ "line", "# test-assert-todo-skip.js\n" ], [ "comment", "# test-assert-todo-skip.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# not much\n" ], [ "comment", "# not much\n" ], [ "line", "ok 101 always passes # SKIP skip it good\n" ], [ "assert", { "ok": true, "id": 101, "skip": "skip it good", "name": "always passes" } ], [ "line", "ok 102 false # SKIP always fails\n" ], [ "assert", { "ok": true, "id": 102, "skip": "always fails", "name": "false" } ], [ "line", "ok 103 bonus # TODO remove todo directive\n" ], [ "assert", { "ok": true, "id": 103, "todo": "remove todo directive", "name": "bonus" } ], [ "line", "ok 104 expected # TODO implement a thing\n" ], [ "assert", { "ok": true, "id": 104, "todo": "implement a thing", "name": "expected" } ], [ "line", "ok 105 always passes without explanation # SKIP\n" ], [ "assert", { "ok": true, "id": 105, "skip": true, "name": "always passes without explanation" } ], [ "line", "ok 106 false without explanation # SKIP\n" ], [ "assert", { "ok": true, "id": 106, "skip": true, "name": "false without explanation" } ], [ "line", "ok 107 bonus without explanation # TODO\n" ], [ "assert", { "ok": true, "id": 107, "todo": true, "name": "bonus without explanation" } ], [ "line", "ok 108 expected without explanation # TODO\n" ], [ "assert", { "ok": true, "id": 108, "todo": true, "name": "expected without explanation" } ], [ "line", "# tests 8\n" ], [ "comment", "# tests 8\n" ], [ "line", "# skip 4\n" ], [ "comment", "# skip 4\n" ], [ "line", "# todo 4\n" ], [ "comment", "# todo 4\n" ], [ "line", "ok 109 test/test-assert-todo-skip.js\n" ], [ "assert", { "ok": true, "id": 109, "name": "test/test-assert-todo-skip.js" } ], [ "line", "# test-descriptions.js\n" ], [ "comment", "# test-descriptions.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# captures test descriptions\n" ], [ "comment", "# captures test descriptions\n" ], [ "line", "ok 110 exit cleanly\n" ], [ "assert", { "ok": true, "id": 110, "name": "exit cleanly" } ], [ "line", "ok 111 captures SKIP description\n" ], [ "assert", { "ok": true, "id": 111, "name": "captures SKIP description" } ], [ "line", "ok 112 skip summary is not from file\n" ], [ "assert", { "ok": true, "id": 112, "name": "skip summary is not from file" } ], [ "line", "ok 113 todo summary is not from file\n" ], [ "assert", { "ok": true, "id": 113, "name": "todo summary is not from file" } ], [ "line", "not ok 114 captures TODO description\n" ], [ "line", " ---\n" ], [ "line", " file: child_process.js\n" ], [ "line", " line: 707\n" ], [ "line", " column: 7\n" ], [ "line", " stack:\n" ], [ "line", " - |\n" ], [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n" ], [ "line", " - |\n" ], [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n" ], [ "line", " - |\n" ], [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n" ], [ "line", " - |\n" ], [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.exithandler (child_process.js:707:7)\n" ], [ "line", " - |\n" ], [ "line", " emitTwo (events.js:87:13)\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.emit (events.js:169:7)\n" ], [ "line", " - |\n" ], [ "line", " maybeClose (child_process.js:984:16)\n" ], [ "line", " - |\n" ], [ "line", " Socket. (child_process.js:1153:11)\n" ], [ "line", " - |\n" ], [ "line", " emitOne (events.js:77:13)\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 114, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Socket. (child_process.js:1153:11)\n", "emitOne (events.js:77:13)\n" ] } } ], [ "line", "Bail out! # captures TODO description\n" ], [ "bailout", "# captures TODO description" ], [ "complete", { "ok": false, "count": 114, "pass": 113, "fail": 1, "bailout": "# captures TODO description", "todo": 4, "skip": 4, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 114, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Socket. (child_process.js:1153:11)\n", "emitOne (events.js:77:13)\n" ] } } ] } ] ] tap-parser-7.0.0/test/fixtures/tap-tests--bail--preservewhite--omitversion.json000066400000000000000000001141411320135610000276160ustar00rootroot00000000000000[ [ "line", "# buffer_compare.js\n" ], [ "comment", "# buffer_compare.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# same buffers\n" ], [ "comment", "# same buffers\n" ], [ "line", "ok 1 should be equivalent\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equivalent" } ], [ "line", "# not same buffers\n" ], [ "comment", "# not same buffers\n" ], [ "line", "ok 2 should not be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should not be equivalent" } ], [ "line", "# tests 2\n" ], [ "comment", "# tests 2\n" ], [ "line", "# pass 2\n" ], [ "comment", "# pass 2\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 3 test/buffer_compare.js\n" ], [ "assert", { "ok": true, "id": 3, "name": "test/buffer_compare.js" } ], [ "line", "# common.js\n" ], [ "comment", "# common.js\n" ], [ "line", "ok 4 just setup, nothing relevant\n" ], [ "assert", { "ok": true, "id": 4, "name": "just setup, nothing relevant" } ], [ "line", "ok 5 test/common.js\n" ], [ "assert", { "ok": true, "id": 5, "name": "test/common.js" } ], [ "line", "# consumer.js\n" ], [ "comment", "# consumer.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# basic.tap\n" ], [ "comment", "# basic.tap\n" ], [ "line", "ok 6 should be equivalent\n" ], [ "assert", { "ok": true, "id": 6, "name": "should be equivalent" } ], [ "line", "# indent.tap\n" ], [ "comment", "# indent.tap\n" ], [ "line", "ok 7 should be equivalent\n" ], [ "assert", { "ok": true, "id": 7, "name": "should be equivalent" } ], [ "line", "# missing.tap\n" ], [ "comment", "# missing.tap\n" ], [ "line", "ok 8 should be equivalent\n" ], [ "assert", { "ok": true, "id": 8, "name": "should be equivalent" } ], [ "line", "# skip-all.tap\n" ], [ "comment", "# skip-all.tap\n" ], [ "line", "ok 9 should be equivalent\n" ], [ "assert", { "ok": true, "id": 9, "name": "should be equivalent" } ], [ "line", "# yamlish.tap\n" ], [ "comment", "# yamlish.tap\n" ], [ "line", "ok 10 should be equivalent\n" ], [ "assert", { "ok": true, "id": 10, "name": "should be equivalent" } ], [ "line", "# tests 5\n" ], [ "comment", "# tests 5\n" ], [ "line", "# pass 5\n" ], [ "comment", "# pass 5\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 11 test/consumer.js\n" ], [ "assert", { "ok": true, "id": 11, "name": "test/consumer.js" } ], [ "line", "# debug-test.js\n" ], [ "comment", "# debug-test.js\n" ], [ "line", "debug test\n" ], [ "extra", "debug test\n" ], [ "line", "t.plan=1\n" ], [ "extra", "t.plan=1\n" ], [ "line", "'Debugger listening on port 5858\\n'\n" ], [ "extra", "'Debugger listening on port 5858\\n'\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# debug test\n" ], [ "comment", "# debug test\n" ], [ "line", "ok 12 Should output debugger message\n" ], [ "assert", { "ok": true, "id": 12, "name": "Should output debugger message" } ], [ "line", "# tests 1\n" ], [ "comment", "# tests 1\n" ], [ "line", "# pass 1\n" ], [ "comment", "# pass 1\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 13 test/debug-test.js\n" ], [ "assert", { "ok": true, "id": 13, "name": "test/debug-test.js" } ], [ "line", "# deep-strict.js\n" ], [ "comment", "# deep-strict.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# strictDeepEquals shouldn't care about key order\n" ], [ "comment", "# strictDeepEquals shouldn't care about key order\n" ], [ "line", "ok 14 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 14, "name": "should be strictly equal" } ], [ "line", "# strictDeepEquals shouldn't care about key order recursively\n" ], [ "comment", "# strictDeepEquals shouldn't care about key order recursively\n" ], [ "line", "ok 15 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 15, "name": "should be strictly equal" } ], [ "line", "# strictDeepEquals shoudn't care about key order (but still might)\n" ], [ "comment", "# strictDeepEquals shoudn't care about key order (but still might)\n" ], [ "line", "ok 16 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 16, "name": "should be strictly equal" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 17 test/deep-strict.js\n" ], [ "assert", { "ok": true, "id": 17, "name": "test/deep-strict.js" } ], [ "line", "# deep.js\n" ], [ "comment", "# deep.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# deepEquals shouldn't care about key order and types\n" ], [ "comment", "# deepEquals shouldn't care about key order and types\n" ], [ "line", "ok 18 should be equivalent\n" ], [ "assert", { "ok": true, "id": 18, "name": "should be equivalent" } ], [ "line", "# deepEquals shouldn't care about key order recursively and types\n" ], [ "comment", "# deepEquals shouldn't care about key order recursively and types\n" ], [ "line", "ok 19 should be equivalent\n" ], [ "assert", { "ok": true, "id": 19, "name": "should be equivalent" } ], [ "line", "# deepEquals shoudn't care about key order (but still might) and types\n" ], [ "comment", "# deepEquals shoudn't care about key order (but still might) and types\n" ], [ "line", "ok 20 should be equivalent\n" ], [ "assert", { "ok": true, "id": 20, "name": "should be equivalent" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 21 test/deep.js\n" ], [ "assert", { "ok": true, "id": 21, "name": "test/deep.js" } ], [ "line", "# executed.sh\n" ], [ "comment", "# executed.sh\n" ], [ "line", "ok 22 File with executable bit should be executed\n" ], [ "assert", { "ok": true, "id": 22, "name": "File with executable bit should be executed" } ], [ "line", "ok 23 test/executed.sh\n" ], [ "assert", { "ok": true, "id": 23, "name": "test/executed.sh" } ], [ "line", "# exit-code.js\n" ], [ "comment", "# exit-code.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# exit code 1 when tap results show failure\n" ], [ "comment", "# exit code 1 when tap results show failure\n" ], [ "line", "# test exits 0, has failures\n" ], [ "comment", "# test exits 0, has failures\n" ], [ "line", "ok 24 should be equal\n" ], [ "assert", { "ok": true, "id": 24, "name": "should be equal" } ], [ "line", "ok 25 should be equal\n" ], [ "assert", { "ok": true, "id": 25, "name": "should be equal" } ], [ "line", "# test exits 1, has failures\n" ], [ "comment", "# test exits 1, has failures\n" ], [ "line", "ok 26 should be equal\n" ], [ "assert", { "ok": true, "id": 26, "name": "should be equal" } ], [ "line", "ok 27 should be equal\n" ], [ "assert", { "ok": true, "id": 27, "name": "should be equal" } ], [ "line", "# test exits 1, has no failures\n" ], [ "comment", "# test exits 1, has no failures\n" ], [ "line", "ok 28 should be equal\n" ], [ "assert", { "ok": true, "id": 28, "name": "should be equal" } ], [ "line", "ok 29 should be equal\n" ], [ "assert", { "ok": true, "id": 29, "name": "should be equal" } ], [ "line", "# successes exit 0\n" ], [ "comment", "# successes exit 0\n" ], [ "line", "# test that does nothing, but exits 0\n" ], [ "comment", "# test that does nothing, but exits 0\n" ], [ "line", "ok 30 should be equal\n" ], [ "assert", { "ok": true, "id": 30, "name": "should be equal" } ], [ "line", "ok 31 should be equal\n" ], [ "assert", { "ok": true, "id": 31, "name": "should be equal" } ], [ "line", "# test that succeeds, and exits 0\n" ], [ "comment", "# test that succeeds, and exits 0\n" ], [ "line", "ok 32 should be equal\n" ], [ "assert", { "ok": true, "id": 32, "name": "should be equal" } ], [ "line", "ok 33 should be equal\n" ], [ "assert", { "ok": true, "id": 33, "name": "should be equal" } ], [ "line", "# tests 10\n" ], [ "comment", "# tests 10\n" ], [ "line", "# pass 10\n" ], [ "comment", "# pass 10\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 34 test/exit-code.js\n" ], [ "assert", { "ok": true, "id": 34, "name": "test/exit-code.js" } ], [ "line", "# expose-gc-test.js\n" ], [ "comment", "# expose-gc-test.js\n" ], [ "line", "gc test\n" ], [ "extra", "gc test\n" ], [ "line", "t.plan=1\n" ], [ "extra", "t.plan=1\n" ], [ "line", "assert gc does not exist\n" ], [ "extra", "assert gc does not exist\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# gc test when the gc isn't there\n" ], [ "comment", "# gc test when the gc isn't there\n" ], [ "line", "gc test\n" ], [ "extra", "gc test\n" ], [ "line", "t.plan=2\n" ], [ "extra", "t.plan=2\n" ], [ "line", "gc test using --gc\n" ], [ "extra", "gc test using --gc\n" ], [ "line", "t.plan=1\n" ], [ "extra", "t.plan=1\n" ], [ "line", "assert gc exists\n" ], [ "extra", "assert gc exists\n" ], [ "line", "gc test using --expose-gc\n" ], [ "extra", "gc test using --expose-gc\n" ], [ "line", "t.plan=1\n" ], [ "extra", "t.plan=1\n" ], [ "line", "assert gc exists\n" ], [ "extra", "assert gc exists\n" ], [ "line", "ok 35 should be equal\n" ], [ "assert", { "ok": true, "id": 35, "name": "should be equal" } ], [ "line", "# gc test when the gc should be there\n" ], [ "comment", "# gc test when the gc should be there\n" ], [ "line", "# test for gc using --gc\n" ], [ "comment", "# test for gc using --gc\n" ], [ "line", "ok 36 should be equal\n" ], [ "assert", { "ok": true, "id": 36, "name": "should be equal" } ], [ "line", "# test for gc using --expose-gc\n" ], [ "comment", "# test for gc using --expose-gc\n" ], [ "line", "ok 37 should be equal\n" ], [ "assert", { "ok": true, "id": 37, "name": "should be equal" } ], [ "line", "# cleanup\n" ], [ "comment", "# cleanup\n" ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 38 test/expose-gc-test.js\n" ], [ "assert", { "ok": true, "id": 38, "name": "test/expose-gc-test.js" } ], [ "line", "# global-harness-async.js\n" ], [ "comment", "# global-harness-async.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# outer\n" ], [ "comment", "# outer\n" ], [ "line", "# inner 1\n" ], [ "comment", "# inner 1\n" ], [ "line", "ok 39 1-1\n" ], [ "assert", { "ok": true, "id": 39, "name": "1-1" } ], [ "line", "# inner 2\n" ], [ "comment", "# inner 2\n" ], [ "line", "ok 40 2-1\n" ], [ "assert", { "ok": true, "id": 40, "name": "2-1" } ], [ "line", "# inner 3\n" ], [ "comment", "# inner 3\n" ], [ "line", "ok 41 3-1\n" ], [ "assert", { "ok": true, "id": 41, "name": "3-1" } ], [ "line", "ok 42 test/global-harness-async.js\n" ], [ "assert", { "ok": true, "id": 42, "name": "test/global-harness-async.js" } ], [ "line", "# independent-timeouts.js\n" ], [ "comment", "# independent-timeouts.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# finishes in time\n" ], [ "comment", "# finishes in time\n" ], [ "line", "# finishes in time too\n" ], [ "comment", "# finishes in time too\n" ], [ "line", "# tests 0\n" ], [ "comment", "# tests 0\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 43 test/independent-timeouts.js\n" ], [ "assert", { "ok": true, "id": 43, "name": "test/independent-timeouts.js" } ], [ "line", "# isolated-conf-test.js\n" ], [ "comment", "# isolated-conf-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# one\n" ], [ "comment", "# one\n" ], [ "line", "ok 44 should be equal\n" ], [ "assert", { "ok": true, "id": 44, "name": "should be equal" } ], [ "line", "ok 45 should be equal\n" ], [ "assert", { "ok": true, "id": 45, "name": "should be equal" } ], [ "line", "# two\n" ], [ "comment", "# two\n" ], [ "line", "ok 46 should be equal\n" ], [ "assert", { "ok": true, "id": 46, "name": "should be equal" } ], [ "line", "ok 47 should be equal\n" ], [ "assert", { "ok": true, "id": 47, "name": "should be equal" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 48 test/isolated-conf-test.js\n" ], [ "assert", { "ok": true, "id": 48, "name": "test/isolated-conf-test.js" } ], [ "line", "# meta-test.js\n" ], [ "comment", "# meta-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# meta test\n" ], [ "comment", "# meta test\n" ], [ "line", "ok 49 sanity check\n" ], [ "assert", { "ok": true, "id": 49, "name": "sanity check" } ], [ "line", "ok 50 not ok\n" ], [ "assert", { "ok": true, "id": 50, "name": "not ok" } ], [ "line", "ok 51 total test count\n" ], [ "assert", { "ok": true, "id": 51, "name": "total test count" } ], [ "line", "ok 52 tests passed\n" ], [ "assert", { "ok": true, "id": 52, "name": "tests passed" } ], [ "line", "ok 53 tests failed\n" ], [ "assert", { "ok": true, "id": 53, "name": "tests failed" } ], [ "line", "ok 54 ok is boolean\n" ], [ "assert", { "ok": true, "id": 54, "name": "ok is boolean" } ], [ "line", "ok 55 skip is number\n" ], [ "assert", { "ok": true, "id": 55, "name": "skip is number" } ], [ "line", "ok 56 results isa Results\n" ], [ "assert", { "ok": true, "id": 56, "name": "results isa Results" } ], [ "line", "ok 57 test isa Test\n" ], [ "assert", { "ok": true, "id": 57, "name": "test isa Test" } ], [ "line", "ok 58 test isa Harness\n" ], [ "assert", { "ok": true, "id": 58, "name": "test isa Harness" } ], [ "line", "# tests 10\n" ], [ "comment", "# tests 10\n" ], [ "line", "# pass 10\n" ], [ "comment", "# pass 10\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 59 test/meta-test.js\n" ], [ "assert", { "ok": true, "id": 59, "name": "test/meta-test.js" } ], [ "line", "# nested-async.js\n" ], [ "comment", "# nested-async.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# Harness async test support\n" ], [ "comment", "# Harness async test support\n" ], [ "line", "ok 60 sync child A\n" ], [ "assert", { "ok": true, "id": 60, "name": "sync child A" } ], [ "line", "# sync child B\n" ], [ "comment", "# sync child B\n" ], [ "line", "# async grandchild A\n" ], [ "comment", "# async grandchild A\n" ], [ "line", "ok 61 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 61, "name": "(unnamed assert)" } ], [ "line", "# async grandchild B\n" ], [ "comment", "# async grandchild B\n" ], [ "line", "ok 62 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 62, "name": "(unnamed assert)" } ], [ "line", "# async child\n" ], [ "comment", "# async child\n" ], [ "line", "ok 63 sync grandchild in async child A\n" ], [ "assert", { "ok": true, "id": 63, "name": "sync grandchild in async child A" } ], [ "line", "# sync grandchild in async child B\n" ], [ "comment", "# sync grandchild in async child B\n" ], [ "line", "ok 64 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 64, "name": "(unnamed assert)" } ], [ "line", "# tests 5\n" ], [ "comment", "# tests 5\n" ], [ "line", "# pass 5\n" ], [ "comment", "# pass 5\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 65 test/nested-async.js\n" ], [ "assert", { "ok": true, "id": 65, "name": "test/nested-async.js" } ], [ "line", "# nested-test.js\n" ], [ "comment", "# nested-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# parent\n" ], [ "comment", "# parent\n" ], [ "line", "ok 66 p test\n" ], [ "assert", { "ok": true, "id": 66, "name": "p test" } ], [ "line", "# subtest\n" ], [ "comment", "# subtest\n" ], [ "line", "ok 67 ch test\n" ], [ "assert", { "ok": true, "id": 67, "name": "ch test" } ], [ "line", "# nested subtest\n" ], [ "comment", "# nested subtest\n" ], [ "line", "ok 68 grch test\n" ], [ "assert", { "ok": true, "id": 68, "name": "grch test" } ], [ "line", "# another subtest\n" ], [ "comment", "# another subtest\n" ], [ "line", "ok 69 ch test 2\n" ], [ "assert", { "ok": true, "id": 69, "name": "ch test 2" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 70 test/nested-test.js\n" ], [ "assert", { "ok": true, "id": 70, "name": "test/nested-test.js" } ], [ "line", "# non-tap-output.js\n" ], [ "comment", "# non-tap-output.js\n" ], [ "line", "# everything is fine\n" ], [ "comment", "# everything is fine\n" ], [ "line", "# there are no errors\n" ], [ "comment", "# there are no errors\n" ], [ "line", "# this output is not haiku.\n" ], [ "comment", "# this output is not haiku.\n" ], [ "line", "# is 8 ok?\n" ], [ "comment", "# is 8 ok?\n" ], [ "line", "ok 71 , 8 can stay.\n" ], [ "assert", { "ok": true, "id": 71, "name": ", 8 can stay." } ], [ "line", "# but: nevertheless, here we are\n" ], [ "comment", "# but: nevertheless, here we are\n" ], [ "line", "# this: is indented\n" ], [ "comment", "# this: is indented\n" ], [ "line", "# and: it\n" ], [ "comment", "# and: it\n" ], [ "line", "# might: ~\n" ], [ "comment", "# might: ~\n" ], [ "line", "# be: yaml?\n" ], [ "comment", "# be: yaml?\n" ], [ "line", "ok 72 might be confusing\n" ], [ "assert", { "ok": true, "id": 72, "name": "might be confusing" } ], [ "line", "ok 73 done now, exiting\n" ], [ "assert", { "ok": true, "id": 73, "name": "done now, exiting" } ], [ "line", "ok 74 test/non-tap-output.js\n" ], [ "assert", { "ok": true, "id": 74, "name": "test/non-tap-output.js" } ], [ "line", "# not-executed.sh\n" ], [ "comment", "# not-executed.sh\n" ], [ "line", "# output-childtest-description.js\n" ], [ "comment", "# output-childtest-description.js\n" ], [ "line", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\n" ], [ "comment", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# nested tests, parent and child pass\n" ], [ "comment", "# nested tests, parent and child pass\n" ], [ "line", "ok 75 outputs parent description\n" ], [ "assert", { "ok": true, "id": 75, "name": "outputs parent description" } ], [ "line", "ok 76 outputs child description\n" ], [ "assert", { "ok": true, "id": 76, "name": "outputs child description" } ], [ "line", "ok 77 outputs parent description before parent result\n" ], [ "assert", { "ok": true, "id": 77, "name": "outputs parent description before parent result" } ], [ "line", "ok 78 outputs parent result before child description\n" ], [ "assert", { "ok": true, "id": 78, "name": "outputs parent result before child description" } ], [ "line", "ok 79 outputs child description before child result\n" ], [ "assert", { "ok": true, "id": 79, "name": "outputs child description before child result" } ], [ "line", "# tests 5\n" ], [ "comment", "# tests 5\n" ], [ "line", "# pass 5\n" ], [ "comment", "# pass 5\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 80 test/output-childtest-description.js\n" ], [ "assert", { "ok": true, "id": 80, "name": "test/output-childtest-description.js" } ], [ "line", "# result-trap.js\n" ], [ "comment", "# result-trap.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trap result\n" ], [ "comment", "# trap result\n" ], [ "line", "ok 81 should be equal\n" ], [ "assert", { "ok": true, "id": 81, "name": "should be equal" } ], [ "line", "ok 82 should be equal\n" ], [ "assert", { "ok": true, "id": 82, "name": "should be equal" } ], [ "line", "# tests 2\n" ], [ "comment", "# tests 2\n" ], [ "line", "# pass 2\n" ], [ "comment", "# pass 2\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 83 test/result-trap.js\n" ], [ "assert", { "ok": true, "id": 83, "name": "test/result-trap.js" } ], [ "line", "# segv.js\n" ], [ "comment", "# segv.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# setup\n" ], [ "comment", "# setup\n" ], [ "line", "ok 84 compiled seg faulter\n" ], [ "assert", { "ok": true, "id": 84, "name": "compiled seg faulter" } ], [ "line", "# segv\n" ], [ "comment", "# segv\n" ], [ "line", "ok 85 should be equivalent\n" ], [ "assert", { "ok": true, "id": 85, "name": "should be equivalent" } ], [ "line", "ok 86 should be equivalent\n" ], [ "assert", { "ok": true, "id": 86, "name": "should be equivalent" } ], [ "line", "ok 87 should be equivalent\n" ], [ "assert", { "ok": true, "id": 87, "name": "should be equivalent" } ], [ "line", "ok 88 should be equivalent\n" ], [ "assert", { "ok": true, "id": 88, "name": "should be equivalent" } ], [ "line", "ok 89 should be equivalent\n" ], [ "assert", { "ok": true, "id": 89, "name": "should be equivalent" } ], [ "line", "ok 90 should be equal\n" ], [ "assert", { "ok": true, "id": 90, "name": "should be equal" } ], [ "line", "# cleanup\n" ], [ "comment", "# cleanup\n" ], [ "line", "ok 91 cleaned up\n" ], [ "assert", { "ok": true, "id": 91, "name": "cleaned up" } ], [ "line", "# tests 8\n" ], [ "comment", "# tests 8\n" ], [ "line", "# pass 8\n" ], [ "comment", "# pass 8\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 92 test/segv.js\n" ], [ "assert", { "ok": true, "id": 92, "name": "test/segv.js" } ], [ "line", "# simple-harness-test-with-plan.js\n" ], [ "comment", "# simple-harness-test-with-plan.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trivial success\n" ], [ "comment", "# trivial success\n" ], [ "line", "ok 93 it works\n" ], [ "assert", { "ok": true, "id": 93, "name": "it works" } ], [ "line", "# two tests\n" ], [ "comment", "# two tests\n" ], [ "line", "ok 94 math should work\n" ], [ "assert", { "ok": true, "id": 94, "name": "math should work" } ], [ "line", "ok 95 false should not be ok\n" ], [ "assert", { "ok": true, "id": 95, "name": "false should not be ok" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 96 test/simple-harness-test-with-plan.js\n" ], [ "assert", { "ok": true, "id": 96, "name": "test/simple-harness-test-with-plan.js" } ], [ "line", "# simple-harness-test.js\n" ], [ "comment", "# simple-harness-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trivial success\n" ], [ "comment", "# trivial success\n" ], [ "line", "ok 97 it works\n" ], [ "assert", { "ok": true, "id": 97, "name": "it works" } ], [ "line", "# two tests\n" ], [ "comment", "# two tests\n" ], [ "line", "ok 98 math should work\n" ], [ "assert", { "ok": true, "id": 98, "name": "math should work" } ], [ "line", "ok 99 false should not be ok\n" ], [ "assert", { "ok": true, "id": 99, "name": "false should not be ok" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 100 test/simple-harness-test.js\n" ], [ "assert", { "ok": true, "id": 100, "name": "test/simple-harness-test.js" } ], [ "line", "# test-assert-todo-skip.js\n" ], [ "comment", "# test-assert-todo-skip.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# not much\n" ], [ "comment", "# not much\n" ], [ "line", "ok 101 always passes # SKIP skip it good\n" ], [ "assert", { "ok": true, "id": 101, "skip": "skip it good", "name": "always passes" } ], [ "line", "ok 102 false # SKIP always fails\n" ], [ "assert", { "ok": true, "id": 102, "skip": "always fails", "name": "false" } ], [ "line", "ok 103 bonus # TODO remove todo directive\n" ], [ "assert", { "ok": true, "id": 103, "todo": "remove todo directive", "name": "bonus" } ], [ "line", "ok 104 expected # TODO implement a thing\n" ], [ "assert", { "ok": true, "id": 104, "todo": "implement a thing", "name": "expected" } ], [ "line", "ok 105 always passes without explanation # SKIP\n" ], [ "assert", { "ok": true, "id": 105, "skip": true, "name": "always passes without explanation" } ], [ "line", "ok 106 false without explanation # SKIP\n" ], [ "assert", { "ok": true, "id": 106, "skip": true, "name": "false without explanation" } ], [ "line", "ok 107 bonus without explanation # TODO\n" ], [ "assert", { "ok": true, "id": 107, "todo": true, "name": "bonus without explanation" } ], [ "line", "ok 108 expected without explanation # TODO\n" ], [ "assert", { "ok": true, "id": 108, "todo": true, "name": "expected without explanation" } ], [ "line", "# tests 8\n" ], [ "comment", "# tests 8\n" ], [ "line", "# skip 4\n" ], [ "comment", "# skip 4\n" ], [ "line", "# todo 4\n" ], [ "comment", "# todo 4\n" ], [ "line", "ok 109 test/test-assert-todo-skip.js\n" ], [ "assert", { "ok": true, "id": 109, "name": "test/test-assert-todo-skip.js" } ], [ "line", "# test-descriptions.js\n" ], [ "comment", "# test-descriptions.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# captures test descriptions\n" ], [ "comment", "# captures test descriptions\n" ], [ "line", "ok 110 exit cleanly\n" ], [ "assert", { "ok": true, "id": 110, "name": "exit cleanly" } ], [ "line", "ok 111 captures SKIP description\n" ], [ "assert", { "ok": true, "id": 111, "name": "captures SKIP description" } ], [ "line", "ok 112 skip summary is not from file\n" ], [ "assert", { "ok": true, "id": 112, "name": "skip summary is not from file" } ], [ "line", "ok 113 todo summary is not from file\n" ], [ "assert", { "ok": true, "id": 113, "name": "todo summary is not from file" } ], [ "line", "not ok 114 captures TODO description\n" ], [ "line", " ---\n" ], [ "line", " file: child_process.js\n" ], [ "line", " line: 707\n" ], [ "line", " column: 7\n" ], [ "line", " stack:\n" ], [ "line", " - |\n" ], [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n" ], [ "line", " - |\n" ], [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n" ], [ "line", " - |\n" ], [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n" ], [ "line", " - |\n" ], [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.exithandler (child_process.js:707:7)\n" ], [ "line", " - |\n" ], [ "line", " emitTwo (events.js:87:13)\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.emit (events.js:169:7)\n" ], [ "line", " - |\n" ], [ "line", " maybeClose (child_process.js:984:16)\n" ], [ "line", " - |\n" ], [ "line", " Socket. (child_process.js:1153:11)\n" ], [ "line", " - |\n" ], [ "line", " emitOne (events.js:77:13)\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 114, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Socket. (child_process.js:1153:11)\n", "emitOne (events.js:77:13)\n" ] } } ], [ "line", "Bail out! # captures TODO description\n" ], [ "bailout", "# captures TODO description" ], [ "complete", { "ok": false, "count": 114, "pass": 113, "fail": 1, "bailout": "# captures TODO description", "todo": 4, "skip": 4, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 114, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Socket. (child_process.js:1153:11)\n", "emitOne (events.js:77:13)\n" ] } } ] } ] ] tap-parser-7.0.0/test/fixtures/tap-tests--bail--preservewhite.json000066400000000000000000001142541320135610000251720ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# buffer_compare.js\n" ], [ "comment", "# buffer_compare.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# same buffers\n" ], [ "comment", "# same buffers\n" ], [ "line", "ok 1 should be equivalent\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equivalent" } ], [ "line", "# not same buffers\n" ], [ "comment", "# not same buffers\n" ], [ "line", "ok 2 should not be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should not be equivalent" } ], [ "line", "# tests 2\n" ], [ "comment", "# tests 2\n" ], [ "line", "# pass 2\n" ], [ "comment", "# pass 2\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 3 test/buffer_compare.js\n" ], [ "assert", { "ok": true, "id": 3, "name": "test/buffer_compare.js" } ], [ "line", "# common.js\n" ], [ "comment", "# common.js\n" ], [ "line", "ok 4 just setup, nothing relevant\n" ], [ "assert", { "ok": true, "id": 4, "name": "just setup, nothing relevant" } ], [ "line", "ok 5 test/common.js\n" ], [ "assert", { "ok": true, "id": 5, "name": "test/common.js" } ], [ "line", "# consumer.js\n" ], [ "comment", "# consumer.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# basic.tap\n" ], [ "comment", "# basic.tap\n" ], [ "line", "ok 6 should be equivalent\n" ], [ "assert", { "ok": true, "id": 6, "name": "should be equivalent" } ], [ "line", "# indent.tap\n" ], [ "comment", "# indent.tap\n" ], [ "line", "ok 7 should be equivalent\n" ], [ "assert", { "ok": true, "id": 7, "name": "should be equivalent" } ], [ "line", "# missing.tap\n" ], [ "comment", "# missing.tap\n" ], [ "line", "ok 8 should be equivalent\n" ], [ "assert", { "ok": true, "id": 8, "name": "should be equivalent" } ], [ "line", "# skip-all.tap\n" ], [ "comment", "# skip-all.tap\n" ], [ "line", "ok 9 should be equivalent\n" ], [ "assert", { "ok": true, "id": 9, "name": "should be equivalent" } ], [ "line", "# yamlish.tap\n" ], [ "comment", "# yamlish.tap\n" ], [ "line", "ok 10 should be equivalent\n" ], [ "assert", { "ok": true, "id": 10, "name": "should be equivalent" } ], [ "line", "# tests 5\n" ], [ "comment", "# tests 5\n" ], [ "line", "# pass 5\n" ], [ "comment", "# pass 5\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 11 test/consumer.js\n" ], [ "assert", { "ok": true, "id": 11, "name": "test/consumer.js" } ], [ "line", "# debug-test.js\n" ], [ "comment", "# debug-test.js\n" ], [ "line", "debug test\n" ], [ "extra", "debug test\n" ], [ "line", "t.plan=1\n" ], [ "extra", "t.plan=1\n" ], [ "line", "'Debugger listening on port 5858\\n'\n" ], [ "extra", "'Debugger listening on port 5858\\n'\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# debug test\n" ], [ "comment", "# debug test\n" ], [ "line", "ok 12 Should output debugger message\n" ], [ "assert", { "ok": true, "id": 12, "name": "Should output debugger message" } ], [ "line", "# tests 1\n" ], [ "comment", "# tests 1\n" ], [ "line", "# pass 1\n" ], [ "comment", "# pass 1\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 13 test/debug-test.js\n" ], [ "assert", { "ok": true, "id": 13, "name": "test/debug-test.js" } ], [ "line", "# deep-strict.js\n" ], [ "comment", "# deep-strict.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# strictDeepEquals shouldn't care about key order\n" ], [ "comment", "# strictDeepEquals shouldn't care about key order\n" ], [ "line", "ok 14 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 14, "name": "should be strictly equal" } ], [ "line", "# strictDeepEquals shouldn't care about key order recursively\n" ], [ "comment", "# strictDeepEquals shouldn't care about key order recursively\n" ], [ "line", "ok 15 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 15, "name": "should be strictly equal" } ], [ "line", "# strictDeepEquals shoudn't care about key order (but still might)\n" ], [ "comment", "# strictDeepEquals shoudn't care about key order (but still might)\n" ], [ "line", "ok 16 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 16, "name": "should be strictly equal" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 17 test/deep-strict.js\n" ], [ "assert", { "ok": true, "id": 17, "name": "test/deep-strict.js" } ], [ "line", "# deep.js\n" ], [ "comment", "# deep.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# deepEquals shouldn't care about key order and types\n" ], [ "comment", "# deepEquals shouldn't care about key order and types\n" ], [ "line", "ok 18 should be equivalent\n" ], [ "assert", { "ok": true, "id": 18, "name": "should be equivalent" } ], [ "line", "# deepEquals shouldn't care about key order recursively and types\n" ], [ "comment", "# deepEquals shouldn't care about key order recursively and types\n" ], [ "line", "ok 19 should be equivalent\n" ], [ "assert", { "ok": true, "id": 19, "name": "should be equivalent" } ], [ "line", "# deepEquals shoudn't care about key order (but still might) and types\n" ], [ "comment", "# deepEquals shoudn't care about key order (but still might) and types\n" ], [ "line", "ok 20 should be equivalent\n" ], [ "assert", { "ok": true, "id": 20, "name": "should be equivalent" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 21 test/deep.js\n" ], [ "assert", { "ok": true, "id": 21, "name": "test/deep.js" } ], [ "line", "# executed.sh\n" ], [ "comment", "# executed.sh\n" ], [ "line", "ok 22 File with executable bit should be executed\n" ], [ "assert", { "ok": true, "id": 22, "name": "File with executable bit should be executed" } ], [ "line", "ok 23 test/executed.sh\n" ], [ "assert", { "ok": true, "id": 23, "name": "test/executed.sh" } ], [ "line", "# exit-code.js\n" ], [ "comment", "# exit-code.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# exit code 1 when tap results show failure\n" ], [ "comment", "# exit code 1 when tap results show failure\n" ], [ "line", "# test exits 0, has failures\n" ], [ "comment", "# test exits 0, has failures\n" ], [ "line", "ok 24 should be equal\n" ], [ "assert", { "ok": true, "id": 24, "name": "should be equal" } ], [ "line", "ok 25 should be equal\n" ], [ "assert", { "ok": true, "id": 25, "name": "should be equal" } ], [ "line", "# test exits 1, has failures\n" ], [ "comment", "# test exits 1, has failures\n" ], [ "line", "ok 26 should be equal\n" ], [ "assert", { "ok": true, "id": 26, "name": "should be equal" } ], [ "line", "ok 27 should be equal\n" ], [ "assert", { "ok": true, "id": 27, "name": "should be equal" } ], [ "line", "# test exits 1, has no failures\n" ], [ "comment", "# test exits 1, has no failures\n" ], [ "line", "ok 28 should be equal\n" ], [ "assert", { "ok": true, "id": 28, "name": "should be equal" } ], [ "line", "ok 29 should be equal\n" ], [ "assert", { "ok": true, "id": 29, "name": "should be equal" } ], [ "line", "# successes exit 0\n" ], [ "comment", "# successes exit 0\n" ], [ "line", "# test that does nothing, but exits 0\n" ], [ "comment", "# test that does nothing, but exits 0\n" ], [ "line", "ok 30 should be equal\n" ], [ "assert", { "ok": true, "id": 30, "name": "should be equal" } ], [ "line", "ok 31 should be equal\n" ], [ "assert", { "ok": true, "id": 31, "name": "should be equal" } ], [ "line", "# test that succeeds, and exits 0\n" ], [ "comment", "# test that succeeds, and exits 0\n" ], [ "line", "ok 32 should be equal\n" ], [ "assert", { "ok": true, "id": 32, "name": "should be equal" } ], [ "line", "ok 33 should be equal\n" ], [ "assert", { "ok": true, "id": 33, "name": "should be equal" } ], [ "line", "# tests 10\n" ], [ "comment", "# tests 10\n" ], [ "line", "# pass 10\n" ], [ "comment", "# pass 10\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 34 test/exit-code.js\n" ], [ "assert", { "ok": true, "id": 34, "name": "test/exit-code.js" } ], [ "line", "# expose-gc-test.js\n" ], [ "comment", "# expose-gc-test.js\n" ], [ "line", "gc test\n" ], [ "extra", "gc test\n" ], [ "line", "t.plan=1\n" ], [ "extra", "t.plan=1\n" ], [ "line", "assert gc does not exist\n" ], [ "extra", "assert gc does not exist\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# gc test when the gc isn't there\n" ], [ "comment", "# gc test when the gc isn't there\n" ], [ "line", "gc test\n" ], [ "extra", "gc test\n" ], [ "line", "t.plan=2\n" ], [ "extra", "t.plan=2\n" ], [ "line", "gc test using --gc\n" ], [ "extra", "gc test using --gc\n" ], [ "line", "t.plan=1\n" ], [ "extra", "t.plan=1\n" ], [ "line", "assert gc exists\n" ], [ "extra", "assert gc exists\n" ], [ "line", "gc test using --expose-gc\n" ], [ "extra", "gc test using --expose-gc\n" ], [ "line", "t.plan=1\n" ], [ "extra", "t.plan=1\n" ], [ "line", "assert gc exists\n" ], [ "extra", "assert gc exists\n" ], [ "line", "ok 35 should be equal\n" ], [ "assert", { "ok": true, "id": 35, "name": "should be equal" } ], [ "line", "# gc test when the gc should be there\n" ], [ "comment", "# gc test when the gc should be there\n" ], [ "line", "# test for gc using --gc\n" ], [ "comment", "# test for gc using --gc\n" ], [ "line", "ok 36 should be equal\n" ], [ "assert", { "ok": true, "id": 36, "name": "should be equal" } ], [ "line", "# test for gc using --expose-gc\n" ], [ "comment", "# test for gc using --expose-gc\n" ], [ "line", "ok 37 should be equal\n" ], [ "assert", { "ok": true, "id": 37, "name": "should be equal" } ], [ "line", "# cleanup\n" ], [ "comment", "# cleanup\n" ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 38 test/expose-gc-test.js\n" ], [ "assert", { "ok": true, "id": 38, "name": "test/expose-gc-test.js" } ], [ "line", "# global-harness-async.js\n" ], [ "comment", "# global-harness-async.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# outer\n" ], [ "comment", "# outer\n" ], [ "line", "# inner 1\n" ], [ "comment", "# inner 1\n" ], [ "line", "ok 39 1-1\n" ], [ "assert", { "ok": true, "id": 39, "name": "1-1" } ], [ "line", "# inner 2\n" ], [ "comment", "# inner 2\n" ], [ "line", "ok 40 2-1\n" ], [ "assert", { "ok": true, "id": 40, "name": "2-1" } ], [ "line", "# inner 3\n" ], [ "comment", "# inner 3\n" ], [ "line", "ok 41 3-1\n" ], [ "assert", { "ok": true, "id": 41, "name": "3-1" } ], [ "line", "ok 42 test/global-harness-async.js\n" ], [ "assert", { "ok": true, "id": 42, "name": "test/global-harness-async.js" } ], [ "line", "# independent-timeouts.js\n" ], [ "comment", "# independent-timeouts.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# finishes in time\n" ], [ "comment", "# finishes in time\n" ], [ "line", "# finishes in time too\n" ], [ "comment", "# finishes in time too\n" ], [ "line", "# tests 0\n" ], [ "comment", "# tests 0\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 43 test/independent-timeouts.js\n" ], [ "assert", { "ok": true, "id": 43, "name": "test/independent-timeouts.js" } ], [ "line", "# isolated-conf-test.js\n" ], [ "comment", "# isolated-conf-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# one\n" ], [ "comment", "# one\n" ], [ "line", "ok 44 should be equal\n" ], [ "assert", { "ok": true, "id": 44, "name": "should be equal" } ], [ "line", "ok 45 should be equal\n" ], [ "assert", { "ok": true, "id": 45, "name": "should be equal" } ], [ "line", "# two\n" ], [ "comment", "# two\n" ], [ "line", "ok 46 should be equal\n" ], [ "assert", { "ok": true, "id": 46, "name": "should be equal" } ], [ "line", "ok 47 should be equal\n" ], [ "assert", { "ok": true, "id": 47, "name": "should be equal" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 48 test/isolated-conf-test.js\n" ], [ "assert", { "ok": true, "id": 48, "name": "test/isolated-conf-test.js" } ], [ "line", "# meta-test.js\n" ], [ "comment", "# meta-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# meta test\n" ], [ "comment", "# meta test\n" ], [ "line", "ok 49 sanity check\n" ], [ "assert", { "ok": true, "id": 49, "name": "sanity check" } ], [ "line", "ok 50 not ok\n" ], [ "assert", { "ok": true, "id": 50, "name": "not ok" } ], [ "line", "ok 51 total test count\n" ], [ "assert", { "ok": true, "id": 51, "name": "total test count" } ], [ "line", "ok 52 tests passed\n" ], [ "assert", { "ok": true, "id": 52, "name": "tests passed" } ], [ "line", "ok 53 tests failed\n" ], [ "assert", { "ok": true, "id": 53, "name": "tests failed" } ], [ "line", "ok 54 ok is boolean\n" ], [ "assert", { "ok": true, "id": 54, "name": "ok is boolean" } ], [ "line", "ok 55 skip is number\n" ], [ "assert", { "ok": true, "id": 55, "name": "skip is number" } ], [ "line", "ok 56 results isa Results\n" ], [ "assert", { "ok": true, "id": 56, "name": "results isa Results" } ], [ "line", "ok 57 test isa Test\n" ], [ "assert", { "ok": true, "id": 57, "name": "test isa Test" } ], [ "line", "ok 58 test isa Harness\n" ], [ "assert", { "ok": true, "id": 58, "name": "test isa Harness" } ], [ "line", "# tests 10\n" ], [ "comment", "# tests 10\n" ], [ "line", "# pass 10\n" ], [ "comment", "# pass 10\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 59 test/meta-test.js\n" ], [ "assert", { "ok": true, "id": 59, "name": "test/meta-test.js" } ], [ "line", "# nested-async.js\n" ], [ "comment", "# nested-async.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# Harness async test support\n" ], [ "comment", "# Harness async test support\n" ], [ "line", "ok 60 sync child A\n" ], [ "assert", { "ok": true, "id": 60, "name": "sync child A" } ], [ "line", "# sync child B\n" ], [ "comment", "# sync child B\n" ], [ "line", "# async grandchild A\n" ], [ "comment", "# async grandchild A\n" ], [ "line", "ok 61 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 61, "name": "(unnamed assert)" } ], [ "line", "# async grandchild B\n" ], [ "comment", "# async grandchild B\n" ], [ "line", "ok 62 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 62, "name": "(unnamed assert)" } ], [ "line", "# async child\n" ], [ "comment", "# async child\n" ], [ "line", "ok 63 sync grandchild in async child A\n" ], [ "assert", { "ok": true, "id": 63, "name": "sync grandchild in async child A" } ], [ "line", "# sync grandchild in async child B\n" ], [ "comment", "# sync grandchild in async child B\n" ], [ "line", "ok 64 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 64, "name": "(unnamed assert)" } ], [ "line", "# tests 5\n" ], [ "comment", "# tests 5\n" ], [ "line", "# pass 5\n" ], [ "comment", "# pass 5\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 65 test/nested-async.js\n" ], [ "assert", { "ok": true, "id": 65, "name": "test/nested-async.js" } ], [ "line", "# nested-test.js\n" ], [ "comment", "# nested-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# parent\n" ], [ "comment", "# parent\n" ], [ "line", "ok 66 p test\n" ], [ "assert", { "ok": true, "id": 66, "name": "p test" } ], [ "line", "# subtest\n" ], [ "comment", "# subtest\n" ], [ "line", "ok 67 ch test\n" ], [ "assert", { "ok": true, "id": 67, "name": "ch test" } ], [ "line", "# nested subtest\n" ], [ "comment", "# nested subtest\n" ], [ "line", "ok 68 grch test\n" ], [ "assert", { "ok": true, "id": 68, "name": "grch test" } ], [ "line", "# another subtest\n" ], [ "comment", "# another subtest\n" ], [ "line", "ok 69 ch test 2\n" ], [ "assert", { "ok": true, "id": 69, "name": "ch test 2" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 70 test/nested-test.js\n" ], [ "assert", { "ok": true, "id": 70, "name": "test/nested-test.js" } ], [ "line", "# non-tap-output.js\n" ], [ "comment", "# non-tap-output.js\n" ], [ "line", "# everything is fine\n" ], [ "comment", "# everything is fine\n" ], [ "line", "# there are no errors\n" ], [ "comment", "# there are no errors\n" ], [ "line", "# this output is not haiku.\n" ], [ "comment", "# this output is not haiku.\n" ], [ "line", "# is 8 ok?\n" ], [ "comment", "# is 8 ok?\n" ], [ "line", "ok 71 , 8 can stay.\n" ], [ "assert", { "ok": true, "id": 71, "name": ", 8 can stay." } ], [ "line", "# but: nevertheless, here we are\n" ], [ "comment", "# but: nevertheless, here we are\n" ], [ "line", "# this: is indented\n" ], [ "comment", "# this: is indented\n" ], [ "line", "# and: it\n" ], [ "comment", "# and: it\n" ], [ "line", "# might: ~\n" ], [ "comment", "# might: ~\n" ], [ "line", "# be: yaml?\n" ], [ "comment", "# be: yaml?\n" ], [ "line", "ok 72 might be confusing\n" ], [ "assert", { "ok": true, "id": 72, "name": "might be confusing" } ], [ "line", "ok 73 done now, exiting\n" ], [ "assert", { "ok": true, "id": 73, "name": "done now, exiting" } ], [ "line", "ok 74 test/non-tap-output.js\n" ], [ "assert", { "ok": true, "id": 74, "name": "test/non-tap-output.js" } ], [ "line", "# not-executed.sh\n" ], [ "comment", "# not-executed.sh\n" ], [ "line", "# output-childtest-description.js\n" ], [ "comment", "# output-childtest-description.js\n" ], [ "line", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\n" ], [ "comment", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# nested tests, parent and child pass\n" ], [ "comment", "# nested tests, parent and child pass\n" ], [ "line", "ok 75 outputs parent description\n" ], [ "assert", { "ok": true, "id": 75, "name": "outputs parent description" } ], [ "line", "ok 76 outputs child description\n" ], [ "assert", { "ok": true, "id": 76, "name": "outputs child description" } ], [ "line", "ok 77 outputs parent description before parent result\n" ], [ "assert", { "ok": true, "id": 77, "name": "outputs parent description before parent result" } ], [ "line", "ok 78 outputs parent result before child description\n" ], [ "assert", { "ok": true, "id": 78, "name": "outputs parent result before child description" } ], [ "line", "ok 79 outputs child description before child result\n" ], [ "assert", { "ok": true, "id": 79, "name": "outputs child description before child result" } ], [ "line", "# tests 5\n" ], [ "comment", "# tests 5\n" ], [ "line", "# pass 5\n" ], [ "comment", "# pass 5\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 80 test/output-childtest-description.js\n" ], [ "assert", { "ok": true, "id": 80, "name": "test/output-childtest-description.js" } ], [ "line", "# result-trap.js\n" ], [ "comment", "# result-trap.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trap result\n" ], [ "comment", "# trap result\n" ], [ "line", "ok 81 should be equal\n" ], [ "assert", { "ok": true, "id": 81, "name": "should be equal" } ], [ "line", "ok 82 should be equal\n" ], [ "assert", { "ok": true, "id": 82, "name": "should be equal" } ], [ "line", "# tests 2\n" ], [ "comment", "# tests 2\n" ], [ "line", "# pass 2\n" ], [ "comment", "# pass 2\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 83 test/result-trap.js\n" ], [ "assert", { "ok": true, "id": 83, "name": "test/result-trap.js" } ], [ "line", "# segv.js\n" ], [ "comment", "# segv.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# setup\n" ], [ "comment", "# setup\n" ], [ "line", "ok 84 compiled seg faulter\n" ], [ "assert", { "ok": true, "id": 84, "name": "compiled seg faulter" } ], [ "line", "# segv\n" ], [ "comment", "# segv\n" ], [ "line", "ok 85 should be equivalent\n" ], [ "assert", { "ok": true, "id": 85, "name": "should be equivalent" } ], [ "line", "ok 86 should be equivalent\n" ], [ "assert", { "ok": true, "id": 86, "name": "should be equivalent" } ], [ "line", "ok 87 should be equivalent\n" ], [ "assert", { "ok": true, "id": 87, "name": "should be equivalent" } ], [ "line", "ok 88 should be equivalent\n" ], [ "assert", { "ok": true, "id": 88, "name": "should be equivalent" } ], [ "line", "ok 89 should be equivalent\n" ], [ "assert", { "ok": true, "id": 89, "name": "should be equivalent" } ], [ "line", "ok 90 should be equal\n" ], [ "assert", { "ok": true, "id": 90, "name": "should be equal" } ], [ "line", "# cleanup\n" ], [ "comment", "# cleanup\n" ], [ "line", "ok 91 cleaned up\n" ], [ "assert", { "ok": true, "id": 91, "name": "cleaned up" } ], [ "line", "# tests 8\n" ], [ "comment", "# tests 8\n" ], [ "line", "# pass 8\n" ], [ "comment", "# pass 8\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 92 test/segv.js\n" ], [ "assert", { "ok": true, "id": 92, "name": "test/segv.js" } ], [ "line", "# simple-harness-test-with-plan.js\n" ], [ "comment", "# simple-harness-test-with-plan.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trivial success\n" ], [ "comment", "# trivial success\n" ], [ "line", "ok 93 it works\n" ], [ "assert", { "ok": true, "id": 93, "name": "it works" } ], [ "line", "# two tests\n" ], [ "comment", "# two tests\n" ], [ "line", "ok 94 math should work\n" ], [ "assert", { "ok": true, "id": 94, "name": "math should work" } ], [ "line", "ok 95 false should not be ok\n" ], [ "assert", { "ok": true, "id": 95, "name": "false should not be ok" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 96 test/simple-harness-test-with-plan.js\n" ], [ "assert", { "ok": true, "id": 96, "name": "test/simple-harness-test-with-plan.js" } ], [ "line", "# simple-harness-test.js\n" ], [ "comment", "# simple-harness-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trivial success\n" ], [ "comment", "# trivial success\n" ], [ "line", "ok 97 it works\n" ], [ "assert", { "ok": true, "id": 97, "name": "it works" } ], [ "line", "# two tests\n" ], [ "comment", "# two tests\n" ], [ "line", "ok 98 math should work\n" ], [ "assert", { "ok": true, "id": 98, "name": "math should work" } ], [ "line", "ok 99 false should not be ok\n" ], [ "assert", { "ok": true, "id": 99, "name": "false should not be ok" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 100 test/simple-harness-test.js\n" ], [ "assert", { "ok": true, "id": 100, "name": "test/simple-harness-test.js" } ], [ "line", "# test-assert-todo-skip.js\n" ], [ "comment", "# test-assert-todo-skip.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# not much\n" ], [ "comment", "# not much\n" ], [ "line", "ok 101 always passes # SKIP skip it good\n" ], [ "assert", { "ok": true, "id": 101, "skip": "skip it good", "name": "always passes" } ], [ "line", "ok 102 false # SKIP always fails\n" ], [ "assert", { "ok": true, "id": 102, "skip": "always fails", "name": "false" } ], [ "line", "ok 103 bonus # TODO remove todo directive\n" ], [ "assert", { "ok": true, "id": 103, "todo": "remove todo directive", "name": "bonus" } ], [ "line", "ok 104 expected # TODO implement a thing\n" ], [ "assert", { "ok": true, "id": 104, "todo": "implement a thing", "name": "expected" } ], [ "line", "ok 105 always passes without explanation # SKIP\n" ], [ "assert", { "ok": true, "id": 105, "skip": true, "name": "always passes without explanation" } ], [ "line", "ok 106 false without explanation # SKIP\n" ], [ "assert", { "ok": true, "id": 106, "skip": true, "name": "false without explanation" } ], [ "line", "ok 107 bonus without explanation # TODO\n" ], [ "assert", { "ok": true, "id": 107, "todo": true, "name": "bonus without explanation" } ], [ "line", "ok 108 expected without explanation # TODO\n" ], [ "assert", { "ok": true, "id": 108, "todo": true, "name": "expected without explanation" } ], [ "line", "# tests 8\n" ], [ "comment", "# tests 8\n" ], [ "line", "# skip 4\n" ], [ "comment", "# skip 4\n" ], [ "line", "# todo 4\n" ], [ "comment", "# todo 4\n" ], [ "line", "ok 109 test/test-assert-todo-skip.js\n" ], [ "assert", { "ok": true, "id": 109, "name": "test/test-assert-todo-skip.js" } ], [ "line", "# test-descriptions.js\n" ], [ "comment", "# test-descriptions.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# captures test descriptions\n" ], [ "comment", "# captures test descriptions\n" ], [ "line", "ok 110 exit cleanly\n" ], [ "assert", { "ok": true, "id": 110, "name": "exit cleanly" } ], [ "line", "ok 111 captures SKIP description\n" ], [ "assert", { "ok": true, "id": 111, "name": "captures SKIP description" } ], [ "line", "ok 112 skip summary is not from file\n" ], [ "assert", { "ok": true, "id": 112, "name": "skip summary is not from file" } ], [ "line", "ok 113 todo summary is not from file\n" ], [ "assert", { "ok": true, "id": 113, "name": "todo summary is not from file" } ], [ "line", "not ok 114 captures TODO description\n" ], [ "line", " ---\n" ], [ "line", " file: child_process.js\n" ], [ "line", " line: 707\n" ], [ "line", " column: 7\n" ], [ "line", " stack:\n" ], [ "line", " - |\n" ], [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n" ], [ "line", " - |\n" ], [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n" ], [ "line", " - |\n" ], [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n" ], [ "line", " - |\n" ], [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.exithandler (child_process.js:707:7)\n" ], [ "line", " - |\n" ], [ "line", " emitTwo (events.js:87:13)\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.emit (events.js:169:7)\n" ], [ "line", " - |\n" ], [ "line", " maybeClose (child_process.js:984:16)\n" ], [ "line", " - |\n" ], [ "line", " Socket. (child_process.js:1153:11)\n" ], [ "line", " - |\n" ], [ "line", " emitOne (events.js:77:13)\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 114, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Socket. (child_process.js:1153:11)\n", "emitOne (events.js:77:13)\n" ] } } ], [ "line", "Bail out! # captures TODO description\n" ], [ "bailout", "# captures TODO description" ], [ "complete", { "ok": false, "count": 114, "pass": 113, "fail": 1, "bailout": "# captures TODO description", "todo": 4, "skip": 4, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 114, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Socket. (child_process.js:1153:11)\n", "emitOne (events.js:77:13)\n" ] } } ] } ] ] tap-parser-7.0.0/test/fixtures/tap-tests--bail.json000066400000000000000000001142541320135610000222230ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# buffer_compare.js\n" ], [ "comment", "# buffer_compare.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# same buffers\n" ], [ "comment", "# same buffers\n" ], [ "line", "ok 1 should be equivalent\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equivalent" } ], [ "line", "# not same buffers\n" ], [ "comment", "# not same buffers\n" ], [ "line", "ok 2 should not be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should not be equivalent" } ], [ "line", "# tests 2\n" ], [ "comment", "# tests 2\n" ], [ "line", "# pass 2\n" ], [ "comment", "# pass 2\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 3 test/buffer_compare.js\n" ], [ "assert", { "ok": true, "id": 3, "name": "test/buffer_compare.js" } ], [ "line", "# common.js\n" ], [ "comment", "# common.js\n" ], [ "line", "ok 4 just setup, nothing relevant\n" ], [ "assert", { "ok": true, "id": 4, "name": "just setup, nothing relevant" } ], [ "line", "ok 5 test/common.js\n" ], [ "assert", { "ok": true, "id": 5, "name": "test/common.js" } ], [ "line", "# consumer.js\n" ], [ "comment", "# consumer.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# basic.tap\n" ], [ "comment", "# basic.tap\n" ], [ "line", "ok 6 should be equivalent\n" ], [ "assert", { "ok": true, "id": 6, "name": "should be equivalent" } ], [ "line", "# indent.tap\n" ], [ "comment", "# indent.tap\n" ], [ "line", "ok 7 should be equivalent\n" ], [ "assert", { "ok": true, "id": 7, "name": "should be equivalent" } ], [ "line", "# missing.tap\n" ], [ "comment", "# missing.tap\n" ], [ "line", "ok 8 should be equivalent\n" ], [ "assert", { "ok": true, "id": 8, "name": "should be equivalent" } ], [ "line", "# skip-all.tap\n" ], [ "comment", "# skip-all.tap\n" ], [ "line", "ok 9 should be equivalent\n" ], [ "assert", { "ok": true, "id": 9, "name": "should be equivalent" } ], [ "line", "# yamlish.tap\n" ], [ "comment", "# yamlish.tap\n" ], [ "line", "ok 10 should be equivalent\n" ], [ "assert", { "ok": true, "id": 10, "name": "should be equivalent" } ], [ "line", "# tests 5\n" ], [ "comment", "# tests 5\n" ], [ "line", "# pass 5\n" ], [ "comment", "# pass 5\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 11 test/consumer.js\n" ], [ "assert", { "ok": true, "id": 11, "name": "test/consumer.js" } ], [ "line", "# debug-test.js\n" ], [ "comment", "# debug-test.js\n" ], [ "line", "debug test\n" ], [ "extra", "debug test\n" ], [ "line", "t.plan=1\n" ], [ "extra", "t.plan=1\n" ], [ "line", "'Debugger listening on port 5858\\n'\n" ], [ "extra", "'Debugger listening on port 5858\\n'\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# debug test\n" ], [ "comment", "# debug test\n" ], [ "line", "ok 12 Should output debugger message\n" ], [ "assert", { "ok": true, "id": 12, "name": "Should output debugger message" } ], [ "line", "# tests 1\n" ], [ "comment", "# tests 1\n" ], [ "line", "# pass 1\n" ], [ "comment", "# pass 1\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 13 test/debug-test.js\n" ], [ "assert", { "ok": true, "id": 13, "name": "test/debug-test.js" } ], [ "line", "# deep-strict.js\n" ], [ "comment", "# deep-strict.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# strictDeepEquals shouldn't care about key order\n" ], [ "comment", "# strictDeepEquals shouldn't care about key order\n" ], [ "line", "ok 14 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 14, "name": "should be strictly equal" } ], [ "line", "# strictDeepEquals shouldn't care about key order recursively\n" ], [ "comment", "# strictDeepEquals shouldn't care about key order recursively\n" ], [ "line", "ok 15 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 15, "name": "should be strictly equal" } ], [ "line", "# strictDeepEquals shoudn't care about key order (but still might)\n" ], [ "comment", "# strictDeepEquals shoudn't care about key order (but still might)\n" ], [ "line", "ok 16 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 16, "name": "should be strictly equal" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 17 test/deep-strict.js\n" ], [ "assert", { "ok": true, "id": 17, "name": "test/deep-strict.js" } ], [ "line", "# deep.js\n" ], [ "comment", "# deep.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# deepEquals shouldn't care about key order and types\n" ], [ "comment", "# deepEquals shouldn't care about key order and types\n" ], [ "line", "ok 18 should be equivalent\n" ], [ "assert", { "ok": true, "id": 18, "name": "should be equivalent" } ], [ "line", "# deepEquals shouldn't care about key order recursively and types\n" ], [ "comment", "# deepEquals shouldn't care about key order recursively and types\n" ], [ "line", "ok 19 should be equivalent\n" ], [ "assert", { "ok": true, "id": 19, "name": "should be equivalent" } ], [ "line", "# deepEquals shoudn't care about key order (but still might) and types\n" ], [ "comment", "# deepEquals shoudn't care about key order (but still might) and types\n" ], [ "line", "ok 20 should be equivalent\n" ], [ "assert", { "ok": true, "id": 20, "name": "should be equivalent" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 21 test/deep.js\n" ], [ "assert", { "ok": true, "id": 21, "name": "test/deep.js" } ], [ "line", "# executed.sh\n" ], [ "comment", "# executed.sh\n" ], [ "line", "ok 22 File with executable bit should be executed\n" ], [ "assert", { "ok": true, "id": 22, "name": "File with executable bit should be executed" } ], [ "line", "ok 23 test/executed.sh\n" ], [ "assert", { "ok": true, "id": 23, "name": "test/executed.sh" } ], [ "line", "# exit-code.js\n" ], [ "comment", "# exit-code.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# exit code 1 when tap results show failure\n" ], [ "comment", "# exit code 1 when tap results show failure\n" ], [ "line", "# test exits 0, has failures\n" ], [ "comment", "# test exits 0, has failures\n" ], [ "line", "ok 24 should be equal\n" ], [ "assert", { "ok": true, "id": 24, "name": "should be equal" } ], [ "line", "ok 25 should be equal\n" ], [ "assert", { "ok": true, "id": 25, "name": "should be equal" } ], [ "line", "# test exits 1, has failures\n" ], [ "comment", "# test exits 1, has failures\n" ], [ "line", "ok 26 should be equal\n" ], [ "assert", { "ok": true, "id": 26, "name": "should be equal" } ], [ "line", "ok 27 should be equal\n" ], [ "assert", { "ok": true, "id": 27, "name": "should be equal" } ], [ "line", "# test exits 1, has no failures\n" ], [ "comment", "# test exits 1, has no failures\n" ], [ "line", "ok 28 should be equal\n" ], [ "assert", { "ok": true, "id": 28, "name": "should be equal" } ], [ "line", "ok 29 should be equal\n" ], [ "assert", { "ok": true, "id": 29, "name": "should be equal" } ], [ "line", "# successes exit 0\n" ], [ "comment", "# successes exit 0\n" ], [ "line", "# test that does nothing, but exits 0\n" ], [ "comment", "# test that does nothing, but exits 0\n" ], [ "line", "ok 30 should be equal\n" ], [ "assert", { "ok": true, "id": 30, "name": "should be equal" } ], [ "line", "ok 31 should be equal\n" ], [ "assert", { "ok": true, "id": 31, "name": "should be equal" } ], [ "line", "# test that succeeds, and exits 0\n" ], [ "comment", "# test that succeeds, and exits 0\n" ], [ "line", "ok 32 should be equal\n" ], [ "assert", { "ok": true, "id": 32, "name": "should be equal" } ], [ "line", "ok 33 should be equal\n" ], [ "assert", { "ok": true, "id": 33, "name": "should be equal" } ], [ "line", "# tests 10\n" ], [ "comment", "# tests 10\n" ], [ "line", "# pass 10\n" ], [ "comment", "# pass 10\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 34 test/exit-code.js\n" ], [ "assert", { "ok": true, "id": 34, "name": "test/exit-code.js" } ], [ "line", "# expose-gc-test.js\n" ], [ "comment", "# expose-gc-test.js\n" ], [ "line", "gc test\n" ], [ "extra", "gc test\n" ], [ "line", "t.plan=1\n" ], [ "extra", "t.plan=1\n" ], [ "line", "assert gc does not exist\n" ], [ "extra", "assert gc does not exist\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# gc test when the gc isn't there\n" ], [ "comment", "# gc test when the gc isn't there\n" ], [ "line", "gc test\n" ], [ "extra", "gc test\n" ], [ "line", "t.plan=2\n" ], [ "extra", "t.plan=2\n" ], [ "line", "gc test using --gc\n" ], [ "extra", "gc test using --gc\n" ], [ "line", "t.plan=1\n" ], [ "extra", "t.plan=1\n" ], [ "line", "assert gc exists\n" ], [ "extra", "assert gc exists\n" ], [ "line", "gc test using --expose-gc\n" ], [ "extra", "gc test using --expose-gc\n" ], [ "line", "t.plan=1\n" ], [ "extra", "t.plan=1\n" ], [ "line", "assert gc exists\n" ], [ "extra", "assert gc exists\n" ], [ "line", "ok 35 should be equal\n" ], [ "assert", { "ok": true, "id": 35, "name": "should be equal" } ], [ "line", "# gc test when the gc should be there\n" ], [ "comment", "# gc test when the gc should be there\n" ], [ "line", "# test for gc using --gc\n" ], [ "comment", "# test for gc using --gc\n" ], [ "line", "ok 36 should be equal\n" ], [ "assert", { "ok": true, "id": 36, "name": "should be equal" } ], [ "line", "# test for gc using --expose-gc\n" ], [ "comment", "# test for gc using --expose-gc\n" ], [ "line", "ok 37 should be equal\n" ], [ "assert", { "ok": true, "id": 37, "name": "should be equal" } ], [ "line", "# cleanup\n" ], [ "comment", "# cleanup\n" ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 38 test/expose-gc-test.js\n" ], [ "assert", { "ok": true, "id": 38, "name": "test/expose-gc-test.js" } ], [ "line", "# global-harness-async.js\n" ], [ "comment", "# global-harness-async.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# outer\n" ], [ "comment", "# outer\n" ], [ "line", "# inner 1\n" ], [ "comment", "# inner 1\n" ], [ "line", "ok 39 1-1\n" ], [ "assert", { "ok": true, "id": 39, "name": "1-1" } ], [ "line", "# inner 2\n" ], [ "comment", "# inner 2\n" ], [ "line", "ok 40 2-1\n" ], [ "assert", { "ok": true, "id": 40, "name": "2-1" } ], [ "line", "# inner 3\n" ], [ "comment", "# inner 3\n" ], [ "line", "ok 41 3-1\n" ], [ "assert", { "ok": true, "id": 41, "name": "3-1" } ], [ "line", "ok 42 test/global-harness-async.js\n" ], [ "assert", { "ok": true, "id": 42, "name": "test/global-harness-async.js" } ], [ "line", "# independent-timeouts.js\n" ], [ "comment", "# independent-timeouts.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# finishes in time\n" ], [ "comment", "# finishes in time\n" ], [ "line", "# finishes in time too\n" ], [ "comment", "# finishes in time too\n" ], [ "line", "# tests 0\n" ], [ "comment", "# tests 0\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 43 test/independent-timeouts.js\n" ], [ "assert", { "ok": true, "id": 43, "name": "test/independent-timeouts.js" } ], [ "line", "# isolated-conf-test.js\n" ], [ "comment", "# isolated-conf-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# one\n" ], [ "comment", "# one\n" ], [ "line", "ok 44 should be equal\n" ], [ "assert", { "ok": true, "id": 44, "name": "should be equal" } ], [ "line", "ok 45 should be equal\n" ], [ "assert", { "ok": true, "id": 45, "name": "should be equal" } ], [ "line", "# two\n" ], [ "comment", "# two\n" ], [ "line", "ok 46 should be equal\n" ], [ "assert", { "ok": true, "id": 46, "name": "should be equal" } ], [ "line", "ok 47 should be equal\n" ], [ "assert", { "ok": true, "id": 47, "name": "should be equal" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 48 test/isolated-conf-test.js\n" ], [ "assert", { "ok": true, "id": 48, "name": "test/isolated-conf-test.js" } ], [ "line", "# meta-test.js\n" ], [ "comment", "# meta-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# meta test\n" ], [ "comment", "# meta test\n" ], [ "line", "ok 49 sanity check\n" ], [ "assert", { "ok": true, "id": 49, "name": "sanity check" } ], [ "line", "ok 50 not ok\n" ], [ "assert", { "ok": true, "id": 50, "name": "not ok" } ], [ "line", "ok 51 total test count\n" ], [ "assert", { "ok": true, "id": 51, "name": "total test count" } ], [ "line", "ok 52 tests passed\n" ], [ "assert", { "ok": true, "id": 52, "name": "tests passed" } ], [ "line", "ok 53 tests failed\n" ], [ "assert", { "ok": true, "id": 53, "name": "tests failed" } ], [ "line", "ok 54 ok is boolean\n" ], [ "assert", { "ok": true, "id": 54, "name": "ok is boolean" } ], [ "line", "ok 55 skip is number\n" ], [ "assert", { "ok": true, "id": 55, "name": "skip is number" } ], [ "line", "ok 56 results isa Results\n" ], [ "assert", { "ok": true, "id": 56, "name": "results isa Results" } ], [ "line", "ok 57 test isa Test\n" ], [ "assert", { "ok": true, "id": 57, "name": "test isa Test" } ], [ "line", "ok 58 test isa Harness\n" ], [ "assert", { "ok": true, "id": 58, "name": "test isa Harness" } ], [ "line", "# tests 10\n" ], [ "comment", "# tests 10\n" ], [ "line", "# pass 10\n" ], [ "comment", "# pass 10\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 59 test/meta-test.js\n" ], [ "assert", { "ok": true, "id": 59, "name": "test/meta-test.js" } ], [ "line", "# nested-async.js\n" ], [ "comment", "# nested-async.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# Harness async test support\n" ], [ "comment", "# Harness async test support\n" ], [ "line", "ok 60 sync child A\n" ], [ "assert", { "ok": true, "id": 60, "name": "sync child A" } ], [ "line", "# sync child B\n" ], [ "comment", "# sync child B\n" ], [ "line", "# async grandchild A\n" ], [ "comment", "# async grandchild A\n" ], [ "line", "ok 61 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 61, "name": "(unnamed assert)" } ], [ "line", "# async grandchild B\n" ], [ "comment", "# async grandchild B\n" ], [ "line", "ok 62 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 62, "name": "(unnamed assert)" } ], [ "line", "# async child\n" ], [ "comment", "# async child\n" ], [ "line", "ok 63 sync grandchild in async child A\n" ], [ "assert", { "ok": true, "id": 63, "name": "sync grandchild in async child A" } ], [ "line", "# sync grandchild in async child B\n" ], [ "comment", "# sync grandchild in async child B\n" ], [ "line", "ok 64 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 64, "name": "(unnamed assert)" } ], [ "line", "# tests 5\n" ], [ "comment", "# tests 5\n" ], [ "line", "# pass 5\n" ], [ "comment", "# pass 5\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 65 test/nested-async.js\n" ], [ "assert", { "ok": true, "id": 65, "name": "test/nested-async.js" } ], [ "line", "# nested-test.js\n" ], [ "comment", "# nested-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# parent\n" ], [ "comment", "# parent\n" ], [ "line", "ok 66 p test\n" ], [ "assert", { "ok": true, "id": 66, "name": "p test" } ], [ "line", "# subtest\n" ], [ "comment", "# subtest\n" ], [ "line", "ok 67 ch test\n" ], [ "assert", { "ok": true, "id": 67, "name": "ch test" } ], [ "line", "# nested subtest\n" ], [ "comment", "# nested subtest\n" ], [ "line", "ok 68 grch test\n" ], [ "assert", { "ok": true, "id": 68, "name": "grch test" } ], [ "line", "# another subtest\n" ], [ "comment", "# another subtest\n" ], [ "line", "ok 69 ch test 2\n" ], [ "assert", { "ok": true, "id": 69, "name": "ch test 2" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 70 test/nested-test.js\n" ], [ "assert", { "ok": true, "id": 70, "name": "test/nested-test.js" } ], [ "line", "# non-tap-output.js\n" ], [ "comment", "# non-tap-output.js\n" ], [ "line", "# everything is fine\n" ], [ "comment", "# everything is fine\n" ], [ "line", "# there are no errors\n" ], [ "comment", "# there are no errors\n" ], [ "line", "# this output is not haiku.\n" ], [ "comment", "# this output is not haiku.\n" ], [ "line", "# is 8 ok?\n" ], [ "comment", "# is 8 ok?\n" ], [ "line", "ok 71 , 8 can stay.\n" ], [ "assert", { "ok": true, "id": 71, "name": ", 8 can stay." } ], [ "line", "# but: nevertheless, here we are\n" ], [ "comment", "# but: nevertheless, here we are\n" ], [ "line", "# this: is indented\n" ], [ "comment", "# this: is indented\n" ], [ "line", "# and: it\n" ], [ "comment", "# and: it\n" ], [ "line", "# might: ~\n" ], [ "comment", "# might: ~\n" ], [ "line", "# be: yaml?\n" ], [ "comment", "# be: yaml?\n" ], [ "line", "ok 72 might be confusing\n" ], [ "assert", { "ok": true, "id": 72, "name": "might be confusing" } ], [ "line", "ok 73 done now, exiting\n" ], [ "assert", { "ok": true, "id": 73, "name": "done now, exiting" } ], [ "line", "ok 74 test/non-tap-output.js\n" ], [ "assert", { "ok": true, "id": 74, "name": "test/non-tap-output.js" } ], [ "line", "# not-executed.sh\n" ], [ "comment", "# not-executed.sh\n" ], [ "line", "# output-childtest-description.js\n" ], [ "comment", "# output-childtest-description.js\n" ], [ "line", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\n" ], [ "comment", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# nested tests, parent and child pass\n" ], [ "comment", "# nested tests, parent and child pass\n" ], [ "line", "ok 75 outputs parent description\n" ], [ "assert", { "ok": true, "id": 75, "name": "outputs parent description" } ], [ "line", "ok 76 outputs child description\n" ], [ "assert", { "ok": true, "id": 76, "name": "outputs child description" } ], [ "line", "ok 77 outputs parent description before parent result\n" ], [ "assert", { "ok": true, "id": 77, "name": "outputs parent description before parent result" } ], [ "line", "ok 78 outputs parent result before child description\n" ], [ "assert", { "ok": true, "id": 78, "name": "outputs parent result before child description" } ], [ "line", "ok 79 outputs child description before child result\n" ], [ "assert", { "ok": true, "id": 79, "name": "outputs child description before child result" } ], [ "line", "# tests 5\n" ], [ "comment", "# tests 5\n" ], [ "line", "# pass 5\n" ], [ "comment", "# pass 5\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 80 test/output-childtest-description.js\n" ], [ "assert", { "ok": true, "id": 80, "name": "test/output-childtest-description.js" } ], [ "line", "# result-trap.js\n" ], [ "comment", "# result-trap.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trap result\n" ], [ "comment", "# trap result\n" ], [ "line", "ok 81 should be equal\n" ], [ "assert", { "ok": true, "id": 81, "name": "should be equal" } ], [ "line", "ok 82 should be equal\n" ], [ "assert", { "ok": true, "id": 82, "name": "should be equal" } ], [ "line", "# tests 2\n" ], [ "comment", "# tests 2\n" ], [ "line", "# pass 2\n" ], [ "comment", "# pass 2\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 83 test/result-trap.js\n" ], [ "assert", { "ok": true, "id": 83, "name": "test/result-trap.js" } ], [ "line", "# segv.js\n" ], [ "comment", "# segv.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# setup\n" ], [ "comment", "# setup\n" ], [ "line", "ok 84 compiled seg faulter\n" ], [ "assert", { "ok": true, "id": 84, "name": "compiled seg faulter" } ], [ "line", "# segv\n" ], [ "comment", "# segv\n" ], [ "line", "ok 85 should be equivalent\n" ], [ "assert", { "ok": true, "id": 85, "name": "should be equivalent" } ], [ "line", "ok 86 should be equivalent\n" ], [ "assert", { "ok": true, "id": 86, "name": "should be equivalent" } ], [ "line", "ok 87 should be equivalent\n" ], [ "assert", { "ok": true, "id": 87, "name": "should be equivalent" } ], [ "line", "ok 88 should be equivalent\n" ], [ "assert", { "ok": true, "id": 88, "name": "should be equivalent" } ], [ "line", "ok 89 should be equivalent\n" ], [ "assert", { "ok": true, "id": 89, "name": "should be equivalent" } ], [ "line", "ok 90 should be equal\n" ], [ "assert", { "ok": true, "id": 90, "name": "should be equal" } ], [ "line", "# cleanup\n" ], [ "comment", "# cleanup\n" ], [ "line", "ok 91 cleaned up\n" ], [ "assert", { "ok": true, "id": 91, "name": "cleaned up" } ], [ "line", "# tests 8\n" ], [ "comment", "# tests 8\n" ], [ "line", "# pass 8\n" ], [ "comment", "# pass 8\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 92 test/segv.js\n" ], [ "assert", { "ok": true, "id": 92, "name": "test/segv.js" } ], [ "line", "# simple-harness-test-with-plan.js\n" ], [ "comment", "# simple-harness-test-with-plan.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trivial success\n" ], [ "comment", "# trivial success\n" ], [ "line", "ok 93 it works\n" ], [ "assert", { "ok": true, "id": 93, "name": "it works" } ], [ "line", "# two tests\n" ], [ "comment", "# two tests\n" ], [ "line", "ok 94 math should work\n" ], [ "assert", { "ok": true, "id": 94, "name": "math should work" } ], [ "line", "ok 95 false should not be ok\n" ], [ "assert", { "ok": true, "id": 95, "name": "false should not be ok" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 96 test/simple-harness-test-with-plan.js\n" ], [ "assert", { "ok": true, "id": 96, "name": "test/simple-harness-test-with-plan.js" } ], [ "line", "# simple-harness-test.js\n" ], [ "comment", "# simple-harness-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trivial success\n" ], [ "comment", "# trivial success\n" ], [ "line", "ok 97 it works\n" ], [ "assert", { "ok": true, "id": 97, "name": "it works" } ], [ "line", "# two tests\n" ], [ "comment", "# two tests\n" ], [ "line", "ok 98 math should work\n" ], [ "assert", { "ok": true, "id": 98, "name": "math should work" } ], [ "line", "ok 99 false should not be ok\n" ], [ "assert", { "ok": true, "id": 99, "name": "false should not be ok" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 100 test/simple-harness-test.js\n" ], [ "assert", { "ok": true, "id": 100, "name": "test/simple-harness-test.js" } ], [ "line", "# test-assert-todo-skip.js\n" ], [ "comment", "# test-assert-todo-skip.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# not much\n" ], [ "comment", "# not much\n" ], [ "line", "ok 101 always passes # SKIP skip it good\n" ], [ "assert", { "ok": true, "id": 101, "skip": "skip it good", "name": "always passes" } ], [ "line", "ok 102 false # SKIP always fails\n" ], [ "assert", { "ok": true, "id": 102, "skip": "always fails", "name": "false" } ], [ "line", "ok 103 bonus # TODO remove todo directive\n" ], [ "assert", { "ok": true, "id": 103, "todo": "remove todo directive", "name": "bonus" } ], [ "line", "ok 104 expected # TODO implement a thing\n" ], [ "assert", { "ok": true, "id": 104, "todo": "implement a thing", "name": "expected" } ], [ "line", "ok 105 always passes without explanation # SKIP\n" ], [ "assert", { "ok": true, "id": 105, "skip": true, "name": "always passes without explanation" } ], [ "line", "ok 106 false without explanation # SKIP\n" ], [ "assert", { "ok": true, "id": 106, "skip": true, "name": "false without explanation" } ], [ "line", "ok 107 bonus without explanation # TODO\n" ], [ "assert", { "ok": true, "id": 107, "todo": true, "name": "bonus without explanation" } ], [ "line", "ok 108 expected without explanation # TODO\n" ], [ "assert", { "ok": true, "id": 108, "todo": true, "name": "expected without explanation" } ], [ "line", "# tests 8\n" ], [ "comment", "# tests 8\n" ], [ "line", "# skip 4\n" ], [ "comment", "# skip 4\n" ], [ "line", "# todo 4\n" ], [ "comment", "# todo 4\n" ], [ "line", "ok 109 test/test-assert-todo-skip.js\n" ], [ "assert", { "ok": true, "id": 109, "name": "test/test-assert-todo-skip.js" } ], [ "line", "# test-descriptions.js\n" ], [ "comment", "# test-descriptions.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# captures test descriptions\n" ], [ "comment", "# captures test descriptions\n" ], [ "line", "ok 110 exit cleanly\n" ], [ "assert", { "ok": true, "id": 110, "name": "exit cleanly" } ], [ "line", "ok 111 captures SKIP description\n" ], [ "assert", { "ok": true, "id": 111, "name": "captures SKIP description" } ], [ "line", "ok 112 skip summary is not from file\n" ], [ "assert", { "ok": true, "id": 112, "name": "skip summary is not from file" } ], [ "line", "ok 113 todo summary is not from file\n" ], [ "assert", { "ok": true, "id": 113, "name": "todo summary is not from file" } ], [ "line", "not ok 114 captures TODO description\n" ], [ "line", " ---\n" ], [ "line", " file: child_process.js\n" ], [ "line", " line: 707\n" ], [ "line", " column: 7\n" ], [ "line", " stack:\n" ], [ "line", " - |\n" ], [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n" ], [ "line", " - |\n" ], [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n" ], [ "line", " - |\n" ], [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n" ], [ "line", " - |\n" ], [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.exithandler (child_process.js:707:7)\n" ], [ "line", " - |\n" ], [ "line", " emitTwo (events.js:87:13)\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.emit (events.js:169:7)\n" ], [ "line", " - |\n" ], [ "line", " maybeClose (child_process.js:984:16)\n" ], [ "line", " - |\n" ], [ "line", " Socket. (child_process.js:1153:11)\n" ], [ "line", " - |\n" ], [ "line", " emitOne (events.js:77:13)\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 114, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Socket. (child_process.js:1153:11)\n", "emitOne (events.js:77:13)\n" ] } } ], [ "line", "Bail out! # captures TODO description\n" ], [ "bailout", "# captures TODO description" ], [ "complete", { "ok": false, "count": 114, "pass": 113, "fail": 1, "bailout": "# captures TODO description", "todo": 4, "skip": 4, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 114, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Socket. (child_process.js:1153:11)\n", "emitOne (events.js:77:13)\n" ] } } ] } ] ] tap-parser-7.0.0/test/fixtures/tap-tests--omitversion.json000066400000000000000000002570151320135610000236750ustar00rootroot00000000000000[ [ "line", "# buffer_compare.js\n" ], [ "comment", "# buffer_compare.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# same buffers\n" ], [ "comment", "# same buffers\n" ], [ "line", "ok 1 should be equivalent\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equivalent" } ], [ "line", "# not same buffers\n" ], [ "comment", "# not same buffers\n" ], [ "line", "ok 2 should not be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should not be equivalent" } ], [ "line", "# tests 2\n" ], [ "comment", "# tests 2\n" ], [ "line", "# pass 2\n" ], [ "comment", "# pass 2\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 3 test/buffer_compare.js\n" ], [ "assert", { "ok": true, "id": 3, "name": "test/buffer_compare.js" } ], [ "line", "# common.js\n" ], [ "comment", "# common.js\n" ], [ "line", "ok 4 just setup, nothing relevant\n" ], [ "assert", { "ok": true, "id": 4, "name": "just setup, nothing relevant" } ], [ "line", "ok 5 test/common.js\n" ], [ "assert", { "ok": true, "id": 5, "name": "test/common.js" } ], [ "line", "# consumer.js\n" ], [ "comment", "# consumer.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# basic.tap\n" ], [ "comment", "# basic.tap\n" ], [ "line", "ok 6 should be equivalent\n" ], [ "assert", { "ok": true, "id": 6, "name": "should be equivalent" } ], [ "line", "# indent.tap\n" ], [ "comment", "# indent.tap\n" ], [ "line", "ok 7 should be equivalent\n" ], [ "assert", { "ok": true, "id": 7, "name": "should be equivalent" } ], [ "line", "# missing.tap\n" ], [ "comment", "# missing.tap\n" ], [ "line", "ok 8 should be equivalent\n" ], [ "assert", { "ok": true, "id": 8, "name": "should be equivalent" } ], [ "line", "# skip-all.tap\n" ], [ "comment", "# skip-all.tap\n" ], [ "line", "ok 9 should be equivalent\n" ], [ "assert", { "ok": true, "id": 9, "name": "should be equivalent" } ], [ "line", "# yamlish.tap\n" ], [ "comment", "# yamlish.tap\n" ], [ "line", "ok 10 should be equivalent\n" ], [ "assert", { "ok": true, "id": 10, "name": "should be equivalent" } ], [ "line", "# tests 5\n" ], [ "comment", "# tests 5\n" ], [ "line", "# pass 5\n" ], [ "comment", "# pass 5\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 11 test/consumer.js\n" ], [ "assert", { "ok": true, "id": 11, "name": "test/consumer.js" } ], [ "line", "# debug-test.js\n" ], [ "comment", "# debug-test.js\n" ], [ "line", "debug test\n" ], [ "extra", "debug test\n" ], [ "line", "t.plan=1\n" ], [ "extra", "t.plan=1\n" ], [ "line", "'Debugger listening on port 5858\\n'\n" ], [ "extra", "'Debugger listening on port 5858\\n'\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# debug test\n" ], [ "comment", "# debug test\n" ], [ "line", "ok 12 Should output debugger message\n" ], [ "assert", { "ok": true, "id": 12, "name": "Should output debugger message" } ], [ "line", "# tests 1\n" ], [ "comment", "# tests 1\n" ], [ "line", "# pass 1\n" ], [ "comment", "# pass 1\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 13 test/debug-test.js\n" ], [ "assert", { "ok": true, "id": 13, "name": "test/debug-test.js" } ], [ "line", "# deep-strict.js\n" ], [ "comment", "# deep-strict.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# strictDeepEquals shouldn't care about key order\n" ], [ "comment", "# strictDeepEquals shouldn't care about key order\n" ], [ "line", "ok 14 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 14, "name": "should be strictly equal" } ], [ "line", "# strictDeepEquals shouldn't care about key order recursively\n" ], [ "comment", "# strictDeepEquals shouldn't care about key order recursively\n" ], [ "line", "ok 15 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 15, "name": "should be strictly equal" } ], [ "line", "# strictDeepEquals shoudn't care about key order (but still might)\n" ], [ "comment", "# strictDeepEquals shoudn't care about key order (but still might)\n" ], [ "line", "ok 16 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 16, "name": "should be strictly equal" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 17 test/deep-strict.js\n" ], [ "assert", { "ok": true, "id": 17, "name": "test/deep-strict.js" } ], [ "line", "# deep.js\n" ], [ "comment", "# deep.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# deepEquals shouldn't care about key order and types\n" ], [ "comment", "# deepEquals shouldn't care about key order and types\n" ], [ "line", "ok 18 should be equivalent\n" ], [ "assert", { "ok": true, "id": 18, "name": "should be equivalent" } ], [ "line", "# deepEquals shouldn't care about key order recursively and types\n" ], [ "comment", "# deepEquals shouldn't care about key order recursively and types\n" ], [ "line", "ok 19 should be equivalent\n" ], [ "assert", { "ok": true, "id": 19, "name": "should be equivalent" } ], [ "line", "# deepEquals shoudn't care about key order (but still might) and types\n" ], [ "comment", "# deepEquals shoudn't care about key order (but still might) and types\n" ], [ "line", "ok 20 should be equivalent\n" ], [ "assert", { "ok": true, "id": 20, "name": "should be equivalent" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 21 test/deep.js\n" ], [ "assert", { "ok": true, "id": 21, "name": "test/deep.js" } ], [ "line", "# executed.sh\n" ], [ "comment", "# executed.sh\n" ], [ "line", "ok 22 File with executable bit should be executed\n" ], [ "assert", { "ok": true, "id": 22, "name": "File with executable bit should be executed" } ], [ "line", "ok 23 test/executed.sh\n" ], [ "assert", { "ok": true, "id": 23, "name": "test/executed.sh" } ], [ "line", "# exit-code.js\n" ], [ "comment", "# exit-code.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# exit code 1 when tap results show failure\n" ], [ "comment", "# exit code 1 when tap results show failure\n" ], [ "line", "# test exits 0, has failures\n" ], [ "comment", "# test exits 0, has failures\n" ], [ "line", "ok 24 should be equal\n" ], [ "assert", { "ok": true, "id": 24, "name": "should be equal" } ], [ "line", "ok 25 should be equal\n" ], [ "assert", { "ok": true, "id": 25, "name": "should be equal" } ], [ "line", "# test exits 1, has failures\n" ], [ "comment", "# test exits 1, has failures\n" ], [ "line", "ok 26 should be equal\n" ], [ "assert", { "ok": true, "id": 26, "name": "should be equal" } ], [ "line", "ok 27 should be equal\n" ], [ "assert", { "ok": true, "id": 27, "name": "should be equal" } ], [ "line", "# test exits 1, has no failures\n" ], [ "comment", "# test exits 1, has no failures\n" ], [ "line", "ok 28 should be equal\n" ], [ "assert", { "ok": true, "id": 28, "name": "should be equal" } ], [ "line", "ok 29 should be equal\n" ], [ "assert", { "ok": true, "id": 29, "name": "should be equal" } ], [ "line", "# successes exit 0\n" ], [ "comment", "# successes exit 0\n" ], [ "line", "# test that does nothing, but exits 0\n" ], [ "comment", "# test that does nothing, but exits 0\n" ], [ "line", "ok 30 should be equal\n" ], [ "assert", { "ok": true, "id": 30, "name": "should be equal" } ], [ "line", "ok 31 should be equal\n" ], [ "assert", { "ok": true, "id": 31, "name": "should be equal" } ], [ "line", "# test that succeeds, and exits 0\n" ], [ "comment", "# test that succeeds, and exits 0\n" ], [ "line", "ok 32 should be equal\n" ], [ "assert", { "ok": true, "id": 32, "name": "should be equal" } ], [ "line", "ok 33 should be equal\n" ], [ "assert", { "ok": true, "id": 33, "name": "should be equal" } ], [ "line", "# tests 10\n" ], [ "comment", "# tests 10\n" ], [ "line", "# pass 10\n" ], [ "comment", "# pass 10\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 34 test/exit-code.js\n" ], [ "assert", { "ok": true, "id": 34, "name": "test/exit-code.js" } ], [ "line", "# expose-gc-test.js\n" ], [ "comment", "# expose-gc-test.js\n" ], [ "line", "gc test\n" ], [ "extra", "gc test\n" ], [ "line", "t.plan=1\n" ], [ "extra", "t.plan=1\n" ], [ "line", "assert gc does not exist\n" ], [ "extra", "assert gc does not exist\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# gc test when the gc isn't there\n" ], [ "comment", "# gc test when the gc isn't there\n" ], [ "line", "gc test\n" ], [ "extra", "gc test\n" ], [ "line", "t.plan=2\n" ], [ "extra", "t.plan=2\n" ], [ "line", "gc test using --gc\n" ], [ "extra", "gc test using --gc\n" ], [ "line", "t.plan=1\n" ], [ "extra", "t.plan=1\n" ], [ "line", "assert gc exists\n" ], [ "extra", "assert gc exists\n" ], [ "line", "gc test using --expose-gc\n" ], [ "extra", "gc test using --expose-gc\n" ], [ "line", "t.plan=1\n" ], [ "extra", "t.plan=1\n" ], [ "line", "assert gc exists\n" ], [ "extra", "assert gc exists\n" ], [ "line", "ok 35 should be equal\n" ], [ "assert", { "ok": true, "id": 35, "name": "should be equal" } ], [ "line", "# gc test when the gc should be there\n" ], [ "comment", "# gc test when the gc should be there\n" ], [ "line", "# test for gc using --gc\n" ], [ "comment", "# test for gc using --gc\n" ], [ "line", "ok 36 should be equal\n" ], [ "assert", { "ok": true, "id": 36, "name": "should be equal" } ], [ "line", "# test for gc using --expose-gc\n" ], [ "comment", "# test for gc using --expose-gc\n" ], [ "line", "ok 37 should be equal\n" ], [ "assert", { "ok": true, "id": 37, "name": "should be equal" } ], [ "line", "# cleanup\n" ], [ "comment", "# cleanup\n" ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 38 test/expose-gc-test.js\n" ], [ "assert", { "ok": true, "id": 38, "name": "test/expose-gc-test.js" } ], [ "line", "# global-harness-async.js\n" ], [ "comment", "# global-harness-async.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# outer\n" ], [ "comment", "# outer\n" ], [ "line", "# inner 1\n" ], [ "comment", "# inner 1\n" ], [ "line", "ok 39 1-1\n" ], [ "assert", { "ok": true, "id": 39, "name": "1-1" } ], [ "line", "# inner 2\n" ], [ "comment", "# inner 2\n" ], [ "line", "ok 40 2-1\n" ], [ "assert", { "ok": true, "id": 40, "name": "2-1" } ], [ "line", "# inner 3\n" ], [ "comment", "# inner 3\n" ], [ "line", "ok 41 3-1\n" ], [ "assert", { "ok": true, "id": 41, "name": "3-1" } ], [ "line", "ok 42 test/global-harness-async.js\n" ], [ "assert", { "ok": true, "id": 42, "name": "test/global-harness-async.js" } ], [ "line", "# independent-timeouts.js\n" ], [ "comment", "# independent-timeouts.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# finishes in time\n" ], [ "comment", "# finishes in time\n" ], [ "line", "# finishes in time too\n" ], [ "comment", "# finishes in time too\n" ], [ "line", "# tests 0\n" ], [ "comment", "# tests 0\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 43 test/independent-timeouts.js\n" ], [ "assert", { "ok": true, "id": 43, "name": "test/independent-timeouts.js" } ], [ "line", "# isolated-conf-test.js\n" ], [ "comment", "# isolated-conf-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# one\n" ], [ "comment", "# one\n" ], [ "line", "ok 44 should be equal\n" ], [ "assert", { "ok": true, "id": 44, "name": "should be equal" } ], [ "line", "ok 45 should be equal\n" ], [ "assert", { "ok": true, "id": 45, "name": "should be equal" } ], [ "line", "# two\n" ], [ "comment", "# two\n" ], [ "line", "ok 46 should be equal\n" ], [ "assert", { "ok": true, "id": 46, "name": "should be equal" } ], [ "line", "ok 47 should be equal\n" ], [ "assert", { "ok": true, "id": 47, "name": "should be equal" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 48 test/isolated-conf-test.js\n" ], [ "assert", { "ok": true, "id": 48, "name": "test/isolated-conf-test.js" } ], [ "line", "# meta-test.js\n" ], [ "comment", "# meta-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# meta test\n" ], [ "comment", "# meta test\n" ], [ "line", "ok 49 sanity check\n" ], [ "assert", { "ok": true, "id": 49, "name": "sanity check" } ], [ "line", "ok 50 not ok\n" ], [ "assert", { "ok": true, "id": 50, "name": "not ok" } ], [ "line", "ok 51 total test count\n" ], [ "assert", { "ok": true, "id": 51, "name": "total test count" } ], [ "line", "ok 52 tests passed\n" ], [ "assert", { "ok": true, "id": 52, "name": "tests passed" } ], [ "line", "ok 53 tests failed\n" ], [ "assert", { "ok": true, "id": 53, "name": "tests failed" } ], [ "line", "ok 54 ok is boolean\n" ], [ "assert", { "ok": true, "id": 54, "name": "ok is boolean" } ], [ "line", "ok 55 skip is number\n" ], [ "assert", { "ok": true, "id": 55, "name": "skip is number" } ], [ "line", "ok 56 results isa Results\n" ], [ "assert", { "ok": true, "id": 56, "name": "results isa Results" } ], [ "line", "ok 57 test isa Test\n" ], [ "assert", { "ok": true, "id": 57, "name": "test isa Test" } ], [ "line", "ok 58 test isa Harness\n" ], [ "assert", { "ok": true, "id": 58, "name": "test isa Harness" } ], [ "line", "# tests 10\n" ], [ "comment", "# tests 10\n" ], [ "line", "# pass 10\n" ], [ "comment", "# pass 10\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 59 test/meta-test.js\n" ], [ "assert", { "ok": true, "id": 59, "name": "test/meta-test.js" } ], [ "line", "# nested-async.js\n" ], [ "comment", "# nested-async.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# Harness async test support\n" ], [ "comment", "# Harness async test support\n" ], [ "line", "ok 60 sync child A\n" ], [ "assert", { "ok": true, "id": 60, "name": "sync child A" } ], [ "line", "# sync child B\n" ], [ "comment", "# sync child B\n" ], [ "line", "# async grandchild A\n" ], [ "comment", "# async grandchild A\n" ], [ "line", "ok 61 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 61, "name": "(unnamed assert)" } ], [ "line", "# async grandchild B\n" ], [ "comment", "# async grandchild B\n" ], [ "line", "ok 62 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 62, "name": "(unnamed assert)" } ], [ "line", "# async child\n" ], [ "comment", "# async child\n" ], [ "line", "ok 63 sync grandchild in async child A\n" ], [ "assert", { "ok": true, "id": 63, "name": "sync grandchild in async child A" } ], [ "line", "# sync grandchild in async child B\n" ], [ "comment", "# sync grandchild in async child B\n" ], [ "line", "ok 64 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 64, "name": "(unnamed assert)" } ], [ "line", "# tests 5\n" ], [ "comment", "# tests 5\n" ], [ "line", "# pass 5\n" ], [ "comment", "# pass 5\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 65 test/nested-async.js\n" ], [ "assert", { "ok": true, "id": 65, "name": "test/nested-async.js" } ], [ "line", "# nested-test.js\n" ], [ "comment", "# nested-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# parent\n" ], [ "comment", "# parent\n" ], [ "line", "ok 66 p test\n" ], [ "assert", { "ok": true, "id": 66, "name": "p test" } ], [ "line", "# subtest\n" ], [ "comment", "# subtest\n" ], [ "line", "ok 67 ch test\n" ], [ "assert", { "ok": true, "id": 67, "name": "ch test" } ], [ "line", "# nested subtest\n" ], [ "comment", "# nested subtest\n" ], [ "line", "ok 68 grch test\n" ], [ "assert", { "ok": true, "id": 68, "name": "grch test" } ], [ "line", "# another subtest\n" ], [ "comment", "# another subtest\n" ], [ "line", "ok 69 ch test 2\n" ], [ "assert", { "ok": true, "id": 69, "name": "ch test 2" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 70 test/nested-test.js\n" ], [ "assert", { "ok": true, "id": 70, "name": "test/nested-test.js" } ], [ "line", "# non-tap-output.js\n" ], [ "comment", "# non-tap-output.js\n" ], [ "line", "# everything is fine\n" ], [ "comment", "# everything is fine\n" ], [ "line", "# there are no errors\n" ], [ "comment", "# there are no errors\n" ], [ "line", "# this output is not haiku.\n" ], [ "comment", "# this output is not haiku.\n" ], [ "line", "# is 8 ok?\n" ], [ "comment", "# is 8 ok?\n" ], [ "line", "ok 71 , 8 can stay.\n" ], [ "assert", { "ok": true, "id": 71, "name": ", 8 can stay." } ], [ "line", "# but: nevertheless, here we are\n" ], [ "comment", "# but: nevertheless, here we are\n" ], [ "line", "# this: is indented\n" ], [ "comment", "# this: is indented\n" ], [ "line", "# and: it\n" ], [ "comment", "# and: it\n" ], [ "line", "# might: ~\n" ], [ "comment", "# might: ~\n" ], [ "line", "# be: yaml?\n" ], [ "comment", "# be: yaml?\n" ], [ "line", "ok 72 might be confusing\n" ], [ "assert", { "ok": true, "id": 72, "name": "might be confusing" } ], [ "line", "ok 73 done now, exiting\n" ], [ "assert", { "ok": true, "id": 73, "name": "done now, exiting" } ], [ "line", "ok 74 test/non-tap-output.js\n" ], [ "assert", { "ok": true, "id": 74, "name": "test/non-tap-output.js" } ], [ "line", "# not-executed.sh\n" ], [ "comment", "# not-executed.sh\n" ], [ "line", "# output-childtest-description.js\n" ], [ "comment", "# output-childtest-description.js\n" ], [ "line", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\n" ], [ "comment", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# nested tests, parent and child pass\n" ], [ "comment", "# nested tests, parent and child pass\n" ], [ "line", "ok 75 outputs parent description\n" ], [ "assert", { "ok": true, "id": 75, "name": "outputs parent description" } ], [ "line", "ok 76 outputs child description\n" ], [ "assert", { "ok": true, "id": 76, "name": "outputs child description" } ], [ "line", "ok 77 outputs parent description before parent result\n" ], [ "assert", { "ok": true, "id": 77, "name": "outputs parent description before parent result" } ], [ "line", "ok 78 outputs parent result before child description\n" ], [ "assert", { "ok": true, "id": 78, "name": "outputs parent result before child description" } ], [ "line", "ok 79 outputs child description before child result\n" ], [ "assert", { "ok": true, "id": 79, "name": "outputs child description before child result" } ], [ "line", "# tests 5\n" ], [ "comment", "# tests 5\n" ], [ "line", "# pass 5\n" ], [ "comment", "# pass 5\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 80 test/output-childtest-description.js\n" ], [ "assert", { "ok": true, "id": 80, "name": "test/output-childtest-description.js" } ], [ "line", "# result-trap.js\n" ], [ "comment", "# result-trap.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trap result\n" ], [ "comment", "# trap result\n" ], [ "line", "ok 81 should be equal\n" ], [ "assert", { "ok": true, "id": 81, "name": "should be equal" } ], [ "line", "ok 82 should be equal\n" ], [ "assert", { "ok": true, "id": 82, "name": "should be equal" } ], [ "line", "# tests 2\n" ], [ "comment", "# tests 2\n" ], [ "line", "# pass 2\n" ], [ "comment", "# pass 2\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 83 test/result-trap.js\n" ], [ "assert", { "ok": true, "id": 83, "name": "test/result-trap.js" } ], [ "line", "# segv.js\n" ], [ "comment", "# segv.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# setup\n" ], [ "comment", "# setup\n" ], [ "line", "ok 84 compiled seg faulter\n" ], [ "assert", { "ok": true, "id": 84, "name": "compiled seg faulter" } ], [ "line", "# segv\n" ], [ "comment", "# segv\n" ], [ "line", "ok 85 should be equivalent\n" ], [ "assert", { "ok": true, "id": 85, "name": "should be equivalent" } ], [ "line", "ok 86 should be equivalent\n" ], [ "assert", { "ok": true, "id": 86, "name": "should be equivalent" } ], [ "line", "ok 87 should be equivalent\n" ], [ "assert", { "ok": true, "id": 87, "name": "should be equivalent" } ], [ "line", "ok 88 should be equivalent\n" ], [ "assert", { "ok": true, "id": 88, "name": "should be equivalent" } ], [ "line", "ok 89 should be equivalent\n" ], [ "assert", { "ok": true, "id": 89, "name": "should be equivalent" } ], [ "line", "ok 90 should be equal\n" ], [ "assert", { "ok": true, "id": 90, "name": "should be equal" } ], [ "line", "# cleanup\n" ], [ "comment", "# cleanup\n" ], [ "line", "ok 91 cleaned up\n" ], [ "assert", { "ok": true, "id": 91, "name": "cleaned up" } ], [ "line", "# tests 8\n" ], [ "comment", "# tests 8\n" ], [ "line", "# pass 8\n" ], [ "comment", "# pass 8\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 92 test/segv.js\n" ], [ "assert", { "ok": true, "id": 92, "name": "test/segv.js" } ], [ "line", "# simple-harness-test-with-plan.js\n" ], [ "comment", "# simple-harness-test-with-plan.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trivial success\n" ], [ "comment", "# trivial success\n" ], [ "line", "ok 93 it works\n" ], [ "assert", { "ok": true, "id": 93, "name": "it works" } ], [ "line", "# two tests\n" ], [ "comment", "# two tests\n" ], [ "line", "ok 94 math should work\n" ], [ "assert", { "ok": true, "id": 94, "name": "math should work" } ], [ "line", "ok 95 false should not be ok\n" ], [ "assert", { "ok": true, "id": 95, "name": "false should not be ok" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 96 test/simple-harness-test-with-plan.js\n" ], [ "assert", { "ok": true, "id": 96, "name": "test/simple-harness-test-with-plan.js" } ], [ "line", "# simple-harness-test.js\n" ], [ "comment", "# simple-harness-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trivial success\n" ], [ "comment", "# trivial success\n" ], [ "line", "ok 97 it works\n" ], [ "assert", { "ok": true, "id": 97, "name": "it works" } ], [ "line", "# two tests\n" ], [ "comment", "# two tests\n" ], [ "line", "ok 98 math should work\n" ], [ "assert", { "ok": true, "id": 98, "name": "math should work" } ], [ "line", "ok 99 false should not be ok\n" ], [ "assert", { "ok": true, "id": 99, "name": "false should not be ok" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 100 test/simple-harness-test.js\n" ], [ "assert", { "ok": true, "id": 100, "name": "test/simple-harness-test.js" } ], [ "line", "# test-assert-todo-skip.js\n" ], [ "comment", "# test-assert-todo-skip.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# not much\n" ], [ "comment", "# not much\n" ], [ "line", "ok 101 always passes # SKIP skip it good\n" ], [ "assert", { "ok": true, "id": 101, "skip": "skip it good", "name": "always passes" } ], [ "line", "ok 102 false # SKIP always fails\n" ], [ "assert", { "ok": true, "id": 102, "skip": "always fails", "name": "false" } ], [ "line", "ok 103 bonus # TODO remove todo directive\n" ], [ "assert", { "ok": true, "id": 103, "todo": "remove todo directive", "name": "bonus" } ], [ "line", "ok 104 expected # TODO implement a thing\n" ], [ "assert", { "ok": true, "id": 104, "todo": "implement a thing", "name": "expected" } ], [ "line", "ok 105 always passes without explanation # SKIP\n" ], [ "assert", { "ok": true, "id": 105, "skip": true, "name": "always passes without explanation" } ], [ "line", "ok 106 false without explanation # SKIP\n" ], [ "assert", { "ok": true, "id": 106, "skip": true, "name": "false without explanation" } ], [ "line", "ok 107 bonus without explanation # TODO\n" ], [ "assert", { "ok": true, "id": 107, "todo": true, "name": "bonus without explanation" } ], [ "line", "ok 108 expected without explanation # TODO\n" ], [ "assert", { "ok": true, "id": 108, "todo": true, "name": "expected without explanation" } ], [ "line", "# tests 8\n" ], [ "comment", "# tests 8\n" ], [ "line", "# skip 4\n" ], [ "comment", "# skip 4\n" ], [ "line", "# todo 4\n" ], [ "comment", "# todo 4\n" ], [ "line", "ok 109 test/test-assert-todo-skip.js\n" ], [ "assert", { "ok": true, "id": 109, "name": "test/test-assert-todo-skip.js" } ], [ "line", "# test-descriptions.js\n" ], [ "comment", "# test-descriptions.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# captures test descriptions\n" ], [ "comment", "# captures test descriptions\n" ], [ "line", "ok 110 exit cleanly\n" ], [ "assert", { "ok": true, "id": 110, "name": "exit cleanly" } ], [ "line", "ok 111 captures SKIP description\n" ], [ "assert", { "ok": true, "id": 111, "name": "captures SKIP description" } ], [ "line", "ok 112 skip summary is not from file\n" ], [ "assert", { "ok": true, "id": 112, "name": "skip summary is not from file" } ], [ "line", "ok 113 todo summary is not from file\n" ], [ "assert", { "ok": true, "id": 113, "name": "todo summary is not from file" } ], [ "line", "not ok 114 captures TODO description\n" ], [ "line", " ---\n" ], [ "line", " file: child_process.js\n" ], [ "line", " line: 707\n" ], [ "line", " column: 7\n" ], [ "line", " stack:\n" ], [ "line", " - |\n" ], [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n" ], [ "line", " - |\n" ], [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n" ], [ "line", " - |\n" ], [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n" ], [ "line", " - |\n" ], [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.exithandler (child_process.js:707:7)\n" ], [ "line", " - |\n" ], [ "line", " emitTwo (events.js:87:13)\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.emit (events.js:169:7)\n" ], [ "line", " - |\n" ], [ "line", " maybeClose (child_process.js:984:16)\n" ], [ "line", " - |\n" ], [ "line", " Socket. (child_process.js:1153:11)\n" ], [ "line", " - |\n" ], [ "line", " emitOne (events.js:77:13)\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 114, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Socket. (child_process.js:1153:11)\n", "emitOne (events.js:77:13)\n" ] } } ], [ "line", "ok 115 exit cleanly\n" ], [ "assert", { "ok": true, "id": 115, "name": "exit cleanly" } ], [ "line", "ok 116 captures SKIP description\n" ], [ "assert", { "ok": true, "id": 116, "name": "captures SKIP description" } ], [ "line", "ok 117 skip summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 117, "name": "skip summary is not in TAP output" } ], [ "line", "ok 118 todo summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 118, "name": "todo summary is not in TAP output" } ], [ "line", "not ok 119 captures TODO description\n" ], [ "line", " ---\n" ], [ "line", " file: child_process.js\n" ], [ "line", " line: 707\n" ], [ "line", " column: 7\n" ], [ "line", " stack:\n" ], [ "line", " - |\n" ], [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n" ], [ "line", " - |\n" ], [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n" ], [ "line", " - |\n" ], [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n" ], [ "line", " - |\n" ], [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:18:7\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.exithandler (child_process.js:707:7)\n" ], [ "line", " - |\n" ], [ "line", " emitTwo (events.js:87:13)\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.emit (events.js:169:7)\n" ], [ "line", " - |\n" ], [ "line", " maybeClose (child_process.js:984:16)\n" ], [ "line", " - |\n" ], [ "line", " Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 119, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:18:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } } ], [ "line", "ok 120 exit cleanly\n" ], [ "assert", { "ok": true, "id": 120, "name": "exit cleanly" } ], [ "line", "not ok 121 summarizes skipped count\n" ], [ "line", " ---\n" ], [ "line", " file: child_process.js\n" ], [ "line", " line: 707\n" ], [ "line", " column: 7\n" ], [ "line", " stack:\n" ], [ "line", " - |\n" ], [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n" ], [ "line", " - |\n" ], [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n" ], [ "line", " - |\n" ], [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n" ], [ "line", " - |\n" ], [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:23:7\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.exithandler (child_process.js:707:7)\n" ], [ "line", " - |\n" ], [ "line", " emitTwo (events.js:87:13)\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.emit (events.js:169:7)\n" ], [ "line", " - |\n" ], [ "line", " maybeClose (child_process.js:984:16)\n" ], [ "line", " - |\n" ], [ "line", " Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 121, "name": "summarizes skipped count", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:23:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } } ], [ "line", "not ok 122 summarizes todo count\n" ], [ "line", " ---\n" ], [ "line", " file: child_process.js\n" ], [ "line", " line: 707\n" ], [ "line", " column: 7\n" ], [ "line", " stack:\n" ], [ "line", " - |\n" ], [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n" ], [ "line", " - |\n" ], [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n" ], [ "line", " - |\n" ], [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n" ], [ "line", " - |\n" ], [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:24:7\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.exithandler (child_process.js:707:7)\n" ], [ "line", " - |\n" ], [ "line", " emitTwo (events.js:87:13)\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.emit (events.js:169:7)\n" ], [ "line", " - |\n" ], [ "line", " maybeClose (child_process.js:984:16)\n" ], [ "line", " - |\n" ], [ "line", " Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 122, "name": "summarizes todo count", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:24:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } } ], [ "line", "# tests 13\n" ], [ "comment", "# tests 13\n" ], [ "line", "# pass 9\n" ], [ "comment", "# pass 9\n" ], [ "line", "# fail 4\n" ], [ "comment", "# fail 4\n" ], [ "line", "not ok 123 test/test-descriptions.js\n" ], [ "line", " ---\n" ], [ "line", " exit: 1\n" ], [ "line", " command: \"/usr/local/bin/iojs test-descriptions.js\"\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 123, "name": "test/test-descriptions.js", "diag": { "exit": 1, "command": "/usr/local/bin/iojs test-descriptions.js" } } ], [ "line", "# test-directives.js\n" ], [ "comment", "# test-directives.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# captures test descriptions\n" ], [ "comment", "# captures test descriptions\n" ], [ "line", "# raw TAP > TAP consumer > TAP producer\n" ], [ "comment", "# raw TAP > TAP consumer > TAP producer\n" ], [ "line", "ok 124 overall result is PASS\n" ], [ "assert", { "ok": true, "id": 124, "name": "overall result is PASS" } ], [ "line", "ok 125 captures ok SKIP\n" ], [ "assert", { "ok": true, "id": 125, "name": "captures ok SKIP" } ], [ "line", "ok 126 captures not ok SKIP\n" ], [ "assert", { "ok": true, "id": 126, "name": "captures not ok SKIP" } ], [ "line", "ok 127 skip summary not in TAP output\n" ], [ "assert", { "ok": true, "id": 127, "name": "skip summary not in TAP output" } ], [ "line", "ok 128 captures ok TODO\n" ], [ "assert", { "ok": true, "id": 128, "name": "captures ok TODO" } ], [ "line", "ok 129 captures not ok TODO\n" ], [ "assert", { "ok": true, "id": 129, "name": "captures not ok TODO" } ], [ "line", "ok 130 todo summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 130, "name": "todo summary is not in TAP output" } ], [ "line", "ok 131 no ugly \"undefined\" in output\n" ], [ "assert", { "ok": true, "id": 131, "name": "no ugly \"undefined\" in output" } ], [ "line", "# raw TAP > TAP consumer > summary\n" ], [ "comment", "# raw TAP > TAP consumer > summary\n" ], [ "line", "ok 132 overall result is PASS\n" ], [ "assert", { "ok": true, "id": 132, "name": "overall result is PASS" } ], [ "line", "ok 133 no SKIP in summary\n" ], [ "assert", { "ok": true, "id": 133, "name": "no SKIP in summary" } ], [ "line", "ok 134 skip summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 134, "name": "skip summary is not in TAP output" } ], [ "line", "ok 135 no TODO in summary\n" ], [ "assert", { "ok": true, "id": 135, "name": "no TODO in summary" } ], [ "line", "ok 136 todo summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 136, "name": "todo summary is not in TAP output" } ], [ "line", "ok 137 no ugly \"undefined\" in output\n" ], [ "assert", { "ok": true, "id": 137, "name": "no ugly \"undefined\" in output" } ], [ "line", "# TAP producer via require(\"tap\")\n" ], [ "comment", "# TAP producer via require(\"tap\")\n" ], [ "line", "ok 138 overall result is PASS\n" ], [ "assert", { "ok": true, "id": 138, "name": "overall result is PASS" } ], [ "line", "ok 139 captures ok SKIP\n" ], [ "assert", { "ok": true, "id": 139, "name": "captures ok SKIP" } ], [ "line", "ok 140 captures not ok SKIP\n" ], [ "assert", { "ok": true, "id": 140, "name": "captures not ok SKIP" } ], [ "line", "ok 141 skip summary not in TAP output\n" ], [ "assert", { "ok": true, "id": 141, "name": "skip summary not in TAP output" } ], [ "line", "ok 142 captures ok TODO\n" ], [ "assert", { "ok": true, "id": 142, "name": "captures ok TODO" } ], [ "line", "ok 143 captures not ok TODO\n" ], [ "assert", { "ok": true, "id": 143, "name": "captures not ok TODO" } ], [ "line", "ok 144 todo summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 144, "name": "todo summary is not in TAP output" } ], [ "line", "ok 145 no ugly \"undefined\" in output\n" ], [ "assert", { "ok": true, "id": 145, "name": "no ugly \"undefined\" in output" } ], [ "line", "# tests 22\n" ], [ "comment", "# tests 22\n" ], [ "line", "# pass 22\n" ], [ "comment", "# pass 22\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 146 test/test-directives.js\n" ], [ "assert", { "ok": true, "id": 146, "name": "test/test-directives.js" } ], [ "line", "# test-skip.js\n" ], [ "comment", "# test-skip.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "ok 147 does not count as failure # SKIP\n" ], [ "assert", { "ok": true, "id": 147, "skip": true, "name": "does not count as failure" } ], [ "line", "# tests 1\n" ], [ "comment", "# tests 1\n" ], [ "line", "# skip 1\n" ], [ "comment", "# skip 1\n" ], [ "line", "ok 148 test/test-skip.js\n" ], [ "assert", { "ok": true, "id": 148, "name": "test/test-skip.js" } ], [ "line", "# test-test.js\n" ], [ "comment", "# test-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# testing the test object\n" ], [ "comment", "# testing the test object\n" ], [ "line", "ok 149 test object should be instanceof Test\n" ], [ "assert", { "ok": true, "id": 149, "name": "test object should be instanceof Test" } ], [ "line", "ok 150 test object should be instanceof Harness\n" ], [ "assert", { "ok": true, "id": 150, "name": "test object should be instanceof Harness" } ], [ "line", "ok 151 test._Test should be the Test class\n" ], [ "assert", { "ok": true, "id": 151, "name": "test._Test should be the Test class" } ], [ "line", "ok 152 should have isNotDeepEqual method\n" ], [ "assert", { "ok": true, "id": 152, "name": "should have isNotDeepEqual method" } ], [ "line", "ok 153 isNotDeepEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 153, "name": "isNotDeepEqual method should be a function" } ], [ "line", "ok 154 should have equals method\n" ], [ "assert", { "ok": true, "id": 154, "name": "should have equals method" } ], [ "line", "ok 155 equals method should be a function\n" ], [ "assert", { "ok": true, "id": 155, "name": "equals method should be a function" } ], [ "line", "ok 156 should have inequivalent method\n" ], [ "assert", { "ok": true, "id": 156, "name": "should have inequivalent method" } ], [ "line", "ok 157 inequivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 157, "name": "inequivalent method should be a function" } ], [ "line", "ok 158 should have threw method\n" ], [ "assert", { "ok": true, "id": 158, "name": "should have threw method" } ], [ "line", "ok 159 threw method should be a function\n" ], [ "assert", { "ok": true, "id": 159, "name": "threw method should be a function" } ], [ "line", "ok 160 should have strictEqual method\n" ], [ "assert", { "ok": true, "id": 160, "name": "should have strictEqual method" } ], [ "line", "ok 161 strictEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 161, "name": "strictEqual method should be a function" } ], [ "line", "ok 162 should have emit method\n" ], [ "assert", { "ok": true, "id": 162, "name": "should have emit method" } ], [ "line", "ok 163 emit method should be a function\n" ], [ "assert", { "ok": true, "id": 163, "name": "emit method should be a function" } ], [ "line", "ok 164 should have fail method\n" ], [ "assert", { "ok": true, "id": 164, "name": "should have fail method" } ], [ "line", "ok 165 fail method should be a function\n" ], [ "assert", { "ok": true, "id": 165, "name": "fail method should be a function" } ], [ "line", "ok 166 should have strictEquals method\n" ], [ "assert", { "ok": true, "id": 166, "name": "should have strictEquals method" } ], [ "line", "ok 167 strictEquals method should be a function\n" ], [ "assert", { "ok": true, "id": 167, "name": "strictEquals method should be a function" } ], [ "line", "ok 168 should have notLike method\n" ], [ "assert", { "ok": true, "id": 168, "name": "should have notLike method" } ], [ "line", "ok 169 notLike method should be a function\n" ], [ "assert", { "ok": true, "id": 169, "name": "notLike method should be a function" } ], [ "line", "ok 170 should have dissimilar method\n" ], [ "assert", { "ok": true, "id": 170, "name": "should have dissimilar method" } ], [ "line", "ok 171 dissimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 171, "name": "dissimilar method should be a function" } ], [ "line", "ok 172 should have true method\n" ], [ "assert", { "ok": true, "id": 172, "name": "should have true method" } ], [ "line", "ok 173 true method should be a function\n" ], [ "assert", { "ok": true, "id": 173, "name": "true method should be a function" } ], [ "line", "ok 174 should have assert method\n" ], [ "assert", { "ok": true, "id": 174, "name": "should have assert method" } ], [ "line", "ok 175 assert method should be a function\n" ], [ "assert", { "ok": true, "id": 175, "name": "assert method should be a function" } ], [ "line", "ok 176 should have is method\n" ], [ "assert", { "ok": true, "id": 176, "name": "should have is method" } ], [ "line", "ok 177 is method should be a function\n" ], [ "assert", { "ok": true, "id": 177, "name": "is method should be a function" } ], [ "line", "ok 178 should have ok method\n" ], [ "assert", { "ok": true, "id": 178, "name": "should have ok method" } ], [ "line", "ok 179 ok method should be a function\n" ], [ "assert", { "ok": true, "id": 179, "name": "ok method should be a function" } ], [ "line", "ok 180 should have isEqual method\n" ], [ "assert", { "ok": true, "id": 180, "name": "should have isEqual method" } ], [ "line", "ok 181 isEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 181, "name": "isEqual method should be a function" } ], [ "line", "ok 182 should have isDeeply method\n" ], [ "assert", { "ok": true, "id": 182, "name": "should have isDeeply method" } ], [ "line", "ok 183 isDeeply method should be a function\n" ], [ "assert", { "ok": true, "id": 183, "name": "isDeeply method should be a function" } ], [ "line", "ok 184 should have deepEqual method\n" ], [ "assert", { "ok": true, "id": 184, "name": "should have deepEqual method" } ], [ "line", "ok 185 deepEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 185, "name": "deepEqual method should be a function" } ], [ "line", "ok 186 should have deepEquals method\n" ], [ "assert", { "ok": true, "id": 186, "name": "should have deepEquals method" } ], [ "line", "ok 187 deepEquals method should be a function\n" ], [ "assert", { "ok": true, "id": 187, "name": "deepEquals method should be a function" } ], [ "line", "ok 188 should have pass method\n" ], [ "assert", { "ok": true, "id": 188, "name": "should have pass method" } ], [ "line", "ok 189 pass method should be a function\n" ], [ "assert", { "ok": true, "id": 189, "name": "pass method should be a function" } ], [ "line", "ok 190 should have length method\n" ], [ "assert", { "ok": true, "id": 190, "name": "should have length method" } ], [ "line", "ok 191 length method should be a function\n" ], [ "assert", { "ok": true, "id": 191, "name": "length method should be a function" } ], [ "line", "ok 192 should have skip method\n" ], [ "assert", { "ok": true, "id": 192, "name": "should have skip method" } ], [ "line", "ok 193 skip method should be a function\n" ], [ "assert", { "ok": true, "id": 193, "name": "skip method should be a function" } ], [ "line", "ok 194 should have isNotEqual method\n" ], [ "assert", { "ok": true, "id": 194, "name": "should have isNotEqual method" } ], [ "line", "ok 195 isNotEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 195, "name": "isNotEqual method should be a function" } ], [ "line", "ok 196 should have looseEquals method\n" ], [ "assert", { "ok": true, "id": 196, "name": "should have looseEquals method" } ], [ "line", "ok 197 looseEquals method should be a function\n" ], [ "assert", { "ok": true, "id": 197, "name": "looseEquals method should be a function" } ], [ "line", "ok 198 should have false method\n" ], [ "assert", { "ok": true, "id": 198, "name": "should have false method" } ], [ "line", "ok 199 false method should be a function\n" ], [ "assert", { "ok": true, "id": 199, "name": "false method should be a function" } ], [ "line", "ok 200 should have notDeeply method\n" ], [ "assert", { "ok": true, "id": 200, "name": "should have notDeeply method" } ], [ "line", "ok 201 notDeeply method should be a function\n" ], [ "assert", { "ok": true, "id": 201, "name": "notDeeply method should be a function" } ], [ "line", "ok 202 should have ifErr method\n" ], [ "assert", { "ok": true, "id": 202, "name": "should have ifErr method" } ], [ "line", "ok 203 ifErr method should be a function\n" ], [ "assert", { "ok": true, "id": 203, "name": "ifErr method should be a function" } ], [ "line", "ok 204 should have hasFields method\n" ], [ "assert", { "ok": true, "id": 204, "name": "should have hasFields method" } ], [ "line", "ok 205 hasFields method should be a function\n" ], [ "assert", { "ok": true, "id": 205, "name": "hasFields method should be a function" } ], [ "line", "ok 206 should have isNotDeeply method\n" ], [ "assert", { "ok": true, "id": 206, "name": "should have isNotDeeply method" } ], [ "line", "ok 207 isNotDeeply method should be a function\n" ], [ "assert", { "ok": true, "id": 207, "name": "isNotDeeply method should be a function" } ], [ "line", "ok 208 should have like method\n" ], [ "assert", { "ok": true, "id": 208, "name": "should have like method" } ], [ "line", "ok 209 like method should be a function\n" ], [ "assert", { "ok": true, "id": 209, "name": "like method should be a function" } ], [ "line", "ok 210 should have similar method\n" ], [ "assert", { "ok": true, "id": 210, "name": "should have similar method" } ], [ "line", "ok 211 similar method should be a function\n" ], [ "assert", { "ok": true, "id": 211, "name": "similar method should be a function" } ], [ "line", "ok 212 should have notOk method\n" ], [ "assert", { "ok": true, "id": 212, "name": "should have notOk method" } ], [ "line", "ok 213 notOk method should be a function\n" ], [ "assert", { "ok": true, "id": 213, "name": "notOk method should be a function" } ], [ "line", "ok 214 should have isDissimilar method\n" ], [ "assert", { "ok": true, "id": 214, "name": "should have isDissimilar method" } ], [ "line", "ok 215 isDissimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 215, "name": "isDissimilar method should be a function" } ], [ "line", "ok 216 should have isEquivalent method\n" ], [ "assert", { "ok": true, "id": 216, "name": "should have isEquivalent method" } ], [ "line", "ok 217 isEquivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 217, "name": "isEquivalent method should be a function" } ], [ "line", "ok 218 should have doesNotEqual method\n" ], [ "assert", { "ok": true, "id": 218, "name": "should have doesNotEqual method" } ], [ "line", "ok 219 doesNotEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 219, "name": "doesNotEqual method should be a function" } ], [ "line", "ok 220 should have isSimilar method\n" ], [ "assert", { "ok": true, "id": 220, "name": "should have isSimilar method" } ], [ "line", "ok 221 isSimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 221, "name": "isSimilar method should be a function" } ], [ "line", "ok 222 should have notDeepEqual method\n" ], [ "assert", { "ok": true, "id": 222, "name": "should have notDeepEqual method" } ], [ "line", "ok 223 notDeepEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 223, "name": "notDeepEqual method should be a function" } ], [ "line", "ok 224 should have type method\n" ], [ "assert", { "ok": true, "id": 224, "name": "should have type method" } ], [ "line", "ok 225 type method should be a function\n" ], [ "assert", { "ok": true, "id": 225, "name": "type method should be a function" } ], [ "line", "ok 226 should have notok method\n" ], [ "assert", { "ok": true, "id": 226, "name": "should have notok method" } ], [ "line", "ok 227 notok method should be a function\n" ], [ "assert", { "ok": true, "id": 227, "name": "notok method should be a function" } ], [ "line", "ok 228 should have isInequivalent method\n" ], [ "assert", { "ok": true, "id": 228, "name": "should have isInequivalent method" } ], [ "line", "ok 229 isInequivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 229, "name": "isInequivalent method should be a function" } ], [ "line", "ok 230 should have isNot method\n" ], [ "assert", { "ok": true, "id": 230, "name": "should have isNot method" } ], [ "line", "ok 231 isNot method should be a function\n" ], [ "assert", { "ok": true, "id": 231, "name": "isNot method should be a function" } ], [ "line", "ok 232 should have same method\n" ], [ "assert", { "ok": true, "id": 232, "name": "should have same method" } ], [ "line", "ok 233 same method should be a function\n" ], [ "assert", { "ok": true, "id": 233, "name": "same method should be a function" } ], [ "line", "ok 234 should have isInequal method\n" ], [ "assert", { "ok": true, "id": 234, "name": "should have isInequal method" } ], [ "line", "ok 235 isInequal method should be a function\n" ], [ "assert", { "ok": true, "id": 235, "name": "isInequal method should be a function" } ], [ "line", "ok 236 should have _endNice method\n" ], [ "assert", { "ok": true, "id": 236, "name": "should have _endNice method" } ], [ "line", "ok 237 _endNice method should be a function\n" ], [ "assert", { "ok": true, "id": 237, "name": "_endNice method should be a function" } ], [ "line", "ok 238 should have ifError method\n" ], [ "assert", { "ok": true, "id": 238, "name": "should have ifError method" } ], [ "line", "ok 239 ifError method should be a function\n" ], [ "assert", { "ok": true, "id": 239, "name": "ifError method should be a function" } ], [ "line", "ok 240 should have iferror method\n" ], [ "assert", { "ok": true, "id": 240, "name": "should have iferror method" } ], [ "line", "ok 241 iferror method should be a function\n" ], [ "assert", { "ok": true, "id": 241, "name": "iferror method should be a function" } ], [ "line", "ok 242 should have clear method\n" ], [ "assert", { "ok": true, "id": 242, "name": "should have clear method" } ], [ "line", "ok 243 clear method should be a function\n" ], [ "assert", { "ok": true, "id": 243, "name": "clear method should be a function" } ], [ "line", "ok 244 should have has method\n" ], [ "assert", { "ok": true, "id": 244, "name": "should have has method" } ], [ "line", "ok 245 has method should be a function\n" ], [ "assert", { "ok": true, "id": 245, "name": "has method should be a function" } ], [ "line", "ok 246 should have not method\n" ], [ "assert", { "ok": true, "id": 246, "name": "should have not method" } ], [ "line", "ok 247 not method should be a function\n" ], [ "assert", { "ok": true, "id": 247, "name": "not method should be a function" } ], [ "line", "ok 248 should have timeout method\n" ], [ "assert", { "ok": true, "id": 248, "name": "should have timeout method" } ], [ "line", "ok 249 timeout method should be a function\n" ], [ "assert", { "ok": true, "id": 249, "name": "timeout method should be a function" } ], [ "line", "ok 250 should have notSimilar method\n" ], [ "assert", { "ok": true, "id": 250, "name": "should have notSimilar method" } ], [ "line", "ok 251 notSimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 251, "name": "notSimilar method should be a function" } ], [ "line", "ok 252 should have isUnlike method\n" ], [ "assert", { "ok": true, "id": 252, "name": "should have isUnlike method" } ], [ "line", "ok 253 isUnlike method should be a function\n" ], [ "assert", { "ok": true, "id": 253, "name": "isUnlike method should be a function" } ], [ "line", "ok 254 should have notEquals method\n" ], [ "assert", { "ok": true, "id": 254, "name": "should have notEquals method" } ], [ "line", "ok 255 notEquals method should be a function\n" ], [ "assert", { "ok": true, "id": 255, "name": "notEquals method should be a function" } ], [ "line", "ok 256 should have unsimilar method\n" ], [ "assert", { "ok": true, "id": 256, "name": "should have unsimilar method" } ], [ "line", "ok 257 unsimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 257, "name": "unsimilar method should be a function" } ], [ "line", "ok 258 should have result method\n" ], [ "assert", { "ok": true, "id": 258, "name": "should have result method" } ], [ "line", "ok 259 result method should be a function\n" ], [ "assert", { "ok": true, "id": 259, "name": "result method should be a function" } ], [ "line", "ok 260 should have doesNotThrow method\n" ], [ "assert", { "ok": true, "id": 260, "name": "should have doesNotThrow method" } ], [ "line", "ok 261 doesNotThrow method should be a function\n" ], [ "assert", { "ok": true, "id": 261, "name": "doesNotThrow method should be a function" } ], [ "line", "ok 262 should have error method\n" ], [ "assert", { "ok": true, "id": 262, "name": "should have error method" } ], [ "line", "ok 263 error method should be a function\n" ], [ "assert", { "ok": true, "id": 263, "name": "error method should be a function" } ], [ "line", "ok 264 should have constructor method\n" ], [ "assert", { "ok": true, "id": 264, "name": "should have constructor method" } ], [ "line", "ok 265 constructor method should be a function\n" ], [ "assert", { "ok": true, "id": 265, "name": "constructor method should be a function" } ], [ "line", "ok 266 should have notEqual method\n" ], [ "assert", { "ok": true, "id": 266, "name": "should have notEqual method" } ], [ "line", "ok 267 notEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 267, "name": "notEqual method should be a function" } ], [ "line", "ok 268 should have throws method\n" ], [ "assert", { "ok": true, "id": 268, "name": "should have throws method" } ], [ "line", "ok 269 throws method should be a function\n" ], [ "assert", { "ok": true, "id": 269, "name": "throws method should be a function" } ], [ "line", "ok 270 should have isLike method\n" ], [ "assert", { "ok": true, "id": 270, "name": "should have isLike method" } ], [ "line", "ok 271 isLike method should be a function\n" ], [ "assert", { "ok": true, "id": 271, "name": "isLike method should be a function" } ], [ "line", "ok 272 should have isNotSimilar method\n" ], [ "assert", { "ok": true, "id": 272, "name": "should have isNotSimilar method" } ], [ "line", "ok 273 isNotSimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 273, "name": "isNotSimilar method should be a function" } ], [ "line", "ok 274 should have isNotEquivalent method\n" ], [ "assert", { "ok": true, "id": 274, "name": "should have isNotEquivalent method" } ], [ "line", "ok 275 isNotEquivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 275, "name": "isNotEquivalent method should be a function" } ], [ "line", "ok 276 should have inequal method\n" ], [ "assert", { "ok": true, "id": 276, "name": "should have inequal method" } ], [ "line", "ok 277 inequal method should be a function\n" ], [ "assert", { "ok": true, "id": 277, "name": "inequal method should be a function" } ], [ "line", "ok 278 should have notEquivalent method\n" ], [ "assert", { "ok": true, "id": 278, "name": "should have notEquivalent method" } ], [ "line", "ok 279 notEquivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 279, "name": "notEquivalent method should be a function" } ], [ "line", "ok 280 should have isNotLike method\n" ], [ "assert", { "ok": true, "id": 280, "name": "should have isNotLike method" } ], [ "line", "ok 281 isNotLike method should be a function\n" ], [ "assert", { "ok": true, "id": 281, "name": "isNotLike method should be a function" } ], [ "line", "ok 282 should have equivalent method\n" ], [ "assert", { "ok": true, "id": 282, "name": "should have equivalent method" } ], [ "line", "ok 283 equivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 283, "name": "equivalent method should be a function" } ], [ "line", "ok 284 should have looseEqual method\n" ], [ "assert", { "ok": true, "id": 284, "name": "should have looseEqual method" } ], [ "line", "ok 285 looseEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 285, "name": "looseEqual method should be a function" } ], [ "line", "ok 286 should have equal method\n" ], [ "assert", { "ok": true, "id": 286, "name": "should have equal method" } ], [ "line", "ok 287 equal method should be a function\n" ], [ "assert", { "ok": true, "id": 287, "name": "equal method should be a function" } ], [ "line", "ok 288 should have unlike method\n" ], [ "assert", { "ok": true, "id": 288, "name": "should have unlike method" } ], [ "line", "ok 289 unlike method should be a function\n" ], [ "assert", { "ok": true, "id": 289, "name": "unlike method should be a function" } ], [ "line", "ok 290 should have doesNotHave method\n" ], [ "assert", { "ok": true, "id": 290, "name": "should have doesNotHave method" } ], [ "line", "ok 291 doesNotHave method should be a function\n" ], [ "assert", { "ok": true, "id": 291, "name": "doesNotHave method should be a function" } ], [ "line", "ok 292 should have comment method\n" ], [ "assert", { "ok": true, "id": 292, "name": "should have comment method" } ], [ "line", "ok 293 comment method should be a function\n" ], [ "assert", { "ok": true, "id": 293, "name": "comment method should be a function" } ], [ "line", "ok 294 should have isa method\n" ], [ "assert", { "ok": true, "id": 294, "name": "should have isa method" } ], [ "line", "ok 295 isa method should be a function\n" ], [ "assert", { "ok": true, "id": 295, "name": "isa method should be a function" } ], [ "line", "# tests 147\n" ], [ "comment", "# tests 147\n" ], [ "line", "# pass 147\n" ], [ "comment", "# pass 147\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 296 test/test-test.js\n" ], [ "assert", { "ok": true, "id": 296, "name": "test/test-test.js" } ], [ "line", "# timeout.js\n" ], [ "comment", "# timeout.js\n" ], [ "line", "timeout test\n" ], [ "extra", "timeout test\n" ], [ "line", "t.plan=2\n" ], [ "extra", "t.plan=2\n" ], [ "line", "a assert\n" ], [ "extra", "a assert\n" ], [ "line", "b assert\n" ], [ "extra", "b assert\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# timeout test with plan only\n" ], [ "comment", "# timeout test with plan only\n" ], [ "line", "ok 297 a\n" ], [ "assert", { "ok": true, "id": 297, "name": "a" } ], [ "line", "timeout test\n" ], [ "extra", "timeout test\n" ], [ "line", "t.plan=2\n" ], [ "extra", "t.plan=2\n" ], [ "line", "a assert\n" ], [ "extra", "a assert\n" ], [ "line", "b assert\n" ], [ "extra", "b assert\n" ], [ "line", "ok 298 b\n" ], [ "assert", { "ok": true, "id": 298, "name": "b" } ], [ "line", "# timeout test with plan and end\n" ], [ "comment", "# timeout test with plan and end\n" ], [ "line", "ok 299 a\n" ], [ "assert", { "ok": true, "id": 299, "name": "a" } ], [ "line", "ok 300 b\n" ], [ "assert", { "ok": true, "id": 300, "name": "b" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 301 test/timeout.js\n" ], [ "assert", { "ok": true, "id": 301, "name": "test/timeout.js" } ], [ "line", "# trivial-success.js\n" ], [ "comment", "# trivial-success.js\n" ], [ "line", "ok 302 test/trivial-success.js\n" ], [ "assert", { "ok": true, "id": 302, "name": "test/trivial-success.js" } ], [ "line", "# undefined_indented.js\n" ], [ "comment", "# undefined_indented.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# consume yaml\n" ], [ "comment", "# consume yaml\n" ], [ "line", "ok 303 should be equivalent\n" ], [ "assert", { "ok": true, "id": 303, "name": "should be equivalent" } ], [ "line", "# tests 1\n" ], [ "comment", "# tests 1\n" ], [ "line", "# pass 1\n" ], [ "comment", "# pass 1\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 304 test/undefined_indented.js\n" ], [ "assert", { "ok": true, "id": 304, "name": "test/undefined_indented.js" } ], [ "line", "# valid-command.js\n" ], [ "comment", "# valid-command.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# valid command\n" ], [ "comment", "# valid command\n" ], [ "line", "ok 305 should be equivalent\n" ], [ "assert", { "ok": true, "id": 305, "name": "should be equivalent" } ], [ "line", "ok 306 should be equivalent\n" ], [ "assert", { "ok": true, "id": 306, "name": "should be equivalent" } ], [ "line", "ok 307 should be equivalent\n" ], [ "assert", { "ok": true, "id": 307, "name": "should be equivalent" } ], [ "line", "ok 308 should be equivalent\n" ], [ "assert", { "ok": true, "id": 308, "name": "should be equivalent" } ], [ "line", "ok 309 should be equivalent\n" ], [ "assert", { "ok": true, "id": 309, "name": "should be equivalent" } ], [ "line", "ok 310 should be equal\n" ], [ "assert", { "ok": true, "id": 310, "name": "should be equal" } ], [ "line", "# tests 6\n" ], [ "comment", "# tests 6\n" ], [ "line", "# pass 6\n" ], [ "comment", "# pass 6\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 311 test/valid-command.js\n" ], [ "assert", { "ok": true, "id": 311, "name": "test/valid-command.js" } ], [ "line", "1..311\n" ], [ "plan", { "start": 1, "end": 311 } ], [ "line", "# tests 311\n" ], [ "comment", "# tests 311\n" ], [ "line", "# pass 297\n" ], [ "comment", "# pass 297\n" ], [ "line", "# fail 5\n" ], [ "comment", "# fail 5\n" ], [ "line", "# skip 5\n" ], [ "comment", "# skip 5\n" ], [ "line", "# todo 4\n" ], [ "comment", "# todo 4\n" ], [ "line", "# failed 5 of 311 tests\n" ], [ "comment", "# failed 5 of 311 tests\n" ], [ "line", "# todo: 4\n" ], [ "comment", "# todo: 4\n" ], [ "line", "# skip: 5\n" ], [ "comment", "# skip: 5\n" ], [ "complete", { "ok": false, "count": 311, "pass": 306, "fail": 5, "bailout": false, "todo": 4, "skip": 5, "plan": { "start": 1, "end": 311, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 114, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Socket. (child_process.js:1153:11)\n", "emitOne (events.js:77:13)\n" ] } }, { "ok": false, "id": 119, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:18:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } }, { "ok": false, "id": 121, "name": "summarizes skipped count", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:23:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } }, { "ok": false, "id": 122, "name": "summarizes todo count", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:24:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } }, { "ok": false, "id": 123, "name": "test/test-descriptions.js", "diag": { "exit": 1, "command": "/usr/local/bin/iojs test-descriptions.js" } } ] } ] ] tap-parser-7.0.0/test/fixtures/tap-tests--preservewhite--omitversion.json000066400000000000000000002570151320135610000266440ustar00rootroot00000000000000[ [ "line", "# buffer_compare.js\n" ], [ "comment", "# buffer_compare.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# same buffers\n" ], [ "comment", "# same buffers\n" ], [ "line", "ok 1 should be equivalent\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equivalent" } ], [ "line", "# not same buffers\n" ], [ "comment", "# not same buffers\n" ], [ "line", "ok 2 should not be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should not be equivalent" } ], [ "line", "# tests 2\n" ], [ "comment", "# tests 2\n" ], [ "line", "# pass 2\n" ], [ "comment", "# pass 2\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 3 test/buffer_compare.js\n" ], [ "assert", { "ok": true, "id": 3, "name": "test/buffer_compare.js" } ], [ "line", "# common.js\n" ], [ "comment", "# common.js\n" ], [ "line", "ok 4 just setup, nothing relevant\n" ], [ "assert", { "ok": true, "id": 4, "name": "just setup, nothing relevant" } ], [ "line", "ok 5 test/common.js\n" ], [ "assert", { "ok": true, "id": 5, "name": "test/common.js" } ], [ "line", "# consumer.js\n" ], [ "comment", "# consumer.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# basic.tap\n" ], [ "comment", "# basic.tap\n" ], [ "line", "ok 6 should be equivalent\n" ], [ "assert", { "ok": true, "id": 6, "name": "should be equivalent" } ], [ "line", "# indent.tap\n" ], [ "comment", "# indent.tap\n" ], [ "line", "ok 7 should be equivalent\n" ], [ "assert", { "ok": true, "id": 7, "name": "should be equivalent" } ], [ "line", "# missing.tap\n" ], [ "comment", "# missing.tap\n" ], [ "line", "ok 8 should be equivalent\n" ], [ "assert", { "ok": true, "id": 8, "name": "should be equivalent" } ], [ "line", "# skip-all.tap\n" ], [ "comment", "# skip-all.tap\n" ], [ "line", "ok 9 should be equivalent\n" ], [ "assert", { "ok": true, "id": 9, "name": "should be equivalent" } ], [ "line", "# yamlish.tap\n" ], [ "comment", "# yamlish.tap\n" ], [ "line", "ok 10 should be equivalent\n" ], [ "assert", { "ok": true, "id": 10, "name": "should be equivalent" } ], [ "line", "# tests 5\n" ], [ "comment", "# tests 5\n" ], [ "line", "# pass 5\n" ], [ "comment", "# pass 5\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 11 test/consumer.js\n" ], [ "assert", { "ok": true, "id": 11, "name": "test/consumer.js" } ], [ "line", "# debug-test.js\n" ], [ "comment", "# debug-test.js\n" ], [ "line", "debug test\n" ], [ "extra", "debug test\n" ], [ "line", "t.plan=1\n" ], [ "extra", "t.plan=1\n" ], [ "line", "'Debugger listening on port 5858\\n'\n" ], [ "extra", "'Debugger listening on port 5858\\n'\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# debug test\n" ], [ "comment", "# debug test\n" ], [ "line", "ok 12 Should output debugger message\n" ], [ "assert", { "ok": true, "id": 12, "name": "Should output debugger message" } ], [ "line", "# tests 1\n" ], [ "comment", "# tests 1\n" ], [ "line", "# pass 1\n" ], [ "comment", "# pass 1\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 13 test/debug-test.js\n" ], [ "assert", { "ok": true, "id": 13, "name": "test/debug-test.js" } ], [ "line", "# deep-strict.js\n" ], [ "comment", "# deep-strict.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# strictDeepEquals shouldn't care about key order\n" ], [ "comment", "# strictDeepEquals shouldn't care about key order\n" ], [ "line", "ok 14 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 14, "name": "should be strictly equal" } ], [ "line", "# strictDeepEquals shouldn't care about key order recursively\n" ], [ "comment", "# strictDeepEquals shouldn't care about key order recursively\n" ], [ "line", "ok 15 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 15, "name": "should be strictly equal" } ], [ "line", "# strictDeepEquals shoudn't care about key order (but still might)\n" ], [ "comment", "# strictDeepEquals shoudn't care about key order (but still might)\n" ], [ "line", "ok 16 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 16, "name": "should be strictly equal" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 17 test/deep-strict.js\n" ], [ "assert", { "ok": true, "id": 17, "name": "test/deep-strict.js" } ], [ "line", "# deep.js\n" ], [ "comment", "# deep.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# deepEquals shouldn't care about key order and types\n" ], [ "comment", "# deepEquals shouldn't care about key order and types\n" ], [ "line", "ok 18 should be equivalent\n" ], [ "assert", { "ok": true, "id": 18, "name": "should be equivalent" } ], [ "line", "# deepEquals shouldn't care about key order recursively and types\n" ], [ "comment", "# deepEquals shouldn't care about key order recursively and types\n" ], [ "line", "ok 19 should be equivalent\n" ], [ "assert", { "ok": true, "id": 19, "name": "should be equivalent" } ], [ "line", "# deepEquals shoudn't care about key order (but still might) and types\n" ], [ "comment", "# deepEquals shoudn't care about key order (but still might) and types\n" ], [ "line", "ok 20 should be equivalent\n" ], [ "assert", { "ok": true, "id": 20, "name": "should be equivalent" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 21 test/deep.js\n" ], [ "assert", { "ok": true, "id": 21, "name": "test/deep.js" } ], [ "line", "# executed.sh\n" ], [ "comment", "# executed.sh\n" ], [ "line", "ok 22 File with executable bit should be executed\n" ], [ "assert", { "ok": true, "id": 22, "name": "File with executable bit should be executed" } ], [ "line", "ok 23 test/executed.sh\n" ], [ "assert", { "ok": true, "id": 23, "name": "test/executed.sh" } ], [ "line", "# exit-code.js\n" ], [ "comment", "# exit-code.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# exit code 1 when tap results show failure\n" ], [ "comment", "# exit code 1 when tap results show failure\n" ], [ "line", "# test exits 0, has failures\n" ], [ "comment", "# test exits 0, has failures\n" ], [ "line", "ok 24 should be equal\n" ], [ "assert", { "ok": true, "id": 24, "name": "should be equal" } ], [ "line", "ok 25 should be equal\n" ], [ "assert", { "ok": true, "id": 25, "name": "should be equal" } ], [ "line", "# test exits 1, has failures\n" ], [ "comment", "# test exits 1, has failures\n" ], [ "line", "ok 26 should be equal\n" ], [ "assert", { "ok": true, "id": 26, "name": "should be equal" } ], [ "line", "ok 27 should be equal\n" ], [ "assert", { "ok": true, "id": 27, "name": "should be equal" } ], [ "line", "# test exits 1, has no failures\n" ], [ "comment", "# test exits 1, has no failures\n" ], [ "line", "ok 28 should be equal\n" ], [ "assert", { "ok": true, "id": 28, "name": "should be equal" } ], [ "line", "ok 29 should be equal\n" ], [ "assert", { "ok": true, "id": 29, "name": "should be equal" } ], [ "line", "# successes exit 0\n" ], [ "comment", "# successes exit 0\n" ], [ "line", "# test that does nothing, but exits 0\n" ], [ "comment", "# test that does nothing, but exits 0\n" ], [ "line", "ok 30 should be equal\n" ], [ "assert", { "ok": true, "id": 30, "name": "should be equal" } ], [ "line", "ok 31 should be equal\n" ], [ "assert", { "ok": true, "id": 31, "name": "should be equal" } ], [ "line", "# test that succeeds, and exits 0\n" ], [ "comment", "# test that succeeds, and exits 0\n" ], [ "line", "ok 32 should be equal\n" ], [ "assert", { "ok": true, "id": 32, "name": "should be equal" } ], [ "line", "ok 33 should be equal\n" ], [ "assert", { "ok": true, "id": 33, "name": "should be equal" } ], [ "line", "# tests 10\n" ], [ "comment", "# tests 10\n" ], [ "line", "# pass 10\n" ], [ "comment", "# pass 10\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 34 test/exit-code.js\n" ], [ "assert", { "ok": true, "id": 34, "name": "test/exit-code.js" } ], [ "line", "# expose-gc-test.js\n" ], [ "comment", "# expose-gc-test.js\n" ], [ "line", "gc test\n" ], [ "extra", "gc test\n" ], [ "line", "t.plan=1\n" ], [ "extra", "t.plan=1\n" ], [ "line", "assert gc does not exist\n" ], [ "extra", "assert gc does not exist\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# gc test when the gc isn't there\n" ], [ "comment", "# gc test when the gc isn't there\n" ], [ "line", "gc test\n" ], [ "extra", "gc test\n" ], [ "line", "t.plan=2\n" ], [ "extra", "t.plan=2\n" ], [ "line", "gc test using --gc\n" ], [ "extra", "gc test using --gc\n" ], [ "line", "t.plan=1\n" ], [ "extra", "t.plan=1\n" ], [ "line", "assert gc exists\n" ], [ "extra", "assert gc exists\n" ], [ "line", "gc test using --expose-gc\n" ], [ "extra", "gc test using --expose-gc\n" ], [ "line", "t.plan=1\n" ], [ "extra", "t.plan=1\n" ], [ "line", "assert gc exists\n" ], [ "extra", "assert gc exists\n" ], [ "line", "ok 35 should be equal\n" ], [ "assert", { "ok": true, "id": 35, "name": "should be equal" } ], [ "line", "# gc test when the gc should be there\n" ], [ "comment", "# gc test when the gc should be there\n" ], [ "line", "# test for gc using --gc\n" ], [ "comment", "# test for gc using --gc\n" ], [ "line", "ok 36 should be equal\n" ], [ "assert", { "ok": true, "id": 36, "name": "should be equal" } ], [ "line", "# test for gc using --expose-gc\n" ], [ "comment", "# test for gc using --expose-gc\n" ], [ "line", "ok 37 should be equal\n" ], [ "assert", { "ok": true, "id": 37, "name": "should be equal" } ], [ "line", "# cleanup\n" ], [ "comment", "# cleanup\n" ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 38 test/expose-gc-test.js\n" ], [ "assert", { "ok": true, "id": 38, "name": "test/expose-gc-test.js" } ], [ "line", "# global-harness-async.js\n" ], [ "comment", "# global-harness-async.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# outer\n" ], [ "comment", "# outer\n" ], [ "line", "# inner 1\n" ], [ "comment", "# inner 1\n" ], [ "line", "ok 39 1-1\n" ], [ "assert", { "ok": true, "id": 39, "name": "1-1" } ], [ "line", "# inner 2\n" ], [ "comment", "# inner 2\n" ], [ "line", "ok 40 2-1\n" ], [ "assert", { "ok": true, "id": 40, "name": "2-1" } ], [ "line", "# inner 3\n" ], [ "comment", "# inner 3\n" ], [ "line", "ok 41 3-1\n" ], [ "assert", { "ok": true, "id": 41, "name": "3-1" } ], [ "line", "ok 42 test/global-harness-async.js\n" ], [ "assert", { "ok": true, "id": 42, "name": "test/global-harness-async.js" } ], [ "line", "# independent-timeouts.js\n" ], [ "comment", "# independent-timeouts.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# finishes in time\n" ], [ "comment", "# finishes in time\n" ], [ "line", "# finishes in time too\n" ], [ "comment", "# finishes in time too\n" ], [ "line", "# tests 0\n" ], [ "comment", "# tests 0\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 43 test/independent-timeouts.js\n" ], [ "assert", { "ok": true, "id": 43, "name": "test/independent-timeouts.js" } ], [ "line", "# isolated-conf-test.js\n" ], [ "comment", "# isolated-conf-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# one\n" ], [ "comment", "# one\n" ], [ "line", "ok 44 should be equal\n" ], [ "assert", { "ok": true, "id": 44, "name": "should be equal" } ], [ "line", "ok 45 should be equal\n" ], [ "assert", { "ok": true, "id": 45, "name": "should be equal" } ], [ "line", "# two\n" ], [ "comment", "# two\n" ], [ "line", "ok 46 should be equal\n" ], [ "assert", { "ok": true, "id": 46, "name": "should be equal" } ], [ "line", "ok 47 should be equal\n" ], [ "assert", { "ok": true, "id": 47, "name": "should be equal" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 48 test/isolated-conf-test.js\n" ], [ "assert", { "ok": true, "id": 48, "name": "test/isolated-conf-test.js" } ], [ "line", "# meta-test.js\n" ], [ "comment", "# meta-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# meta test\n" ], [ "comment", "# meta test\n" ], [ "line", "ok 49 sanity check\n" ], [ "assert", { "ok": true, "id": 49, "name": "sanity check" } ], [ "line", "ok 50 not ok\n" ], [ "assert", { "ok": true, "id": 50, "name": "not ok" } ], [ "line", "ok 51 total test count\n" ], [ "assert", { "ok": true, "id": 51, "name": "total test count" } ], [ "line", "ok 52 tests passed\n" ], [ "assert", { "ok": true, "id": 52, "name": "tests passed" } ], [ "line", "ok 53 tests failed\n" ], [ "assert", { "ok": true, "id": 53, "name": "tests failed" } ], [ "line", "ok 54 ok is boolean\n" ], [ "assert", { "ok": true, "id": 54, "name": "ok is boolean" } ], [ "line", "ok 55 skip is number\n" ], [ "assert", { "ok": true, "id": 55, "name": "skip is number" } ], [ "line", "ok 56 results isa Results\n" ], [ "assert", { "ok": true, "id": 56, "name": "results isa Results" } ], [ "line", "ok 57 test isa Test\n" ], [ "assert", { "ok": true, "id": 57, "name": "test isa Test" } ], [ "line", "ok 58 test isa Harness\n" ], [ "assert", { "ok": true, "id": 58, "name": "test isa Harness" } ], [ "line", "# tests 10\n" ], [ "comment", "# tests 10\n" ], [ "line", "# pass 10\n" ], [ "comment", "# pass 10\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 59 test/meta-test.js\n" ], [ "assert", { "ok": true, "id": 59, "name": "test/meta-test.js" } ], [ "line", "# nested-async.js\n" ], [ "comment", "# nested-async.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# Harness async test support\n" ], [ "comment", "# Harness async test support\n" ], [ "line", "ok 60 sync child A\n" ], [ "assert", { "ok": true, "id": 60, "name": "sync child A" } ], [ "line", "# sync child B\n" ], [ "comment", "# sync child B\n" ], [ "line", "# async grandchild A\n" ], [ "comment", "# async grandchild A\n" ], [ "line", "ok 61 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 61, "name": "(unnamed assert)" } ], [ "line", "# async grandchild B\n" ], [ "comment", "# async grandchild B\n" ], [ "line", "ok 62 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 62, "name": "(unnamed assert)" } ], [ "line", "# async child\n" ], [ "comment", "# async child\n" ], [ "line", "ok 63 sync grandchild in async child A\n" ], [ "assert", { "ok": true, "id": 63, "name": "sync grandchild in async child A" } ], [ "line", "# sync grandchild in async child B\n" ], [ "comment", "# sync grandchild in async child B\n" ], [ "line", "ok 64 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 64, "name": "(unnamed assert)" } ], [ "line", "# tests 5\n" ], [ "comment", "# tests 5\n" ], [ "line", "# pass 5\n" ], [ "comment", "# pass 5\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 65 test/nested-async.js\n" ], [ "assert", { "ok": true, "id": 65, "name": "test/nested-async.js" } ], [ "line", "# nested-test.js\n" ], [ "comment", "# nested-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# parent\n" ], [ "comment", "# parent\n" ], [ "line", "ok 66 p test\n" ], [ "assert", { "ok": true, "id": 66, "name": "p test" } ], [ "line", "# subtest\n" ], [ "comment", "# subtest\n" ], [ "line", "ok 67 ch test\n" ], [ "assert", { "ok": true, "id": 67, "name": "ch test" } ], [ "line", "# nested subtest\n" ], [ "comment", "# nested subtest\n" ], [ "line", "ok 68 grch test\n" ], [ "assert", { "ok": true, "id": 68, "name": "grch test" } ], [ "line", "# another subtest\n" ], [ "comment", "# another subtest\n" ], [ "line", "ok 69 ch test 2\n" ], [ "assert", { "ok": true, "id": 69, "name": "ch test 2" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 70 test/nested-test.js\n" ], [ "assert", { "ok": true, "id": 70, "name": "test/nested-test.js" } ], [ "line", "# non-tap-output.js\n" ], [ "comment", "# non-tap-output.js\n" ], [ "line", "# everything is fine\n" ], [ "comment", "# everything is fine\n" ], [ "line", "# there are no errors\n" ], [ "comment", "# there are no errors\n" ], [ "line", "# this output is not haiku.\n" ], [ "comment", "# this output is not haiku.\n" ], [ "line", "# is 8 ok?\n" ], [ "comment", "# is 8 ok?\n" ], [ "line", "ok 71 , 8 can stay.\n" ], [ "assert", { "ok": true, "id": 71, "name": ", 8 can stay." } ], [ "line", "# but: nevertheless, here we are\n" ], [ "comment", "# but: nevertheless, here we are\n" ], [ "line", "# this: is indented\n" ], [ "comment", "# this: is indented\n" ], [ "line", "# and: it\n" ], [ "comment", "# and: it\n" ], [ "line", "# might: ~\n" ], [ "comment", "# might: ~\n" ], [ "line", "# be: yaml?\n" ], [ "comment", "# be: yaml?\n" ], [ "line", "ok 72 might be confusing\n" ], [ "assert", { "ok": true, "id": 72, "name": "might be confusing" } ], [ "line", "ok 73 done now, exiting\n" ], [ "assert", { "ok": true, "id": 73, "name": "done now, exiting" } ], [ "line", "ok 74 test/non-tap-output.js\n" ], [ "assert", { "ok": true, "id": 74, "name": "test/non-tap-output.js" } ], [ "line", "# not-executed.sh\n" ], [ "comment", "# not-executed.sh\n" ], [ "line", "# output-childtest-description.js\n" ], [ "comment", "# output-childtest-description.js\n" ], [ "line", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\n" ], [ "comment", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# nested tests, parent and child pass\n" ], [ "comment", "# nested tests, parent and child pass\n" ], [ "line", "ok 75 outputs parent description\n" ], [ "assert", { "ok": true, "id": 75, "name": "outputs parent description" } ], [ "line", "ok 76 outputs child description\n" ], [ "assert", { "ok": true, "id": 76, "name": "outputs child description" } ], [ "line", "ok 77 outputs parent description before parent result\n" ], [ "assert", { "ok": true, "id": 77, "name": "outputs parent description before parent result" } ], [ "line", "ok 78 outputs parent result before child description\n" ], [ "assert", { "ok": true, "id": 78, "name": "outputs parent result before child description" } ], [ "line", "ok 79 outputs child description before child result\n" ], [ "assert", { "ok": true, "id": 79, "name": "outputs child description before child result" } ], [ "line", "# tests 5\n" ], [ "comment", "# tests 5\n" ], [ "line", "# pass 5\n" ], [ "comment", "# pass 5\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 80 test/output-childtest-description.js\n" ], [ "assert", { "ok": true, "id": 80, "name": "test/output-childtest-description.js" } ], [ "line", "# result-trap.js\n" ], [ "comment", "# result-trap.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trap result\n" ], [ "comment", "# trap result\n" ], [ "line", "ok 81 should be equal\n" ], [ "assert", { "ok": true, "id": 81, "name": "should be equal" } ], [ "line", "ok 82 should be equal\n" ], [ "assert", { "ok": true, "id": 82, "name": "should be equal" } ], [ "line", "# tests 2\n" ], [ "comment", "# tests 2\n" ], [ "line", "# pass 2\n" ], [ "comment", "# pass 2\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 83 test/result-trap.js\n" ], [ "assert", { "ok": true, "id": 83, "name": "test/result-trap.js" } ], [ "line", "# segv.js\n" ], [ "comment", "# segv.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# setup\n" ], [ "comment", "# setup\n" ], [ "line", "ok 84 compiled seg faulter\n" ], [ "assert", { "ok": true, "id": 84, "name": "compiled seg faulter" } ], [ "line", "# segv\n" ], [ "comment", "# segv\n" ], [ "line", "ok 85 should be equivalent\n" ], [ "assert", { "ok": true, "id": 85, "name": "should be equivalent" } ], [ "line", "ok 86 should be equivalent\n" ], [ "assert", { "ok": true, "id": 86, "name": "should be equivalent" } ], [ "line", "ok 87 should be equivalent\n" ], [ "assert", { "ok": true, "id": 87, "name": "should be equivalent" } ], [ "line", "ok 88 should be equivalent\n" ], [ "assert", { "ok": true, "id": 88, "name": "should be equivalent" } ], [ "line", "ok 89 should be equivalent\n" ], [ "assert", { "ok": true, "id": 89, "name": "should be equivalent" } ], [ "line", "ok 90 should be equal\n" ], [ "assert", { "ok": true, "id": 90, "name": "should be equal" } ], [ "line", "# cleanup\n" ], [ "comment", "# cleanup\n" ], [ "line", "ok 91 cleaned up\n" ], [ "assert", { "ok": true, "id": 91, "name": "cleaned up" } ], [ "line", "# tests 8\n" ], [ "comment", "# tests 8\n" ], [ "line", "# pass 8\n" ], [ "comment", "# pass 8\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 92 test/segv.js\n" ], [ "assert", { "ok": true, "id": 92, "name": "test/segv.js" } ], [ "line", "# simple-harness-test-with-plan.js\n" ], [ "comment", "# simple-harness-test-with-plan.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trivial success\n" ], [ "comment", "# trivial success\n" ], [ "line", "ok 93 it works\n" ], [ "assert", { "ok": true, "id": 93, "name": "it works" } ], [ "line", "# two tests\n" ], [ "comment", "# two tests\n" ], [ "line", "ok 94 math should work\n" ], [ "assert", { "ok": true, "id": 94, "name": "math should work" } ], [ "line", "ok 95 false should not be ok\n" ], [ "assert", { "ok": true, "id": 95, "name": "false should not be ok" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 96 test/simple-harness-test-with-plan.js\n" ], [ "assert", { "ok": true, "id": 96, "name": "test/simple-harness-test-with-plan.js" } ], [ "line", "# simple-harness-test.js\n" ], [ "comment", "# simple-harness-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trivial success\n" ], [ "comment", "# trivial success\n" ], [ "line", "ok 97 it works\n" ], [ "assert", { "ok": true, "id": 97, "name": "it works" } ], [ "line", "# two tests\n" ], [ "comment", "# two tests\n" ], [ "line", "ok 98 math should work\n" ], [ "assert", { "ok": true, "id": 98, "name": "math should work" } ], [ "line", "ok 99 false should not be ok\n" ], [ "assert", { "ok": true, "id": 99, "name": "false should not be ok" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 100 test/simple-harness-test.js\n" ], [ "assert", { "ok": true, "id": 100, "name": "test/simple-harness-test.js" } ], [ "line", "# test-assert-todo-skip.js\n" ], [ "comment", "# test-assert-todo-skip.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# not much\n" ], [ "comment", "# not much\n" ], [ "line", "ok 101 always passes # SKIP skip it good\n" ], [ "assert", { "ok": true, "id": 101, "skip": "skip it good", "name": "always passes" } ], [ "line", "ok 102 false # SKIP always fails\n" ], [ "assert", { "ok": true, "id": 102, "skip": "always fails", "name": "false" } ], [ "line", "ok 103 bonus # TODO remove todo directive\n" ], [ "assert", { "ok": true, "id": 103, "todo": "remove todo directive", "name": "bonus" } ], [ "line", "ok 104 expected # TODO implement a thing\n" ], [ "assert", { "ok": true, "id": 104, "todo": "implement a thing", "name": "expected" } ], [ "line", "ok 105 always passes without explanation # SKIP\n" ], [ "assert", { "ok": true, "id": 105, "skip": true, "name": "always passes without explanation" } ], [ "line", "ok 106 false without explanation # SKIP\n" ], [ "assert", { "ok": true, "id": 106, "skip": true, "name": "false without explanation" } ], [ "line", "ok 107 bonus without explanation # TODO\n" ], [ "assert", { "ok": true, "id": 107, "todo": true, "name": "bonus without explanation" } ], [ "line", "ok 108 expected without explanation # TODO\n" ], [ "assert", { "ok": true, "id": 108, "todo": true, "name": "expected without explanation" } ], [ "line", "# tests 8\n" ], [ "comment", "# tests 8\n" ], [ "line", "# skip 4\n" ], [ "comment", "# skip 4\n" ], [ "line", "# todo 4\n" ], [ "comment", "# todo 4\n" ], [ "line", "ok 109 test/test-assert-todo-skip.js\n" ], [ "assert", { "ok": true, "id": 109, "name": "test/test-assert-todo-skip.js" } ], [ "line", "# test-descriptions.js\n" ], [ "comment", "# test-descriptions.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# captures test descriptions\n" ], [ "comment", "# captures test descriptions\n" ], [ "line", "ok 110 exit cleanly\n" ], [ "assert", { "ok": true, "id": 110, "name": "exit cleanly" } ], [ "line", "ok 111 captures SKIP description\n" ], [ "assert", { "ok": true, "id": 111, "name": "captures SKIP description" } ], [ "line", "ok 112 skip summary is not from file\n" ], [ "assert", { "ok": true, "id": 112, "name": "skip summary is not from file" } ], [ "line", "ok 113 todo summary is not from file\n" ], [ "assert", { "ok": true, "id": 113, "name": "todo summary is not from file" } ], [ "line", "not ok 114 captures TODO description\n" ], [ "line", " ---\n" ], [ "line", " file: child_process.js\n" ], [ "line", " line: 707\n" ], [ "line", " column: 7\n" ], [ "line", " stack:\n" ], [ "line", " - |\n" ], [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n" ], [ "line", " - |\n" ], [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n" ], [ "line", " - |\n" ], [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n" ], [ "line", " - |\n" ], [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.exithandler (child_process.js:707:7)\n" ], [ "line", " - |\n" ], [ "line", " emitTwo (events.js:87:13)\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.emit (events.js:169:7)\n" ], [ "line", " - |\n" ], [ "line", " maybeClose (child_process.js:984:16)\n" ], [ "line", " - |\n" ], [ "line", " Socket. (child_process.js:1153:11)\n" ], [ "line", " - |\n" ], [ "line", " emitOne (events.js:77:13)\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 114, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Socket. (child_process.js:1153:11)\n", "emitOne (events.js:77:13)\n" ] } } ], [ "line", "ok 115 exit cleanly\n" ], [ "assert", { "ok": true, "id": 115, "name": "exit cleanly" } ], [ "line", "ok 116 captures SKIP description\n" ], [ "assert", { "ok": true, "id": 116, "name": "captures SKIP description" } ], [ "line", "ok 117 skip summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 117, "name": "skip summary is not in TAP output" } ], [ "line", "ok 118 todo summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 118, "name": "todo summary is not in TAP output" } ], [ "line", "not ok 119 captures TODO description\n" ], [ "line", " ---\n" ], [ "line", " file: child_process.js\n" ], [ "line", " line: 707\n" ], [ "line", " column: 7\n" ], [ "line", " stack:\n" ], [ "line", " - |\n" ], [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n" ], [ "line", " - |\n" ], [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n" ], [ "line", " - |\n" ], [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n" ], [ "line", " - |\n" ], [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:18:7\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.exithandler (child_process.js:707:7)\n" ], [ "line", " - |\n" ], [ "line", " emitTwo (events.js:87:13)\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.emit (events.js:169:7)\n" ], [ "line", " - |\n" ], [ "line", " maybeClose (child_process.js:984:16)\n" ], [ "line", " - |\n" ], [ "line", " Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 119, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:18:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } } ], [ "line", "ok 120 exit cleanly\n" ], [ "assert", { "ok": true, "id": 120, "name": "exit cleanly" } ], [ "line", "not ok 121 summarizes skipped count\n" ], [ "line", " ---\n" ], [ "line", " file: child_process.js\n" ], [ "line", " line: 707\n" ], [ "line", " column: 7\n" ], [ "line", " stack:\n" ], [ "line", " - |\n" ], [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n" ], [ "line", " - |\n" ], [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n" ], [ "line", " - |\n" ], [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n" ], [ "line", " - |\n" ], [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:23:7\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.exithandler (child_process.js:707:7)\n" ], [ "line", " - |\n" ], [ "line", " emitTwo (events.js:87:13)\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.emit (events.js:169:7)\n" ], [ "line", " - |\n" ], [ "line", " maybeClose (child_process.js:984:16)\n" ], [ "line", " - |\n" ], [ "line", " Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 121, "name": "summarizes skipped count", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:23:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } } ], [ "line", "not ok 122 summarizes todo count\n" ], [ "line", " ---\n" ], [ "line", " file: child_process.js\n" ], [ "line", " line: 707\n" ], [ "line", " column: 7\n" ], [ "line", " stack:\n" ], [ "line", " - |\n" ], [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n" ], [ "line", " - |\n" ], [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n" ], [ "line", " - |\n" ], [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n" ], [ "line", " - |\n" ], [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:24:7\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.exithandler (child_process.js:707:7)\n" ], [ "line", " - |\n" ], [ "line", " emitTwo (events.js:87:13)\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.emit (events.js:169:7)\n" ], [ "line", " - |\n" ], [ "line", " maybeClose (child_process.js:984:16)\n" ], [ "line", " - |\n" ], [ "line", " Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 122, "name": "summarizes todo count", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:24:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } } ], [ "line", "# tests 13\n" ], [ "comment", "# tests 13\n" ], [ "line", "# pass 9\n" ], [ "comment", "# pass 9\n" ], [ "line", "# fail 4\n" ], [ "comment", "# fail 4\n" ], [ "line", "not ok 123 test/test-descriptions.js\n" ], [ "line", " ---\n" ], [ "line", " exit: 1\n" ], [ "line", " command: \"/usr/local/bin/iojs test-descriptions.js\"\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 123, "name": "test/test-descriptions.js", "diag": { "exit": 1, "command": "/usr/local/bin/iojs test-descriptions.js" } } ], [ "line", "# test-directives.js\n" ], [ "comment", "# test-directives.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# captures test descriptions\n" ], [ "comment", "# captures test descriptions\n" ], [ "line", "# raw TAP > TAP consumer > TAP producer\n" ], [ "comment", "# raw TAP > TAP consumer > TAP producer\n" ], [ "line", "ok 124 overall result is PASS\n" ], [ "assert", { "ok": true, "id": 124, "name": "overall result is PASS" } ], [ "line", "ok 125 captures ok SKIP\n" ], [ "assert", { "ok": true, "id": 125, "name": "captures ok SKIP" } ], [ "line", "ok 126 captures not ok SKIP\n" ], [ "assert", { "ok": true, "id": 126, "name": "captures not ok SKIP" } ], [ "line", "ok 127 skip summary not in TAP output\n" ], [ "assert", { "ok": true, "id": 127, "name": "skip summary not in TAP output" } ], [ "line", "ok 128 captures ok TODO\n" ], [ "assert", { "ok": true, "id": 128, "name": "captures ok TODO" } ], [ "line", "ok 129 captures not ok TODO\n" ], [ "assert", { "ok": true, "id": 129, "name": "captures not ok TODO" } ], [ "line", "ok 130 todo summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 130, "name": "todo summary is not in TAP output" } ], [ "line", "ok 131 no ugly \"undefined\" in output\n" ], [ "assert", { "ok": true, "id": 131, "name": "no ugly \"undefined\" in output" } ], [ "line", "# raw TAP > TAP consumer > summary\n" ], [ "comment", "# raw TAP > TAP consumer > summary\n" ], [ "line", "ok 132 overall result is PASS\n" ], [ "assert", { "ok": true, "id": 132, "name": "overall result is PASS" } ], [ "line", "ok 133 no SKIP in summary\n" ], [ "assert", { "ok": true, "id": 133, "name": "no SKIP in summary" } ], [ "line", "ok 134 skip summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 134, "name": "skip summary is not in TAP output" } ], [ "line", "ok 135 no TODO in summary\n" ], [ "assert", { "ok": true, "id": 135, "name": "no TODO in summary" } ], [ "line", "ok 136 todo summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 136, "name": "todo summary is not in TAP output" } ], [ "line", "ok 137 no ugly \"undefined\" in output\n" ], [ "assert", { "ok": true, "id": 137, "name": "no ugly \"undefined\" in output" } ], [ "line", "# TAP producer via require(\"tap\")\n" ], [ "comment", "# TAP producer via require(\"tap\")\n" ], [ "line", "ok 138 overall result is PASS\n" ], [ "assert", { "ok": true, "id": 138, "name": "overall result is PASS" } ], [ "line", "ok 139 captures ok SKIP\n" ], [ "assert", { "ok": true, "id": 139, "name": "captures ok SKIP" } ], [ "line", "ok 140 captures not ok SKIP\n" ], [ "assert", { "ok": true, "id": 140, "name": "captures not ok SKIP" } ], [ "line", "ok 141 skip summary not in TAP output\n" ], [ "assert", { "ok": true, "id": 141, "name": "skip summary not in TAP output" } ], [ "line", "ok 142 captures ok TODO\n" ], [ "assert", { "ok": true, "id": 142, "name": "captures ok TODO" } ], [ "line", "ok 143 captures not ok TODO\n" ], [ "assert", { "ok": true, "id": 143, "name": "captures not ok TODO" } ], [ "line", "ok 144 todo summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 144, "name": "todo summary is not in TAP output" } ], [ "line", "ok 145 no ugly \"undefined\" in output\n" ], [ "assert", { "ok": true, "id": 145, "name": "no ugly \"undefined\" in output" } ], [ "line", "# tests 22\n" ], [ "comment", "# tests 22\n" ], [ "line", "# pass 22\n" ], [ "comment", "# pass 22\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 146 test/test-directives.js\n" ], [ "assert", { "ok": true, "id": 146, "name": "test/test-directives.js" } ], [ "line", "# test-skip.js\n" ], [ "comment", "# test-skip.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "ok 147 does not count as failure # SKIP\n" ], [ "assert", { "ok": true, "id": 147, "skip": true, "name": "does not count as failure" } ], [ "line", "# tests 1\n" ], [ "comment", "# tests 1\n" ], [ "line", "# skip 1\n" ], [ "comment", "# skip 1\n" ], [ "line", "ok 148 test/test-skip.js\n" ], [ "assert", { "ok": true, "id": 148, "name": "test/test-skip.js" } ], [ "line", "# test-test.js\n" ], [ "comment", "# test-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# testing the test object\n" ], [ "comment", "# testing the test object\n" ], [ "line", "ok 149 test object should be instanceof Test\n" ], [ "assert", { "ok": true, "id": 149, "name": "test object should be instanceof Test" } ], [ "line", "ok 150 test object should be instanceof Harness\n" ], [ "assert", { "ok": true, "id": 150, "name": "test object should be instanceof Harness" } ], [ "line", "ok 151 test._Test should be the Test class\n" ], [ "assert", { "ok": true, "id": 151, "name": "test._Test should be the Test class" } ], [ "line", "ok 152 should have isNotDeepEqual method\n" ], [ "assert", { "ok": true, "id": 152, "name": "should have isNotDeepEqual method" } ], [ "line", "ok 153 isNotDeepEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 153, "name": "isNotDeepEqual method should be a function" } ], [ "line", "ok 154 should have equals method\n" ], [ "assert", { "ok": true, "id": 154, "name": "should have equals method" } ], [ "line", "ok 155 equals method should be a function\n" ], [ "assert", { "ok": true, "id": 155, "name": "equals method should be a function" } ], [ "line", "ok 156 should have inequivalent method\n" ], [ "assert", { "ok": true, "id": 156, "name": "should have inequivalent method" } ], [ "line", "ok 157 inequivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 157, "name": "inequivalent method should be a function" } ], [ "line", "ok 158 should have threw method\n" ], [ "assert", { "ok": true, "id": 158, "name": "should have threw method" } ], [ "line", "ok 159 threw method should be a function\n" ], [ "assert", { "ok": true, "id": 159, "name": "threw method should be a function" } ], [ "line", "ok 160 should have strictEqual method\n" ], [ "assert", { "ok": true, "id": 160, "name": "should have strictEqual method" } ], [ "line", "ok 161 strictEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 161, "name": "strictEqual method should be a function" } ], [ "line", "ok 162 should have emit method\n" ], [ "assert", { "ok": true, "id": 162, "name": "should have emit method" } ], [ "line", "ok 163 emit method should be a function\n" ], [ "assert", { "ok": true, "id": 163, "name": "emit method should be a function" } ], [ "line", "ok 164 should have fail method\n" ], [ "assert", { "ok": true, "id": 164, "name": "should have fail method" } ], [ "line", "ok 165 fail method should be a function\n" ], [ "assert", { "ok": true, "id": 165, "name": "fail method should be a function" } ], [ "line", "ok 166 should have strictEquals method\n" ], [ "assert", { "ok": true, "id": 166, "name": "should have strictEquals method" } ], [ "line", "ok 167 strictEquals method should be a function\n" ], [ "assert", { "ok": true, "id": 167, "name": "strictEquals method should be a function" } ], [ "line", "ok 168 should have notLike method\n" ], [ "assert", { "ok": true, "id": 168, "name": "should have notLike method" } ], [ "line", "ok 169 notLike method should be a function\n" ], [ "assert", { "ok": true, "id": 169, "name": "notLike method should be a function" } ], [ "line", "ok 170 should have dissimilar method\n" ], [ "assert", { "ok": true, "id": 170, "name": "should have dissimilar method" } ], [ "line", "ok 171 dissimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 171, "name": "dissimilar method should be a function" } ], [ "line", "ok 172 should have true method\n" ], [ "assert", { "ok": true, "id": 172, "name": "should have true method" } ], [ "line", "ok 173 true method should be a function\n" ], [ "assert", { "ok": true, "id": 173, "name": "true method should be a function" } ], [ "line", "ok 174 should have assert method\n" ], [ "assert", { "ok": true, "id": 174, "name": "should have assert method" } ], [ "line", "ok 175 assert method should be a function\n" ], [ "assert", { "ok": true, "id": 175, "name": "assert method should be a function" } ], [ "line", "ok 176 should have is method\n" ], [ "assert", { "ok": true, "id": 176, "name": "should have is method" } ], [ "line", "ok 177 is method should be a function\n" ], [ "assert", { "ok": true, "id": 177, "name": "is method should be a function" } ], [ "line", "ok 178 should have ok method\n" ], [ "assert", { "ok": true, "id": 178, "name": "should have ok method" } ], [ "line", "ok 179 ok method should be a function\n" ], [ "assert", { "ok": true, "id": 179, "name": "ok method should be a function" } ], [ "line", "ok 180 should have isEqual method\n" ], [ "assert", { "ok": true, "id": 180, "name": "should have isEqual method" } ], [ "line", "ok 181 isEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 181, "name": "isEqual method should be a function" } ], [ "line", "ok 182 should have isDeeply method\n" ], [ "assert", { "ok": true, "id": 182, "name": "should have isDeeply method" } ], [ "line", "ok 183 isDeeply method should be a function\n" ], [ "assert", { "ok": true, "id": 183, "name": "isDeeply method should be a function" } ], [ "line", "ok 184 should have deepEqual method\n" ], [ "assert", { "ok": true, "id": 184, "name": "should have deepEqual method" } ], [ "line", "ok 185 deepEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 185, "name": "deepEqual method should be a function" } ], [ "line", "ok 186 should have deepEquals method\n" ], [ "assert", { "ok": true, "id": 186, "name": "should have deepEquals method" } ], [ "line", "ok 187 deepEquals method should be a function\n" ], [ "assert", { "ok": true, "id": 187, "name": "deepEquals method should be a function" } ], [ "line", "ok 188 should have pass method\n" ], [ "assert", { "ok": true, "id": 188, "name": "should have pass method" } ], [ "line", "ok 189 pass method should be a function\n" ], [ "assert", { "ok": true, "id": 189, "name": "pass method should be a function" } ], [ "line", "ok 190 should have length method\n" ], [ "assert", { "ok": true, "id": 190, "name": "should have length method" } ], [ "line", "ok 191 length method should be a function\n" ], [ "assert", { "ok": true, "id": 191, "name": "length method should be a function" } ], [ "line", "ok 192 should have skip method\n" ], [ "assert", { "ok": true, "id": 192, "name": "should have skip method" } ], [ "line", "ok 193 skip method should be a function\n" ], [ "assert", { "ok": true, "id": 193, "name": "skip method should be a function" } ], [ "line", "ok 194 should have isNotEqual method\n" ], [ "assert", { "ok": true, "id": 194, "name": "should have isNotEqual method" } ], [ "line", "ok 195 isNotEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 195, "name": "isNotEqual method should be a function" } ], [ "line", "ok 196 should have looseEquals method\n" ], [ "assert", { "ok": true, "id": 196, "name": "should have looseEquals method" } ], [ "line", "ok 197 looseEquals method should be a function\n" ], [ "assert", { "ok": true, "id": 197, "name": "looseEquals method should be a function" } ], [ "line", "ok 198 should have false method\n" ], [ "assert", { "ok": true, "id": 198, "name": "should have false method" } ], [ "line", "ok 199 false method should be a function\n" ], [ "assert", { "ok": true, "id": 199, "name": "false method should be a function" } ], [ "line", "ok 200 should have notDeeply method\n" ], [ "assert", { "ok": true, "id": 200, "name": "should have notDeeply method" } ], [ "line", "ok 201 notDeeply method should be a function\n" ], [ "assert", { "ok": true, "id": 201, "name": "notDeeply method should be a function" } ], [ "line", "ok 202 should have ifErr method\n" ], [ "assert", { "ok": true, "id": 202, "name": "should have ifErr method" } ], [ "line", "ok 203 ifErr method should be a function\n" ], [ "assert", { "ok": true, "id": 203, "name": "ifErr method should be a function" } ], [ "line", "ok 204 should have hasFields method\n" ], [ "assert", { "ok": true, "id": 204, "name": "should have hasFields method" } ], [ "line", "ok 205 hasFields method should be a function\n" ], [ "assert", { "ok": true, "id": 205, "name": "hasFields method should be a function" } ], [ "line", "ok 206 should have isNotDeeply method\n" ], [ "assert", { "ok": true, "id": 206, "name": "should have isNotDeeply method" } ], [ "line", "ok 207 isNotDeeply method should be a function\n" ], [ "assert", { "ok": true, "id": 207, "name": "isNotDeeply method should be a function" } ], [ "line", "ok 208 should have like method\n" ], [ "assert", { "ok": true, "id": 208, "name": "should have like method" } ], [ "line", "ok 209 like method should be a function\n" ], [ "assert", { "ok": true, "id": 209, "name": "like method should be a function" } ], [ "line", "ok 210 should have similar method\n" ], [ "assert", { "ok": true, "id": 210, "name": "should have similar method" } ], [ "line", "ok 211 similar method should be a function\n" ], [ "assert", { "ok": true, "id": 211, "name": "similar method should be a function" } ], [ "line", "ok 212 should have notOk method\n" ], [ "assert", { "ok": true, "id": 212, "name": "should have notOk method" } ], [ "line", "ok 213 notOk method should be a function\n" ], [ "assert", { "ok": true, "id": 213, "name": "notOk method should be a function" } ], [ "line", "ok 214 should have isDissimilar method\n" ], [ "assert", { "ok": true, "id": 214, "name": "should have isDissimilar method" } ], [ "line", "ok 215 isDissimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 215, "name": "isDissimilar method should be a function" } ], [ "line", "ok 216 should have isEquivalent method\n" ], [ "assert", { "ok": true, "id": 216, "name": "should have isEquivalent method" } ], [ "line", "ok 217 isEquivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 217, "name": "isEquivalent method should be a function" } ], [ "line", "ok 218 should have doesNotEqual method\n" ], [ "assert", { "ok": true, "id": 218, "name": "should have doesNotEqual method" } ], [ "line", "ok 219 doesNotEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 219, "name": "doesNotEqual method should be a function" } ], [ "line", "ok 220 should have isSimilar method\n" ], [ "assert", { "ok": true, "id": 220, "name": "should have isSimilar method" } ], [ "line", "ok 221 isSimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 221, "name": "isSimilar method should be a function" } ], [ "line", "ok 222 should have notDeepEqual method\n" ], [ "assert", { "ok": true, "id": 222, "name": "should have notDeepEqual method" } ], [ "line", "ok 223 notDeepEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 223, "name": "notDeepEqual method should be a function" } ], [ "line", "ok 224 should have type method\n" ], [ "assert", { "ok": true, "id": 224, "name": "should have type method" } ], [ "line", "ok 225 type method should be a function\n" ], [ "assert", { "ok": true, "id": 225, "name": "type method should be a function" } ], [ "line", "ok 226 should have notok method\n" ], [ "assert", { "ok": true, "id": 226, "name": "should have notok method" } ], [ "line", "ok 227 notok method should be a function\n" ], [ "assert", { "ok": true, "id": 227, "name": "notok method should be a function" } ], [ "line", "ok 228 should have isInequivalent method\n" ], [ "assert", { "ok": true, "id": 228, "name": "should have isInequivalent method" } ], [ "line", "ok 229 isInequivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 229, "name": "isInequivalent method should be a function" } ], [ "line", "ok 230 should have isNot method\n" ], [ "assert", { "ok": true, "id": 230, "name": "should have isNot method" } ], [ "line", "ok 231 isNot method should be a function\n" ], [ "assert", { "ok": true, "id": 231, "name": "isNot method should be a function" } ], [ "line", "ok 232 should have same method\n" ], [ "assert", { "ok": true, "id": 232, "name": "should have same method" } ], [ "line", "ok 233 same method should be a function\n" ], [ "assert", { "ok": true, "id": 233, "name": "same method should be a function" } ], [ "line", "ok 234 should have isInequal method\n" ], [ "assert", { "ok": true, "id": 234, "name": "should have isInequal method" } ], [ "line", "ok 235 isInequal method should be a function\n" ], [ "assert", { "ok": true, "id": 235, "name": "isInequal method should be a function" } ], [ "line", "ok 236 should have _endNice method\n" ], [ "assert", { "ok": true, "id": 236, "name": "should have _endNice method" } ], [ "line", "ok 237 _endNice method should be a function\n" ], [ "assert", { "ok": true, "id": 237, "name": "_endNice method should be a function" } ], [ "line", "ok 238 should have ifError method\n" ], [ "assert", { "ok": true, "id": 238, "name": "should have ifError method" } ], [ "line", "ok 239 ifError method should be a function\n" ], [ "assert", { "ok": true, "id": 239, "name": "ifError method should be a function" } ], [ "line", "ok 240 should have iferror method\n" ], [ "assert", { "ok": true, "id": 240, "name": "should have iferror method" } ], [ "line", "ok 241 iferror method should be a function\n" ], [ "assert", { "ok": true, "id": 241, "name": "iferror method should be a function" } ], [ "line", "ok 242 should have clear method\n" ], [ "assert", { "ok": true, "id": 242, "name": "should have clear method" } ], [ "line", "ok 243 clear method should be a function\n" ], [ "assert", { "ok": true, "id": 243, "name": "clear method should be a function" } ], [ "line", "ok 244 should have has method\n" ], [ "assert", { "ok": true, "id": 244, "name": "should have has method" } ], [ "line", "ok 245 has method should be a function\n" ], [ "assert", { "ok": true, "id": 245, "name": "has method should be a function" } ], [ "line", "ok 246 should have not method\n" ], [ "assert", { "ok": true, "id": 246, "name": "should have not method" } ], [ "line", "ok 247 not method should be a function\n" ], [ "assert", { "ok": true, "id": 247, "name": "not method should be a function" } ], [ "line", "ok 248 should have timeout method\n" ], [ "assert", { "ok": true, "id": 248, "name": "should have timeout method" } ], [ "line", "ok 249 timeout method should be a function\n" ], [ "assert", { "ok": true, "id": 249, "name": "timeout method should be a function" } ], [ "line", "ok 250 should have notSimilar method\n" ], [ "assert", { "ok": true, "id": 250, "name": "should have notSimilar method" } ], [ "line", "ok 251 notSimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 251, "name": "notSimilar method should be a function" } ], [ "line", "ok 252 should have isUnlike method\n" ], [ "assert", { "ok": true, "id": 252, "name": "should have isUnlike method" } ], [ "line", "ok 253 isUnlike method should be a function\n" ], [ "assert", { "ok": true, "id": 253, "name": "isUnlike method should be a function" } ], [ "line", "ok 254 should have notEquals method\n" ], [ "assert", { "ok": true, "id": 254, "name": "should have notEquals method" } ], [ "line", "ok 255 notEquals method should be a function\n" ], [ "assert", { "ok": true, "id": 255, "name": "notEquals method should be a function" } ], [ "line", "ok 256 should have unsimilar method\n" ], [ "assert", { "ok": true, "id": 256, "name": "should have unsimilar method" } ], [ "line", "ok 257 unsimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 257, "name": "unsimilar method should be a function" } ], [ "line", "ok 258 should have result method\n" ], [ "assert", { "ok": true, "id": 258, "name": "should have result method" } ], [ "line", "ok 259 result method should be a function\n" ], [ "assert", { "ok": true, "id": 259, "name": "result method should be a function" } ], [ "line", "ok 260 should have doesNotThrow method\n" ], [ "assert", { "ok": true, "id": 260, "name": "should have doesNotThrow method" } ], [ "line", "ok 261 doesNotThrow method should be a function\n" ], [ "assert", { "ok": true, "id": 261, "name": "doesNotThrow method should be a function" } ], [ "line", "ok 262 should have error method\n" ], [ "assert", { "ok": true, "id": 262, "name": "should have error method" } ], [ "line", "ok 263 error method should be a function\n" ], [ "assert", { "ok": true, "id": 263, "name": "error method should be a function" } ], [ "line", "ok 264 should have constructor method\n" ], [ "assert", { "ok": true, "id": 264, "name": "should have constructor method" } ], [ "line", "ok 265 constructor method should be a function\n" ], [ "assert", { "ok": true, "id": 265, "name": "constructor method should be a function" } ], [ "line", "ok 266 should have notEqual method\n" ], [ "assert", { "ok": true, "id": 266, "name": "should have notEqual method" } ], [ "line", "ok 267 notEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 267, "name": "notEqual method should be a function" } ], [ "line", "ok 268 should have throws method\n" ], [ "assert", { "ok": true, "id": 268, "name": "should have throws method" } ], [ "line", "ok 269 throws method should be a function\n" ], [ "assert", { "ok": true, "id": 269, "name": "throws method should be a function" } ], [ "line", "ok 270 should have isLike method\n" ], [ "assert", { "ok": true, "id": 270, "name": "should have isLike method" } ], [ "line", "ok 271 isLike method should be a function\n" ], [ "assert", { "ok": true, "id": 271, "name": "isLike method should be a function" } ], [ "line", "ok 272 should have isNotSimilar method\n" ], [ "assert", { "ok": true, "id": 272, "name": "should have isNotSimilar method" } ], [ "line", "ok 273 isNotSimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 273, "name": "isNotSimilar method should be a function" } ], [ "line", "ok 274 should have isNotEquivalent method\n" ], [ "assert", { "ok": true, "id": 274, "name": "should have isNotEquivalent method" } ], [ "line", "ok 275 isNotEquivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 275, "name": "isNotEquivalent method should be a function" } ], [ "line", "ok 276 should have inequal method\n" ], [ "assert", { "ok": true, "id": 276, "name": "should have inequal method" } ], [ "line", "ok 277 inequal method should be a function\n" ], [ "assert", { "ok": true, "id": 277, "name": "inequal method should be a function" } ], [ "line", "ok 278 should have notEquivalent method\n" ], [ "assert", { "ok": true, "id": 278, "name": "should have notEquivalent method" } ], [ "line", "ok 279 notEquivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 279, "name": "notEquivalent method should be a function" } ], [ "line", "ok 280 should have isNotLike method\n" ], [ "assert", { "ok": true, "id": 280, "name": "should have isNotLike method" } ], [ "line", "ok 281 isNotLike method should be a function\n" ], [ "assert", { "ok": true, "id": 281, "name": "isNotLike method should be a function" } ], [ "line", "ok 282 should have equivalent method\n" ], [ "assert", { "ok": true, "id": 282, "name": "should have equivalent method" } ], [ "line", "ok 283 equivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 283, "name": "equivalent method should be a function" } ], [ "line", "ok 284 should have looseEqual method\n" ], [ "assert", { "ok": true, "id": 284, "name": "should have looseEqual method" } ], [ "line", "ok 285 looseEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 285, "name": "looseEqual method should be a function" } ], [ "line", "ok 286 should have equal method\n" ], [ "assert", { "ok": true, "id": 286, "name": "should have equal method" } ], [ "line", "ok 287 equal method should be a function\n" ], [ "assert", { "ok": true, "id": 287, "name": "equal method should be a function" } ], [ "line", "ok 288 should have unlike method\n" ], [ "assert", { "ok": true, "id": 288, "name": "should have unlike method" } ], [ "line", "ok 289 unlike method should be a function\n" ], [ "assert", { "ok": true, "id": 289, "name": "unlike method should be a function" } ], [ "line", "ok 290 should have doesNotHave method\n" ], [ "assert", { "ok": true, "id": 290, "name": "should have doesNotHave method" } ], [ "line", "ok 291 doesNotHave method should be a function\n" ], [ "assert", { "ok": true, "id": 291, "name": "doesNotHave method should be a function" } ], [ "line", "ok 292 should have comment method\n" ], [ "assert", { "ok": true, "id": 292, "name": "should have comment method" } ], [ "line", "ok 293 comment method should be a function\n" ], [ "assert", { "ok": true, "id": 293, "name": "comment method should be a function" } ], [ "line", "ok 294 should have isa method\n" ], [ "assert", { "ok": true, "id": 294, "name": "should have isa method" } ], [ "line", "ok 295 isa method should be a function\n" ], [ "assert", { "ok": true, "id": 295, "name": "isa method should be a function" } ], [ "line", "# tests 147\n" ], [ "comment", "# tests 147\n" ], [ "line", "# pass 147\n" ], [ "comment", "# pass 147\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 296 test/test-test.js\n" ], [ "assert", { "ok": true, "id": 296, "name": "test/test-test.js" } ], [ "line", "# timeout.js\n" ], [ "comment", "# timeout.js\n" ], [ "line", "timeout test\n" ], [ "extra", "timeout test\n" ], [ "line", "t.plan=2\n" ], [ "extra", "t.plan=2\n" ], [ "line", "a assert\n" ], [ "extra", "a assert\n" ], [ "line", "b assert\n" ], [ "extra", "b assert\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# timeout test with plan only\n" ], [ "comment", "# timeout test with plan only\n" ], [ "line", "ok 297 a\n" ], [ "assert", { "ok": true, "id": 297, "name": "a" } ], [ "line", "timeout test\n" ], [ "extra", "timeout test\n" ], [ "line", "t.plan=2\n" ], [ "extra", "t.plan=2\n" ], [ "line", "a assert\n" ], [ "extra", "a assert\n" ], [ "line", "b assert\n" ], [ "extra", "b assert\n" ], [ "line", "ok 298 b\n" ], [ "assert", { "ok": true, "id": 298, "name": "b" } ], [ "line", "# timeout test with plan and end\n" ], [ "comment", "# timeout test with plan and end\n" ], [ "line", "ok 299 a\n" ], [ "assert", { "ok": true, "id": 299, "name": "a" } ], [ "line", "ok 300 b\n" ], [ "assert", { "ok": true, "id": 300, "name": "b" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 301 test/timeout.js\n" ], [ "assert", { "ok": true, "id": 301, "name": "test/timeout.js" } ], [ "line", "# trivial-success.js\n" ], [ "comment", "# trivial-success.js\n" ], [ "line", "ok 302 test/trivial-success.js\n" ], [ "assert", { "ok": true, "id": 302, "name": "test/trivial-success.js" } ], [ "line", "# undefined_indented.js\n" ], [ "comment", "# undefined_indented.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# consume yaml\n" ], [ "comment", "# consume yaml\n" ], [ "line", "ok 303 should be equivalent\n" ], [ "assert", { "ok": true, "id": 303, "name": "should be equivalent" } ], [ "line", "# tests 1\n" ], [ "comment", "# tests 1\n" ], [ "line", "# pass 1\n" ], [ "comment", "# pass 1\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 304 test/undefined_indented.js\n" ], [ "assert", { "ok": true, "id": 304, "name": "test/undefined_indented.js" } ], [ "line", "# valid-command.js\n" ], [ "comment", "# valid-command.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# valid command\n" ], [ "comment", "# valid command\n" ], [ "line", "ok 305 should be equivalent\n" ], [ "assert", { "ok": true, "id": 305, "name": "should be equivalent" } ], [ "line", "ok 306 should be equivalent\n" ], [ "assert", { "ok": true, "id": 306, "name": "should be equivalent" } ], [ "line", "ok 307 should be equivalent\n" ], [ "assert", { "ok": true, "id": 307, "name": "should be equivalent" } ], [ "line", "ok 308 should be equivalent\n" ], [ "assert", { "ok": true, "id": 308, "name": "should be equivalent" } ], [ "line", "ok 309 should be equivalent\n" ], [ "assert", { "ok": true, "id": 309, "name": "should be equivalent" } ], [ "line", "ok 310 should be equal\n" ], [ "assert", { "ok": true, "id": 310, "name": "should be equal" } ], [ "line", "# tests 6\n" ], [ "comment", "# tests 6\n" ], [ "line", "# pass 6\n" ], [ "comment", "# pass 6\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 311 test/valid-command.js\n" ], [ "assert", { "ok": true, "id": 311, "name": "test/valid-command.js" } ], [ "line", "1..311\n" ], [ "plan", { "start": 1, "end": 311 } ], [ "line", "# tests 311\n" ], [ "comment", "# tests 311\n" ], [ "line", "# pass 297\n" ], [ "comment", "# pass 297\n" ], [ "line", "# fail 5\n" ], [ "comment", "# fail 5\n" ], [ "line", "# skip 5\n" ], [ "comment", "# skip 5\n" ], [ "line", "# todo 4\n" ], [ "comment", "# todo 4\n" ], [ "line", "# failed 5 of 311 tests\n" ], [ "comment", "# failed 5 of 311 tests\n" ], [ "line", "# todo: 4\n" ], [ "comment", "# todo: 4\n" ], [ "line", "# skip: 5\n" ], [ "comment", "# skip: 5\n" ], [ "complete", { "ok": false, "count": 311, "pass": 306, "fail": 5, "bailout": false, "todo": 4, "skip": 5, "plan": { "start": 1, "end": 311, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 114, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Socket. (child_process.js:1153:11)\n", "emitOne (events.js:77:13)\n" ] } }, { "ok": false, "id": 119, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:18:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } }, { "ok": false, "id": 121, "name": "summarizes skipped count", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:23:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } }, { "ok": false, "id": 122, "name": "summarizes todo count", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:24:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } }, { "ok": false, "id": 123, "name": "test/test-descriptions.js", "diag": { "exit": 1, "command": "/usr/local/bin/iojs test-descriptions.js" } } ] } ] ] tap-parser-7.0.0/test/fixtures/tap-tests--preservewhite.json000066400000000000000000002571301320135610000242110ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# buffer_compare.js\n" ], [ "comment", "# buffer_compare.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# same buffers\n" ], [ "comment", "# same buffers\n" ], [ "line", "ok 1 should be equivalent\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equivalent" } ], [ "line", "# not same buffers\n" ], [ "comment", "# not same buffers\n" ], [ "line", "ok 2 should not be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should not be equivalent" } ], [ "line", "# tests 2\n" ], [ "comment", "# tests 2\n" ], [ "line", "# pass 2\n" ], [ "comment", "# pass 2\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 3 test/buffer_compare.js\n" ], [ "assert", { "ok": true, "id": 3, "name": "test/buffer_compare.js" } ], [ "line", "# common.js\n" ], [ "comment", "# common.js\n" ], [ "line", "ok 4 just setup, nothing relevant\n" ], [ "assert", { "ok": true, "id": 4, "name": "just setup, nothing relevant" } ], [ "line", "ok 5 test/common.js\n" ], [ "assert", { "ok": true, "id": 5, "name": "test/common.js" } ], [ "line", "# consumer.js\n" ], [ "comment", "# consumer.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# basic.tap\n" ], [ "comment", "# basic.tap\n" ], [ "line", "ok 6 should be equivalent\n" ], [ "assert", { "ok": true, "id": 6, "name": "should be equivalent" } ], [ "line", "# indent.tap\n" ], [ "comment", "# indent.tap\n" ], [ "line", "ok 7 should be equivalent\n" ], [ "assert", { "ok": true, "id": 7, "name": "should be equivalent" } ], [ "line", "# missing.tap\n" ], [ "comment", "# missing.tap\n" ], [ "line", "ok 8 should be equivalent\n" ], [ "assert", { "ok": true, "id": 8, "name": "should be equivalent" } ], [ "line", "# skip-all.tap\n" ], [ "comment", "# skip-all.tap\n" ], [ "line", "ok 9 should be equivalent\n" ], [ "assert", { "ok": true, "id": 9, "name": "should be equivalent" } ], [ "line", "# yamlish.tap\n" ], [ "comment", "# yamlish.tap\n" ], [ "line", "ok 10 should be equivalent\n" ], [ "assert", { "ok": true, "id": 10, "name": "should be equivalent" } ], [ "line", "# tests 5\n" ], [ "comment", "# tests 5\n" ], [ "line", "# pass 5\n" ], [ "comment", "# pass 5\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 11 test/consumer.js\n" ], [ "assert", { "ok": true, "id": 11, "name": "test/consumer.js" } ], [ "line", "# debug-test.js\n" ], [ "comment", "# debug-test.js\n" ], [ "line", "debug test\n" ], [ "extra", "debug test\n" ], [ "line", "t.plan=1\n" ], [ "extra", "t.plan=1\n" ], [ "line", "'Debugger listening on port 5858\\n'\n" ], [ "extra", "'Debugger listening on port 5858\\n'\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# debug test\n" ], [ "comment", "# debug test\n" ], [ "line", "ok 12 Should output debugger message\n" ], [ "assert", { "ok": true, "id": 12, "name": "Should output debugger message" } ], [ "line", "# tests 1\n" ], [ "comment", "# tests 1\n" ], [ "line", "# pass 1\n" ], [ "comment", "# pass 1\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 13 test/debug-test.js\n" ], [ "assert", { "ok": true, "id": 13, "name": "test/debug-test.js" } ], [ "line", "# deep-strict.js\n" ], [ "comment", "# deep-strict.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# strictDeepEquals shouldn't care about key order\n" ], [ "comment", "# strictDeepEquals shouldn't care about key order\n" ], [ "line", "ok 14 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 14, "name": "should be strictly equal" } ], [ "line", "# strictDeepEquals shouldn't care about key order recursively\n" ], [ "comment", "# strictDeepEquals shouldn't care about key order recursively\n" ], [ "line", "ok 15 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 15, "name": "should be strictly equal" } ], [ "line", "# strictDeepEquals shoudn't care about key order (but still might)\n" ], [ "comment", "# strictDeepEquals shoudn't care about key order (but still might)\n" ], [ "line", "ok 16 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 16, "name": "should be strictly equal" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 17 test/deep-strict.js\n" ], [ "assert", { "ok": true, "id": 17, "name": "test/deep-strict.js" } ], [ "line", "# deep.js\n" ], [ "comment", "# deep.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# deepEquals shouldn't care about key order and types\n" ], [ "comment", "# deepEquals shouldn't care about key order and types\n" ], [ "line", "ok 18 should be equivalent\n" ], [ "assert", { "ok": true, "id": 18, "name": "should be equivalent" } ], [ "line", "# deepEquals shouldn't care about key order recursively and types\n" ], [ "comment", "# deepEquals shouldn't care about key order recursively and types\n" ], [ "line", "ok 19 should be equivalent\n" ], [ "assert", { "ok": true, "id": 19, "name": "should be equivalent" } ], [ "line", "# deepEquals shoudn't care about key order (but still might) and types\n" ], [ "comment", "# deepEquals shoudn't care about key order (but still might) and types\n" ], [ "line", "ok 20 should be equivalent\n" ], [ "assert", { "ok": true, "id": 20, "name": "should be equivalent" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 21 test/deep.js\n" ], [ "assert", { "ok": true, "id": 21, "name": "test/deep.js" } ], [ "line", "# executed.sh\n" ], [ "comment", "# executed.sh\n" ], [ "line", "ok 22 File with executable bit should be executed\n" ], [ "assert", { "ok": true, "id": 22, "name": "File with executable bit should be executed" } ], [ "line", "ok 23 test/executed.sh\n" ], [ "assert", { "ok": true, "id": 23, "name": "test/executed.sh" } ], [ "line", "# exit-code.js\n" ], [ "comment", "# exit-code.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# exit code 1 when tap results show failure\n" ], [ "comment", "# exit code 1 when tap results show failure\n" ], [ "line", "# test exits 0, has failures\n" ], [ "comment", "# test exits 0, has failures\n" ], [ "line", "ok 24 should be equal\n" ], [ "assert", { "ok": true, "id": 24, "name": "should be equal" } ], [ "line", "ok 25 should be equal\n" ], [ "assert", { "ok": true, "id": 25, "name": "should be equal" } ], [ "line", "# test exits 1, has failures\n" ], [ "comment", "# test exits 1, has failures\n" ], [ "line", "ok 26 should be equal\n" ], [ "assert", { "ok": true, "id": 26, "name": "should be equal" } ], [ "line", "ok 27 should be equal\n" ], [ "assert", { "ok": true, "id": 27, "name": "should be equal" } ], [ "line", "# test exits 1, has no failures\n" ], [ "comment", "# test exits 1, has no failures\n" ], [ "line", "ok 28 should be equal\n" ], [ "assert", { "ok": true, "id": 28, "name": "should be equal" } ], [ "line", "ok 29 should be equal\n" ], [ "assert", { "ok": true, "id": 29, "name": "should be equal" } ], [ "line", "# successes exit 0\n" ], [ "comment", "# successes exit 0\n" ], [ "line", "# test that does nothing, but exits 0\n" ], [ "comment", "# test that does nothing, but exits 0\n" ], [ "line", "ok 30 should be equal\n" ], [ "assert", { "ok": true, "id": 30, "name": "should be equal" } ], [ "line", "ok 31 should be equal\n" ], [ "assert", { "ok": true, "id": 31, "name": "should be equal" } ], [ "line", "# test that succeeds, and exits 0\n" ], [ "comment", "# test that succeeds, and exits 0\n" ], [ "line", "ok 32 should be equal\n" ], [ "assert", { "ok": true, "id": 32, "name": "should be equal" } ], [ "line", "ok 33 should be equal\n" ], [ "assert", { "ok": true, "id": 33, "name": "should be equal" } ], [ "line", "# tests 10\n" ], [ "comment", "# tests 10\n" ], [ "line", "# pass 10\n" ], [ "comment", "# pass 10\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 34 test/exit-code.js\n" ], [ "assert", { "ok": true, "id": 34, "name": "test/exit-code.js" } ], [ "line", "# expose-gc-test.js\n" ], [ "comment", "# expose-gc-test.js\n" ], [ "line", "gc test\n" ], [ "extra", "gc test\n" ], [ "line", "t.plan=1\n" ], [ "extra", "t.plan=1\n" ], [ "line", "assert gc does not exist\n" ], [ "extra", "assert gc does not exist\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# gc test when the gc isn't there\n" ], [ "comment", "# gc test when the gc isn't there\n" ], [ "line", "gc test\n" ], [ "extra", "gc test\n" ], [ "line", "t.plan=2\n" ], [ "extra", "t.plan=2\n" ], [ "line", "gc test using --gc\n" ], [ "extra", "gc test using --gc\n" ], [ "line", "t.plan=1\n" ], [ "extra", "t.plan=1\n" ], [ "line", "assert gc exists\n" ], [ "extra", "assert gc exists\n" ], [ "line", "gc test using --expose-gc\n" ], [ "extra", "gc test using --expose-gc\n" ], [ "line", "t.plan=1\n" ], [ "extra", "t.plan=1\n" ], [ "line", "assert gc exists\n" ], [ "extra", "assert gc exists\n" ], [ "line", "ok 35 should be equal\n" ], [ "assert", { "ok": true, "id": 35, "name": "should be equal" } ], [ "line", "# gc test when the gc should be there\n" ], [ "comment", "# gc test when the gc should be there\n" ], [ "line", "# test for gc using --gc\n" ], [ "comment", "# test for gc using --gc\n" ], [ "line", "ok 36 should be equal\n" ], [ "assert", { "ok": true, "id": 36, "name": "should be equal" } ], [ "line", "# test for gc using --expose-gc\n" ], [ "comment", "# test for gc using --expose-gc\n" ], [ "line", "ok 37 should be equal\n" ], [ "assert", { "ok": true, "id": 37, "name": "should be equal" } ], [ "line", "# cleanup\n" ], [ "comment", "# cleanup\n" ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 38 test/expose-gc-test.js\n" ], [ "assert", { "ok": true, "id": 38, "name": "test/expose-gc-test.js" } ], [ "line", "# global-harness-async.js\n" ], [ "comment", "# global-harness-async.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# outer\n" ], [ "comment", "# outer\n" ], [ "line", "# inner 1\n" ], [ "comment", "# inner 1\n" ], [ "line", "ok 39 1-1\n" ], [ "assert", { "ok": true, "id": 39, "name": "1-1" } ], [ "line", "# inner 2\n" ], [ "comment", "# inner 2\n" ], [ "line", "ok 40 2-1\n" ], [ "assert", { "ok": true, "id": 40, "name": "2-1" } ], [ "line", "# inner 3\n" ], [ "comment", "# inner 3\n" ], [ "line", "ok 41 3-1\n" ], [ "assert", { "ok": true, "id": 41, "name": "3-1" } ], [ "line", "ok 42 test/global-harness-async.js\n" ], [ "assert", { "ok": true, "id": 42, "name": "test/global-harness-async.js" } ], [ "line", "# independent-timeouts.js\n" ], [ "comment", "# independent-timeouts.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# finishes in time\n" ], [ "comment", "# finishes in time\n" ], [ "line", "# finishes in time too\n" ], [ "comment", "# finishes in time too\n" ], [ "line", "# tests 0\n" ], [ "comment", "# tests 0\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 43 test/independent-timeouts.js\n" ], [ "assert", { "ok": true, "id": 43, "name": "test/independent-timeouts.js" } ], [ "line", "# isolated-conf-test.js\n" ], [ "comment", "# isolated-conf-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# one\n" ], [ "comment", "# one\n" ], [ "line", "ok 44 should be equal\n" ], [ "assert", { "ok": true, "id": 44, "name": "should be equal" } ], [ "line", "ok 45 should be equal\n" ], [ "assert", { "ok": true, "id": 45, "name": "should be equal" } ], [ "line", "# two\n" ], [ "comment", "# two\n" ], [ "line", "ok 46 should be equal\n" ], [ "assert", { "ok": true, "id": 46, "name": "should be equal" } ], [ "line", "ok 47 should be equal\n" ], [ "assert", { "ok": true, "id": 47, "name": "should be equal" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 48 test/isolated-conf-test.js\n" ], [ "assert", { "ok": true, "id": 48, "name": "test/isolated-conf-test.js" } ], [ "line", "# meta-test.js\n" ], [ "comment", "# meta-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# meta test\n" ], [ "comment", "# meta test\n" ], [ "line", "ok 49 sanity check\n" ], [ "assert", { "ok": true, "id": 49, "name": "sanity check" } ], [ "line", "ok 50 not ok\n" ], [ "assert", { "ok": true, "id": 50, "name": "not ok" } ], [ "line", "ok 51 total test count\n" ], [ "assert", { "ok": true, "id": 51, "name": "total test count" } ], [ "line", "ok 52 tests passed\n" ], [ "assert", { "ok": true, "id": 52, "name": "tests passed" } ], [ "line", "ok 53 tests failed\n" ], [ "assert", { "ok": true, "id": 53, "name": "tests failed" } ], [ "line", "ok 54 ok is boolean\n" ], [ "assert", { "ok": true, "id": 54, "name": "ok is boolean" } ], [ "line", "ok 55 skip is number\n" ], [ "assert", { "ok": true, "id": 55, "name": "skip is number" } ], [ "line", "ok 56 results isa Results\n" ], [ "assert", { "ok": true, "id": 56, "name": "results isa Results" } ], [ "line", "ok 57 test isa Test\n" ], [ "assert", { "ok": true, "id": 57, "name": "test isa Test" } ], [ "line", "ok 58 test isa Harness\n" ], [ "assert", { "ok": true, "id": 58, "name": "test isa Harness" } ], [ "line", "# tests 10\n" ], [ "comment", "# tests 10\n" ], [ "line", "# pass 10\n" ], [ "comment", "# pass 10\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 59 test/meta-test.js\n" ], [ "assert", { "ok": true, "id": 59, "name": "test/meta-test.js" } ], [ "line", "# nested-async.js\n" ], [ "comment", "# nested-async.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# Harness async test support\n" ], [ "comment", "# Harness async test support\n" ], [ "line", "ok 60 sync child A\n" ], [ "assert", { "ok": true, "id": 60, "name": "sync child A" } ], [ "line", "# sync child B\n" ], [ "comment", "# sync child B\n" ], [ "line", "# async grandchild A\n" ], [ "comment", "# async grandchild A\n" ], [ "line", "ok 61 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 61, "name": "(unnamed assert)" } ], [ "line", "# async grandchild B\n" ], [ "comment", "# async grandchild B\n" ], [ "line", "ok 62 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 62, "name": "(unnamed assert)" } ], [ "line", "# async child\n" ], [ "comment", "# async child\n" ], [ "line", "ok 63 sync grandchild in async child A\n" ], [ "assert", { "ok": true, "id": 63, "name": "sync grandchild in async child A" } ], [ "line", "# sync grandchild in async child B\n" ], [ "comment", "# sync grandchild in async child B\n" ], [ "line", "ok 64 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 64, "name": "(unnamed assert)" } ], [ "line", "# tests 5\n" ], [ "comment", "# tests 5\n" ], [ "line", "# pass 5\n" ], [ "comment", "# pass 5\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 65 test/nested-async.js\n" ], [ "assert", { "ok": true, "id": 65, "name": "test/nested-async.js" } ], [ "line", "# nested-test.js\n" ], [ "comment", "# nested-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# parent\n" ], [ "comment", "# parent\n" ], [ "line", "ok 66 p test\n" ], [ "assert", { "ok": true, "id": 66, "name": "p test" } ], [ "line", "# subtest\n" ], [ "comment", "# subtest\n" ], [ "line", "ok 67 ch test\n" ], [ "assert", { "ok": true, "id": 67, "name": "ch test" } ], [ "line", "# nested subtest\n" ], [ "comment", "# nested subtest\n" ], [ "line", "ok 68 grch test\n" ], [ "assert", { "ok": true, "id": 68, "name": "grch test" } ], [ "line", "# another subtest\n" ], [ "comment", "# another subtest\n" ], [ "line", "ok 69 ch test 2\n" ], [ "assert", { "ok": true, "id": 69, "name": "ch test 2" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 70 test/nested-test.js\n" ], [ "assert", { "ok": true, "id": 70, "name": "test/nested-test.js" } ], [ "line", "# non-tap-output.js\n" ], [ "comment", "# non-tap-output.js\n" ], [ "line", "# everything is fine\n" ], [ "comment", "# everything is fine\n" ], [ "line", "# there are no errors\n" ], [ "comment", "# there are no errors\n" ], [ "line", "# this output is not haiku.\n" ], [ "comment", "# this output is not haiku.\n" ], [ "line", "# is 8 ok?\n" ], [ "comment", "# is 8 ok?\n" ], [ "line", "ok 71 , 8 can stay.\n" ], [ "assert", { "ok": true, "id": 71, "name": ", 8 can stay." } ], [ "line", "# but: nevertheless, here we are\n" ], [ "comment", "# but: nevertheless, here we are\n" ], [ "line", "# this: is indented\n" ], [ "comment", "# this: is indented\n" ], [ "line", "# and: it\n" ], [ "comment", "# and: it\n" ], [ "line", "# might: ~\n" ], [ "comment", "# might: ~\n" ], [ "line", "# be: yaml?\n" ], [ "comment", "# be: yaml?\n" ], [ "line", "ok 72 might be confusing\n" ], [ "assert", { "ok": true, "id": 72, "name": "might be confusing" } ], [ "line", "ok 73 done now, exiting\n" ], [ "assert", { "ok": true, "id": 73, "name": "done now, exiting" } ], [ "line", "ok 74 test/non-tap-output.js\n" ], [ "assert", { "ok": true, "id": 74, "name": "test/non-tap-output.js" } ], [ "line", "# not-executed.sh\n" ], [ "comment", "# not-executed.sh\n" ], [ "line", "# output-childtest-description.js\n" ], [ "comment", "# output-childtest-description.js\n" ], [ "line", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\n" ], [ "comment", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# nested tests, parent and child pass\n" ], [ "comment", "# nested tests, parent and child pass\n" ], [ "line", "ok 75 outputs parent description\n" ], [ "assert", { "ok": true, "id": 75, "name": "outputs parent description" } ], [ "line", "ok 76 outputs child description\n" ], [ "assert", { "ok": true, "id": 76, "name": "outputs child description" } ], [ "line", "ok 77 outputs parent description before parent result\n" ], [ "assert", { "ok": true, "id": 77, "name": "outputs parent description before parent result" } ], [ "line", "ok 78 outputs parent result before child description\n" ], [ "assert", { "ok": true, "id": 78, "name": "outputs parent result before child description" } ], [ "line", "ok 79 outputs child description before child result\n" ], [ "assert", { "ok": true, "id": 79, "name": "outputs child description before child result" } ], [ "line", "# tests 5\n" ], [ "comment", "# tests 5\n" ], [ "line", "# pass 5\n" ], [ "comment", "# pass 5\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 80 test/output-childtest-description.js\n" ], [ "assert", { "ok": true, "id": 80, "name": "test/output-childtest-description.js" } ], [ "line", "# result-trap.js\n" ], [ "comment", "# result-trap.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trap result\n" ], [ "comment", "# trap result\n" ], [ "line", "ok 81 should be equal\n" ], [ "assert", { "ok": true, "id": 81, "name": "should be equal" } ], [ "line", "ok 82 should be equal\n" ], [ "assert", { "ok": true, "id": 82, "name": "should be equal" } ], [ "line", "# tests 2\n" ], [ "comment", "# tests 2\n" ], [ "line", "# pass 2\n" ], [ "comment", "# pass 2\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 83 test/result-trap.js\n" ], [ "assert", { "ok": true, "id": 83, "name": "test/result-trap.js" } ], [ "line", "# segv.js\n" ], [ "comment", "# segv.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# setup\n" ], [ "comment", "# setup\n" ], [ "line", "ok 84 compiled seg faulter\n" ], [ "assert", { "ok": true, "id": 84, "name": "compiled seg faulter" } ], [ "line", "# segv\n" ], [ "comment", "# segv\n" ], [ "line", "ok 85 should be equivalent\n" ], [ "assert", { "ok": true, "id": 85, "name": "should be equivalent" } ], [ "line", "ok 86 should be equivalent\n" ], [ "assert", { "ok": true, "id": 86, "name": "should be equivalent" } ], [ "line", "ok 87 should be equivalent\n" ], [ "assert", { "ok": true, "id": 87, "name": "should be equivalent" } ], [ "line", "ok 88 should be equivalent\n" ], [ "assert", { "ok": true, "id": 88, "name": "should be equivalent" } ], [ "line", "ok 89 should be equivalent\n" ], [ "assert", { "ok": true, "id": 89, "name": "should be equivalent" } ], [ "line", "ok 90 should be equal\n" ], [ "assert", { "ok": true, "id": 90, "name": "should be equal" } ], [ "line", "# cleanup\n" ], [ "comment", "# cleanup\n" ], [ "line", "ok 91 cleaned up\n" ], [ "assert", { "ok": true, "id": 91, "name": "cleaned up" } ], [ "line", "# tests 8\n" ], [ "comment", "# tests 8\n" ], [ "line", "# pass 8\n" ], [ "comment", "# pass 8\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 92 test/segv.js\n" ], [ "assert", { "ok": true, "id": 92, "name": "test/segv.js" } ], [ "line", "# simple-harness-test-with-plan.js\n" ], [ "comment", "# simple-harness-test-with-plan.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trivial success\n" ], [ "comment", "# trivial success\n" ], [ "line", "ok 93 it works\n" ], [ "assert", { "ok": true, "id": 93, "name": "it works" } ], [ "line", "# two tests\n" ], [ "comment", "# two tests\n" ], [ "line", "ok 94 math should work\n" ], [ "assert", { "ok": true, "id": 94, "name": "math should work" } ], [ "line", "ok 95 false should not be ok\n" ], [ "assert", { "ok": true, "id": 95, "name": "false should not be ok" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 96 test/simple-harness-test-with-plan.js\n" ], [ "assert", { "ok": true, "id": 96, "name": "test/simple-harness-test-with-plan.js" } ], [ "line", "# simple-harness-test.js\n" ], [ "comment", "# simple-harness-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trivial success\n" ], [ "comment", "# trivial success\n" ], [ "line", "ok 97 it works\n" ], [ "assert", { "ok": true, "id": 97, "name": "it works" } ], [ "line", "# two tests\n" ], [ "comment", "# two tests\n" ], [ "line", "ok 98 math should work\n" ], [ "assert", { "ok": true, "id": 98, "name": "math should work" } ], [ "line", "ok 99 false should not be ok\n" ], [ "assert", { "ok": true, "id": 99, "name": "false should not be ok" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 100 test/simple-harness-test.js\n" ], [ "assert", { "ok": true, "id": 100, "name": "test/simple-harness-test.js" } ], [ "line", "# test-assert-todo-skip.js\n" ], [ "comment", "# test-assert-todo-skip.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# not much\n" ], [ "comment", "# not much\n" ], [ "line", "ok 101 always passes # SKIP skip it good\n" ], [ "assert", { "ok": true, "id": 101, "skip": "skip it good", "name": "always passes" } ], [ "line", "ok 102 false # SKIP always fails\n" ], [ "assert", { "ok": true, "id": 102, "skip": "always fails", "name": "false" } ], [ "line", "ok 103 bonus # TODO remove todo directive\n" ], [ "assert", { "ok": true, "id": 103, "todo": "remove todo directive", "name": "bonus" } ], [ "line", "ok 104 expected # TODO implement a thing\n" ], [ "assert", { "ok": true, "id": 104, "todo": "implement a thing", "name": "expected" } ], [ "line", "ok 105 always passes without explanation # SKIP\n" ], [ "assert", { "ok": true, "id": 105, "skip": true, "name": "always passes without explanation" } ], [ "line", "ok 106 false without explanation # SKIP\n" ], [ "assert", { "ok": true, "id": 106, "skip": true, "name": "false without explanation" } ], [ "line", "ok 107 bonus without explanation # TODO\n" ], [ "assert", { "ok": true, "id": 107, "todo": true, "name": "bonus without explanation" } ], [ "line", "ok 108 expected without explanation # TODO\n" ], [ "assert", { "ok": true, "id": 108, "todo": true, "name": "expected without explanation" } ], [ "line", "# tests 8\n" ], [ "comment", "# tests 8\n" ], [ "line", "# skip 4\n" ], [ "comment", "# skip 4\n" ], [ "line", "# todo 4\n" ], [ "comment", "# todo 4\n" ], [ "line", "ok 109 test/test-assert-todo-skip.js\n" ], [ "assert", { "ok": true, "id": 109, "name": "test/test-assert-todo-skip.js" } ], [ "line", "# test-descriptions.js\n" ], [ "comment", "# test-descriptions.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# captures test descriptions\n" ], [ "comment", "# captures test descriptions\n" ], [ "line", "ok 110 exit cleanly\n" ], [ "assert", { "ok": true, "id": 110, "name": "exit cleanly" } ], [ "line", "ok 111 captures SKIP description\n" ], [ "assert", { "ok": true, "id": 111, "name": "captures SKIP description" } ], [ "line", "ok 112 skip summary is not from file\n" ], [ "assert", { "ok": true, "id": 112, "name": "skip summary is not from file" } ], [ "line", "ok 113 todo summary is not from file\n" ], [ "assert", { "ok": true, "id": 113, "name": "todo summary is not from file" } ], [ "line", "not ok 114 captures TODO description\n" ], [ "line", " ---\n" ], [ "line", " file: child_process.js\n" ], [ "line", " line: 707\n" ], [ "line", " column: 7\n" ], [ "line", " stack:\n" ], [ "line", " - |\n" ], [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n" ], [ "line", " - |\n" ], [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n" ], [ "line", " - |\n" ], [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n" ], [ "line", " - |\n" ], [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.exithandler (child_process.js:707:7)\n" ], [ "line", " - |\n" ], [ "line", " emitTwo (events.js:87:13)\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.emit (events.js:169:7)\n" ], [ "line", " - |\n" ], [ "line", " maybeClose (child_process.js:984:16)\n" ], [ "line", " - |\n" ], [ "line", " Socket. (child_process.js:1153:11)\n" ], [ "line", " - |\n" ], [ "line", " emitOne (events.js:77:13)\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 114, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Socket. (child_process.js:1153:11)\n", "emitOne (events.js:77:13)\n" ] } } ], [ "line", "ok 115 exit cleanly\n" ], [ "assert", { "ok": true, "id": 115, "name": "exit cleanly" } ], [ "line", "ok 116 captures SKIP description\n" ], [ "assert", { "ok": true, "id": 116, "name": "captures SKIP description" } ], [ "line", "ok 117 skip summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 117, "name": "skip summary is not in TAP output" } ], [ "line", "ok 118 todo summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 118, "name": "todo summary is not in TAP output" } ], [ "line", "not ok 119 captures TODO description\n" ], [ "line", " ---\n" ], [ "line", " file: child_process.js\n" ], [ "line", " line: 707\n" ], [ "line", " column: 7\n" ], [ "line", " stack:\n" ], [ "line", " - |\n" ], [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n" ], [ "line", " - |\n" ], [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n" ], [ "line", " - |\n" ], [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n" ], [ "line", " - |\n" ], [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:18:7\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.exithandler (child_process.js:707:7)\n" ], [ "line", " - |\n" ], [ "line", " emitTwo (events.js:87:13)\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.emit (events.js:169:7)\n" ], [ "line", " - |\n" ], [ "line", " maybeClose (child_process.js:984:16)\n" ], [ "line", " - |\n" ], [ "line", " Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 119, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:18:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } } ], [ "line", "ok 120 exit cleanly\n" ], [ "assert", { "ok": true, "id": 120, "name": "exit cleanly" } ], [ "line", "not ok 121 summarizes skipped count\n" ], [ "line", " ---\n" ], [ "line", " file: child_process.js\n" ], [ "line", " line: 707\n" ], [ "line", " column: 7\n" ], [ "line", " stack:\n" ], [ "line", " - |\n" ], [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n" ], [ "line", " - |\n" ], [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n" ], [ "line", " - |\n" ], [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n" ], [ "line", " - |\n" ], [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:23:7\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.exithandler (child_process.js:707:7)\n" ], [ "line", " - |\n" ], [ "line", " emitTwo (events.js:87:13)\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.emit (events.js:169:7)\n" ], [ "line", " - |\n" ], [ "line", " maybeClose (child_process.js:984:16)\n" ], [ "line", " - |\n" ], [ "line", " Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 121, "name": "summarizes skipped count", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:23:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } } ], [ "line", "not ok 122 summarizes todo count\n" ], [ "line", " ---\n" ], [ "line", " file: child_process.js\n" ], [ "line", " line: 707\n" ], [ "line", " column: 7\n" ], [ "line", " stack:\n" ], [ "line", " - |\n" ], [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n" ], [ "line", " - |\n" ], [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n" ], [ "line", " - |\n" ], [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n" ], [ "line", " - |\n" ], [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:24:7\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.exithandler (child_process.js:707:7)\n" ], [ "line", " - |\n" ], [ "line", " emitTwo (events.js:87:13)\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.emit (events.js:169:7)\n" ], [ "line", " - |\n" ], [ "line", " maybeClose (child_process.js:984:16)\n" ], [ "line", " - |\n" ], [ "line", " Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 122, "name": "summarizes todo count", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:24:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } } ], [ "line", "# tests 13\n" ], [ "comment", "# tests 13\n" ], [ "line", "# pass 9\n" ], [ "comment", "# pass 9\n" ], [ "line", "# fail 4\n" ], [ "comment", "# fail 4\n" ], [ "line", "not ok 123 test/test-descriptions.js\n" ], [ "line", " ---\n" ], [ "line", " exit: 1\n" ], [ "line", " command: \"/usr/local/bin/iojs test-descriptions.js\"\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 123, "name": "test/test-descriptions.js", "diag": { "exit": 1, "command": "/usr/local/bin/iojs test-descriptions.js" } } ], [ "line", "# test-directives.js\n" ], [ "comment", "# test-directives.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# captures test descriptions\n" ], [ "comment", "# captures test descriptions\n" ], [ "line", "# raw TAP > TAP consumer > TAP producer\n" ], [ "comment", "# raw TAP > TAP consumer > TAP producer\n" ], [ "line", "ok 124 overall result is PASS\n" ], [ "assert", { "ok": true, "id": 124, "name": "overall result is PASS" } ], [ "line", "ok 125 captures ok SKIP\n" ], [ "assert", { "ok": true, "id": 125, "name": "captures ok SKIP" } ], [ "line", "ok 126 captures not ok SKIP\n" ], [ "assert", { "ok": true, "id": 126, "name": "captures not ok SKIP" } ], [ "line", "ok 127 skip summary not in TAP output\n" ], [ "assert", { "ok": true, "id": 127, "name": "skip summary not in TAP output" } ], [ "line", "ok 128 captures ok TODO\n" ], [ "assert", { "ok": true, "id": 128, "name": "captures ok TODO" } ], [ "line", "ok 129 captures not ok TODO\n" ], [ "assert", { "ok": true, "id": 129, "name": "captures not ok TODO" } ], [ "line", "ok 130 todo summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 130, "name": "todo summary is not in TAP output" } ], [ "line", "ok 131 no ugly \"undefined\" in output\n" ], [ "assert", { "ok": true, "id": 131, "name": "no ugly \"undefined\" in output" } ], [ "line", "# raw TAP > TAP consumer > summary\n" ], [ "comment", "# raw TAP > TAP consumer > summary\n" ], [ "line", "ok 132 overall result is PASS\n" ], [ "assert", { "ok": true, "id": 132, "name": "overall result is PASS" } ], [ "line", "ok 133 no SKIP in summary\n" ], [ "assert", { "ok": true, "id": 133, "name": "no SKIP in summary" } ], [ "line", "ok 134 skip summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 134, "name": "skip summary is not in TAP output" } ], [ "line", "ok 135 no TODO in summary\n" ], [ "assert", { "ok": true, "id": 135, "name": "no TODO in summary" } ], [ "line", "ok 136 todo summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 136, "name": "todo summary is not in TAP output" } ], [ "line", "ok 137 no ugly \"undefined\" in output\n" ], [ "assert", { "ok": true, "id": 137, "name": "no ugly \"undefined\" in output" } ], [ "line", "# TAP producer via require(\"tap\")\n" ], [ "comment", "# TAP producer via require(\"tap\")\n" ], [ "line", "ok 138 overall result is PASS\n" ], [ "assert", { "ok": true, "id": 138, "name": "overall result is PASS" } ], [ "line", "ok 139 captures ok SKIP\n" ], [ "assert", { "ok": true, "id": 139, "name": "captures ok SKIP" } ], [ "line", "ok 140 captures not ok SKIP\n" ], [ "assert", { "ok": true, "id": 140, "name": "captures not ok SKIP" } ], [ "line", "ok 141 skip summary not in TAP output\n" ], [ "assert", { "ok": true, "id": 141, "name": "skip summary not in TAP output" } ], [ "line", "ok 142 captures ok TODO\n" ], [ "assert", { "ok": true, "id": 142, "name": "captures ok TODO" } ], [ "line", "ok 143 captures not ok TODO\n" ], [ "assert", { "ok": true, "id": 143, "name": "captures not ok TODO" } ], [ "line", "ok 144 todo summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 144, "name": "todo summary is not in TAP output" } ], [ "line", "ok 145 no ugly \"undefined\" in output\n" ], [ "assert", { "ok": true, "id": 145, "name": "no ugly \"undefined\" in output" } ], [ "line", "# tests 22\n" ], [ "comment", "# tests 22\n" ], [ "line", "# pass 22\n" ], [ "comment", "# pass 22\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 146 test/test-directives.js\n" ], [ "assert", { "ok": true, "id": 146, "name": "test/test-directives.js" } ], [ "line", "# test-skip.js\n" ], [ "comment", "# test-skip.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "ok 147 does not count as failure # SKIP\n" ], [ "assert", { "ok": true, "id": 147, "skip": true, "name": "does not count as failure" } ], [ "line", "# tests 1\n" ], [ "comment", "# tests 1\n" ], [ "line", "# skip 1\n" ], [ "comment", "# skip 1\n" ], [ "line", "ok 148 test/test-skip.js\n" ], [ "assert", { "ok": true, "id": 148, "name": "test/test-skip.js" } ], [ "line", "# test-test.js\n" ], [ "comment", "# test-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# testing the test object\n" ], [ "comment", "# testing the test object\n" ], [ "line", "ok 149 test object should be instanceof Test\n" ], [ "assert", { "ok": true, "id": 149, "name": "test object should be instanceof Test" } ], [ "line", "ok 150 test object should be instanceof Harness\n" ], [ "assert", { "ok": true, "id": 150, "name": "test object should be instanceof Harness" } ], [ "line", "ok 151 test._Test should be the Test class\n" ], [ "assert", { "ok": true, "id": 151, "name": "test._Test should be the Test class" } ], [ "line", "ok 152 should have isNotDeepEqual method\n" ], [ "assert", { "ok": true, "id": 152, "name": "should have isNotDeepEqual method" } ], [ "line", "ok 153 isNotDeepEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 153, "name": "isNotDeepEqual method should be a function" } ], [ "line", "ok 154 should have equals method\n" ], [ "assert", { "ok": true, "id": 154, "name": "should have equals method" } ], [ "line", "ok 155 equals method should be a function\n" ], [ "assert", { "ok": true, "id": 155, "name": "equals method should be a function" } ], [ "line", "ok 156 should have inequivalent method\n" ], [ "assert", { "ok": true, "id": 156, "name": "should have inequivalent method" } ], [ "line", "ok 157 inequivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 157, "name": "inequivalent method should be a function" } ], [ "line", "ok 158 should have threw method\n" ], [ "assert", { "ok": true, "id": 158, "name": "should have threw method" } ], [ "line", "ok 159 threw method should be a function\n" ], [ "assert", { "ok": true, "id": 159, "name": "threw method should be a function" } ], [ "line", "ok 160 should have strictEqual method\n" ], [ "assert", { "ok": true, "id": 160, "name": "should have strictEqual method" } ], [ "line", "ok 161 strictEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 161, "name": "strictEqual method should be a function" } ], [ "line", "ok 162 should have emit method\n" ], [ "assert", { "ok": true, "id": 162, "name": "should have emit method" } ], [ "line", "ok 163 emit method should be a function\n" ], [ "assert", { "ok": true, "id": 163, "name": "emit method should be a function" } ], [ "line", "ok 164 should have fail method\n" ], [ "assert", { "ok": true, "id": 164, "name": "should have fail method" } ], [ "line", "ok 165 fail method should be a function\n" ], [ "assert", { "ok": true, "id": 165, "name": "fail method should be a function" } ], [ "line", "ok 166 should have strictEquals method\n" ], [ "assert", { "ok": true, "id": 166, "name": "should have strictEquals method" } ], [ "line", "ok 167 strictEquals method should be a function\n" ], [ "assert", { "ok": true, "id": 167, "name": "strictEquals method should be a function" } ], [ "line", "ok 168 should have notLike method\n" ], [ "assert", { "ok": true, "id": 168, "name": "should have notLike method" } ], [ "line", "ok 169 notLike method should be a function\n" ], [ "assert", { "ok": true, "id": 169, "name": "notLike method should be a function" } ], [ "line", "ok 170 should have dissimilar method\n" ], [ "assert", { "ok": true, "id": 170, "name": "should have dissimilar method" } ], [ "line", "ok 171 dissimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 171, "name": "dissimilar method should be a function" } ], [ "line", "ok 172 should have true method\n" ], [ "assert", { "ok": true, "id": 172, "name": "should have true method" } ], [ "line", "ok 173 true method should be a function\n" ], [ "assert", { "ok": true, "id": 173, "name": "true method should be a function" } ], [ "line", "ok 174 should have assert method\n" ], [ "assert", { "ok": true, "id": 174, "name": "should have assert method" } ], [ "line", "ok 175 assert method should be a function\n" ], [ "assert", { "ok": true, "id": 175, "name": "assert method should be a function" } ], [ "line", "ok 176 should have is method\n" ], [ "assert", { "ok": true, "id": 176, "name": "should have is method" } ], [ "line", "ok 177 is method should be a function\n" ], [ "assert", { "ok": true, "id": 177, "name": "is method should be a function" } ], [ "line", "ok 178 should have ok method\n" ], [ "assert", { "ok": true, "id": 178, "name": "should have ok method" } ], [ "line", "ok 179 ok method should be a function\n" ], [ "assert", { "ok": true, "id": 179, "name": "ok method should be a function" } ], [ "line", "ok 180 should have isEqual method\n" ], [ "assert", { "ok": true, "id": 180, "name": "should have isEqual method" } ], [ "line", "ok 181 isEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 181, "name": "isEqual method should be a function" } ], [ "line", "ok 182 should have isDeeply method\n" ], [ "assert", { "ok": true, "id": 182, "name": "should have isDeeply method" } ], [ "line", "ok 183 isDeeply method should be a function\n" ], [ "assert", { "ok": true, "id": 183, "name": "isDeeply method should be a function" } ], [ "line", "ok 184 should have deepEqual method\n" ], [ "assert", { "ok": true, "id": 184, "name": "should have deepEqual method" } ], [ "line", "ok 185 deepEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 185, "name": "deepEqual method should be a function" } ], [ "line", "ok 186 should have deepEquals method\n" ], [ "assert", { "ok": true, "id": 186, "name": "should have deepEquals method" } ], [ "line", "ok 187 deepEquals method should be a function\n" ], [ "assert", { "ok": true, "id": 187, "name": "deepEquals method should be a function" } ], [ "line", "ok 188 should have pass method\n" ], [ "assert", { "ok": true, "id": 188, "name": "should have pass method" } ], [ "line", "ok 189 pass method should be a function\n" ], [ "assert", { "ok": true, "id": 189, "name": "pass method should be a function" } ], [ "line", "ok 190 should have length method\n" ], [ "assert", { "ok": true, "id": 190, "name": "should have length method" } ], [ "line", "ok 191 length method should be a function\n" ], [ "assert", { "ok": true, "id": 191, "name": "length method should be a function" } ], [ "line", "ok 192 should have skip method\n" ], [ "assert", { "ok": true, "id": 192, "name": "should have skip method" } ], [ "line", "ok 193 skip method should be a function\n" ], [ "assert", { "ok": true, "id": 193, "name": "skip method should be a function" } ], [ "line", "ok 194 should have isNotEqual method\n" ], [ "assert", { "ok": true, "id": 194, "name": "should have isNotEqual method" } ], [ "line", "ok 195 isNotEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 195, "name": "isNotEqual method should be a function" } ], [ "line", "ok 196 should have looseEquals method\n" ], [ "assert", { "ok": true, "id": 196, "name": "should have looseEquals method" } ], [ "line", "ok 197 looseEquals method should be a function\n" ], [ "assert", { "ok": true, "id": 197, "name": "looseEquals method should be a function" } ], [ "line", "ok 198 should have false method\n" ], [ "assert", { "ok": true, "id": 198, "name": "should have false method" } ], [ "line", "ok 199 false method should be a function\n" ], [ "assert", { "ok": true, "id": 199, "name": "false method should be a function" } ], [ "line", "ok 200 should have notDeeply method\n" ], [ "assert", { "ok": true, "id": 200, "name": "should have notDeeply method" } ], [ "line", "ok 201 notDeeply method should be a function\n" ], [ "assert", { "ok": true, "id": 201, "name": "notDeeply method should be a function" } ], [ "line", "ok 202 should have ifErr method\n" ], [ "assert", { "ok": true, "id": 202, "name": "should have ifErr method" } ], [ "line", "ok 203 ifErr method should be a function\n" ], [ "assert", { "ok": true, "id": 203, "name": "ifErr method should be a function" } ], [ "line", "ok 204 should have hasFields method\n" ], [ "assert", { "ok": true, "id": 204, "name": "should have hasFields method" } ], [ "line", "ok 205 hasFields method should be a function\n" ], [ "assert", { "ok": true, "id": 205, "name": "hasFields method should be a function" } ], [ "line", "ok 206 should have isNotDeeply method\n" ], [ "assert", { "ok": true, "id": 206, "name": "should have isNotDeeply method" } ], [ "line", "ok 207 isNotDeeply method should be a function\n" ], [ "assert", { "ok": true, "id": 207, "name": "isNotDeeply method should be a function" } ], [ "line", "ok 208 should have like method\n" ], [ "assert", { "ok": true, "id": 208, "name": "should have like method" } ], [ "line", "ok 209 like method should be a function\n" ], [ "assert", { "ok": true, "id": 209, "name": "like method should be a function" } ], [ "line", "ok 210 should have similar method\n" ], [ "assert", { "ok": true, "id": 210, "name": "should have similar method" } ], [ "line", "ok 211 similar method should be a function\n" ], [ "assert", { "ok": true, "id": 211, "name": "similar method should be a function" } ], [ "line", "ok 212 should have notOk method\n" ], [ "assert", { "ok": true, "id": 212, "name": "should have notOk method" } ], [ "line", "ok 213 notOk method should be a function\n" ], [ "assert", { "ok": true, "id": 213, "name": "notOk method should be a function" } ], [ "line", "ok 214 should have isDissimilar method\n" ], [ "assert", { "ok": true, "id": 214, "name": "should have isDissimilar method" } ], [ "line", "ok 215 isDissimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 215, "name": "isDissimilar method should be a function" } ], [ "line", "ok 216 should have isEquivalent method\n" ], [ "assert", { "ok": true, "id": 216, "name": "should have isEquivalent method" } ], [ "line", "ok 217 isEquivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 217, "name": "isEquivalent method should be a function" } ], [ "line", "ok 218 should have doesNotEqual method\n" ], [ "assert", { "ok": true, "id": 218, "name": "should have doesNotEqual method" } ], [ "line", "ok 219 doesNotEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 219, "name": "doesNotEqual method should be a function" } ], [ "line", "ok 220 should have isSimilar method\n" ], [ "assert", { "ok": true, "id": 220, "name": "should have isSimilar method" } ], [ "line", "ok 221 isSimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 221, "name": "isSimilar method should be a function" } ], [ "line", "ok 222 should have notDeepEqual method\n" ], [ "assert", { "ok": true, "id": 222, "name": "should have notDeepEqual method" } ], [ "line", "ok 223 notDeepEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 223, "name": "notDeepEqual method should be a function" } ], [ "line", "ok 224 should have type method\n" ], [ "assert", { "ok": true, "id": 224, "name": "should have type method" } ], [ "line", "ok 225 type method should be a function\n" ], [ "assert", { "ok": true, "id": 225, "name": "type method should be a function" } ], [ "line", "ok 226 should have notok method\n" ], [ "assert", { "ok": true, "id": 226, "name": "should have notok method" } ], [ "line", "ok 227 notok method should be a function\n" ], [ "assert", { "ok": true, "id": 227, "name": "notok method should be a function" } ], [ "line", "ok 228 should have isInequivalent method\n" ], [ "assert", { "ok": true, "id": 228, "name": "should have isInequivalent method" } ], [ "line", "ok 229 isInequivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 229, "name": "isInequivalent method should be a function" } ], [ "line", "ok 230 should have isNot method\n" ], [ "assert", { "ok": true, "id": 230, "name": "should have isNot method" } ], [ "line", "ok 231 isNot method should be a function\n" ], [ "assert", { "ok": true, "id": 231, "name": "isNot method should be a function" } ], [ "line", "ok 232 should have same method\n" ], [ "assert", { "ok": true, "id": 232, "name": "should have same method" } ], [ "line", "ok 233 same method should be a function\n" ], [ "assert", { "ok": true, "id": 233, "name": "same method should be a function" } ], [ "line", "ok 234 should have isInequal method\n" ], [ "assert", { "ok": true, "id": 234, "name": "should have isInequal method" } ], [ "line", "ok 235 isInequal method should be a function\n" ], [ "assert", { "ok": true, "id": 235, "name": "isInequal method should be a function" } ], [ "line", "ok 236 should have _endNice method\n" ], [ "assert", { "ok": true, "id": 236, "name": "should have _endNice method" } ], [ "line", "ok 237 _endNice method should be a function\n" ], [ "assert", { "ok": true, "id": 237, "name": "_endNice method should be a function" } ], [ "line", "ok 238 should have ifError method\n" ], [ "assert", { "ok": true, "id": 238, "name": "should have ifError method" } ], [ "line", "ok 239 ifError method should be a function\n" ], [ "assert", { "ok": true, "id": 239, "name": "ifError method should be a function" } ], [ "line", "ok 240 should have iferror method\n" ], [ "assert", { "ok": true, "id": 240, "name": "should have iferror method" } ], [ "line", "ok 241 iferror method should be a function\n" ], [ "assert", { "ok": true, "id": 241, "name": "iferror method should be a function" } ], [ "line", "ok 242 should have clear method\n" ], [ "assert", { "ok": true, "id": 242, "name": "should have clear method" } ], [ "line", "ok 243 clear method should be a function\n" ], [ "assert", { "ok": true, "id": 243, "name": "clear method should be a function" } ], [ "line", "ok 244 should have has method\n" ], [ "assert", { "ok": true, "id": 244, "name": "should have has method" } ], [ "line", "ok 245 has method should be a function\n" ], [ "assert", { "ok": true, "id": 245, "name": "has method should be a function" } ], [ "line", "ok 246 should have not method\n" ], [ "assert", { "ok": true, "id": 246, "name": "should have not method" } ], [ "line", "ok 247 not method should be a function\n" ], [ "assert", { "ok": true, "id": 247, "name": "not method should be a function" } ], [ "line", "ok 248 should have timeout method\n" ], [ "assert", { "ok": true, "id": 248, "name": "should have timeout method" } ], [ "line", "ok 249 timeout method should be a function\n" ], [ "assert", { "ok": true, "id": 249, "name": "timeout method should be a function" } ], [ "line", "ok 250 should have notSimilar method\n" ], [ "assert", { "ok": true, "id": 250, "name": "should have notSimilar method" } ], [ "line", "ok 251 notSimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 251, "name": "notSimilar method should be a function" } ], [ "line", "ok 252 should have isUnlike method\n" ], [ "assert", { "ok": true, "id": 252, "name": "should have isUnlike method" } ], [ "line", "ok 253 isUnlike method should be a function\n" ], [ "assert", { "ok": true, "id": 253, "name": "isUnlike method should be a function" } ], [ "line", "ok 254 should have notEquals method\n" ], [ "assert", { "ok": true, "id": 254, "name": "should have notEquals method" } ], [ "line", "ok 255 notEquals method should be a function\n" ], [ "assert", { "ok": true, "id": 255, "name": "notEquals method should be a function" } ], [ "line", "ok 256 should have unsimilar method\n" ], [ "assert", { "ok": true, "id": 256, "name": "should have unsimilar method" } ], [ "line", "ok 257 unsimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 257, "name": "unsimilar method should be a function" } ], [ "line", "ok 258 should have result method\n" ], [ "assert", { "ok": true, "id": 258, "name": "should have result method" } ], [ "line", "ok 259 result method should be a function\n" ], [ "assert", { "ok": true, "id": 259, "name": "result method should be a function" } ], [ "line", "ok 260 should have doesNotThrow method\n" ], [ "assert", { "ok": true, "id": 260, "name": "should have doesNotThrow method" } ], [ "line", "ok 261 doesNotThrow method should be a function\n" ], [ "assert", { "ok": true, "id": 261, "name": "doesNotThrow method should be a function" } ], [ "line", "ok 262 should have error method\n" ], [ "assert", { "ok": true, "id": 262, "name": "should have error method" } ], [ "line", "ok 263 error method should be a function\n" ], [ "assert", { "ok": true, "id": 263, "name": "error method should be a function" } ], [ "line", "ok 264 should have constructor method\n" ], [ "assert", { "ok": true, "id": 264, "name": "should have constructor method" } ], [ "line", "ok 265 constructor method should be a function\n" ], [ "assert", { "ok": true, "id": 265, "name": "constructor method should be a function" } ], [ "line", "ok 266 should have notEqual method\n" ], [ "assert", { "ok": true, "id": 266, "name": "should have notEqual method" } ], [ "line", "ok 267 notEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 267, "name": "notEqual method should be a function" } ], [ "line", "ok 268 should have throws method\n" ], [ "assert", { "ok": true, "id": 268, "name": "should have throws method" } ], [ "line", "ok 269 throws method should be a function\n" ], [ "assert", { "ok": true, "id": 269, "name": "throws method should be a function" } ], [ "line", "ok 270 should have isLike method\n" ], [ "assert", { "ok": true, "id": 270, "name": "should have isLike method" } ], [ "line", "ok 271 isLike method should be a function\n" ], [ "assert", { "ok": true, "id": 271, "name": "isLike method should be a function" } ], [ "line", "ok 272 should have isNotSimilar method\n" ], [ "assert", { "ok": true, "id": 272, "name": "should have isNotSimilar method" } ], [ "line", "ok 273 isNotSimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 273, "name": "isNotSimilar method should be a function" } ], [ "line", "ok 274 should have isNotEquivalent method\n" ], [ "assert", { "ok": true, "id": 274, "name": "should have isNotEquivalent method" } ], [ "line", "ok 275 isNotEquivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 275, "name": "isNotEquivalent method should be a function" } ], [ "line", "ok 276 should have inequal method\n" ], [ "assert", { "ok": true, "id": 276, "name": "should have inequal method" } ], [ "line", "ok 277 inequal method should be a function\n" ], [ "assert", { "ok": true, "id": 277, "name": "inequal method should be a function" } ], [ "line", "ok 278 should have notEquivalent method\n" ], [ "assert", { "ok": true, "id": 278, "name": "should have notEquivalent method" } ], [ "line", "ok 279 notEquivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 279, "name": "notEquivalent method should be a function" } ], [ "line", "ok 280 should have isNotLike method\n" ], [ "assert", { "ok": true, "id": 280, "name": "should have isNotLike method" } ], [ "line", "ok 281 isNotLike method should be a function\n" ], [ "assert", { "ok": true, "id": 281, "name": "isNotLike method should be a function" } ], [ "line", "ok 282 should have equivalent method\n" ], [ "assert", { "ok": true, "id": 282, "name": "should have equivalent method" } ], [ "line", "ok 283 equivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 283, "name": "equivalent method should be a function" } ], [ "line", "ok 284 should have looseEqual method\n" ], [ "assert", { "ok": true, "id": 284, "name": "should have looseEqual method" } ], [ "line", "ok 285 looseEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 285, "name": "looseEqual method should be a function" } ], [ "line", "ok 286 should have equal method\n" ], [ "assert", { "ok": true, "id": 286, "name": "should have equal method" } ], [ "line", "ok 287 equal method should be a function\n" ], [ "assert", { "ok": true, "id": 287, "name": "equal method should be a function" } ], [ "line", "ok 288 should have unlike method\n" ], [ "assert", { "ok": true, "id": 288, "name": "should have unlike method" } ], [ "line", "ok 289 unlike method should be a function\n" ], [ "assert", { "ok": true, "id": 289, "name": "unlike method should be a function" } ], [ "line", "ok 290 should have doesNotHave method\n" ], [ "assert", { "ok": true, "id": 290, "name": "should have doesNotHave method" } ], [ "line", "ok 291 doesNotHave method should be a function\n" ], [ "assert", { "ok": true, "id": 291, "name": "doesNotHave method should be a function" } ], [ "line", "ok 292 should have comment method\n" ], [ "assert", { "ok": true, "id": 292, "name": "should have comment method" } ], [ "line", "ok 293 comment method should be a function\n" ], [ "assert", { "ok": true, "id": 293, "name": "comment method should be a function" } ], [ "line", "ok 294 should have isa method\n" ], [ "assert", { "ok": true, "id": 294, "name": "should have isa method" } ], [ "line", "ok 295 isa method should be a function\n" ], [ "assert", { "ok": true, "id": 295, "name": "isa method should be a function" } ], [ "line", "# tests 147\n" ], [ "comment", "# tests 147\n" ], [ "line", "# pass 147\n" ], [ "comment", "# pass 147\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 296 test/test-test.js\n" ], [ "assert", { "ok": true, "id": 296, "name": "test/test-test.js" } ], [ "line", "# timeout.js\n" ], [ "comment", "# timeout.js\n" ], [ "line", "timeout test\n" ], [ "extra", "timeout test\n" ], [ "line", "t.plan=2\n" ], [ "extra", "t.plan=2\n" ], [ "line", "a assert\n" ], [ "extra", "a assert\n" ], [ "line", "b assert\n" ], [ "extra", "b assert\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# timeout test with plan only\n" ], [ "comment", "# timeout test with plan only\n" ], [ "line", "ok 297 a\n" ], [ "assert", { "ok": true, "id": 297, "name": "a" } ], [ "line", "timeout test\n" ], [ "extra", "timeout test\n" ], [ "line", "t.plan=2\n" ], [ "extra", "t.plan=2\n" ], [ "line", "a assert\n" ], [ "extra", "a assert\n" ], [ "line", "b assert\n" ], [ "extra", "b assert\n" ], [ "line", "ok 298 b\n" ], [ "assert", { "ok": true, "id": 298, "name": "b" } ], [ "line", "# timeout test with plan and end\n" ], [ "comment", "# timeout test with plan and end\n" ], [ "line", "ok 299 a\n" ], [ "assert", { "ok": true, "id": 299, "name": "a" } ], [ "line", "ok 300 b\n" ], [ "assert", { "ok": true, "id": 300, "name": "b" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 301 test/timeout.js\n" ], [ "assert", { "ok": true, "id": 301, "name": "test/timeout.js" } ], [ "line", "# trivial-success.js\n" ], [ "comment", "# trivial-success.js\n" ], [ "line", "ok 302 test/trivial-success.js\n" ], [ "assert", { "ok": true, "id": 302, "name": "test/trivial-success.js" } ], [ "line", "# undefined_indented.js\n" ], [ "comment", "# undefined_indented.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# consume yaml\n" ], [ "comment", "# consume yaml\n" ], [ "line", "ok 303 should be equivalent\n" ], [ "assert", { "ok": true, "id": 303, "name": "should be equivalent" } ], [ "line", "# tests 1\n" ], [ "comment", "# tests 1\n" ], [ "line", "# pass 1\n" ], [ "comment", "# pass 1\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 304 test/undefined_indented.js\n" ], [ "assert", { "ok": true, "id": 304, "name": "test/undefined_indented.js" } ], [ "line", "# valid-command.js\n" ], [ "comment", "# valid-command.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# valid command\n" ], [ "comment", "# valid command\n" ], [ "line", "ok 305 should be equivalent\n" ], [ "assert", { "ok": true, "id": 305, "name": "should be equivalent" } ], [ "line", "ok 306 should be equivalent\n" ], [ "assert", { "ok": true, "id": 306, "name": "should be equivalent" } ], [ "line", "ok 307 should be equivalent\n" ], [ "assert", { "ok": true, "id": 307, "name": "should be equivalent" } ], [ "line", "ok 308 should be equivalent\n" ], [ "assert", { "ok": true, "id": 308, "name": "should be equivalent" } ], [ "line", "ok 309 should be equivalent\n" ], [ "assert", { "ok": true, "id": 309, "name": "should be equivalent" } ], [ "line", "ok 310 should be equal\n" ], [ "assert", { "ok": true, "id": 310, "name": "should be equal" } ], [ "line", "# tests 6\n" ], [ "comment", "# tests 6\n" ], [ "line", "# pass 6\n" ], [ "comment", "# pass 6\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 311 test/valid-command.js\n" ], [ "assert", { "ok": true, "id": 311, "name": "test/valid-command.js" } ], [ "line", "1..311\n" ], [ "plan", { "start": 1, "end": 311 } ], [ "line", "# tests 311\n" ], [ "comment", "# tests 311\n" ], [ "line", "# pass 297\n" ], [ "comment", "# pass 297\n" ], [ "line", "# fail 5\n" ], [ "comment", "# fail 5\n" ], [ "line", "# skip 5\n" ], [ "comment", "# skip 5\n" ], [ "line", "# todo 4\n" ], [ "comment", "# todo 4\n" ], [ "line", "# failed 5 of 311 tests\n" ], [ "comment", "# failed 5 of 311 tests\n" ], [ "line", "# todo: 4\n" ], [ "comment", "# todo: 4\n" ], [ "line", "# skip: 5\n" ], [ "comment", "# skip: 5\n" ], [ "complete", { "ok": false, "count": 311, "pass": 306, "fail": 5, "bailout": false, "todo": 4, "skip": 5, "plan": { "start": 1, "end": 311, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 114, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Socket. (child_process.js:1153:11)\n", "emitOne (events.js:77:13)\n" ] } }, { "ok": false, "id": 119, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:18:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } }, { "ok": false, "id": 121, "name": "summarizes skipped count", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:23:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } }, { "ok": false, "id": 122, "name": "summarizes todo count", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:24:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } }, { "ok": false, "id": 123, "name": "test/test-descriptions.js", "diag": { "exit": 1, "command": "/usr/local/bin/iojs test-descriptions.js" } } ] } ] ] tap-parser-7.0.0/test/fixtures/tap-tests-stdout--bail--omitversion.json000066400000000000000000001122041320135610000261650ustar00rootroot00000000000000[ [ "line", "# buffer_compare.js\n" ], [ "comment", "# buffer_compare.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# same buffers\n" ], [ "comment", "# same buffers\n" ], [ "line", "ok 1 should be equivalent\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equivalent" } ], [ "line", "# not same buffers\n" ], [ "comment", "# not same buffers\n" ], [ "line", "ok 2 should not be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should not be equivalent" } ], [ "line", "# tests 2\n" ], [ "comment", "# tests 2\n" ], [ "line", "# pass 2\n" ], [ "comment", "# pass 2\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 3 test/buffer_compare.js\n" ], [ "assert", { "ok": true, "id": 3, "name": "test/buffer_compare.js" } ], [ "line", "# common.js\n" ], [ "comment", "# common.js\n" ], [ "line", "ok 4 just setup, nothing relevant\n" ], [ "assert", { "ok": true, "id": 4, "name": "just setup, nothing relevant" } ], [ "line", "ok 5 test/common.js\n" ], [ "assert", { "ok": true, "id": 5, "name": "test/common.js" } ], [ "line", "# consumer.js\n" ], [ "comment", "# consumer.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# basic.tap\n" ], [ "comment", "# basic.tap\n" ], [ "line", "ok 6 should be equivalent\n" ], [ "assert", { "ok": true, "id": 6, "name": "should be equivalent" } ], [ "line", "# indent.tap\n" ], [ "comment", "# indent.tap\n" ], [ "line", "ok 7 should be equivalent\n" ], [ "assert", { "ok": true, "id": 7, "name": "should be equivalent" } ], [ "line", "# missing.tap\n" ], [ "comment", "# missing.tap\n" ], [ "line", "ok 8 should be equivalent\n" ], [ "assert", { "ok": true, "id": 8, "name": "should be equivalent" } ], [ "line", "# skip-all.tap\n" ], [ "comment", "# skip-all.tap\n" ], [ "line", "ok 9 should be equivalent\n" ], [ "assert", { "ok": true, "id": 9, "name": "should be equivalent" } ], [ "line", "# tap-tests.tap\n" ], [ "comment", "# tap-tests.tap\n" ], [ "line", "ok 10 should be equivalent\n" ], [ "assert", { "ok": true, "id": 10, "name": "should be equivalent" } ], [ "line", "# yamlish.tap\n" ], [ "comment", "# yamlish.tap\n" ], [ "line", "ok 11 should be equivalent\n" ], [ "assert", { "ok": true, "id": 11, "name": "should be equivalent" } ], [ "line", "# tests 6\n" ], [ "comment", "# tests 6\n" ], [ "line", "# pass 6\n" ], [ "comment", "# pass 6\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 12 test/consumer.js\n" ], [ "assert", { "ok": true, "id": 12, "name": "test/consumer.js" } ], [ "line", "# debug-test.js\n" ], [ "comment", "# debug-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# debug test\n" ], [ "comment", "# debug test\n" ], [ "line", "ok 13 Should output debugger message\n" ], [ "assert", { "ok": true, "id": 13, "name": "Should output debugger message" } ], [ "line", "# tests 1\n" ], [ "comment", "# tests 1\n" ], [ "line", "# pass 1\n" ], [ "comment", "# pass 1\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 14 test/debug-test.js\n" ], [ "assert", { "ok": true, "id": 14, "name": "test/debug-test.js" } ], [ "line", "# deep-strict.js\n" ], [ "comment", "# deep-strict.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# strictDeepEquals shouldn't care about key order\n" ], [ "comment", "# strictDeepEquals shouldn't care about key order\n" ], [ "line", "ok 15 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 15, "name": "should be strictly equal" } ], [ "line", "# strictDeepEquals shouldn't care about key order recursively\n" ], [ "comment", "# strictDeepEquals shouldn't care about key order recursively\n" ], [ "line", "ok 16 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 16, "name": "should be strictly equal" } ], [ "line", "# strictDeepEquals shoudn't care about key order (but still might)\n" ], [ "comment", "# strictDeepEquals shoudn't care about key order (but still might)\n" ], [ "line", "ok 17 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 17, "name": "should be strictly equal" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 18 test/deep-strict.js\n" ], [ "assert", { "ok": true, "id": 18, "name": "test/deep-strict.js" } ], [ "line", "# deep.js\n" ], [ "comment", "# deep.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# deepEquals shouldn't care about key order and types\n" ], [ "comment", "# deepEquals shouldn't care about key order and types\n" ], [ "line", "ok 19 should be equivalent\n" ], [ "assert", { "ok": true, "id": 19, "name": "should be equivalent" } ], [ "line", "# deepEquals shouldn't care about key order recursively and types\n" ], [ "comment", "# deepEquals shouldn't care about key order recursively and types\n" ], [ "line", "ok 20 should be equivalent\n" ], [ "assert", { "ok": true, "id": 20, "name": "should be equivalent" } ], [ "line", "# deepEquals shoudn't care about key order (but still might) and types\n" ], [ "comment", "# deepEquals shoudn't care about key order (but still might) and types\n" ], [ "line", "ok 21 should be equivalent\n" ], [ "assert", { "ok": true, "id": 21, "name": "should be equivalent" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 22 test/deep.js\n" ], [ "assert", { "ok": true, "id": 22, "name": "test/deep.js" } ], [ "line", "# executed.sh\n" ], [ "comment", "# executed.sh\n" ], [ "line", "ok 23 File with executable bit should be executed\n" ], [ "assert", { "ok": true, "id": 23, "name": "File with executable bit should be executed" } ], [ "line", "ok 24 test/executed.sh\n" ], [ "assert", { "ok": true, "id": 24, "name": "test/executed.sh" } ], [ "line", "# exit-code.js\n" ], [ "comment", "# exit-code.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# exit code 1 when tap results show failure\n" ], [ "comment", "# exit code 1 when tap results show failure\n" ], [ "line", "# test exits 0, has failures\n" ], [ "comment", "# test exits 0, has failures\n" ], [ "line", "ok 25 should be equal\n" ], [ "assert", { "ok": true, "id": 25, "name": "should be equal" } ], [ "line", "ok 26 should be equal\n" ], [ "assert", { "ok": true, "id": 26, "name": "should be equal" } ], [ "line", "# test exits 1, has failures\n" ], [ "comment", "# test exits 1, has failures\n" ], [ "line", "ok 27 should be equal\n" ], [ "assert", { "ok": true, "id": 27, "name": "should be equal" } ], [ "line", "ok 28 should be equal\n" ], [ "assert", { "ok": true, "id": 28, "name": "should be equal" } ], [ "line", "# test exits 1, has no failures\n" ], [ "comment", "# test exits 1, has no failures\n" ], [ "line", "ok 29 should be equal\n" ], [ "assert", { "ok": true, "id": 29, "name": "should be equal" } ], [ "line", "ok 30 should be equal\n" ], [ "assert", { "ok": true, "id": 30, "name": "should be equal" } ], [ "line", "# successes exit 0\n" ], [ "comment", "# successes exit 0\n" ], [ "line", "# test that does nothing, but exits 0\n" ], [ "comment", "# test that does nothing, but exits 0\n" ], [ "line", "ok 31 should be equal\n" ], [ "assert", { "ok": true, "id": 31, "name": "should be equal" } ], [ "line", "ok 32 should be equal\n" ], [ "assert", { "ok": true, "id": 32, "name": "should be equal" } ], [ "line", "# test that succeeds, and exits 0\n" ], [ "comment", "# test that succeeds, and exits 0\n" ], [ "line", "ok 33 should be equal\n" ], [ "assert", { "ok": true, "id": 33, "name": "should be equal" } ], [ "line", "ok 34 should be equal\n" ], [ "assert", { "ok": true, "id": 34, "name": "should be equal" } ], [ "line", "# tests 10\n" ], [ "comment", "# tests 10\n" ], [ "line", "# pass 10\n" ], [ "comment", "# pass 10\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 35 test/exit-code.js\n" ], [ "assert", { "ok": true, "id": 35, "name": "test/exit-code.js" } ], [ "line", "# expose-gc-test.js\n" ], [ "comment", "# expose-gc-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# gc test when the gc isn't there\n" ], [ "comment", "# gc test when the gc isn't there\n" ], [ "line", "ok 36 should be equal\n" ], [ "assert", { "ok": true, "id": 36, "name": "should be equal" } ], [ "line", "# gc test when the gc should be there\n" ], [ "comment", "# gc test when the gc should be there\n" ], [ "line", "# test for gc using --gc\n" ], [ "comment", "# test for gc using --gc\n" ], [ "line", "ok 37 should be equal\n" ], [ "assert", { "ok": true, "id": 37, "name": "should be equal" } ], [ "line", "# test for gc using --expose-gc\n" ], [ "comment", "# test for gc using --expose-gc\n" ], [ "line", "ok 38 should be equal\n" ], [ "assert", { "ok": true, "id": 38, "name": "should be equal" } ], [ "line", "# cleanup\n" ], [ "comment", "# cleanup\n" ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 39 test/expose-gc-test.js\n" ], [ "assert", { "ok": true, "id": 39, "name": "test/expose-gc-test.js" } ], [ "line", "# global-harness-async.js\n" ], [ "comment", "# global-harness-async.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# outer\n" ], [ "comment", "# outer\n" ], [ "line", "# inner 1\n" ], [ "comment", "# inner 1\n" ], [ "line", "ok 40 1-1\n" ], [ "assert", { "ok": true, "id": 40, "name": "1-1" } ], [ "line", "# inner 2\n" ], [ "comment", "# inner 2\n" ], [ "line", "ok 41 2-1\n" ], [ "assert", { "ok": true, "id": 41, "name": "2-1" } ], [ "line", "# inner 3\n" ], [ "comment", "# inner 3\n" ], [ "line", "ok 42 3-1\n" ], [ "assert", { "ok": true, "id": 42, "name": "3-1" } ], [ "line", "ok 43 test/global-harness-async.js\n" ], [ "assert", { "ok": true, "id": 43, "name": "test/global-harness-async.js" } ], [ "line", "# independent-timeouts.js\n" ], [ "comment", "# independent-timeouts.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# finishes in time\n" ], [ "comment", "# finishes in time\n" ], [ "line", "# finishes in time too\n" ], [ "comment", "# finishes in time too\n" ], [ "line", "# tests 0\n" ], [ "comment", "# tests 0\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 44 test/independent-timeouts.js\n" ], [ "assert", { "ok": true, "id": 44, "name": "test/independent-timeouts.js" } ], [ "line", "# isolated-conf-test.js\n" ], [ "comment", "# isolated-conf-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# one\n" ], [ "comment", "# one\n" ], [ "line", "ok 45 should be equal\n" ], [ "assert", { "ok": true, "id": 45, "name": "should be equal" } ], [ "line", "ok 46 should be equal\n" ], [ "assert", { "ok": true, "id": 46, "name": "should be equal" } ], [ "line", "# two\n" ], [ "comment", "# two\n" ], [ "line", "ok 47 should be equal\n" ], [ "assert", { "ok": true, "id": 47, "name": "should be equal" } ], [ "line", "ok 48 should be equal\n" ], [ "assert", { "ok": true, "id": 48, "name": "should be equal" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 49 test/isolated-conf-test.js\n" ], [ "assert", { "ok": true, "id": 49, "name": "test/isolated-conf-test.js" } ], [ "line", "# meta-test.js\n" ], [ "comment", "# meta-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# meta test\n" ], [ "comment", "# meta test\n" ], [ "line", "ok 50 sanity check\n" ], [ "assert", { "ok": true, "id": 50, "name": "sanity check" } ], [ "line", "ok 51 not ok\n" ], [ "assert", { "ok": true, "id": 51, "name": "not ok" } ], [ "line", "ok 52 total test count\n" ], [ "assert", { "ok": true, "id": 52, "name": "total test count" } ], [ "line", "ok 53 tests passed\n" ], [ "assert", { "ok": true, "id": 53, "name": "tests passed" } ], [ "line", "ok 54 tests failed\n" ], [ "assert", { "ok": true, "id": 54, "name": "tests failed" } ], [ "line", "ok 55 ok is boolean\n" ], [ "assert", { "ok": true, "id": 55, "name": "ok is boolean" } ], [ "line", "ok 56 skip is number\n" ], [ "assert", { "ok": true, "id": 56, "name": "skip is number" } ], [ "line", "ok 57 results isa Results\n" ], [ "assert", { "ok": true, "id": 57, "name": "results isa Results" } ], [ "line", "ok 58 test isa Test\n" ], [ "assert", { "ok": true, "id": 58, "name": "test isa Test" } ], [ "line", "ok 59 test isa Harness\n" ], [ "assert", { "ok": true, "id": 59, "name": "test isa Harness" } ], [ "line", "# tests 10\n" ], [ "comment", "# tests 10\n" ], [ "line", "# pass 10\n" ], [ "comment", "# pass 10\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 60 test/meta-test.js\n" ], [ "assert", { "ok": true, "id": 60, "name": "test/meta-test.js" } ], [ "line", "# nested-async.js\n" ], [ "comment", "# nested-async.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# Harness async test support\n" ], [ "comment", "# Harness async test support\n" ], [ "line", "ok 61 sync child A\n" ], [ "assert", { "ok": true, "id": 61, "name": "sync child A" } ], [ "line", "# sync child B\n" ], [ "comment", "# sync child B\n" ], [ "line", "# async grandchild A\n" ], [ "comment", "# async grandchild A\n" ], [ "line", "ok 62 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 62, "name": "(unnamed assert)" } ], [ "line", "# async grandchild B\n" ], [ "comment", "# async grandchild B\n" ], [ "line", "ok 63 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 63, "name": "(unnamed assert)" } ], [ "line", "# async child\n" ], [ "comment", "# async child\n" ], [ "line", "ok 64 sync grandchild in async child A\n" ], [ "assert", { "ok": true, "id": 64, "name": "sync grandchild in async child A" } ], [ "line", "# sync grandchild in async child B\n" ], [ "comment", "# sync grandchild in async child B\n" ], [ "line", "ok 65 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 65, "name": "(unnamed assert)" } ], [ "line", "# tests 5\n" ], [ "comment", "# tests 5\n" ], [ "line", "# pass 5\n" ], [ "comment", "# pass 5\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 66 test/nested-async.js\n" ], [ "assert", { "ok": true, "id": 66, "name": "test/nested-async.js" } ], [ "line", "# nested-test.js\n" ], [ "comment", "# nested-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# parent\n" ], [ "comment", "# parent\n" ], [ "line", "ok 67 p test\n" ], [ "assert", { "ok": true, "id": 67, "name": "p test" } ], [ "line", "# subtest\n" ], [ "comment", "# subtest\n" ], [ "line", "ok 68 ch test\n" ], [ "assert", { "ok": true, "id": 68, "name": "ch test" } ], [ "line", "# nested subtest\n" ], [ "comment", "# nested subtest\n" ], [ "line", "ok 69 grch test\n" ], [ "assert", { "ok": true, "id": 69, "name": "grch test" } ], [ "line", "# another subtest\n" ], [ "comment", "# another subtest\n" ], [ "line", "ok 70 ch test 2\n" ], [ "assert", { "ok": true, "id": 70, "name": "ch test 2" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 71 test/nested-test.js\n" ], [ "assert", { "ok": true, "id": 71, "name": "test/nested-test.js" } ], [ "line", "# non-tap-output.js\n" ], [ "comment", "# non-tap-output.js\n" ], [ "line", "# everything is fine\n" ], [ "comment", "# everything is fine\n" ], [ "line", "# there are no errors\n" ], [ "comment", "# there are no errors\n" ], [ "line", "# this output is not haiku.\n" ], [ "comment", "# this output is not haiku.\n" ], [ "line", "# is 8 ok?\n" ], [ "comment", "# is 8 ok?\n" ], [ "line", "ok 72 , 8 can stay.\n" ], [ "assert", { "ok": true, "id": 72, "name": ", 8 can stay." } ], [ "line", "# but: nevertheless, here we are\n" ], [ "comment", "# but: nevertheless, here we are\n" ], [ "line", "# this: is indented\n" ], [ "comment", "# this: is indented\n" ], [ "line", "# and: it\n" ], [ "comment", "# and: it\n" ], [ "line", "# might: ~\n" ], [ "comment", "# might: ~\n" ], [ "line", "# be: yaml?\n" ], [ "comment", "# be: yaml?\n" ], [ "line", "ok 73 might be confusing\n" ], [ "assert", { "ok": true, "id": 73, "name": "might be confusing" } ], [ "line", "ok 74 done now, exiting\n" ], [ "assert", { "ok": true, "id": 74, "name": "done now, exiting" } ], [ "line", "ok 75 test/non-tap-output.js\n" ], [ "assert", { "ok": true, "id": 75, "name": "test/non-tap-output.js" } ], [ "line", "# not-executed.sh\n" ], [ "comment", "# not-executed.sh\n" ], [ "line", "# output-childtest-description.js\n" ], [ "comment", "# output-childtest-description.js\n" ], [ "line", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\n" ], [ "comment", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# nested tests, parent and child pass\n" ], [ "comment", "# nested tests, parent and child pass\n" ], [ "line", "ok 76 outputs parent description\n" ], [ "assert", { "ok": true, "id": 76, "name": "outputs parent description" } ], [ "line", "ok 77 outputs child description\n" ], [ "assert", { "ok": true, "id": 77, "name": "outputs child description" } ], [ "line", "ok 78 outputs parent description before parent result\n" ], [ "assert", { "ok": true, "id": 78, "name": "outputs parent description before parent result" } ], [ "line", "ok 79 outputs parent result before child description\n" ], [ "assert", { "ok": true, "id": 79, "name": "outputs parent result before child description" } ], [ "line", "ok 80 outputs child description before child result\n" ], [ "assert", { "ok": true, "id": 80, "name": "outputs child description before child result" } ], [ "line", "# tests 5\n" ], [ "comment", "# tests 5\n" ], [ "line", "# pass 5\n" ], [ "comment", "# pass 5\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 81 test/output-childtest-description.js\n" ], [ "assert", { "ok": true, "id": 81, "name": "test/output-childtest-description.js" } ], [ "line", "# result-trap.js\n" ], [ "comment", "# result-trap.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trap result\n" ], [ "comment", "# trap result\n" ], [ "line", "ok 82 should be equal\n" ], [ "assert", { "ok": true, "id": 82, "name": "should be equal" } ], [ "line", "ok 83 should be equal\n" ], [ "assert", { "ok": true, "id": 83, "name": "should be equal" } ], [ "line", "# tests 2\n" ], [ "comment", "# tests 2\n" ], [ "line", "# pass 2\n" ], [ "comment", "# pass 2\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 84 test/result-trap.js\n" ], [ "assert", { "ok": true, "id": 84, "name": "test/result-trap.js" } ], [ "line", "# segv.js\n" ], [ "comment", "# segv.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# setup\n" ], [ "comment", "# setup\n" ], [ "line", "ok 85 compiled seg faulter\n" ], [ "assert", { "ok": true, "id": 85, "name": "compiled seg faulter" } ], [ "line", "# segv\n" ], [ "comment", "# segv\n" ], [ "line", "ok 86 should be equivalent\n" ], [ "assert", { "ok": true, "id": 86, "name": "should be equivalent" } ], [ "line", "ok 87 should be equivalent\n" ], [ "assert", { "ok": true, "id": 87, "name": "should be equivalent" } ], [ "line", "ok 88 should be equivalent\n" ], [ "assert", { "ok": true, "id": 88, "name": "should be equivalent" } ], [ "line", "ok 89 should be equivalent\n" ], [ "assert", { "ok": true, "id": 89, "name": "should be equivalent" } ], [ "line", "ok 90 should be equivalent\n" ], [ "assert", { "ok": true, "id": 90, "name": "should be equivalent" } ], [ "line", "ok 91 should be equal\n" ], [ "assert", { "ok": true, "id": 91, "name": "should be equal" } ], [ "line", "# cleanup\n" ], [ "comment", "# cleanup\n" ], [ "line", "ok 92 cleaned up\n" ], [ "assert", { "ok": true, "id": 92, "name": "cleaned up" } ], [ "line", "# tests 8\n" ], [ "comment", "# tests 8\n" ], [ "line", "# pass 8\n" ], [ "comment", "# pass 8\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 93 test/segv.js\n" ], [ "assert", { "ok": true, "id": 93, "name": "test/segv.js" } ], [ "line", "# simple-harness-test-with-plan.js\n" ], [ "comment", "# simple-harness-test-with-plan.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trivial success\n" ], [ "comment", "# trivial success\n" ], [ "line", "ok 94 it works\n" ], [ "assert", { "ok": true, "id": 94, "name": "it works" } ], [ "line", "# two tests\n" ], [ "comment", "# two tests\n" ], [ "line", "ok 95 math should work\n" ], [ "assert", { "ok": true, "id": 95, "name": "math should work" } ], [ "line", "ok 96 false should not be ok\n" ], [ "assert", { "ok": true, "id": 96, "name": "false should not be ok" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 97 test/simple-harness-test-with-plan.js\n" ], [ "assert", { "ok": true, "id": 97, "name": "test/simple-harness-test-with-plan.js" } ], [ "line", "# simple-harness-test.js\n" ], [ "comment", "# simple-harness-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trivial success\n" ], [ "comment", "# trivial success\n" ], [ "line", "ok 98 it works\n" ], [ "assert", { "ok": true, "id": 98, "name": "it works" } ], [ "line", "# two tests\n" ], [ "comment", "# two tests\n" ], [ "line", "ok 99 math should work\n" ], [ "assert", { "ok": true, "id": 99, "name": "math should work" } ], [ "line", "ok 100 false should not be ok\n" ], [ "assert", { "ok": true, "id": 100, "name": "false should not be ok" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 101 test/simple-harness-test.js\n" ], [ "assert", { "ok": true, "id": 101, "name": "test/simple-harness-test.js" } ], [ "line", "# test-assert-todo-skip.js\n" ], [ "comment", "# test-assert-todo-skip.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# not much\n" ], [ "comment", "# not much\n" ], [ "line", "ok 102 always passes # SKIP skip it good\n" ], [ "assert", { "ok": true, "id": 102, "skip": "skip it good", "name": "always passes" } ], [ "line", "ok 103 false # SKIP always fails\n" ], [ "assert", { "ok": true, "id": 103, "skip": "always fails", "name": "false" } ], [ "line", "ok 104 bonus # TODO remove todo directive\n" ], [ "assert", { "ok": true, "id": 104, "todo": "remove todo directive", "name": "bonus" } ], [ "line", "ok 105 expected # TODO implement a thing\n" ], [ "assert", { "ok": true, "id": 105, "todo": "implement a thing", "name": "expected" } ], [ "line", "ok 106 always passes without explanation # SKIP \n" ], [ "assert", { "ok": true, "id": 106, "skip": true, "name": "always passes without explanation" } ], [ "line", "ok 107 false without explanation # SKIP \n" ], [ "assert", { "ok": true, "id": 107, "skip": true, "name": "false without explanation" } ], [ "line", "ok 108 bonus without explanation # TODO \n" ], [ "assert", { "ok": true, "id": 108, "todo": true, "name": "bonus without explanation" } ], [ "line", "ok 109 expected without explanation # TODO \n" ], [ "assert", { "ok": true, "id": 109, "todo": true, "name": "expected without explanation" } ], [ "line", "# tests 8\n" ], [ "comment", "# tests 8\n" ], [ "line", "# skip 4\n" ], [ "comment", "# skip 4\n" ], [ "line", "# todo 4\n" ], [ "comment", "# todo 4\n" ], [ "line", "ok 110 test/test-assert-todo-skip.js\n" ], [ "assert", { "ok": true, "id": 110, "name": "test/test-assert-todo-skip.js" } ], [ "line", "# test-descriptions.js\n" ], [ "comment", "# test-descriptions.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# captures test descriptions\n" ], [ "comment", "# captures test descriptions\n" ], [ "line", "ok 111 exit cleanly\n" ], [ "assert", { "ok": true, "id": 111, "name": "exit cleanly" } ], [ "line", "ok 112 captures SKIP description\n" ], [ "assert", { "ok": true, "id": 112, "name": "captures SKIP description" } ], [ "line", "ok 113 skip summary is not from file\n" ], [ "assert", { "ok": true, "id": 113, "name": "skip summary is not from file" } ], [ "line", "ok 114 todo summary is not from file\n" ], [ "assert", { "ok": true, "id": 114, "name": "todo summary is not from file" } ], [ "line", "not ok 115 captures TODO description\n" ], [ "line", " ---\n" ], [ "line", " file: child_process.js\n" ], [ "line", " line: 707\n" ], [ "line", " column: 7\n" ], [ "line", " stack: \n" ], [ "line", " - |\n" ], [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n" ], [ "line", " - |\n" ], [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n" ], [ "line", " - |\n" ], [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n" ], [ "line", " - |\n" ], [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.exithandler (child_process.js:707:7)\n" ], [ "line", " - |\n" ], [ "line", " emitTwo (events.js:87:13)\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.emit (events.js:169:7)\n" ], [ "line", " - |\n" ], [ "line", " maybeClose (child_process.js:984:16)\n" ], [ "line", " - |\n" ], [ "line", " Socket. (child_process.js:1153:11)\n" ], [ "line", " - |\n" ], [ "line", " emitOne (events.js:77:13)\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 115, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Socket. (child_process.js:1153:11)\n", "emitOne (events.js:77:13)\n" ] } } ], [ "line", "Bail out! # captures TODO description\n" ], [ "bailout", "# captures TODO description" ], [ "complete", { "ok": false, "count": 115, "pass": 114, "fail": 1, "bailout": "# captures TODO description", "todo": 4, "skip": 4, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 115, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Socket. (child_process.js:1153:11)\n", "emitOne (events.js:77:13)\n" ] } } ] } ] ] tap-parser-7.0.0/test/fixtures/tap-tests-stdout--bail--preservewhite--omitversion.json000066400000000000000000001122041320135610000311340ustar00rootroot00000000000000[ [ "line", "# buffer_compare.js\n" ], [ "comment", "# buffer_compare.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# same buffers\n" ], [ "comment", "# same buffers\n" ], [ "line", "ok 1 should be equivalent\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equivalent" } ], [ "line", "# not same buffers\n" ], [ "comment", "# not same buffers\n" ], [ "line", "ok 2 should not be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should not be equivalent" } ], [ "line", "# tests 2\n" ], [ "comment", "# tests 2\n" ], [ "line", "# pass 2\n" ], [ "comment", "# pass 2\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 3 test/buffer_compare.js\n" ], [ "assert", { "ok": true, "id": 3, "name": "test/buffer_compare.js" } ], [ "line", "# common.js\n" ], [ "comment", "# common.js\n" ], [ "line", "ok 4 just setup, nothing relevant\n" ], [ "assert", { "ok": true, "id": 4, "name": "just setup, nothing relevant" } ], [ "line", "ok 5 test/common.js\n" ], [ "assert", { "ok": true, "id": 5, "name": "test/common.js" } ], [ "line", "# consumer.js\n" ], [ "comment", "# consumer.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# basic.tap\n" ], [ "comment", "# basic.tap\n" ], [ "line", "ok 6 should be equivalent\n" ], [ "assert", { "ok": true, "id": 6, "name": "should be equivalent" } ], [ "line", "# indent.tap\n" ], [ "comment", "# indent.tap\n" ], [ "line", "ok 7 should be equivalent\n" ], [ "assert", { "ok": true, "id": 7, "name": "should be equivalent" } ], [ "line", "# missing.tap\n" ], [ "comment", "# missing.tap\n" ], [ "line", "ok 8 should be equivalent\n" ], [ "assert", { "ok": true, "id": 8, "name": "should be equivalent" } ], [ "line", "# skip-all.tap\n" ], [ "comment", "# skip-all.tap\n" ], [ "line", "ok 9 should be equivalent\n" ], [ "assert", { "ok": true, "id": 9, "name": "should be equivalent" } ], [ "line", "# tap-tests.tap\n" ], [ "comment", "# tap-tests.tap\n" ], [ "line", "ok 10 should be equivalent\n" ], [ "assert", { "ok": true, "id": 10, "name": "should be equivalent" } ], [ "line", "# yamlish.tap\n" ], [ "comment", "# yamlish.tap\n" ], [ "line", "ok 11 should be equivalent\n" ], [ "assert", { "ok": true, "id": 11, "name": "should be equivalent" } ], [ "line", "# tests 6\n" ], [ "comment", "# tests 6\n" ], [ "line", "# pass 6\n" ], [ "comment", "# pass 6\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 12 test/consumer.js\n" ], [ "assert", { "ok": true, "id": 12, "name": "test/consumer.js" } ], [ "line", "# debug-test.js\n" ], [ "comment", "# debug-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# debug test\n" ], [ "comment", "# debug test\n" ], [ "line", "ok 13 Should output debugger message\n" ], [ "assert", { "ok": true, "id": 13, "name": "Should output debugger message" } ], [ "line", "# tests 1\n" ], [ "comment", "# tests 1\n" ], [ "line", "# pass 1\n" ], [ "comment", "# pass 1\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 14 test/debug-test.js\n" ], [ "assert", { "ok": true, "id": 14, "name": "test/debug-test.js" } ], [ "line", "# deep-strict.js\n" ], [ "comment", "# deep-strict.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# strictDeepEquals shouldn't care about key order\n" ], [ "comment", "# strictDeepEquals shouldn't care about key order\n" ], [ "line", "ok 15 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 15, "name": "should be strictly equal" } ], [ "line", "# strictDeepEquals shouldn't care about key order recursively\n" ], [ "comment", "# strictDeepEquals shouldn't care about key order recursively\n" ], [ "line", "ok 16 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 16, "name": "should be strictly equal" } ], [ "line", "# strictDeepEquals shoudn't care about key order (but still might)\n" ], [ "comment", "# strictDeepEquals shoudn't care about key order (but still might)\n" ], [ "line", "ok 17 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 17, "name": "should be strictly equal" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 18 test/deep-strict.js\n" ], [ "assert", { "ok": true, "id": 18, "name": "test/deep-strict.js" } ], [ "line", "# deep.js\n" ], [ "comment", "# deep.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# deepEquals shouldn't care about key order and types\n" ], [ "comment", "# deepEquals shouldn't care about key order and types\n" ], [ "line", "ok 19 should be equivalent\n" ], [ "assert", { "ok": true, "id": 19, "name": "should be equivalent" } ], [ "line", "# deepEquals shouldn't care about key order recursively and types\n" ], [ "comment", "# deepEquals shouldn't care about key order recursively and types\n" ], [ "line", "ok 20 should be equivalent\n" ], [ "assert", { "ok": true, "id": 20, "name": "should be equivalent" } ], [ "line", "# deepEquals shoudn't care about key order (but still might) and types\n" ], [ "comment", "# deepEquals shoudn't care about key order (but still might) and types\n" ], [ "line", "ok 21 should be equivalent\n" ], [ "assert", { "ok": true, "id": 21, "name": "should be equivalent" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 22 test/deep.js\n" ], [ "assert", { "ok": true, "id": 22, "name": "test/deep.js" } ], [ "line", "# executed.sh\n" ], [ "comment", "# executed.sh\n" ], [ "line", "ok 23 File with executable bit should be executed\n" ], [ "assert", { "ok": true, "id": 23, "name": "File with executable bit should be executed" } ], [ "line", "ok 24 test/executed.sh\n" ], [ "assert", { "ok": true, "id": 24, "name": "test/executed.sh" } ], [ "line", "# exit-code.js\n" ], [ "comment", "# exit-code.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# exit code 1 when tap results show failure\n" ], [ "comment", "# exit code 1 when tap results show failure\n" ], [ "line", "# test exits 0, has failures\n" ], [ "comment", "# test exits 0, has failures\n" ], [ "line", "ok 25 should be equal\n" ], [ "assert", { "ok": true, "id": 25, "name": "should be equal" } ], [ "line", "ok 26 should be equal\n" ], [ "assert", { "ok": true, "id": 26, "name": "should be equal" } ], [ "line", "# test exits 1, has failures\n" ], [ "comment", "# test exits 1, has failures\n" ], [ "line", "ok 27 should be equal\n" ], [ "assert", { "ok": true, "id": 27, "name": "should be equal" } ], [ "line", "ok 28 should be equal\n" ], [ "assert", { "ok": true, "id": 28, "name": "should be equal" } ], [ "line", "# test exits 1, has no failures\n" ], [ "comment", "# test exits 1, has no failures\n" ], [ "line", "ok 29 should be equal\n" ], [ "assert", { "ok": true, "id": 29, "name": "should be equal" } ], [ "line", "ok 30 should be equal\n" ], [ "assert", { "ok": true, "id": 30, "name": "should be equal" } ], [ "line", "# successes exit 0\n" ], [ "comment", "# successes exit 0\n" ], [ "line", "# test that does nothing, but exits 0\n" ], [ "comment", "# test that does nothing, but exits 0\n" ], [ "line", "ok 31 should be equal\n" ], [ "assert", { "ok": true, "id": 31, "name": "should be equal" } ], [ "line", "ok 32 should be equal\n" ], [ "assert", { "ok": true, "id": 32, "name": "should be equal" } ], [ "line", "# test that succeeds, and exits 0\n" ], [ "comment", "# test that succeeds, and exits 0\n" ], [ "line", "ok 33 should be equal\n" ], [ "assert", { "ok": true, "id": 33, "name": "should be equal" } ], [ "line", "ok 34 should be equal\n" ], [ "assert", { "ok": true, "id": 34, "name": "should be equal" } ], [ "line", "# tests 10\n" ], [ "comment", "# tests 10\n" ], [ "line", "# pass 10\n" ], [ "comment", "# pass 10\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 35 test/exit-code.js\n" ], [ "assert", { "ok": true, "id": 35, "name": "test/exit-code.js" } ], [ "line", "# expose-gc-test.js\n" ], [ "comment", "# expose-gc-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# gc test when the gc isn't there\n" ], [ "comment", "# gc test when the gc isn't there\n" ], [ "line", "ok 36 should be equal\n" ], [ "assert", { "ok": true, "id": 36, "name": "should be equal" } ], [ "line", "# gc test when the gc should be there\n" ], [ "comment", "# gc test when the gc should be there\n" ], [ "line", "# test for gc using --gc\n" ], [ "comment", "# test for gc using --gc\n" ], [ "line", "ok 37 should be equal\n" ], [ "assert", { "ok": true, "id": 37, "name": "should be equal" } ], [ "line", "# test for gc using --expose-gc\n" ], [ "comment", "# test for gc using --expose-gc\n" ], [ "line", "ok 38 should be equal\n" ], [ "assert", { "ok": true, "id": 38, "name": "should be equal" } ], [ "line", "# cleanup\n" ], [ "comment", "# cleanup\n" ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 39 test/expose-gc-test.js\n" ], [ "assert", { "ok": true, "id": 39, "name": "test/expose-gc-test.js" } ], [ "line", "# global-harness-async.js\n" ], [ "comment", "# global-harness-async.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# outer\n" ], [ "comment", "# outer\n" ], [ "line", "# inner 1\n" ], [ "comment", "# inner 1\n" ], [ "line", "ok 40 1-1\n" ], [ "assert", { "ok": true, "id": 40, "name": "1-1" } ], [ "line", "# inner 2\n" ], [ "comment", "# inner 2\n" ], [ "line", "ok 41 2-1\n" ], [ "assert", { "ok": true, "id": 41, "name": "2-1" } ], [ "line", "# inner 3\n" ], [ "comment", "# inner 3\n" ], [ "line", "ok 42 3-1\n" ], [ "assert", { "ok": true, "id": 42, "name": "3-1" } ], [ "line", "ok 43 test/global-harness-async.js\n" ], [ "assert", { "ok": true, "id": 43, "name": "test/global-harness-async.js" } ], [ "line", "# independent-timeouts.js\n" ], [ "comment", "# independent-timeouts.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# finishes in time\n" ], [ "comment", "# finishes in time\n" ], [ "line", "# finishes in time too\n" ], [ "comment", "# finishes in time too\n" ], [ "line", "# tests 0\n" ], [ "comment", "# tests 0\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 44 test/independent-timeouts.js\n" ], [ "assert", { "ok": true, "id": 44, "name": "test/independent-timeouts.js" } ], [ "line", "# isolated-conf-test.js\n" ], [ "comment", "# isolated-conf-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# one\n" ], [ "comment", "# one\n" ], [ "line", "ok 45 should be equal\n" ], [ "assert", { "ok": true, "id": 45, "name": "should be equal" } ], [ "line", "ok 46 should be equal\n" ], [ "assert", { "ok": true, "id": 46, "name": "should be equal" } ], [ "line", "# two\n" ], [ "comment", "# two\n" ], [ "line", "ok 47 should be equal\n" ], [ "assert", { "ok": true, "id": 47, "name": "should be equal" } ], [ "line", "ok 48 should be equal\n" ], [ "assert", { "ok": true, "id": 48, "name": "should be equal" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 49 test/isolated-conf-test.js\n" ], [ "assert", { "ok": true, "id": 49, "name": "test/isolated-conf-test.js" } ], [ "line", "# meta-test.js\n" ], [ "comment", "# meta-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# meta test\n" ], [ "comment", "# meta test\n" ], [ "line", "ok 50 sanity check\n" ], [ "assert", { "ok": true, "id": 50, "name": "sanity check" } ], [ "line", "ok 51 not ok\n" ], [ "assert", { "ok": true, "id": 51, "name": "not ok" } ], [ "line", "ok 52 total test count\n" ], [ "assert", { "ok": true, "id": 52, "name": "total test count" } ], [ "line", "ok 53 tests passed\n" ], [ "assert", { "ok": true, "id": 53, "name": "tests passed" } ], [ "line", "ok 54 tests failed\n" ], [ "assert", { "ok": true, "id": 54, "name": "tests failed" } ], [ "line", "ok 55 ok is boolean\n" ], [ "assert", { "ok": true, "id": 55, "name": "ok is boolean" } ], [ "line", "ok 56 skip is number\n" ], [ "assert", { "ok": true, "id": 56, "name": "skip is number" } ], [ "line", "ok 57 results isa Results\n" ], [ "assert", { "ok": true, "id": 57, "name": "results isa Results" } ], [ "line", "ok 58 test isa Test\n" ], [ "assert", { "ok": true, "id": 58, "name": "test isa Test" } ], [ "line", "ok 59 test isa Harness\n" ], [ "assert", { "ok": true, "id": 59, "name": "test isa Harness" } ], [ "line", "# tests 10\n" ], [ "comment", "# tests 10\n" ], [ "line", "# pass 10\n" ], [ "comment", "# pass 10\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 60 test/meta-test.js\n" ], [ "assert", { "ok": true, "id": 60, "name": "test/meta-test.js" } ], [ "line", "# nested-async.js\n" ], [ "comment", "# nested-async.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# Harness async test support\n" ], [ "comment", "# Harness async test support\n" ], [ "line", "ok 61 sync child A\n" ], [ "assert", { "ok": true, "id": 61, "name": "sync child A" } ], [ "line", "# sync child B\n" ], [ "comment", "# sync child B\n" ], [ "line", "# async grandchild A\n" ], [ "comment", "# async grandchild A\n" ], [ "line", "ok 62 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 62, "name": "(unnamed assert)" } ], [ "line", "# async grandchild B\n" ], [ "comment", "# async grandchild B\n" ], [ "line", "ok 63 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 63, "name": "(unnamed assert)" } ], [ "line", "# async child\n" ], [ "comment", "# async child\n" ], [ "line", "ok 64 sync grandchild in async child A\n" ], [ "assert", { "ok": true, "id": 64, "name": "sync grandchild in async child A" } ], [ "line", "# sync grandchild in async child B\n" ], [ "comment", "# sync grandchild in async child B\n" ], [ "line", "ok 65 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 65, "name": "(unnamed assert)" } ], [ "line", "# tests 5\n" ], [ "comment", "# tests 5\n" ], [ "line", "# pass 5\n" ], [ "comment", "# pass 5\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 66 test/nested-async.js\n" ], [ "assert", { "ok": true, "id": 66, "name": "test/nested-async.js" } ], [ "line", "# nested-test.js\n" ], [ "comment", "# nested-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# parent\n" ], [ "comment", "# parent\n" ], [ "line", "ok 67 p test\n" ], [ "assert", { "ok": true, "id": 67, "name": "p test" } ], [ "line", "# subtest\n" ], [ "comment", "# subtest\n" ], [ "line", "ok 68 ch test\n" ], [ "assert", { "ok": true, "id": 68, "name": "ch test" } ], [ "line", "# nested subtest\n" ], [ "comment", "# nested subtest\n" ], [ "line", "ok 69 grch test\n" ], [ "assert", { "ok": true, "id": 69, "name": "grch test" } ], [ "line", "# another subtest\n" ], [ "comment", "# another subtest\n" ], [ "line", "ok 70 ch test 2\n" ], [ "assert", { "ok": true, "id": 70, "name": "ch test 2" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 71 test/nested-test.js\n" ], [ "assert", { "ok": true, "id": 71, "name": "test/nested-test.js" } ], [ "line", "# non-tap-output.js\n" ], [ "comment", "# non-tap-output.js\n" ], [ "line", "# everything is fine\n" ], [ "comment", "# everything is fine\n" ], [ "line", "# there are no errors\n" ], [ "comment", "# there are no errors\n" ], [ "line", "# this output is not haiku.\n" ], [ "comment", "# this output is not haiku.\n" ], [ "line", "# is 8 ok?\n" ], [ "comment", "# is 8 ok?\n" ], [ "line", "ok 72 , 8 can stay.\n" ], [ "assert", { "ok": true, "id": 72, "name": ", 8 can stay." } ], [ "line", "# but: nevertheless, here we are\n" ], [ "comment", "# but: nevertheless, here we are\n" ], [ "line", "# this: is indented\n" ], [ "comment", "# this: is indented\n" ], [ "line", "# and: it\n" ], [ "comment", "# and: it\n" ], [ "line", "# might: ~\n" ], [ "comment", "# might: ~\n" ], [ "line", "# be: yaml?\n" ], [ "comment", "# be: yaml?\n" ], [ "line", "ok 73 might be confusing\n" ], [ "assert", { "ok": true, "id": 73, "name": "might be confusing" } ], [ "line", "ok 74 done now, exiting\n" ], [ "assert", { "ok": true, "id": 74, "name": "done now, exiting" } ], [ "line", "ok 75 test/non-tap-output.js\n" ], [ "assert", { "ok": true, "id": 75, "name": "test/non-tap-output.js" } ], [ "line", "# not-executed.sh\n" ], [ "comment", "# not-executed.sh\n" ], [ "line", "# output-childtest-description.js\n" ], [ "comment", "# output-childtest-description.js\n" ], [ "line", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\n" ], [ "comment", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# nested tests, parent and child pass\n" ], [ "comment", "# nested tests, parent and child pass\n" ], [ "line", "ok 76 outputs parent description\n" ], [ "assert", { "ok": true, "id": 76, "name": "outputs parent description" } ], [ "line", "ok 77 outputs child description\n" ], [ "assert", { "ok": true, "id": 77, "name": "outputs child description" } ], [ "line", "ok 78 outputs parent description before parent result\n" ], [ "assert", { "ok": true, "id": 78, "name": "outputs parent description before parent result" } ], [ "line", "ok 79 outputs parent result before child description\n" ], [ "assert", { "ok": true, "id": 79, "name": "outputs parent result before child description" } ], [ "line", "ok 80 outputs child description before child result\n" ], [ "assert", { "ok": true, "id": 80, "name": "outputs child description before child result" } ], [ "line", "# tests 5\n" ], [ "comment", "# tests 5\n" ], [ "line", "# pass 5\n" ], [ "comment", "# pass 5\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 81 test/output-childtest-description.js\n" ], [ "assert", { "ok": true, "id": 81, "name": "test/output-childtest-description.js" } ], [ "line", "# result-trap.js\n" ], [ "comment", "# result-trap.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trap result\n" ], [ "comment", "# trap result\n" ], [ "line", "ok 82 should be equal\n" ], [ "assert", { "ok": true, "id": 82, "name": "should be equal" } ], [ "line", "ok 83 should be equal\n" ], [ "assert", { "ok": true, "id": 83, "name": "should be equal" } ], [ "line", "# tests 2\n" ], [ "comment", "# tests 2\n" ], [ "line", "# pass 2\n" ], [ "comment", "# pass 2\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 84 test/result-trap.js\n" ], [ "assert", { "ok": true, "id": 84, "name": "test/result-trap.js" } ], [ "line", "# segv.js\n" ], [ "comment", "# segv.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# setup\n" ], [ "comment", "# setup\n" ], [ "line", "ok 85 compiled seg faulter\n" ], [ "assert", { "ok": true, "id": 85, "name": "compiled seg faulter" } ], [ "line", "# segv\n" ], [ "comment", "# segv\n" ], [ "line", "ok 86 should be equivalent\n" ], [ "assert", { "ok": true, "id": 86, "name": "should be equivalent" } ], [ "line", "ok 87 should be equivalent\n" ], [ "assert", { "ok": true, "id": 87, "name": "should be equivalent" } ], [ "line", "ok 88 should be equivalent\n" ], [ "assert", { "ok": true, "id": 88, "name": "should be equivalent" } ], [ "line", "ok 89 should be equivalent\n" ], [ "assert", { "ok": true, "id": 89, "name": "should be equivalent" } ], [ "line", "ok 90 should be equivalent\n" ], [ "assert", { "ok": true, "id": 90, "name": "should be equivalent" } ], [ "line", "ok 91 should be equal\n" ], [ "assert", { "ok": true, "id": 91, "name": "should be equal" } ], [ "line", "# cleanup\n" ], [ "comment", "# cleanup\n" ], [ "line", "ok 92 cleaned up\n" ], [ "assert", { "ok": true, "id": 92, "name": "cleaned up" } ], [ "line", "# tests 8\n" ], [ "comment", "# tests 8\n" ], [ "line", "# pass 8\n" ], [ "comment", "# pass 8\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 93 test/segv.js\n" ], [ "assert", { "ok": true, "id": 93, "name": "test/segv.js" } ], [ "line", "# simple-harness-test-with-plan.js\n" ], [ "comment", "# simple-harness-test-with-plan.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trivial success\n" ], [ "comment", "# trivial success\n" ], [ "line", "ok 94 it works\n" ], [ "assert", { "ok": true, "id": 94, "name": "it works" } ], [ "line", "# two tests\n" ], [ "comment", "# two tests\n" ], [ "line", "ok 95 math should work\n" ], [ "assert", { "ok": true, "id": 95, "name": "math should work" } ], [ "line", "ok 96 false should not be ok\n" ], [ "assert", { "ok": true, "id": 96, "name": "false should not be ok" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 97 test/simple-harness-test-with-plan.js\n" ], [ "assert", { "ok": true, "id": 97, "name": "test/simple-harness-test-with-plan.js" } ], [ "line", "# simple-harness-test.js\n" ], [ "comment", "# simple-harness-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trivial success\n" ], [ "comment", "# trivial success\n" ], [ "line", "ok 98 it works\n" ], [ "assert", { "ok": true, "id": 98, "name": "it works" } ], [ "line", "# two tests\n" ], [ "comment", "# two tests\n" ], [ "line", "ok 99 math should work\n" ], [ "assert", { "ok": true, "id": 99, "name": "math should work" } ], [ "line", "ok 100 false should not be ok\n" ], [ "assert", { "ok": true, "id": 100, "name": "false should not be ok" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 101 test/simple-harness-test.js\n" ], [ "assert", { "ok": true, "id": 101, "name": "test/simple-harness-test.js" } ], [ "line", "# test-assert-todo-skip.js\n" ], [ "comment", "# test-assert-todo-skip.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# not much\n" ], [ "comment", "# not much\n" ], [ "line", "ok 102 always passes # SKIP skip it good\n" ], [ "assert", { "ok": true, "id": 102, "skip": "skip it good", "name": "always passes" } ], [ "line", "ok 103 false # SKIP always fails\n" ], [ "assert", { "ok": true, "id": 103, "skip": "always fails", "name": "false" } ], [ "line", "ok 104 bonus # TODO remove todo directive\n" ], [ "assert", { "ok": true, "id": 104, "todo": "remove todo directive", "name": "bonus" } ], [ "line", "ok 105 expected # TODO implement a thing\n" ], [ "assert", { "ok": true, "id": 105, "todo": "implement a thing", "name": "expected" } ], [ "line", "ok 106 always passes without explanation # SKIP \n" ], [ "assert", { "ok": true, "id": 106, "skip": true, "name": "always passes without explanation" } ], [ "line", "ok 107 false without explanation # SKIP \n" ], [ "assert", { "ok": true, "id": 107, "skip": true, "name": "false without explanation" } ], [ "line", "ok 108 bonus without explanation # TODO \n" ], [ "assert", { "ok": true, "id": 108, "todo": true, "name": "bonus without explanation" } ], [ "line", "ok 109 expected without explanation # TODO \n" ], [ "assert", { "ok": true, "id": 109, "todo": true, "name": "expected without explanation" } ], [ "line", "# tests 8\n" ], [ "comment", "# tests 8\n" ], [ "line", "# skip 4\n" ], [ "comment", "# skip 4\n" ], [ "line", "# todo 4\n" ], [ "comment", "# todo 4\n" ], [ "line", "ok 110 test/test-assert-todo-skip.js\n" ], [ "assert", { "ok": true, "id": 110, "name": "test/test-assert-todo-skip.js" } ], [ "line", "# test-descriptions.js\n" ], [ "comment", "# test-descriptions.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# captures test descriptions\n" ], [ "comment", "# captures test descriptions\n" ], [ "line", "ok 111 exit cleanly\n" ], [ "assert", { "ok": true, "id": 111, "name": "exit cleanly" } ], [ "line", "ok 112 captures SKIP description\n" ], [ "assert", { "ok": true, "id": 112, "name": "captures SKIP description" } ], [ "line", "ok 113 skip summary is not from file\n" ], [ "assert", { "ok": true, "id": 113, "name": "skip summary is not from file" } ], [ "line", "ok 114 todo summary is not from file\n" ], [ "assert", { "ok": true, "id": 114, "name": "todo summary is not from file" } ], [ "line", "not ok 115 captures TODO description\n" ], [ "line", " ---\n" ], [ "line", " file: child_process.js\n" ], [ "line", " line: 707\n" ], [ "line", " column: 7\n" ], [ "line", " stack: \n" ], [ "line", " - |\n" ], [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n" ], [ "line", " - |\n" ], [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n" ], [ "line", " - |\n" ], [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n" ], [ "line", " - |\n" ], [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.exithandler (child_process.js:707:7)\n" ], [ "line", " - |\n" ], [ "line", " emitTwo (events.js:87:13)\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.emit (events.js:169:7)\n" ], [ "line", " - |\n" ], [ "line", " maybeClose (child_process.js:984:16)\n" ], [ "line", " - |\n" ], [ "line", " Socket. (child_process.js:1153:11)\n" ], [ "line", " - |\n" ], [ "line", " emitOne (events.js:77:13)\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 115, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Socket. (child_process.js:1153:11)\n", "emitOne (events.js:77:13)\n" ] } } ], [ "line", "Bail out! # captures TODO description\n" ], [ "bailout", "# captures TODO description" ], [ "complete", { "ok": false, "count": 115, "pass": 114, "fail": 1, "bailout": "# captures TODO description", "todo": 4, "skip": 4, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 115, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Socket. (child_process.js:1153:11)\n", "emitOne (events.js:77:13)\n" ] } } ] } ] ] tap-parser-7.0.0/test/fixtures/tap-tests-stdout--bail--preservewhite.json000066400000000000000000001123171320135610000265100ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# buffer_compare.js\n" ], [ "comment", "# buffer_compare.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# same buffers\n" ], [ "comment", "# same buffers\n" ], [ "line", "ok 1 should be equivalent\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equivalent" } ], [ "line", "# not same buffers\n" ], [ "comment", "# not same buffers\n" ], [ "line", "ok 2 should not be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should not be equivalent" } ], [ "line", "# tests 2\n" ], [ "comment", "# tests 2\n" ], [ "line", "# pass 2\n" ], [ "comment", "# pass 2\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 3 test/buffer_compare.js\n" ], [ "assert", { "ok": true, "id": 3, "name": "test/buffer_compare.js" } ], [ "line", "# common.js\n" ], [ "comment", "# common.js\n" ], [ "line", "ok 4 just setup, nothing relevant\n" ], [ "assert", { "ok": true, "id": 4, "name": "just setup, nothing relevant" } ], [ "line", "ok 5 test/common.js\n" ], [ "assert", { "ok": true, "id": 5, "name": "test/common.js" } ], [ "line", "# consumer.js\n" ], [ "comment", "# consumer.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# basic.tap\n" ], [ "comment", "# basic.tap\n" ], [ "line", "ok 6 should be equivalent\n" ], [ "assert", { "ok": true, "id": 6, "name": "should be equivalent" } ], [ "line", "# indent.tap\n" ], [ "comment", "# indent.tap\n" ], [ "line", "ok 7 should be equivalent\n" ], [ "assert", { "ok": true, "id": 7, "name": "should be equivalent" } ], [ "line", "# missing.tap\n" ], [ "comment", "# missing.tap\n" ], [ "line", "ok 8 should be equivalent\n" ], [ "assert", { "ok": true, "id": 8, "name": "should be equivalent" } ], [ "line", "# skip-all.tap\n" ], [ "comment", "# skip-all.tap\n" ], [ "line", "ok 9 should be equivalent\n" ], [ "assert", { "ok": true, "id": 9, "name": "should be equivalent" } ], [ "line", "# tap-tests.tap\n" ], [ "comment", "# tap-tests.tap\n" ], [ "line", "ok 10 should be equivalent\n" ], [ "assert", { "ok": true, "id": 10, "name": "should be equivalent" } ], [ "line", "# yamlish.tap\n" ], [ "comment", "# yamlish.tap\n" ], [ "line", "ok 11 should be equivalent\n" ], [ "assert", { "ok": true, "id": 11, "name": "should be equivalent" } ], [ "line", "# tests 6\n" ], [ "comment", "# tests 6\n" ], [ "line", "# pass 6\n" ], [ "comment", "# pass 6\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 12 test/consumer.js\n" ], [ "assert", { "ok": true, "id": 12, "name": "test/consumer.js" } ], [ "line", "# debug-test.js\n" ], [ "comment", "# debug-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# debug test\n" ], [ "comment", "# debug test\n" ], [ "line", "ok 13 Should output debugger message\n" ], [ "assert", { "ok": true, "id": 13, "name": "Should output debugger message" } ], [ "line", "# tests 1\n" ], [ "comment", "# tests 1\n" ], [ "line", "# pass 1\n" ], [ "comment", "# pass 1\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 14 test/debug-test.js\n" ], [ "assert", { "ok": true, "id": 14, "name": "test/debug-test.js" } ], [ "line", "# deep-strict.js\n" ], [ "comment", "# deep-strict.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# strictDeepEquals shouldn't care about key order\n" ], [ "comment", "# strictDeepEquals shouldn't care about key order\n" ], [ "line", "ok 15 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 15, "name": "should be strictly equal" } ], [ "line", "# strictDeepEquals shouldn't care about key order recursively\n" ], [ "comment", "# strictDeepEquals shouldn't care about key order recursively\n" ], [ "line", "ok 16 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 16, "name": "should be strictly equal" } ], [ "line", "# strictDeepEquals shoudn't care about key order (but still might)\n" ], [ "comment", "# strictDeepEquals shoudn't care about key order (but still might)\n" ], [ "line", "ok 17 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 17, "name": "should be strictly equal" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 18 test/deep-strict.js\n" ], [ "assert", { "ok": true, "id": 18, "name": "test/deep-strict.js" } ], [ "line", "# deep.js\n" ], [ "comment", "# deep.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# deepEquals shouldn't care about key order and types\n" ], [ "comment", "# deepEquals shouldn't care about key order and types\n" ], [ "line", "ok 19 should be equivalent\n" ], [ "assert", { "ok": true, "id": 19, "name": "should be equivalent" } ], [ "line", "# deepEquals shouldn't care about key order recursively and types\n" ], [ "comment", "# deepEquals shouldn't care about key order recursively and types\n" ], [ "line", "ok 20 should be equivalent\n" ], [ "assert", { "ok": true, "id": 20, "name": "should be equivalent" } ], [ "line", "# deepEquals shoudn't care about key order (but still might) and types\n" ], [ "comment", "# deepEquals shoudn't care about key order (but still might) and types\n" ], [ "line", "ok 21 should be equivalent\n" ], [ "assert", { "ok": true, "id": 21, "name": "should be equivalent" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 22 test/deep.js\n" ], [ "assert", { "ok": true, "id": 22, "name": "test/deep.js" } ], [ "line", "# executed.sh\n" ], [ "comment", "# executed.sh\n" ], [ "line", "ok 23 File with executable bit should be executed\n" ], [ "assert", { "ok": true, "id": 23, "name": "File with executable bit should be executed" } ], [ "line", "ok 24 test/executed.sh\n" ], [ "assert", { "ok": true, "id": 24, "name": "test/executed.sh" } ], [ "line", "# exit-code.js\n" ], [ "comment", "# exit-code.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# exit code 1 when tap results show failure\n" ], [ "comment", "# exit code 1 when tap results show failure\n" ], [ "line", "# test exits 0, has failures\n" ], [ "comment", "# test exits 0, has failures\n" ], [ "line", "ok 25 should be equal\n" ], [ "assert", { "ok": true, "id": 25, "name": "should be equal" } ], [ "line", "ok 26 should be equal\n" ], [ "assert", { "ok": true, "id": 26, "name": "should be equal" } ], [ "line", "# test exits 1, has failures\n" ], [ "comment", "# test exits 1, has failures\n" ], [ "line", "ok 27 should be equal\n" ], [ "assert", { "ok": true, "id": 27, "name": "should be equal" } ], [ "line", "ok 28 should be equal\n" ], [ "assert", { "ok": true, "id": 28, "name": "should be equal" } ], [ "line", "# test exits 1, has no failures\n" ], [ "comment", "# test exits 1, has no failures\n" ], [ "line", "ok 29 should be equal\n" ], [ "assert", { "ok": true, "id": 29, "name": "should be equal" } ], [ "line", "ok 30 should be equal\n" ], [ "assert", { "ok": true, "id": 30, "name": "should be equal" } ], [ "line", "# successes exit 0\n" ], [ "comment", "# successes exit 0\n" ], [ "line", "# test that does nothing, but exits 0\n" ], [ "comment", "# test that does nothing, but exits 0\n" ], [ "line", "ok 31 should be equal\n" ], [ "assert", { "ok": true, "id": 31, "name": "should be equal" } ], [ "line", "ok 32 should be equal\n" ], [ "assert", { "ok": true, "id": 32, "name": "should be equal" } ], [ "line", "# test that succeeds, and exits 0\n" ], [ "comment", "# test that succeeds, and exits 0\n" ], [ "line", "ok 33 should be equal\n" ], [ "assert", { "ok": true, "id": 33, "name": "should be equal" } ], [ "line", "ok 34 should be equal\n" ], [ "assert", { "ok": true, "id": 34, "name": "should be equal" } ], [ "line", "# tests 10\n" ], [ "comment", "# tests 10\n" ], [ "line", "# pass 10\n" ], [ "comment", "# pass 10\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 35 test/exit-code.js\n" ], [ "assert", { "ok": true, "id": 35, "name": "test/exit-code.js" } ], [ "line", "# expose-gc-test.js\n" ], [ "comment", "# expose-gc-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# gc test when the gc isn't there\n" ], [ "comment", "# gc test when the gc isn't there\n" ], [ "line", "ok 36 should be equal\n" ], [ "assert", { "ok": true, "id": 36, "name": "should be equal" } ], [ "line", "# gc test when the gc should be there\n" ], [ "comment", "# gc test when the gc should be there\n" ], [ "line", "# test for gc using --gc\n" ], [ "comment", "# test for gc using --gc\n" ], [ "line", "ok 37 should be equal\n" ], [ "assert", { "ok": true, "id": 37, "name": "should be equal" } ], [ "line", "# test for gc using --expose-gc\n" ], [ "comment", "# test for gc using --expose-gc\n" ], [ "line", "ok 38 should be equal\n" ], [ "assert", { "ok": true, "id": 38, "name": "should be equal" } ], [ "line", "# cleanup\n" ], [ "comment", "# cleanup\n" ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 39 test/expose-gc-test.js\n" ], [ "assert", { "ok": true, "id": 39, "name": "test/expose-gc-test.js" } ], [ "line", "# global-harness-async.js\n" ], [ "comment", "# global-harness-async.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# outer\n" ], [ "comment", "# outer\n" ], [ "line", "# inner 1\n" ], [ "comment", "# inner 1\n" ], [ "line", "ok 40 1-1\n" ], [ "assert", { "ok": true, "id": 40, "name": "1-1" } ], [ "line", "# inner 2\n" ], [ "comment", "# inner 2\n" ], [ "line", "ok 41 2-1\n" ], [ "assert", { "ok": true, "id": 41, "name": "2-1" } ], [ "line", "# inner 3\n" ], [ "comment", "# inner 3\n" ], [ "line", "ok 42 3-1\n" ], [ "assert", { "ok": true, "id": 42, "name": "3-1" } ], [ "line", "ok 43 test/global-harness-async.js\n" ], [ "assert", { "ok": true, "id": 43, "name": "test/global-harness-async.js" } ], [ "line", "# independent-timeouts.js\n" ], [ "comment", "# independent-timeouts.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# finishes in time\n" ], [ "comment", "# finishes in time\n" ], [ "line", "# finishes in time too\n" ], [ "comment", "# finishes in time too\n" ], [ "line", "# tests 0\n" ], [ "comment", "# tests 0\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 44 test/independent-timeouts.js\n" ], [ "assert", { "ok": true, "id": 44, "name": "test/independent-timeouts.js" } ], [ "line", "# isolated-conf-test.js\n" ], [ "comment", "# isolated-conf-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# one\n" ], [ "comment", "# one\n" ], [ "line", "ok 45 should be equal\n" ], [ "assert", { "ok": true, "id": 45, "name": "should be equal" } ], [ "line", "ok 46 should be equal\n" ], [ "assert", { "ok": true, "id": 46, "name": "should be equal" } ], [ "line", "# two\n" ], [ "comment", "# two\n" ], [ "line", "ok 47 should be equal\n" ], [ "assert", { "ok": true, "id": 47, "name": "should be equal" } ], [ "line", "ok 48 should be equal\n" ], [ "assert", { "ok": true, "id": 48, "name": "should be equal" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 49 test/isolated-conf-test.js\n" ], [ "assert", { "ok": true, "id": 49, "name": "test/isolated-conf-test.js" } ], [ "line", "# meta-test.js\n" ], [ "comment", "# meta-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# meta test\n" ], [ "comment", "# meta test\n" ], [ "line", "ok 50 sanity check\n" ], [ "assert", { "ok": true, "id": 50, "name": "sanity check" } ], [ "line", "ok 51 not ok\n" ], [ "assert", { "ok": true, "id": 51, "name": "not ok" } ], [ "line", "ok 52 total test count\n" ], [ "assert", { "ok": true, "id": 52, "name": "total test count" } ], [ "line", "ok 53 tests passed\n" ], [ "assert", { "ok": true, "id": 53, "name": "tests passed" } ], [ "line", "ok 54 tests failed\n" ], [ "assert", { "ok": true, "id": 54, "name": "tests failed" } ], [ "line", "ok 55 ok is boolean\n" ], [ "assert", { "ok": true, "id": 55, "name": "ok is boolean" } ], [ "line", "ok 56 skip is number\n" ], [ "assert", { "ok": true, "id": 56, "name": "skip is number" } ], [ "line", "ok 57 results isa Results\n" ], [ "assert", { "ok": true, "id": 57, "name": "results isa Results" } ], [ "line", "ok 58 test isa Test\n" ], [ "assert", { "ok": true, "id": 58, "name": "test isa Test" } ], [ "line", "ok 59 test isa Harness\n" ], [ "assert", { "ok": true, "id": 59, "name": "test isa Harness" } ], [ "line", "# tests 10\n" ], [ "comment", "# tests 10\n" ], [ "line", "# pass 10\n" ], [ "comment", "# pass 10\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 60 test/meta-test.js\n" ], [ "assert", { "ok": true, "id": 60, "name": "test/meta-test.js" } ], [ "line", "# nested-async.js\n" ], [ "comment", "# nested-async.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# Harness async test support\n" ], [ "comment", "# Harness async test support\n" ], [ "line", "ok 61 sync child A\n" ], [ "assert", { "ok": true, "id": 61, "name": "sync child A" } ], [ "line", "# sync child B\n" ], [ "comment", "# sync child B\n" ], [ "line", "# async grandchild A\n" ], [ "comment", "# async grandchild A\n" ], [ "line", "ok 62 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 62, "name": "(unnamed assert)" } ], [ "line", "# async grandchild B\n" ], [ "comment", "# async grandchild B\n" ], [ "line", "ok 63 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 63, "name": "(unnamed assert)" } ], [ "line", "# async child\n" ], [ "comment", "# async child\n" ], [ "line", "ok 64 sync grandchild in async child A\n" ], [ "assert", { "ok": true, "id": 64, "name": "sync grandchild in async child A" } ], [ "line", "# sync grandchild in async child B\n" ], [ "comment", "# sync grandchild in async child B\n" ], [ "line", "ok 65 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 65, "name": "(unnamed assert)" } ], [ "line", "# tests 5\n" ], [ "comment", "# tests 5\n" ], [ "line", "# pass 5\n" ], [ "comment", "# pass 5\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 66 test/nested-async.js\n" ], [ "assert", { "ok": true, "id": 66, "name": "test/nested-async.js" } ], [ "line", "# nested-test.js\n" ], [ "comment", "# nested-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# parent\n" ], [ "comment", "# parent\n" ], [ "line", "ok 67 p test\n" ], [ "assert", { "ok": true, "id": 67, "name": "p test" } ], [ "line", "# subtest\n" ], [ "comment", "# subtest\n" ], [ "line", "ok 68 ch test\n" ], [ "assert", { "ok": true, "id": 68, "name": "ch test" } ], [ "line", "# nested subtest\n" ], [ "comment", "# nested subtest\n" ], [ "line", "ok 69 grch test\n" ], [ "assert", { "ok": true, "id": 69, "name": "grch test" } ], [ "line", "# another subtest\n" ], [ "comment", "# another subtest\n" ], [ "line", "ok 70 ch test 2\n" ], [ "assert", { "ok": true, "id": 70, "name": "ch test 2" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 71 test/nested-test.js\n" ], [ "assert", { "ok": true, "id": 71, "name": "test/nested-test.js" } ], [ "line", "# non-tap-output.js\n" ], [ "comment", "# non-tap-output.js\n" ], [ "line", "# everything is fine\n" ], [ "comment", "# everything is fine\n" ], [ "line", "# there are no errors\n" ], [ "comment", "# there are no errors\n" ], [ "line", "# this output is not haiku.\n" ], [ "comment", "# this output is not haiku.\n" ], [ "line", "# is 8 ok?\n" ], [ "comment", "# is 8 ok?\n" ], [ "line", "ok 72 , 8 can stay.\n" ], [ "assert", { "ok": true, "id": 72, "name": ", 8 can stay." } ], [ "line", "# but: nevertheless, here we are\n" ], [ "comment", "# but: nevertheless, here we are\n" ], [ "line", "# this: is indented\n" ], [ "comment", "# this: is indented\n" ], [ "line", "# and: it\n" ], [ "comment", "# and: it\n" ], [ "line", "# might: ~\n" ], [ "comment", "# might: ~\n" ], [ "line", "# be: yaml?\n" ], [ "comment", "# be: yaml?\n" ], [ "line", "ok 73 might be confusing\n" ], [ "assert", { "ok": true, "id": 73, "name": "might be confusing" } ], [ "line", "ok 74 done now, exiting\n" ], [ "assert", { "ok": true, "id": 74, "name": "done now, exiting" } ], [ "line", "ok 75 test/non-tap-output.js\n" ], [ "assert", { "ok": true, "id": 75, "name": "test/non-tap-output.js" } ], [ "line", "# not-executed.sh\n" ], [ "comment", "# not-executed.sh\n" ], [ "line", "# output-childtest-description.js\n" ], [ "comment", "# output-childtest-description.js\n" ], [ "line", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\n" ], [ "comment", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# nested tests, parent and child pass\n" ], [ "comment", "# nested tests, parent and child pass\n" ], [ "line", "ok 76 outputs parent description\n" ], [ "assert", { "ok": true, "id": 76, "name": "outputs parent description" } ], [ "line", "ok 77 outputs child description\n" ], [ "assert", { "ok": true, "id": 77, "name": "outputs child description" } ], [ "line", "ok 78 outputs parent description before parent result\n" ], [ "assert", { "ok": true, "id": 78, "name": "outputs parent description before parent result" } ], [ "line", "ok 79 outputs parent result before child description\n" ], [ "assert", { "ok": true, "id": 79, "name": "outputs parent result before child description" } ], [ "line", "ok 80 outputs child description before child result\n" ], [ "assert", { "ok": true, "id": 80, "name": "outputs child description before child result" } ], [ "line", "# tests 5\n" ], [ "comment", "# tests 5\n" ], [ "line", "# pass 5\n" ], [ "comment", "# pass 5\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 81 test/output-childtest-description.js\n" ], [ "assert", { "ok": true, "id": 81, "name": "test/output-childtest-description.js" } ], [ "line", "# result-trap.js\n" ], [ "comment", "# result-trap.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trap result\n" ], [ "comment", "# trap result\n" ], [ "line", "ok 82 should be equal\n" ], [ "assert", { "ok": true, "id": 82, "name": "should be equal" } ], [ "line", "ok 83 should be equal\n" ], [ "assert", { "ok": true, "id": 83, "name": "should be equal" } ], [ "line", "# tests 2\n" ], [ "comment", "# tests 2\n" ], [ "line", "# pass 2\n" ], [ "comment", "# pass 2\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 84 test/result-trap.js\n" ], [ "assert", { "ok": true, "id": 84, "name": "test/result-trap.js" } ], [ "line", "# segv.js\n" ], [ "comment", "# segv.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# setup\n" ], [ "comment", "# setup\n" ], [ "line", "ok 85 compiled seg faulter\n" ], [ "assert", { "ok": true, "id": 85, "name": "compiled seg faulter" } ], [ "line", "# segv\n" ], [ "comment", "# segv\n" ], [ "line", "ok 86 should be equivalent\n" ], [ "assert", { "ok": true, "id": 86, "name": "should be equivalent" } ], [ "line", "ok 87 should be equivalent\n" ], [ "assert", { "ok": true, "id": 87, "name": "should be equivalent" } ], [ "line", "ok 88 should be equivalent\n" ], [ "assert", { "ok": true, "id": 88, "name": "should be equivalent" } ], [ "line", "ok 89 should be equivalent\n" ], [ "assert", { "ok": true, "id": 89, "name": "should be equivalent" } ], [ "line", "ok 90 should be equivalent\n" ], [ "assert", { "ok": true, "id": 90, "name": "should be equivalent" } ], [ "line", "ok 91 should be equal\n" ], [ "assert", { "ok": true, "id": 91, "name": "should be equal" } ], [ "line", "# cleanup\n" ], [ "comment", "# cleanup\n" ], [ "line", "ok 92 cleaned up\n" ], [ "assert", { "ok": true, "id": 92, "name": "cleaned up" } ], [ "line", "# tests 8\n" ], [ "comment", "# tests 8\n" ], [ "line", "# pass 8\n" ], [ "comment", "# pass 8\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 93 test/segv.js\n" ], [ "assert", { "ok": true, "id": 93, "name": "test/segv.js" } ], [ "line", "# simple-harness-test-with-plan.js\n" ], [ "comment", "# simple-harness-test-with-plan.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trivial success\n" ], [ "comment", "# trivial success\n" ], [ "line", "ok 94 it works\n" ], [ "assert", { "ok": true, "id": 94, "name": "it works" } ], [ "line", "# two tests\n" ], [ "comment", "# two tests\n" ], [ "line", "ok 95 math should work\n" ], [ "assert", { "ok": true, "id": 95, "name": "math should work" } ], [ "line", "ok 96 false should not be ok\n" ], [ "assert", { "ok": true, "id": 96, "name": "false should not be ok" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 97 test/simple-harness-test-with-plan.js\n" ], [ "assert", { "ok": true, "id": 97, "name": "test/simple-harness-test-with-plan.js" } ], [ "line", "# simple-harness-test.js\n" ], [ "comment", "# simple-harness-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trivial success\n" ], [ "comment", "# trivial success\n" ], [ "line", "ok 98 it works\n" ], [ "assert", { "ok": true, "id": 98, "name": "it works" } ], [ "line", "# two tests\n" ], [ "comment", "# two tests\n" ], [ "line", "ok 99 math should work\n" ], [ "assert", { "ok": true, "id": 99, "name": "math should work" } ], [ "line", "ok 100 false should not be ok\n" ], [ "assert", { "ok": true, "id": 100, "name": "false should not be ok" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 101 test/simple-harness-test.js\n" ], [ "assert", { "ok": true, "id": 101, "name": "test/simple-harness-test.js" } ], [ "line", "# test-assert-todo-skip.js\n" ], [ "comment", "# test-assert-todo-skip.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# not much\n" ], [ "comment", "# not much\n" ], [ "line", "ok 102 always passes # SKIP skip it good\n" ], [ "assert", { "ok": true, "id": 102, "skip": "skip it good", "name": "always passes" } ], [ "line", "ok 103 false # SKIP always fails\n" ], [ "assert", { "ok": true, "id": 103, "skip": "always fails", "name": "false" } ], [ "line", "ok 104 bonus # TODO remove todo directive\n" ], [ "assert", { "ok": true, "id": 104, "todo": "remove todo directive", "name": "bonus" } ], [ "line", "ok 105 expected # TODO implement a thing\n" ], [ "assert", { "ok": true, "id": 105, "todo": "implement a thing", "name": "expected" } ], [ "line", "ok 106 always passes without explanation # SKIP \n" ], [ "assert", { "ok": true, "id": 106, "skip": true, "name": "always passes without explanation" } ], [ "line", "ok 107 false without explanation # SKIP \n" ], [ "assert", { "ok": true, "id": 107, "skip": true, "name": "false without explanation" } ], [ "line", "ok 108 bonus without explanation # TODO \n" ], [ "assert", { "ok": true, "id": 108, "todo": true, "name": "bonus without explanation" } ], [ "line", "ok 109 expected without explanation # TODO \n" ], [ "assert", { "ok": true, "id": 109, "todo": true, "name": "expected without explanation" } ], [ "line", "# tests 8\n" ], [ "comment", "# tests 8\n" ], [ "line", "# skip 4\n" ], [ "comment", "# skip 4\n" ], [ "line", "# todo 4\n" ], [ "comment", "# todo 4\n" ], [ "line", "ok 110 test/test-assert-todo-skip.js\n" ], [ "assert", { "ok": true, "id": 110, "name": "test/test-assert-todo-skip.js" } ], [ "line", "# test-descriptions.js\n" ], [ "comment", "# test-descriptions.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# captures test descriptions\n" ], [ "comment", "# captures test descriptions\n" ], [ "line", "ok 111 exit cleanly\n" ], [ "assert", { "ok": true, "id": 111, "name": "exit cleanly" } ], [ "line", "ok 112 captures SKIP description\n" ], [ "assert", { "ok": true, "id": 112, "name": "captures SKIP description" } ], [ "line", "ok 113 skip summary is not from file\n" ], [ "assert", { "ok": true, "id": 113, "name": "skip summary is not from file" } ], [ "line", "ok 114 todo summary is not from file\n" ], [ "assert", { "ok": true, "id": 114, "name": "todo summary is not from file" } ], [ "line", "not ok 115 captures TODO description\n" ], [ "line", " ---\n" ], [ "line", " file: child_process.js\n" ], [ "line", " line: 707\n" ], [ "line", " column: 7\n" ], [ "line", " stack: \n" ], [ "line", " - |\n" ], [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n" ], [ "line", " - |\n" ], [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n" ], [ "line", " - |\n" ], [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n" ], [ "line", " - |\n" ], [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.exithandler (child_process.js:707:7)\n" ], [ "line", " - |\n" ], [ "line", " emitTwo (events.js:87:13)\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.emit (events.js:169:7)\n" ], [ "line", " - |\n" ], [ "line", " maybeClose (child_process.js:984:16)\n" ], [ "line", " - |\n" ], [ "line", " Socket. (child_process.js:1153:11)\n" ], [ "line", " - |\n" ], [ "line", " emitOne (events.js:77:13)\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 115, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Socket. (child_process.js:1153:11)\n", "emitOne (events.js:77:13)\n" ] } } ], [ "line", "Bail out! # captures TODO description\n" ], [ "bailout", "# captures TODO description" ], [ "complete", { "ok": false, "count": 115, "pass": 114, "fail": 1, "bailout": "# captures TODO description", "todo": 4, "skip": 4, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 115, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Socket. (child_process.js:1153:11)\n", "emitOne (events.js:77:13)\n" ] } } ] } ] ] tap-parser-7.0.0/test/fixtures/tap-tests-stdout--bail.json000066400000000000000000001123171320135610000235410ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# buffer_compare.js\n" ], [ "comment", "# buffer_compare.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# same buffers\n" ], [ "comment", "# same buffers\n" ], [ "line", "ok 1 should be equivalent\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equivalent" } ], [ "line", "# not same buffers\n" ], [ "comment", "# not same buffers\n" ], [ "line", "ok 2 should not be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should not be equivalent" } ], [ "line", "# tests 2\n" ], [ "comment", "# tests 2\n" ], [ "line", "# pass 2\n" ], [ "comment", "# pass 2\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 3 test/buffer_compare.js\n" ], [ "assert", { "ok": true, "id": 3, "name": "test/buffer_compare.js" } ], [ "line", "# common.js\n" ], [ "comment", "# common.js\n" ], [ "line", "ok 4 just setup, nothing relevant\n" ], [ "assert", { "ok": true, "id": 4, "name": "just setup, nothing relevant" } ], [ "line", "ok 5 test/common.js\n" ], [ "assert", { "ok": true, "id": 5, "name": "test/common.js" } ], [ "line", "# consumer.js\n" ], [ "comment", "# consumer.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# basic.tap\n" ], [ "comment", "# basic.tap\n" ], [ "line", "ok 6 should be equivalent\n" ], [ "assert", { "ok": true, "id": 6, "name": "should be equivalent" } ], [ "line", "# indent.tap\n" ], [ "comment", "# indent.tap\n" ], [ "line", "ok 7 should be equivalent\n" ], [ "assert", { "ok": true, "id": 7, "name": "should be equivalent" } ], [ "line", "# missing.tap\n" ], [ "comment", "# missing.tap\n" ], [ "line", "ok 8 should be equivalent\n" ], [ "assert", { "ok": true, "id": 8, "name": "should be equivalent" } ], [ "line", "# skip-all.tap\n" ], [ "comment", "# skip-all.tap\n" ], [ "line", "ok 9 should be equivalent\n" ], [ "assert", { "ok": true, "id": 9, "name": "should be equivalent" } ], [ "line", "# tap-tests.tap\n" ], [ "comment", "# tap-tests.tap\n" ], [ "line", "ok 10 should be equivalent\n" ], [ "assert", { "ok": true, "id": 10, "name": "should be equivalent" } ], [ "line", "# yamlish.tap\n" ], [ "comment", "# yamlish.tap\n" ], [ "line", "ok 11 should be equivalent\n" ], [ "assert", { "ok": true, "id": 11, "name": "should be equivalent" } ], [ "line", "# tests 6\n" ], [ "comment", "# tests 6\n" ], [ "line", "# pass 6\n" ], [ "comment", "# pass 6\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 12 test/consumer.js\n" ], [ "assert", { "ok": true, "id": 12, "name": "test/consumer.js" } ], [ "line", "# debug-test.js\n" ], [ "comment", "# debug-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# debug test\n" ], [ "comment", "# debug test\n" ], [ "line", "ok 13 Should output debugger message\n" ], [ "assert", { "ok": true, "id": 13, "name": "Should output debugger message" } ], [ "line", "# tests 1\n" ], [ "comment", "# tests 1\n" ], [ "line", "# pass 1\n" ], [ "comment", "# pass 1\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 14 test/debug-test.js\n" ], [ "assert", { "ok": true, "id": 14, "name": "test/debug-test.js" } ], [ "line", "# deep-strict.js\n" ], [ "comment", "# deep-strict.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# strictDeepEquals shouldn't care about key order\n" ], [ "comment", "# strictDeepEquals shouldn't care about key order\n" ], [ "line", "ok 15 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 15, "name": "should be strictly equal" } ], [ "line", "# strictDeepEquals shouldn't care about key order recursively\n" ], [ "comment", "# strictDeepEquals shouldn't care about key order recursively\n" ], [ "line", "ok 16 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 16, "name": "should be strictly equal" } ], [ "line", "# strictDeepEquals shoudn't care about key order (but still might)\n" ], [ "comment", "# strictDeepEquals shoudn't care about key order (but still might)\n" ], [ "line", "ok 17 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 17, "name": "should be strictly equal" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 18 test/deep-strict.js\n" ], [ "assert", { "ok": true, "id": 18, "name": "test/deep-strict.js" } ], [ "line", "# deep.js\n" ], [ "comment", "# deep.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# deepEquals shouldn't care about key order and types\n" ], [ "comment", "# deepEquals shouldn't care about key order and types\n" ], [ "line", "ok 19 should be equivalent\n" ], [ "assert", { "ok": true, "id": 19, "name": "should be equivalent" } ], [ "line", "# deepEquals shouldn't care about key order recursively and types\n" ], [ "comment", "# deepEquals shouldn't care about key order recursively and types\n" ], [ "line", "ok 20 should be equivalent\n" ], [ "assert", { "ok": true, "id": 20, "name": "should be equivalent" } ], [ "line", "# deepEquals shoudn't care about key order (but still might) and types\n" ], [ "comment", "# deepEquals shoudn't care about key order (but still might) and types\n" ], [ "line", "ok 21 should be equivalent\n" ], [ "assert", { "ok": true, "id": 21, "name": "should be equivalent" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 22 test/deep.js\n" ], [ "assert", { "ok": true, "id": 22, "name": "test/deep.js" } ], [ "line", "# executed.sh\n" ], [ "comment", "# executed.sh\n" ], [ "line", "ok 23 File with executable bit should be executed\n" ], [ "assert", { "ok": true, "id": 23, "name": "File with executable bit should be executed" } ], [ "line", "ok 24 test/executed.sh\n" ], [ "assert", { "ok": true, "id": 24, "name": "test/executed.sh" } ], [ "line", "# exit-code.js\n" ], [ "comment", "# exit-code.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# exit code 1 when tap results show failure\n" ], [ "comment", "# exit code 1 when tap results show failure\n" ], [ "line", "# test exits 0, has failures\n" ], [ "comment", "# test exits 0, has failures\n" ], [ "line", "ok 25 should be equal\n" ], [ "assert", { "ok": true, "id": 25, "name": "should be equal" } ], [ "line", "ok 26 should be equal\n" ], [ "assert", { "ok": true, "id": 26, "name": "should be equal" } ], [ "line", "# test exits 1, has failures\n" ], [ "comment", "# test exits 1, has failures\n" ], [ "line", "ok 27 should be equal\n" ], [ "assert", { "ok": true, "id": 27, "name": "should be equal" } ], [ "line", "ok 28 should be equal\n" ], [ "assert", { "ok": true, "id": 28, "name": "should be equal" } ], [ "line", "# test exits 1, has no failures\n" ], [ "comment", "# test exits 1, has no failures\n" ], [ "line", "ok 29 should be equal\n" ], [ "assert", { "ok": true, "id": 29, "name": "should be equal" } ], [ "line", "ok 30 should be equal\n" ], [ "assert", { "ok": true, "id": 30, "name": "should be equal" } ], [ "line", "# successes exit 0\n" ], [ "comment", "# successes exit 0\n" ], [ "line", "# test that does nothing, but exits 0\n" ], [ "comment", "# test that does nothing, but exits 0\n" ], [ "line", "ok 31 should be equal\n" ], [ "assert", { "ok": true, "id": 31, "name": "should be equal" } ], [ "line", "ok 32 should be equal\n" ], [ "assert", { "ok": true, "id": 32, "name": "should be equal" } ], [ "line", "# test that succeeds, and exits 0\n" ], [ "comment", "# test that succeeds, and exits 0\n" ], [ "line", "ok 33 should be equal\n" ], [ "assert", { "ok": true, "id": 33, "name": "should be equal" } ], [ "line", "ok 34 should be equal\n" ], [ "assert", { "ok": true, "id": 34, "name": "should be equal" } ], [ "line", "# tests 10\n" ], [ "comment", "# tests 10\n" ], [ "line", "# pass 10\n" ], [ "comment", "# pass 10\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 35 test/exit-code.js\n" ], [ "assert", { "ok": true, "id": 35, "name": "test/exit-code.js" } ], [ "line", "# expose-gc-test.js\n" ], [ "comment", "# expose-gc-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# gc test when the gc isn't there\n" ], [ "comment", "# gc test when the gc isn't there\n" ], [ "line", "ok 36 should be equal\n" ], [ "assert", { "ok": true, "id": 36, "name": "should be equal" } ], [ "line", "# gc test when the gc should be there\n" ], [ "comment", "# gc test when the gc should be there\n" ], [ "line", "# test for gc using --gc\n" ], [ "comment", "# test for gc using --gc\n" ], [ "line", "ok 37 should be equal\n" ], [ "assert", { "ok": true, "id": 37, "name": "should be equal" } ], [ "line", "# test for gc using --expose-gc\n" ], [ "comment", "# test for gc using --expose-gc\n" ], [ "line", "ok 38 should be equal\n" ], [ "assert", { "ok": true, "id": 38, "name": "should be equal" } ], [ "line", "# cleanup\n" ], [ "comment", "# cleanup\n" ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 39 test/expose-gc-test.js\n" ], [ "assert", { "ok": true, "id": 39, "name": "test/expose-gc-test.js" } ], [ "line", "# global-harness-async.js\n" ], [ "comment", "# global-harness-async.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# outer\n" ], [ "comment", "# outer\n" ], [ "line", "# inner 1\n" ], [ "comment", "# inner 1\n" ], [ "line", "ok 40 1-1\n" ], [ "assert", { "ok": true, "id": 40, "name": "1-1" } ], [ "line", "# inner 2\n" ], [ "comment", "# inner 2\n" ], [ "line", "ok 41 2-1\n" ], [ "assert", { "ok": true, "id": 41, "name": "2-1" } ], [ "line", "# inner 3\n" ], [ "comment", "# inner 3\n" ], [ "line", "ok 42 3-1\n" ], [ "assert", { "ok": true, "id": 42, "name": "3-1" } ], [ "line", "ok 43 test/global-harness-async.js\n" ], [ "assert", { "ok": true, "id": 43, "name": "test/global-harness-async.js" } ], [ "line", "# independent-timeouts.js\n" ], [ "comment", "# independent-timeouts.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# finishes in time\n" ], [ "comment", "# finishes in time\n" ], [ "line", "# finishes in time too\n" ], [ "comment", "# finishes in time too\n" ], [ "line", "# tests 0\n" ], [ "comment", "# tests 0\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 44 test/independent-timeouts.js\n" ], [ "assert", { "ok": true, "id": 44, "name": "test/independent-timeouts.js" } ], [ "line", "# isolated-conf-test.js\n" ], [ "comment", "# isolated-conf-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# one\n" ], [ "comment", "# one\n" ], [ "line", "ok 45 should be equal\n" ], [ "assert", { "ok": true, "id": 45, "name": "should be equal" } ], [ "line", "ok 46 should be equal\n" ], [ "assert", { "ok": true, "id": 46, "name": "should be equal" } ], [ "line", "# two\n" ], [ "comment", "# two\n" ], [ "line", "ok 47 should be equal\n" ], [ "assert", { "ok": true, "id": 47, "name": "should be equal" } ], [ "line", "ok 48 should be equal\n" ], [ "assert", { "ok": true, "id": 48, "name": "should be equal" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 49 test/isolated-conf-test.js\n" ], [ "assert", { "ok": true, "id": 49, "name": "test/isolated-conf-test.js" } ], [ "line", "# meta-test.js\n" ], [ "comment", "# meta-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# meta test\n" ], [ "comment", "# meta test\n" ], [ "line", "ok 50 sanity check\n" ], [ "assert", { "ok": true, "id": 50, "name": "sanity check" } ], [ "line", "ok 51 not ok\n" ], [ "assert", { "ok": true, "id": 51, "name": "not ok" } ], [ "line", "ok 52 total test count\n" ], [ "assert", { "ok": true, "id": 52, "name": "total test count" } ], [ "line", "ok 53 tests passed\n" ], [ "assert", { "ok": true, "id": 53, "name": "tests passed" } ], [ "line", "ok 54 tests failed\n" ], [ "assert", { "ok": true, "id": 54, "name": "tests failed" } ], [ "line", "ok 55 ok is boolean\n" ], [ "assert", { "ok": true, "id": 55, "name": "ok is boolean" } ], [ "line", "ok 56 skip is number\n" ], [ "assert", { "ok": true, "id": 56, "name": "skip is number" } ], [ "line", "ok 57 results isa Results\n" ], [ "assert", { "ok": true, "id": 57, "name": "results isa Results" } ], [ "line", "ok 58 test isa Test\n" ], [ "assert", { "ok": true, "id": 58, "name": "test isa Test" } ], [ "line", "ok 59 test isa Harness\n" ], [ "assert", { "ok": true, "id": 59, "name": "test isa Harness" } ], [ "line", "# tests 10\n" ], [ "comment", "# tests 10\n" ], [ "line", "# pass 10\n" ], [ "comment", "# pass 10\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 60 test/meta-test.js\n" ], [ "assert", { "ok": true, "id": 60, "name": "test/meta-test.js" } ], [ "line", "# nested-async.js\n" ], [ "comment", "# nested-async.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# Harness async test support\n" ], [ "comment", "# Harness async test support\n" ], [ "line", "ok 61 sync child A\n" ], [ "assert", { "ok": true, "id": 61, "name": "sync child A" } ], [ "line", "# sync child B\n" ], [ "comment", "# sync child B\n" ], [ "line", "# async grandchild A\n" ], [ "comment", "# async grandchild A\n" ], [ "line", "ok 62 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 62, "name": "(unnamed assert)" } ], [ "line", "# async grandchild B\n" ], [ "comment", "# async grandchild B\n" ], [ "line", "ok 63 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 63, "name": "(unnamed assert)" } ], [ "line", "# async child\n" ], [ "comment", "# async child\n" ], [ "line", "ok 64 sync grandchild in async child A\n" ], [ "assert", { "ok": true, "id": 64, "name": "sync grandchild in async child A" } ], [ "line", "# sync grandchild in async child B\n" ], [ "comment", "# sync grandchild in async child B\n" ], [ "line", "ok 65 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 65, "name": "(unnamed assert)" } ], [ "line", "# tests 5\n" ], [ "comment", "# tests 5\n" ], [ "line", "# pass 5\n" ], [ "comment", "# pass 5\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 66 test/nested-async.js\n" ], [ "assert", { "ok": true, "id": 66, "name": "test/nested-async.js" } ], [ "line", "# nested-test.js\n" ], [ "comment", "# nested-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# parent\n" ], [ "comment", "# parent\n" ], [ "line", "ok 67 p test\n" ], [ "assert", { "ok": true, "id": 67, "name": "p test" } ], [ "line", "# subtest\n" ], [ "comment", "# subtest\n" ], [ "line", "ok 68 ch test\n" ], [ "assert", { "ok": true, "id": 68, "name": "ch test" } ], [ "line", "# nested subtest\n" ], [ "comment", "# nested subtest\n" ], [ "line", "ok 69 grch test\n" ], [ "assert", { "ok": true, "id": 69, "name": "grch test" } ], [ "line", "# another subtest\n" ], [ "comment", "# another subtest\n" ], [ "line", "ok 70 ch test 2\n" ], [ "assert", { "ok": true, "id": 70, "name": "ch test 2" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 71 test/nested-test.js\n" ], [ "assert", { "ok": true, "id": 71, "name": "test/nested-test.js" } ], [ "line", "# non-tap-output.js\n" ], [ "comment", "# non-tap-output.js\n" ], [ "line", "# everything is fine\n" ], [ "comment", "# everything is fine\n" ], [ "line", "# there are no errors\n" ], [ "comment", "# there are no errors\n" ], [ "line", "# this output is not haiku.\n" ], [ "comment", "# this output is not haiku.\n" ], [ "line", "# is 8 ok?\n" ], [ "comment", "# is 8 ok?\n" ], [ "line", "ok 72 , 8 can stay.\n" ], [ "assert", { "ok": true, "id": 72, "name": ", 8 can stay." } ], [ "line", "# but: nevertheless, here we are\n" ], [ "comment", "# but: nevertheless, here we are\n" ], [ "line", "# this: is indented\n" ], [ "comment", "# this: is indented\n" ], [ "line", "# and: it\n" ], [ "comment", "# and: it\n" ], [ "line", "# might: ~\n" ], [ "comment", "# might: ~\n" ], [ "line", "# be: yaml?\n" ], [ "comment", "# be: yaml?\n" ], [ "line", "ok 73 might be confusing\n" ], [ "assert", { "ok": true, "id": 73, "name": "might be confusing" } ], [ "line", "ok 74 done now, exiting\n" ], [ "assert", { "ok": true, "id": 74, "name": "done now, exiting" } ], [ "line", "ok 75 test/non-tap-output.js\n" ], [ "assert", { "ok": true, "id": 75, "name": "test/non-tap-output.js" } ], [ "line", "# not-executed.sh\n" ], [ "comment", "# not-executed.sh\n" ], [ "line", "# output-childtest-description.js\n" ], [ "comment", "# output-childtest-description.js\n" ], [ "line", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\n" ], [ "comment", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# nested tests, parent and child pass\n" ], [ "comment", "# nested tests, parent and child pass\n" ], [ "line", "ok 76 outputs parent description\n" ], [ "assert", { "ok": true, "id": 76, "name": "outputs parent description" } ], [ "line", "ok 77 outputs child description\n" ], [ "assert", { "ok": true, "id": 77, "name": "outputs child description" } ], [ "line", "ok 78 outputs parent description before parent result\n" ], [ "assert", { "ok": true, "id": 78, "name": "outputs parent description before parent result" } ], [ "line", "ok 79 outputs parent result before child description\n" ], [ "assert", { "ok": true, "id": 79, "name": "outputs parent result before child description" } ], [ "line", "ok 80 outputs child description before child result\n" ], [ "assert", { "ok": true, "id": 80, "name": "outputs child description before child result" } ], [ "line", "# tests 5\n" ], [ "comment", "# tests 5\n" ], [ "line", "# pass 5\n" ], [ "comment", "# pass 5\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 81 test/output-childtest-description.js\n" ], [ "assert", { "ok": true, "id": 81, "name": "test/output-childtest-description.js" } ], [ "line", "# result-trap.js\n" ], [ "comment", "# result-trap.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trap result\n" ], [ "comment", "# trap result\n" ], [ "line", "ok 82 should be equal\n" ], [ "assert", { "ok": true, "id": 82, "name": "should be equal" } ], [ "line", "ok 83 should be equal\n" ], [ "assert", { "ok": true, "id": 83, "name": "should be equal" } ], [ "line", "# tests 2\n" ], [ "comment", "# tests 2\n" ], [ "line", "# pass 2\n" ], [ "comment", "# pass 2\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 84 test/result-trap.js\n" ], [ "assert", { "ok": true, "id": 84, "name": "test/result-trap.js" } ], [ "line", "# segv.js\n" ], [ "comment", "# segv.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# setup\n" ], [ "comment", "# setup\n" ], [ "line", "ok 85 compiled seg faulter\n" ], [ "assert", { "ok": true, "id": 85, "name": "compiled seg faulter" } ], [ "line", "# segv\n" ], [ "comment", "# segv\n" ], [ "line", "ok 86 should be equivalent\n" ], [ "assert", { "ok": true, "id": 86, "name": "should be equivalent" } ], [ "line", "ok 87 should be equivalent\n" ], [ "assert", { "ok": true, "id": 87, "name": "should be equivalent" } ], [ "line", "ok 88 should be equivalent\n" ], [ "assert", { "ok": true, "id": 88, "name": "should be equivalent" } ], [ "line", "ok 89 should be equivalent\n" ], [ "assert", { "ok": true, "id": 89, "name": "should be equivalent" } ], [ "line", "ok 90 should be equivalent\n" ], [ "assert", { "ok": true, "id": 90, "name": "should be equivalent" } ], [ "line", "ok 91 should be equal\n" ], [ "assert", { "ok": true, "id": 91, "name": "should be equal" } ], [ "line", "# cleanup\n" ], [ "comment", "# cleanup\n" ], [ "line", "ok 92 cleaned up\n" ], [ "assert", { "ok": true, "id": 92, "name": "cleaned up" } ], [ "line", "# tests 8\n" ], [ "comment", "# tests 8\n" ], [ "line", "# pass 8\n" ], [ "comment", "# pass 8\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 93 test/segv.js\n" ], [ "assert", { "ok": true, "id": 93, "name": "test/segv.js" } ], [ "line", "# simple-harness-test-with-plan.js\n" ], [ "comment", "# simple-harness-test-with-plan.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trivial success\n" ], [ "comment", "# trivial success\n" ], [ "line", "ok 94 it works\n" ], [ "assert", { "ok": true, "id": 94, "name": "it works" } ], [ "line", "# two tests\n" ], [ "comment", "# two tests\n" ], [ "line", "ok 95 math should work\n" ], [ "assert", { "ok": true, "id": 95, "name": "math should work" } ], [ "line", "ok 96 false should not be ok\n" ], [ "assert", { "ok": true, "id": 96, "name": "false should not be ok" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 97 test/simple-harness-test-with-plan.js\n" ], [ "assert", { "ok": true, "id": 97, "name": "test/simple-harness-test-with-plan.js" } ], [ "line", "# simple-harness-test.js\n" ], [ "comment", "# simple-harness-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trivial success\n" ], [ "comment", "# trivial success\n" ], [ "line", "ok 98 it works\n" ], [ "assert", { "ok": true, "id": 98, "name": "it works" } ], [ "line", "# two tests\n" ], [ "comment", "# two tests\n" ], [ "line", "ok 99 math should work\n" ], [ "assert", { "ok": true, "id": 99, "name": "math should work" } ], [ "line", "ok 100 false should not be ok\n" ], [ "assert", { "ok": true, "id": 100, "name": "false should not be ok" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 101 test/simple-harness-test.js\n" ], [ "assert", { "ok": true, "id": 101, "name": "test/simple-harness-test.js" } ], [ "line", "# test-assert-todo-skip.js\n" ], [ "comment", "# test-assert-todo-skip.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# not much\n" ], [ "comment", "# not much\n" ], [ "line", "ok 102 always passes # SKIP skip it good\n" ], [ "assert", { "ok": true, "id": 102, "skip": "skip it good", "name": "always passes" } ], [ "line", "ok 103 false # SKIP always fails\n" ], [ "assert", { "ok": true, "id": 103, "skip": "always fails", "name": "false" } ], [ "line", "ok 104 bonus # TODO remove todo directive\n" ], [ "assert", { "ok": true, "id": 104, "todo": "remove todo directive", "name": "bonus" } ], [ "line", "ok 105 expected # TODO implement a thing\n" ], [ "assert", { "ok": true, "id": 105, "todo": "implement a thing", "name": "expected" } ], [ "line", "ok 106 always passes without explanation # SKIP \n" ], [ "assert", { "ok": true, "id": 106, "skip": true, "name": "always passes without explanation" } ], [ "line", "ok 107 false without explanation # SKIP \n" ], [ "assert", { "ok": true, "id": 107, "skip": true, "name": "false without explanation" } ], [ "line", "ok 108 bonus without explanation # TODO \n" ], [ "assert", { "ok": true, "id": 108, "todo": true, "name": "bonus without explanation" } ], [ "line", "ok 109 expected without explanation # TODO \n" ], [ "assert", { "ok": true, "id": 109, "todo": true, "name": "expected without explanation" } ], [ "line", "# tests 8\n" ], [ "comment", "# tests 8\n" ], [ "line", "# skip 4\n" ], [ "comment", "# skip 4\n" ], [ "line", "# todo 4\n" ], [ "comment", "# todo 4\n" ], [ "line", "ok 110 test/test-assert-todo-skip.js\n" ], [ "assert", { "ok": true, "id": 110, "name": "test/test-assert-todo-skip.js" } ], [ "line", "# test-descriptions.js\n" ], [ "comment", "# test-descriptions.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# captures test descriptions\n" ], [ "comment", "# captures test descriptions\n" ], [ "line", "ok 111 exit cleanly\n" ], [ "assert", { "ok": true, "id": 111, "name": "exit cleanly" } ], [ "line", "ok 112 captures SKIP description\n" ], [ "assert", { "ok": true, "id": 112, "name": "captures SKIP description" } ], [ "line", "ok 113 skip summary is not from file\n" ], [ "assert", { "ok": true, "id": 113, "name": "skip summary is not from file" } ], [ "line", "ok 114 todo summary is not from file\n" ], [ "assert", { "ok": true, "id": 114, "name": "todo summary is not from file" } ], [ "line", "not ok 115 captures TODO description\n" ], [ "line", " ---\n" ], [ "line", " file: child_process.js\n" ], [ "line", " line: 707\n" ], [ "line", " column: 7\n" ], [ "line", " stack: \n" ], [ "line", " - |\n" ], [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n" ], [ "line", " - |\n" ], [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n" ], [ "line", " - |\n" ], [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n" ], [ "line", " - |\n" ], [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.exithandler (child_process.js:707:7)\n" ], [ "line", " - |\n" ], [ "line", " emitTwo (events.js:87:13)\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.emit (events.js:169:7)\n" ], [ "line", " - |\n" ], [ "line", " maybeClose (child_process.js:984:16)\n" ], [ "line", " - |\n" ], [ "line", " Socket. (child_process.js:1153:11)\n" ], [ "line", " - |\n" ], [ "line", " emitOne (events.js:77:13)\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 115, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Socket. (child_process.js:1153:11)\n", "emitOne (events.js:77:13)\n" ] } } ], [ "line", "Bail out! # captures TODO description\n" ], [ "bailout", "# captures TODO description" ], [ "complete", { "ok": false, "count": 115, "pass": 114, "fail": 1, "bailout": "# captures TODO description", "todo": 4, "skip": 4, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 115, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Socket. (child_process.js:1153:11)\n", "emitOne (events.js:77:13)\n" ] } } ] } ] ] tap-parser-7.0.0/test/fixtures/tap-tests-stdout--omitversion.json000066400000000000000000002536771320135610000252270ustar00rootroot00000000000000[ [ "line", "# buffer_compare.js\n" ], [ "comment", "# buffer_compare.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# same buffers\n" ], [ "comment", "# same buffers\n" ], [ "line", "ok 1 should be equivalent\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equivalent" } ], [ "line", "# not same buffers\n" ], [ "comment", "# not same buffers\n" ], [ "line", "ok 2 should not be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should not be equivalent" } ], [ "line", "# tests 2\n" ], [ "comment", "# tests 2\n" ], [ "line", "# pass 2\n" ], [ "comment", "# pass 2\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 3 test/buffer_compare.js\n" ], [ "assert", { "ok": true, "id": 3, "name": "test/buffer_compare.js" } ], [ "line", "# common.js\n" ], [ "comment", "# common.js\n" ], [ "line", "ok 4 just setup, nothing relevant\n" ], [ "assert", { "ok": true, "id": 4, "name": "just setup, nothing relevant" } ], [ "line", "ok 5 test/common.js\n" ], [ "assert", { "ok": true, "id": 5, "name": "test/common.js" } ], [ "line", "# consumer.js\n" ], [ "comment", "# consumer.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# basic.tap\n" ], [ "comment", "# basic.tap\n" ], [ "line", "ok 6 should be equivalent\n" ], [ "assert", { "ok": true, "id": 6, "name": "should be equivalent" } ], [ "line", "# indent.tap\n" ], [ "comment", "# indent.tap\n" ], [ "line", "ok 7 should be equivalent\n" ], [ "assert", { "ok": true, "id": 7, "name": "should be equivalent" } ], [ "line", "# missing.tap\n" ], [ "comment", "# missing.tap\n" ], [ "line", "ok 8 should be equivalent\n" ], [ "assert", { "ok": true, "id": 8, "name": "should be equivalent" } ], [ "line", "# skip-all.tap\n" ], [ "comment", "# skip-all.tap\n" ], [ "line", "ok 9 should be equivalent\n" ], [ "assert", { "ok": true, "id": 9, "name": "should be equivalent" } ], [ "line", "# tap-tests.tap\n" ], [ "comment", "# tap-tests.tap\n" ], [ "line", "ok 10 should be equivalent\n" ], [ "assert", { "ok": true, "id": 10, "name": "should be equivalent" } ], [ "line", "# yamlish.tap\n" ], [ "comment", "# yamlish.tap\n" ], [ "line", "ok 11 should be equivalent\n" ], [ "assert", { "ok": true, "id": 11, "name": "should be equivalent" } ], [ "line", "# tests 6\n" ], [ "comment", "# tests 6\n" ], [ "line", "# pass 6\n" ], [ "comment", "# pass 6\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 12 test/consumer.js\n" ], [ "assert", { "ok": true, "id": 12, "name": "test/consumer.js" } ], [ "line", "# debug-test.js\n" ], [ "comment", "# debug-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# debug test\n" ], [ "comment", "# debug test\n" ], [ "line", "ok 13 Should output debugger message\n" ], [ "assert", { "ok": true, "id": 13, "name": "Should output debugger message" } ], [ "line", "# tests 1\n" ], [ "comment", "# tests 1\n" ], [ "line", "# pass 1\n" ], [ "comment", "# pass 1\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 14 test/debug-test.js\n" ], [ "assert", { "ok": true, "id": 14, "name": "test/debug-test.js" } ], [ "line", "# deep-strict.js\n" ], [ "comment", "# deep-strict.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# strictDeepEquals shouldn't care about key order\n" ], [ "comment", "# strictDeepEquals shouldn't care about key order\n" ], [ "line", "ok 15 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 15, "name": "should be strictly equal" } ], [ "line", "# strictDeepEquals shouldn't care about key order recursively\n" ], [ "comment", "# strictDeepEquals shouldn't care about key order recursively\n" ], [ "line", "ok 16 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 16, "name": "should be strictly equal" } ], [ "line", "# strictDeepEquals shoudn't care about key order (but still might)\n" ], [ "comment", "# strictDeepEquals shoudn't care about key order (but still might)\n" ], [ "line", "ok 17 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 17, "name": "should be strictly equal" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 18 test/deep-strict.js\n" ], [ "assert", { "ok": true, "id": 18, "name": "test/deep-strict.js" } ], [ "line", "# deep.js\n" ], [ "comment", "# deep.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# deepEquals shouldn't care about key order and types\n" ], [ "comment", "# deepEquals shouldn't care about key order and types\n" ], [ "line", "ok 19 should be equivalent\n" ], [ "assert", { "ok": true, "id": 19, "name": "should be equivalent" } ], [ "line", "# deepEquals shouldn't care about key order recursively and types\n" ], [ "comment", "# deepEquals shouldn't care about key order recursively and types\n" ], [ "line", "ok 20 should be equivalent\n" ], [ "assert", { "ok": true, "id": 20, "name": "should be equivalent" } ], [ "line", "# deepEquals shoudn't care about key order (but still might) and types\n" ], [ "comment", "# deepEquals shoudn't care about key order (but still might) and types\n" ], [ "line", "ok 21 should be equivalent\n" ], [ "assert", { "ok": true, "id": 21, "name": "should be equivalent" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 22 test/deep.js\n" ], [ "assert", { "ok": true, "id": 22, "name": "test/deep.js" } ], [ "line", "# executed.sh\n" ], [ "comment", "# executed.sh\n" ], [ "line", "ok 23 File with executable bit should be executed\n" ], [ "assert", { "ok": true, "id": 23, "name": "File with executable bit should be executed" } ], [ "line", "ok 24 test/executed.sh\n" ], [ "assert", { "ok": true, "id": 24, "name": "test/executed.sh" } ], [ "line", "# exit-code.js\n" ], [ "comment", "# exit-code.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# exit code 1 when tap results show failure\n" ], [ "comment", "# exit code 1 when tap results show failure\n" ], [ "line", "# test exits 0, has failures\n" ], [ "comment", "# test exits 0, has failures\n" ], [ "line", "ok 25 should be equal\n" ], [ "assert", { "ok": true, "id": 25, "name": "should be equal" } ], [ "line", "ok 26 should be equal\n" ], [ "assert", { "ok": true, "id": 26, "name": "should be equal" } ], [ "line", "# test exits 1, has failures\n" ], [ "comment", "# test exits 1, has failures\n" ], [ "line", "ok 27 should be equal\n" ], [ "assert", { "ok": true, "id": 27, "name": "should be equal" } ], [ "line", "ok 28 should be equal\n" ], [ "assert", { "ok": true, "id": 28, "name": "should be equal" } ], [ "line", "# test exits 1, has no failures\n" ], [ "comment", "# test exits 1, has no failures\n" ], [ "line", "ok 29 should be equal\n" ], [ "assert", { "ok": true, "id": 29, "name": "should be equal" } ], [ "line", "ok 30 should be equal\n" ], [ "assert", { "ok": true, "id": 30, "name": "should be equal" } ], [ "line", "# successes exit 0\n" ], [ "comment", "# successes exit 0\n" ], [ "line", "# test that does nothing, but exits 0\n" ], [ "comment", "# test that does nothing, but exits 0\n" ], [ "line", "ok 31 should be equal\n" ], [ "assert", { "ok": true, "id": 31, "name": "should be equal" } ], [ "line", "ok 32 should be equal\n" ], [ "assert", { "ok": true, "id": 32, "name": "should be equal" } ], [ "line", "# test that succeeds, and exits 0\n" ], [ "comment", "# test that succeeds, and exits 0\n" ], [ "line", "ok 33 should be equal\n" ], [ "assert", { "ok": true, "id": 33, "name": "should be equal" } ], [ "line", "ok 34 should be equal\n" ], [ "assert", { "ok": true, "id": 34, "name": "should be equal" } ], [ "line", "# tests 10\n" ], [ "comment", "# tests 10\n" ], [ "line", "# pass 10\n" ], [ "comment", "# pass 10\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 35 test/exit-code.js\n" ], [ "assert", { "ok": true, "id": 35, "name": "test/exit-code.js" } ], [ "line", "# expose-gc-test.js\n" ], [ "comment", "# expose-gc-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# gc test when the gc isn't there\n" ], [ "comment", "# gc test when the gc isn't there\n" ], [ "line", "ok 36 should be equal\n" ], [ "assert", { "ok": true, "id": 36, "name": "should be equal" } ], [ "line", "# gc test when the gc should be there\n" ], [ "comment", "# gc test when the gc should be there\n" ], [ "line", "# test for gc using --gc\n" ], [ "comment", "# test for gc using --gc\n" ], [ "line", "ok 37 should be equal\n" ], [ "assert", { "ok": true, "id": 37, "name": "should be equal" } ], [ "line", "# test for gc using --expose-gc\n" ], [ "comment", "# test for gc using --expose-gc\n" ], [ "line", "ok 38 should be equal\n" ], [ "assert", { "ok": true, "id": 38, "name": "should be equal" } ], [ "line", "# cleanup\n" ], [ "comment", "# cleanup\n" ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 39 test/expose-gc-test.js\n" ], [ "assert", { "ok": true, "id": 39, "name": "test/expose-gc-test.js" } ], [ "line", "# global-harness-async.js\n" ], [ "comment", "# global-harness-async.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# outer\n" ], [ "comment", "# outer\n" ], [ "line", "# inner 1\n" ], [ "comment", "# inner 1\n" ], [ "line", "ok 40 1-1\n" ], [ "assert", { "ok": true, "id": 40, "name": "1-1" } ], [ "line", "# inner 2\n" ], [ "comment", "# inner 2\n" ], [ "line", "ok 41 2-1\n" ], [ "assert", { "ok": true, "id": 41, "name": "2-1" } ], [ "line", "# inner 3\n" ], [ "comment", "# inner 3\n" ], [ "line", "ok 42 3-1\n" ], [ "assert", { "ok": true, "id": 42, "name": "3-1" } ], [ "line", "ok 43 test/global-harness-async.js\n" ], [ "assert", { "ok": true, "id": 43, "name": "test/global-harness-async.js" } ], [ "line", "# independent-timeouts.js\n" ], [ "comment", "# independent-timeouts.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# finishes in time\n" ], [ "comment", "# finishes in time\n" ], [ "line", "# finishes in time too\n" ], [ "comment", "# finishes in time too\n" ], [ "line", "# tests 0\n" ], [ "comment", "# tests 0\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 44 test/independent-timeouts.js\n" ], [ "assert", { "ok": true, "id": 44, "name": "test/independent-timeouts.js" } ], [ "line", "# isolated-conf-test.js\n" ], [ "comment", "# isolated-conf-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# one\n" ], [ "comment", "# one\n" ], [ "line", "ok 45 should be equal\n" ], [ "assert", { "ok": true, "id": 45, "name": "should be equal" } ], [ "line", "ok 46 should be equal\n" ], [ "assert", { "ok": true, "id": 46, "name": "should be equal" } ], [ "line", "# two\n" ], [ "comment", "# two\n" ], [ "line", "ok 47 should be equal\n" ], [ "assert", { "ok": true, "id": 47, "name": "should be equal" } ], [ "line", "ok 48 should be equal\n" ], [ "assert", { "ok": true, "id": 48, "name": "should be equal" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 49 test/isolated-conf-test.js\n" ], [ "assert", { "ok": true, "id": 49, "name": "test/isolated-conf-test.js" } ], [ "line", "# meta-test.js\n" ], [ "comment", "# meta-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# meta test\n" ], [ "comment", "# meta test\n" ], [ "line", "ok 50 sanity check\n" ], [ "assert", { "ok": true, "id": 50, "name": "sanity check" } ], [ "line", "ok 51 not ok\n" ], [ "assert", { "ok": true, "id": 51, "name": "not ok" } ], [ "line", "ok 52 total test count\n" ], [ "assert", { "ok": true, "id": 52, "name": "total test count" } ], [ "line", "ok 53 tests passed\n" ], [ "assert", { "ok": true, "id": 53, "name": "tests passed" } ], [ "line", "ok 54 tests failed\n" ], [ "assert", { "ok": true, "id": 54, "name": "tests failed" } ], [ "line", "ok 55 ok is boolean\n" ], [ "assert", { "ok": true, "id": 55, "name": "ok is boolean" } ], [ "line", "ok 56 skip is number\n" ], [ "assert", { "ok": true, "id": 56, "name": "skip is number" } ], [ "line", "ok 57 results isa Results\n" ], [ "assert", { "ok": true, "id": 57, "name": "results isa Results" } ], [ "line", "ok 58 test isa Test\n" ], [ "assert", { "ok": true, "id": 58, "name": "test isa Test" } ], [ "line", "ok 59 test isa Harness\n" ], [ "assert", { "ok": true, "id": 59, "name": "test isa Harness" } ], [ "line", "# tests 10\n" ], [ "comment", "# tests 10\n" ], [ "line", "# pass 10\n" ], [ "comment", "# pass 10\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 60 test/meta-test.js\n" ], [ "assert", { "ok": true, "id": 60, "name": "test/meta-test.js" } ], [ "line", "# nested-async.js\n" ], [ "comment", "# nested-async.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# Harness async test support\n" ], [ "comment", "# Harness async test support\n" ], [ "line", "ok 61 sync child A\n" ], [ "assert", { "ok": true, "id": 61, "name": "sync child A" } ], [ "line", "# sync child B\n" ], [ "comment", "# sync child B\n" ], [ "line", "# async grandchild A\n" ], [ "comment", "# async grandchild A\n" ], [ "line", "ok 62 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 62, "name": "(unnamed assert)" } ], [ "line", "# async grandchild B\n" ], [ "comment", "# async grandchild B\n" ], [ "line", "ok 63 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 63, "name": "(unnamed assert)" } ], [ "line", "# async child\n" ], [ "comment", "# async child\n" ], [ "line", "ok 64 sync grandchild in async child A\n" ], [ "assert", { "ok": true, "id": 64, "name": "sync grandchild in async child A" } ], [ "line", "# sync grandchild in async child B\n" ], [ "comment", "# sync grandchild in async child B\n" ], [ "line", "ok 65 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 65, "name": "(unnamed assert)" } ], [ "line", "# tests 5\n" ], [ "comment", "# tests 5\n" ], [ "line", "# pass 5\n" ], [ "comment", "# pass 5\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 66 test/nested-async.js\n" ], [ "assert", { "ok": true, "id": 66, "name": "test/nested-async.js" } ], [ "line", "# nested-test.js\n" ], [ "comment", "# nested-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# parent\n" ], [ "comment", "# parent\n" ], [ "line", "ok 67 p test\n" ], [ "assert", { "ok": true, "id": 67, "name": "p test" } ], [ "line", "# subtest\n" ], [ "comment", "# subtest\n" ], [ "line", "ok 68 ch test\n" ], [ "assert", { "ok": true, "id": 68, "name": "ch test" } ], [ "line", "# nested subtest\n" ], [ "comment", "# nested subtest\n" ], [ "line", "ok 69 grch test\n" ], [ "assert", { "ok": true, "id": 69, "name": "grch test" } ], [ "line", "# another subtest\n" ], [ "comment", "# another subtest\n" ], [ "line", "ok 70 ch test 2\n" ], [ "assert", { "ok": true, "id": 70, "name": "ch test 2" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 71 test/nested-test.js\n" ], [ "assert", { "ok": true, "id": 71, "name": "test/nested-test.js" } ], [ "line", "# non-tap-output.js\n" ], [ "comment", "# non-tap-output.js\n" ], [ "line", "# everything is fine\n" ], [ "comment", "# everything is fine\n" ], [ "line", "# there are no errors\n" ], [ "comment", "# there are no errors\n" ], [ "line", "# this output is not haiku.\n" ], [ "comment", "# this output is not haiku.\n" ], [ "line", "# is 8 ok?\n" ], [ "comment", "# is 8 ok?\n" ], [ "line", "ok 72 , 8 can stay.\n" ], [ "assert", { "ok": true, "id": 72, "name": ", 8 can stay." } ], [ "line", "# but: nevertheless, here we are\n" ], [ "comment", "# but: nevertheless, here we are\n" ], [ "line", "# this: is indented\n" ], [ "comment", "# this: is indented\n" ], [ "line", "# and: it\n" ], [ "comment", "# and: it\n" ], [ "line", "# might: ~\n" ], [ "comment", "# might: ~\n" ], [ "line", "# be: yaml?\n" ], [ "comment", "# be: yaml?\n" ], [ "line", "ok 73 might be confusing\n" ], [ "assert", { "ok": true, "id": 73, "name": "might be confusing" } ], [ "line", "ok 74 done now, exiting\n" ], [ "assert", { "ok": true, "id": 74, "name": "done now, exiting" } ], [ "line", "ok 75 test/non-tap-output.js\n" ], [ "assert", { "ok": true, "id": 75, "name": "test/non-tap-output.js" } ], [ "line", "# not-executed.sh\n" ], [ "comment", "# not-executed.sh\n" ], [ "line", "# output-childtest-description.js\n" ], [ "comment", "# output-childtest-description.js\n" ], [ "line", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\n" ], [ "comment", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# nested tests, parent and child pass\n" ], [ "comment", "# nested tests, parent and child pass\n" ], [ "line", "ok 76 outputs parent description\n" ], [ "assert", { "ok": true, "id": 76, "name": "outputs parent description" } ], [ "line", "ok 77 outputs child description\n" ], [ "assert", { "ok": true, "id": 77, "name": "outputs child description" } ], [ "line", "ok 78 outputs parent description before parent result\n" ], [ "assert", { "ok": true, "id": 78, "name": "outputs parent description before parent result" } ], [ "line", "ok 79 outputs parent result before child description\n" ], [ "assert", { "ok": true, "id": 79, "name": "outputs parent result before child description" } ], [ "line", "ok 80 outputs child description before child result\n" ], [ "assert", { "ok": true, "id": 80, "name": "outputs child description before child result" } ], [ "line", "# tests 5\n" ], [ "comment", "# tests 5\n" ], [ "line", "# pass 5\n" ], [ "comment", "# pass 5\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 81 test/output-childtest-description.js\n" ], [ "assert", { "ok": true, "id": 81, "name": "test/output-childtest-description.js" } ], [ "line", "# result-trap.js\n" ], [ "comment", "# result-trap.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trap result\n" ], [ "comment", "# trap result\n" ], [ "line", "ok 82 should be equal\n" ], [ "assert", { "ok": true, "id": 82, "name": "should be equal" } ], [ "line", "ok 83 should be equal\n" ], [ "assert", { "ok": true, "id": 83, "name": "should be equal" } ], [ "line", "# tests 2\n" ], [ "comment", "# tests 2\n" ], [ "line", "# pass 2\n" ], [ "comment", "# pass 2\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 84 test/result-trap.js\n" ], [ "assert", { "ok": true, "id": 84, "name": "test/result-trap.js" } ], [ "line", "# segv.js\n" ], [ "comment", "# segv.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# setup\n" ], [ "comment", "# setup\n" ], [ "line", "ok 85 compiled seg faulter\n" ], [ "assert", { "ok": true, "id": 85, "name": "compiled seg faulter" } ], [ "line", "# segv\n" ], [ "comment", "# segv\n" ], [ "line", "ok 86 should be equivalent\n" ], [ "assert", { "ok": true, "id": 86, "name": "should be equivalent" } ], [ "line", "ok 87 should be equivalent\n" ], [ "assert", { "ok": true, "id": 87, "name": "should be equivalent" } ], [ "line", "ok 88 should be equivalent\n" ], [ "assert", { "ok": true, "id": 88, "name": "should be equivalent" } ], [ "line", "ok 89 should be equivalent\n" ], [ "assert", { "ok": true, "id": 89, "name": "should be equivalent" } ], [ "line", "ok 90 should be equivalent\n" ], [ "assert", { "ok": true, "id": 90, "name": "should be equivalent" } ], [ "line", "ok 91 should be equal\n" ], [ "assert", { "ok": true, "id": 91, "name": "should be equal" } ], [ "line", "# cleanup\n" ], [ "comment", "# cleanup\n" ], [ "line", "ok 92 cleaned up\n" ], [ "assert", { "ok": true, "id": 92, "name": "cleaned up" } ], [ "line", "# tests 8\n" ], [ "comment", "# tests 8\n" ], [ "line", "# pass 8\n" ], [ "comment", "# pass 8\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 93 test/segv.js\n" ], [ "assert", { "ok": true, "id": 93, "name": "test/segv.js" } ], [ "line", "# simple-harness-test-with-plan.js\n" ], [ "comment", "# simple-harness-test-with-plan.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trivial success\n" ], [ "comment", "# trivial success\n" ], [ "line", "ok 94 it works\n" ], [ "assert", { "ok": true, "id": 94, "name": "it works" } ], [ "line", "# two tests\n" ], [ "comment", "# two tests\n" ], [ "line", "ok 95 math should work\n" ], [ "assert", { "ok": true, "id": 95, "name": "math should work" } ], [ "line", "ok 96 false should not be ok\n" ], [ "assert", { "ok": true, "id": 96, "name": "false should not be ok" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 97 test/simple-harness-test-with-plan.js\n" ], [ "assert", { "ok": true, "id": 97, "name": "test/simple-harness-test-with-plan.js" } ], [ "line", "# simple-harness-test.js\n" ], [ "comment", "# simple-harness-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trivial success\n" ], [ "comment", "# trivial success\n" ], [ "line", "ok 98 it works\n" ], [ "assert", { "ok": true, "id": 98, "name": "it works" } ], [ "line", "# two tests\n" ], [ "comment", "# two tests\n" ], [ "line", "ok 99 math should work\n" ], [ "assert", { "ok": true, "id": 99, "name": "math should work" } ], [ "line", "ok 100 false should not be ok\n" ], [ "assert", { "ok": true, "id": 100, "name": "false should not be ok" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 101 test/simple-harness-test.js\n" ], [ "assert", { "ok": true, "id": 101, "name": "test/simple-harness-test.js" } ], [ "line", "# test-assert-todo-skip.js\n" ], [ "comment", "# test-assert-todo-skip.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# not much\n" ], [ "comment", "# not much\n" ], [ "line", "ok 102 always passes # SKIP skip it good\n" ], [ "assert", { "ok": true, "id": 102, "skip": "skip it good", "name": "always passes" } ], [ "line", "ok 103 false # SKIP always fails\n" ], [ "assert", { "ok": true, "id": 103, "skip": "always fails", "name": "false" } ], [ "line", "ok 104 bonus # TODO remove todo directive\n" ], [ "assert", { "ok": true, "id": 104, "todo": "remove todo directive", "name": "bonus" } ], [ "line", "ok 105 expected # TODO implement a thing\n" ], [ "assert", { "ok": true, "id": 105, "todo": "implement a thing", "name": "expected" } ], [ "line", "ok 106 always passes without explanation # SKIP \n" ], [ "assert", { "ok": true, "id": 106, "skip": true, "name": "always passes without explanation" } ], [ "line", "ok 107 false without explanation # SKIP \n" ], [ "assert", { "ok": true, "id": 107, "skip": true, "name": "false without explanation" } ], [ "line", "ok 108 bonus without explanation # TODO \n" ], [ "assert", { "ok": true, "id": 108, "todo": true, "name": "bonus without explanation" } ], [ "line", "ok 109 expected without explanation # TODO \n" ], [ "assert", { "ok": true, "id": 109, "todo": true, "name": "expected without explanation" } ], [ "line", "# tests 8\n" ], [ "comment", "# tests 8\n" ], [ "line", "# skip 4\n" ], [ "comment", "# skip 4\n" ], [ "line", "# todo 4\n" ], [ "comment", "# todo 4\n" ], [ "line", "ok 110 test/test-assert-todo-skip.js\n" ], [ "assert", { "ok": true, "id": 110, "name": "test/test-assert-todo-skip.js" } ], [ "line", "# test-descriptions.js\n" ], [ "comment", "# test-descriptions.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# captures test descriptions\n" ], [ "comment", "# captures test descriptions\n" ], [ "line", "ok 111 exit cleanly\n" ], [ "assert", { "ok": true, "id": 111, "name": "exit cleanly" } ], [ "line", "ok 112 captures SKIP description\n" ], [ "assert", { "ok": true, "id": 112, "name": "captures SKIP description" } ], [ "line", "ok 113 skip summary is not from file\n" ], [ "assert", { "ok": true, "id": 113, "name": "skip summary is not from file" } ], [ "line", "ok 114 todo summary is not from file\n" ], [ "assert", { "ok": true, "id": 114, "name": "todo summary is not from file" } ], [ "line", "not ok 115 captures TODO description\n" ], [ "line", " ---\n" ], [ "line", " file: child_process.js\n" ], [ "line", " line: 707\n" ], [ "line", " column: 7\n" ], [ "line", " stack: \n" ], [ "line", " - |\n" ], [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n" ], [ "line", " - |\n" ], [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n" ], [ "line", " - |\n" ], [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n" ], [ "line", " - |\n" ], [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.exithandler (child_process.js:707:7)\n" ], [ "line", " - |\n" ], [ "line", " emitTwo (events.js:87:13)\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.emit (events.js:169:7)\n" ], [ "line", " - |\n" ], [ "line", " maybeClose (child_process.js:984:16)\n" ], [ "line", " - |\n" ], [ "line", " Socket. (child_process.js:1153:11)\n" ], [ "line", " - |\n" ], [ "line", " emitOne (events.js:77:13)\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 115, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Socket. (child_process.js:1153:11)\n", "emitOne (events.js:77:13)\n" ] } } ], [ "line", "ok 116 exit cleanly\n" ], [ "assert", { "ok": true, "id": 116, "name": "exit cleanly" } ], [ "line", "ok 117 captures SKIP description\n" ], [ "assert", { "ok": true, "id": 117, "name": "captures SKIP description" } ], [ "line", "ok 118 skip summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 118, "name": "skip summary is not in TAP output" } ], [ "line", "ok 119 todo summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 119, "name": "todo summary is not in TAP output" } ], [ "line", "not ok 120 captures TODO description\n" ], [ "line", " ---\n" ], [ "line", " file: child_process.js\n" ], [ "line", " line: 707\n" ], [ "line", " column: 7\n" ], [ "line", " stack: \n" ], [ "line", " - |\n" ], [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n" ], [ "line", " - |\n" ], [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n" ], [ "line", " - |\n" ], [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n" ], [ "line", " - |\n" ], [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:18:7\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.exithandler (child_process.js:707:7)\n" ], [ "line", " - |\n" ], [ "line", " emitTwo (events.js:87:13)\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.emit (events.js:169:7)\n" ], [ "line", " - |\n" ], [ "line", " maybeClose (child_process.js:984:16)\n" ], [ "line", " - |\n" ], [ "line", " Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 120, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:18:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } } ], [ "line", "ok 121 exit cleanly\n" ], [ "assert", { "ok": true, "id": 121, "name": "exit cleanly" } ], [ "line", "not ok 122 summarizes skipped count\n" ], [ "line", " ---\n" ], [ "line", " file: child_process.js\n" ], [ "line", " line: 707\n" ], [ "line", " column: 7\n" ], [ "line", " stack: \n" ], [ "line", " - |\n" ], [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n" ], [ "line", " - |\n" ], [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n" ], [ "line", " - |\n" ], [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n" ], [ "line", " - |\n" ], [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:23:7\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.exithandler (child_process.js:707:7)\n" ], [ "line", " - |\n" ], [ "line", " emitTwo (events.js:87:13)\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.emit (events.js:169:7)\n" ], [ "line", " - |\n" ], [ "line", " maybeClose (child_process.js:984:16)\n" ], [ "line", " - |\n" ], [ "line", " Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 122, "name": "summarizes skipped count", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:23:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } } ], [ "line", "not ok 123 summarizes todo count\n" ], [ "line", " ---\n" ], [ "line", " file: child_process.js\n" ], [ "line", " line: 707\n" ], [ "line", " column: 7\n" ], [ "line", " stack: \n" ], [ "line", " - |\n" ], [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n" ], [ "line", " - |\n" ], [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n" ], [ "line", " - |\n" ], [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n" ], [ "line", " - |\n" ], [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:24:7\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.exithandler (child_process.js:707:7)\n" ], [ "line", " - |\n" ], [ "line", " emitTwo (events.js:87:13)\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.emit (events.js:169:7)\n" ], [ "line", " - |\n" ], [ "line", " maybeClose (child_process.js:984:16)\n" ], [ "line", " - |\n" ], [ "line", " Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 123, "name": "summarizes todo count", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:24:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } } ], [ "line", "# tests 13\n" ], [ "comment", "# tests 13\n" ], [ "line", "# pass 9\n" ], [ "comment", "# pass 9\n" ], [ "line", "# fail 4\n" ], [ "comment", "# fail 4\n" ], [ "line", "not ok 124 test/test-descriptions.js\n" ], [ "line", " ---\n" ], [ "line", " exit: 1\n" ], [ "line", " command: \"/usr/local/bin/iojs test-descriptions.js\"\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 124, "name": "test/test-descriptions.js", "diag": { "exit": 1, "command": "/usr/local/bin/iojs test-descriptions.js" } } ], [ "line", "# test-directives.js\n" ], [ "comment", "# test-directives.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# captures test descriptions\n" ], [ "comment", "# captures test descriptions\n" ], [ "line", "# raw TAP > TAP consumer > TAP producer\n" ], [ "comment", "# raw TAP > TAP consumer > TAP producer\n" ], [ "line", "ok 125 overall result is PASS\n" ], [ "assert", { "ok": true, "id": 125, "name": "overall result is PASS" } ], [ "line", "ok 126 captures ok SKIP\n" ], [ "assert", { "ok": true, "id": 126, "name": "captures ok SKIP" } ], [ "line", "ok 127 captures not ok SKIP\n" ], [ "assert", { "ok": true, "id": 127, "name": "captures not ok SKIP" } ], [ "line", "ok 128 skip summary not in TAP output\n" ], [ "assert", { "ok": true, "id": 128, "name": "skip summary not in TAP output" } ], [ "line", "ok 129 captures ok TODO\n" ], [ "assert", { "ok": true, "id": 129, "name": "captures ok TODO" } ], [ "line", "ok 130 captures not ok TODO\n" ], [ "assert", { "ok": true, "id": 130, "name": "captures not ok TODO" } ], [ "line", "ok 131 todo summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 131, "name": "todo summary is not in TAP output" } ], [ "line", "ok 132 no ugly \"undefined\" in output\n" ], [ "assert", { "ok": true, "id": 132, "name": "no ugly \"undefined\" in output" } ], [ "line", "# raw TAP > TAP consumer > summary\n" ], [ "comment", "# raw TAP > TAP consumer > summary\n" ], [ "line", "ok 133 overall result is PASS\n" ], [ "assert", { "ok": true, "id": 133, "name": "overall result is PASS" } ], [ "line", "ok 134 no SKIP in summary\n" ], [ "assert", { "ok": true, "id": 134, "name": "no SKIP in summary" } ], [ "line", "ok 135 skip summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 135, "name": "skip summary is not in TAP output" } ], [ "line", "ok 136 no TODO in summary\n" ], [ "assert", { "ok": true, "id": 136, "name": "no TODO in summary" } ], [ "line", "ok 137 todo summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 137, "name": "todo summary is not in TAP output" } ], [ "line", "ok 138 no ugly \"undefined\" in output\n" ], [ "assert", { "ok": true, "id": 138, "name": "no ugly \"undefined\" in output" } ], [ "line", "# TAP producer via require(\"tap\")\n" ], [ "comment", "# TAP producer via require(\"tap\")\n" ], [ "line", "ok 139 overall result is PASS\n" ], [ "assert", { "ok": true, "id": 139, "name": "overall result is PASS" } ], [ "line", "ok 140 captures ok SKIP\n" ], [ "assert", { "ok": true, "id": 140, "name": "captures ok SKIP" } ], [ "line", "ok 141 captures not ok SKIP\n" ], [ "assert", { "ok": true, "id": 141, "name": "captures not ok SKIP" } ], [ "line", "ok 142 skip summary not in TAP output\n" ], [ "assert", { "ok": true, "id": 142, "name": "skip summary not in TAP output" } ], [ "line", "ok 143 captures ok TODO\n" ], [ "assert", { "ok": true, "id": 143, "name": "captures ok TODO" } ], [ "line", "ok 144 captures not ok TODO\n" ], [ "assert", { "ok": true, "id": 144, "name": "captures not ok TODO" } ], [ "line", "ok 145 todo summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 145, "name": "todo summary is not in TAP output" } ], [ "line", "ok 146 no ugly \"undefined\" in output\n" ], [ "assert", { "ok": true, "id": 146, "name": "no ugly \"undefined\" in output" } ], [ "line", "# tests 22\n" ], [ "comment", "# tests 22\n" ], [ "line", "# pass 22\n" ], [ "comment", "# pass 22\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 147 test/test-directives.js\n" ], [ "assert", { "ok": true, "id": 147, "name": "test/test-directives.js" } ], [ "line", "# test-skip.js\n" ], [ "comment", "# test-skip.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "ok 148 does not count as failure # SKIP \n" ], [ "assert", { "ok": true, "id": 148, "skip": true, "name": "does not count as failure" } ], [ "line", "# tests 1\n" ], [ "comment", "# tests 1\n" ], [ "line", "# skip 1\n" ], [ "comment", "# skip 1\n" ], [ "line", "ok 149 test/test-skip.js\n" ], [ "assert", { "ok": true, "id": 149, "name": "test/test-skip.js" } ], [ "line", "# test-test.js\n" ], [ "comment", "# test-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# testing the test object\n" ], [ "comment", "# testing the test object\n" ], [ "line", "ok 150 test object should be instanceof Test\n" ], [ "assert", { "ok": true, "id": 150, "name": "test object should be instanceof Test" } ], [ "line", "ok 151 test object should be instanceof Harness\n" ], [ "assert", { "ok": true, "id": 151, "name": "test object should be instanceof Harness" } ], [ "line", "ok 152 test._Test should be the Test class\n" ], [ "assert", { "ok": true, "id": 152, "name": "test._Test should be the Test class" } ], [ "line", "ok 153 should have isNotDeepEqual method\n" ], [ "assert", { "ok": true, "id": 153, "name": "should have isNotDeepEqual method" } ], [ "line", "ok 154 isNotDeepEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 154, "name": "isNotDeepEqual method should be a function" } ], [ "line", "ok 155 should have equals method\n" ], [ "assert", { "ok": true, "id": 155, "name": "should have equals method" } ], [ "line", "ok 156 equals method should be a function\n" ], [ "assert", { "ok": true, "id": 156, "name": "equals method should be a function" } ], [ "line", "ok 157 should have inequivalent method\n" ], [ "assert", { "ok": true, "id": 157, "name": "should have inequivalent method" } ], [ "line", "ok 158 inequivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 158, "name": "inequivalent method should be a function" } ], [ "line", "ok 159 should have threw method\n" ], [ "assert", { "ok": true, "id": 159, "name": "should have threw method" } ], [ "line", "ok 160 threw method should be a function\n" ], [ "assert", { "ok": true, "id": 160, "name": "threw method should be a function" } ], [ "line", "ok 161 should have strictEqual method\n" ], [ "assert", { "ok": true, "id": 161, "name": "should have strictEqual method" } ], [ "line", "ok 162 strictEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 162, "name": "strictEqual method should be a function" } ], [ "line", "ok 163 should have emit method\n" ], [ "assert", { "ok": true, "id": 163, "name": "should have emit method" } ], [ "line", "ok 164 emit method should be a function\n" ], [ "assert", { "ok": true, "id": 164, "name": "emit method should be a function" } ], [ "line", "ok 165 should have fail method\n" ], [ "assert", { "ok": true, "id": 165, "name": "should have fail method" } ], [ "line", "ok 166 fail method should be a function\n" ], [ "assert", { "ok": true, "id": 166, "name": "fail method should be a function" } ], [ "line", "ok 167 should have strictEquals method\n" ], [ "assert", { "ok": true, "id": 167, "name": "should have strictEquals method" } ], [ "line", "ok 168 strictEquals method should be a function\n" ], [ "assert", { "ok": true, "id": 168, "name": "strictEquals method should be a function" } ], [ "line", "ok 169 should have notLike method\n" ], [ "assert", { "ok": true, "id": 169, "name": "should have notLike method" } ], [ "line", "ok 170 notLike method should be a function\n" ], [ "assert", { "ok": true, "id": 170, "name": "notLike method should be a function" } ], [ "line", "ok 171 should have dissimilar method\n" ], [ "assert", { "ok": true, "id": 171, "name": "should have dissimilar method" } ], [ "line", "ok 172 dissimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 172, "name": "dissimilar method should be a function" } ], [ "line", "ok 173 should have true method\n" ], [ "assert", { "ok": true, "id": 173, "name": "should have true method" } ], [ "line", "ok 174 true method should be a function\n" ], [ "assert", { "ok": true, "id": 174, "name": "true method should be a function" } ], [ "line", "ok 175 should have assert method\n" ], [ "assert", { "ok": true, "id": 175, "name": "should have assert method" } ], [ "line", "ok 176 assert method should be a function\n" ], [ "assert", { "ok": true, "id": 176, "name": "assert method should be a function" } ], [ "line", "ok 177 should have is method\n" ], [ "assert", { "ok": true, "id": 177, "name": "should have is method" } ], [ "line", "ok 178 is method should be a function\n" ], [ "assert", { "ok": true, "id": 178, "name": "is method should be a function" } ], [ "line", "ok 179 should have ok method\n" ], [ "assert", { "ok": true, "id": 179, "name": "should have ok method" } ], [ "line", "ok 180 ok method should be a function\n" ], [ "assert", { "ok": true, "id": 180, "name": "ok method should be a function" } ], [ "line", "ok 181 should have isEqual method\n" ], [ "assert", { "ok": true, "id": 181, "name": "should have isEqual method" } ], [ "line", "ok 182 isEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 182, "name": "isEqual method should be a function" } ], [ "line", "ok 183 should have isDeeply method\n" ], [ "assert", { "ok": true, "id": 183, "name": "should have isDeeply method" } ], [ "line", "ok 184 isDeeply method should be a function\n" ], [ "assert", { "ok": true, "id": 184, "name": "isDeeply method should be a function" } ], [ "line", "ok 185 should have deepEqual method\n" ], [ "assert", { "ok": true, "id": 185, "name": "should have deepEqual method" } ], [ "line", "ok 186 deepEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 186, "name": "deepEqual method should be a function" } ], [ "line", "ok 187 should have deepEquals method\n" ], [ "assert", { "ok": true, "id": 187, "name": "should have deepEquals method" } ], [ "line", "ok 188 deepEquals method should be a function\n" ], [ "assert", { "ok": true, "id": 188, "name": "deepEquals method should be a function" } ], [ "line", "ok 189 should have pass method\n" ], [ "assert", { "ok": true, "id": 189, "name": "should have pass method" } ], [ "line", "ok 190 pass method should be a function\n" ], [ "assert", { "ok": true, "id": 190, "name": "pass method should be a function" } ], [ "line", "ok 191 should have length method\n" ], [ "assert", { "ok": true, "id": 191, "name": "should have length method" } ], [ "line", "ok 192 length method should be a function\n" ], [ "assert", { "ok": true, "id": 192, "name": "length method should be a function" } ], [ "line", "ok 193 should have skip method\n" ], [ "assert", { "ok": true, "id": 193, "name": "should have skip method" } ], [ "line", "ok 194 skip method should be a function\n" ], [ "assert", { "ok": true, "id": 194, "name": "skip method should be a function" } ], [ "line", "ok 195 should have isNotEqual method\n" ], [ "assert", { "ok": true, "id": 195, "name": "should have isNotEqual method" } ], [ "line", "ok 196 isNotEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 196, "name": "isNotEqual method should be a function" } ], [ "line", "ok 197 should have looseEquals method\n" ], [ "assert", { "ok": true, "id": 197, "name": "should have looseEquals method" } ], [ "line", "ok 198 looseEquals method should be a function\n" ], [ "assert", { "ok": true, "id": 198, "name": "looseEquals method should be a function" } ], [ "line", "ok 199 should have false method\n" ], [ "assert", { "ok": true, "id": 199, "name": "should have false method" } ], [ "line", "ok 200 false method should be a function\n" ], [ "assert", { "ok": true, "id": 200, "name": "false method should be a function" } ], [ "line", "ok 201 should have notDeeply method\n" ], [ "assert", { "ok": true, "id": 201, "name": "should have notDeeply method" } ], [ "line", "ok 202 notDeeply method should be a function\n" ], [ "assert", { "ok": true, "id": 202, "name": "notDeeply method should be a function" } ], [ "line", "ok 203 should have ifErr method\n" ], [ "assert", { "ok": true, "id": 203, "name": "should have ifErr method" } ], [ "line", "ok 204 ifErr method should be a function\n" ], [ "assert", { "ok": true, "id": 204, "name": "ifErr method should be a function" } ], [ "line", "ok 205 should have hasFields method\n" ], [ "assert", { "ok": true, "id": 205, "name": "should have hasFields method" } ], [ "line", "ok 206 hasFields method should be a function\n" ], [ "assert", { "ok": true, "id": 206, "name": "hasFields method should be a function" } ], [ "line", "ok 207 should have isNotDeeply method\n" ], [ "assert", { "ok": true, "id": 207, "name": "should have isNotDeeply method" } ], [ "line", "ok 208 isNotDeeply method should be a function\n" ], [ "assert", { "ok": true, "id": 208, "name": "isNotDeeply method should be a function" } ], [ "line", "ok 209 should have like method\n" ], [ "assert", { "ok": true, "id": 209, "name": "should have like method" } ], [ "line", "ok 210 like method should be a function\n" ], [ "assert", { "ok": true, "id": 210, "name": "like method should be a function" } ], [ "line", "ok 211 should have similar method\n" ], [ "assert", { "ok": true, "id": 211, "name": "should have similar method" } ], [ "line", "ok 212 similar method should be a function\n" ], [ "assert", { "ok": true, "id": 212, "name": "similar method should be a function" } ], [ "line", "ok 213 should have notOk method\n" ], [ "assert", { "ok": true, "id": 213, "name": "should have notOk method" } ], [ "line", "ok 214 notOk method should be a function\n" ], [ "assert", { "ok": true, "id": 214, "name": "notOk method should be a function" } ], [ "line", "ok 215 should have isDissimilar method\n" ], [ "assert", { "ok": true, "id": 215, "name": "should have isDissimilar method" } ], [ "line", "ok 216 isDissimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 216, "name": "isDissimilar method should be a function" } ], [ "line", "ok 217 should have isEquivalent method\n" ], [ "assert", { "ok": true, "id": 217, "name": "should have isEquivalent method" } ], [ "line", "ok 218 isEquivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 218, "name": "isEquivalent method should be a function" } ], [ "line", "ok 219 should have doesNotEqual method\n" ], [ "assert", { "ok": true, "id": 219, "name": "should have doesNotEqual method" } ], [ "line", "ok 220 doesNotEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 220, "name": "doesNotEqual method should be a function" } ], [ "line", "ok 221 should have isSimilar method\n" ], [ "assert", { "ok": true, "id": 221, "name": "should have isSimilar method" } ], [ "line", "ok 222 isSimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 222, "name": "isSimilar method should be a function" } ], [ "line", "ok 223 should have notDeepEqual method\n" ], [ "assert", { "ok": true, "id": 223, "name": "should have notDeepEqual method" } ], [ "line", "ok 224 notDeepEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 224, "name": "notDeepEqual method should be a function" } ], [ "line", "ok 225 should have type method\n" ], [ "assert", { "ok": true, "id": 225, "name": "should have type method" } ], [ "line", "ok 226 type method should be a function\n" ], [ "assert", { "ok": true, "id": 226, "name": "type method should be a function" } ], [ "line", "ok 227 should have notok method\n" ], [ "assert", { "ok": true, "id": 227, "name": "should have notok method" } ], [ "line", "ok 228 notok method should be a function\n" ], [ "assert", { "ok": true, "id": 228, "name": "notok method should be a function" } ], [ "line", "ok 229 should have isInequivalent method\n" ], [ "assert", { "ok": true, "id": 229, "name": "should have isInequivalent method" } ], [ "line", "ok 230 isInequivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 230, "name": "isInequivalent method should be a function" } ], [ "line", "ok 231 should have isNot method\n" ], [ "assert", { "ok": true, "id": 231, "name": "should have isNot method" } ], [ "line", "ok 232 isNot method should be a function\n" ], [ "assert", { "ok": true, "id": 232, "name": "isNot method should be a function" } ], [ "line", "ok 233 should have same method\n" ], [ "assert", { "ok": true, "id": 233, "name": "should have same method" } ], [ "line", "ok 234 same method should be a function\n" ], [ "assert", { "ok": true, "id": 234, "name": "same method should be a function" } ], [ "line", "ok 235 should have isInequal method\n" ], [ "assert", { "ok": true, "id": 235, "name": "should have isInequal method" } ], [ "line", "ok 236 isInequal method should be a function\n" ], [ "assert", { "ok": true, "id": 236, "name": "isInequal method should be a function" } ], [ "line", "ok 237 should have _endNice method\n" ], [ "assert", { "ok": true, "id": 237, "name": "should have _endNice method" } ], [ "line", "ok 238 _endNice method should be a function\n" ], [ "assert", { "ok": true, "id": 238, "name": "_endNice method should be a function" } ], [ "line", "ok 239 should have ifError method\n" ], [ "assert", { "ok": true, "id": 239, "name": "should have ifError method" } ], [ "line", "ok 240 ifError method should be a function\n" ], [ "assert", { "ok": true, "id": 240, "name": "ifError method should be a function" } ], [ "line", "ok 241 should have iferror method\n" ], [ "assert", { "ok": true, "id": 241, "name": "should have iferror method" } ], [ "line", "ok 242 iferror method should be a function\n" ], [ "assert", { "ok": true, "id": 242, "name": "iferror method should be a function" } ], [ "line", "ok 243 should have clear method\n" ], [ "assert", { "ok": true, "id": 243, "name": "should have clear method" } ], [ "line", "ok 244 clear method should be a function\n" ], [ "assert", { "ok": true, "id": 244, "name": "clear method should be a function" } ], [ "line", "ok 245 should have has method\n" ], [ "assert", { "ok": true, "id": 245, "name": "should have has method" } ], [ "line", "ok 246 has method should be a function\n" ], [ "assert", { "ok": true, "id": 246, "name": "has method should be a function" } ], [ "line", "ok 247 should have not method\n" ], [ "assert", { "ok": true, "id": 247, "name": "should have not method" } ], [ "line", "ok 248 not method should be a function\n" ], [ "assert", { "ok": true, "id": 248, "name": "not method should be a function" } ], [ "line", "ok 249 should have timeout method\n" ], [ "assert", { "ok": true, "id": 249, "name": "should have timeout method" } ], [ "line", "ok 250 timeout method should be a function\n" ], [ "assert", { "ok": true, "id": 250, "name": "timeout method should be a function" } ], [ "line", "ok 251 should have notSimilar method\n" ], [ "assert", { "ok": true, "id": 251, "name": "should have notSimilar method" } ], [ "line", "ok 252 notSimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 252, "name": "notSimilar method should be a function" } ], [ "line", "ok 253 should have isUnlike method\n" ], [ "assert", { "ok": true, "id": 253, "name": "should have isUnlike method" } ], [ "line", "ok 254 isUnlike method should be a function\n" ], [ "assert", { "ok": true, "id": 254, "name": "isUnlike method should be a function" } ], [ "line", "ok 255 should have notEquals method\n" ], [ "assert", { "ok": true, "id": 255, "name": "should have notEquals method" } ], [ "line", "ok 256 notEquals method should be a function\n" ], [ "assert", { "ok": true, "id": 256, "name": "notEquals method should be a function" } ], [ "line", "ok 257 should have unsimilar method\n" ], [ "assert", { "ok": true, "id": 257, "name": "should have unsimilar method" } ], [ "line", "ok 258 unsimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 258, "name": "unsimilar method should be a function" } ], [ "line", "ok 259 should have result method\n" ], [ "assert", { "ok": true, "id": 259, "name": "should have result method" } ], [ "line", "ok 260 result method should be a function\n" ], [ "assert", { "ok": true, "id": 260, "name": "result method should be a function" } ], [ "line", "ok 261 should have doesNotThrow method\n" ], [ "assert", { "ok": true, "id": 261, "name": "should have doesNotThrow method" } ], [ "line", "ok 262 doesNotThrow method should be a function\n" ], [ "assert", { "ok": true, "id": 262, "name": "doesNotThrow method should be a function" } ], [ "line", "ok 263 should have error method\n" ], [ "assert", { "ok": true, "id": 263, "name": "should have error method" } ], [ "line", "ok 264 error method should be a function\n" ], [ "assert", { "ok": true, "id": 264, "name": "error method should be a function" } ], [ "line", "ok 265 should have constructor method\n" ], [ "assert", { "ok": true, "id": 265, "name": "should have constructor method" } ], [ "line", "ok 266 constructor method should be a function\n" ], [ "assert", { "ok": true, "id": 266, "name": "constructor method should be a function" } ], [ "line", "ok 267 should have notEqual method\n" ], [ "assert", { "ok": true, "id": 267, "name": "should have notEqual method" } ], [ "line", "ok 268 notEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 268, "name": "notEqual method should be a function" } ], [ "line", "ok 269 should have throws method\n" ], [ "assert", { "ok": true, "id": 269, "name": "should have throws method" } ], [ "line", "ok 270 throws method should be a function\n" ], [ "assert", { "ok": true, "id": 270, "name": "throws method should be a function" } ], [ "line", "ok 271 should have isLike method\n" ], [ "assert", { "ok": true, "id": 271, "name": "should have isLike method" } ], [ "line", "ok 272 isLike method should be a function\n" ], [ "assert", { "ok": true, "id": 272, "name": "isLike method should be a function" } ], [ "line", "ok 273 should have isNotSimilar method\n" ], [ "assert", { "ok": true, "id": 273, "name": "should have isNotSimilar method" } ], [ "line", "ok 274 isNotSimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 274, "name": "isNotSimilar method should be a function" } ], [ "line", "ok 275 should have isNotEquivalent method\n" ], [ "assert", { "ok": true, "id": 275, "name": "should have isNotEquivalent method" } ], [ "line", "ok 276 isNotEquivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 276, "name": "isNotEquivalent method should be a function" } ], [ "line", "ok 277 should have inequal method\n" ], [ "assert", { "ok": true, "id": 277, "name": "should have inequal method" } ], [ "line", "ok 278 inequal method should be a function\n" ], [ "assert", { "ok": true, "id": 278, "name": "inequal method should be a function" } ], [ "line", "ok 279 should have notEquivalent method\n" ], [ "assert", { "ok": true, "id": 279, "name": "should have notEquivalent method" } ], [ "line", "ok 280 notEquivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 280, "name": "notEquivalent method should be a function" } ], [ "line", "ok 281 should have isNotLike method\n" ], [ "assert", { "ok": true, "id": 281, "name": "should have isNotLike method" } ], [ "line", "ok 282 isNotLike method should be a function\n" ], [ "assert", { "ok": true, "id": 282, "name": "isNotLike method should be a function" } ], [ "line", "ok 283 should have equivalent method\n" ], [ "assert", { "ok": true, "id": 283, "name": "should have equivalent method" } ], [ "line", "ok 284 equivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 284, "name": "equivalent method should be a function" } ], [ "line", "ok 285 should have looseEqual method\n" ], [ "assert", { "ok": true, "id": 285, "name": "should have looseEqual method" } ], [ "line", "ok 286 looseEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 286, "name": "looseEqual method should be a function" } ], [ "line", "ok 287 should have equal method\n" ], [ "assert", { "ok": true, "id": 287, "name": "should have equal method" } ], [ "line", "ok 288 equal method should be a function\n" ], [ "assert", { "ok": true, "id": 288, "name": "equal method should be a function" } ], [ "line", "ok 289 should have unlike method\n" ], [ "assert", { "ok": true, "id": 289, "name": "should have unlike method" } ], [ "line", "ok 290 unlike method should be a function\n" ], [ "assert", { "ok": true, "id": 290, "name": "unlike method should be a function" } ], [ "line", "ok 291 should have doesNotHave method\n" ], [ "assert", { "ok": true, "id": 291, "name": "should have doesNotHave method" } ], [ "line", "ok 292 doesNotHave method should be a function\n" ], [ "assert", { "ok": true, "id": 292, "name": "doesNotHave method should be a function" } ], [ "line", "ok 293 should have comment method\n" ], [ "assert", { "ok": true, "id": 293, "name": "should have comment method" } ], [ "line", "ok 294 comment method should be a function\n" ], [ "assert", { "ok": true, "id": 294, "name": "comment method should be a function" } ], [ "line", "ok 295 should have isa method\n" ], [ "assert", { "ok": true, "id": 295, "name": "should have isa method" } ], [ "line", "ok 296 isa method should be a function\n" ], [ "assert", { "ok": true, "id": 296, "name": "isa method should be a function" } ], [ "line", "# tests 147\n" ], [ "comment", "# tests 147\n" ], [ "line", "# pass 147\n" ], [ "comment", "# pass 147\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 297 test/test-test.js\n" ], [ "assert", { "ok": true, "id": 297, "name": "test/test-test.js" } ], [ "line", "# timeout.js\n" ], [ "comment", "# timeout.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# timeout test with plan only\n" ], [ "comment", "# timeout test with plan only\n" ], [ "line", "ok 298 a\n" ], [ "assert", { "ok": true, "id": 298, "name": "a" } ], [ "line", "ok 299 b\n" ], [ "assert", { "ok": true, "id": 299, "name": "b" } ], [ "line", "# timeout test with plan and end\n" ], [ "comment", "# timeout test with plan and end\n" ], [ "line", "ok 300 a\n" ], [ "assert", { "ok": true, "id": 300, "name": "a" } ], [ "line", "ok 301 b\n" ], [ "assert", { "ok": true, "id": 301, "name": "b" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 302 test/timeout.js\n" ], [ "assert", { "ok": true, "id": 302, "name": "test/timeout.js" } ], [ "line", "# trivial-success.js\n" ], [ "comment", "# trivial-success.js\n" ], [ "line", "ok 303 test/trivial-success.js\n" ], [ "assert", { "ok": true, "id": 303, "name": "test/trivial-success.js" } ], [ "line", "# undefined_indented.js\n" ], [ "comment", "# undefined_indented.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# consume yaml\n" ], [ "comment", "# consume yaml\n" ], [ "line", "ok 304 should be equivalent\n" ], [ "assert", { "ok": true, "id": 304, "name": "should be equivalent" } ], [ "line", "# tests 1\n" ], [ "comment", "# tests 1\n" ], [ "line", "# pass 1\n" ], [ "comment", "# pass 1\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 305 test/undefined_indented.js\n" ], [ "assert", { "ok": true, "id": 305, "name": "test/undefined_indented.js" } ], [ "line", "# valid-command.js\n" ], [ "comment", "# valid-command.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# valid command\n" ], [ "comment", "# valid command\n" ], [ "line", "ok 306 should be equivalent\n" ], [ "assert", { "ok": true, "id": 306, "name": "should be equivalent" } ], [ "line", "ok 307 should be equivalent\n" ], [ "assert", { "ok": true, "id": 307, "name": "should be equivalent" } ], [ "line", "ok 308 should be equivalent\n" ], [ "assert", { "ok": true, "id": 308, "name": "should be equivalent" } ], [ "line", "ok 309 should be equivalent\n" ], [ "assert", { "ok": true, "id": 309, "name": "should be equivalent" } ], [ "line", "ok 310 should be equivalent\n" ], [ "assert", { "ok": true, "id": 310, "name": "should be equivalent" } ], [ "line", "ok 311 should be equal\n" ], [ "assert", { "ok": true, "id": 311, "name": "should be equal" } ], [ "line", "# tests 6\n" ], [ "comment", "# tests 6\n" ], [ "line", "# pass 6\n" ], [ "comment", "# pass 6\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 312 test/valid-command.js\n" ], [ "assert", { "ok": true, "id": 312, "name": "test/valid-command.js" } ], [ "line", "1..312\n" ], [ "plan", { "start": 1, "end": 312 } ], [ "line", "# tests 312\n" ], [ "comment", "# tests 312\n" ], [ "line", "# pass 298\n" ], [ "comment", "# pass 298\n" ], [ "line", "# fail 5\n" ], [ "comment", "# fail 5\n" ], [ "line", "# skip 5\n" ], [ "comment", "# skip 5\n" ], [ "line", "# todo 4\n" ], [ "comment", "# todo 4\n" ], [ "line", "# failed 5 of 312 tests\n" ], [ "comment", "# failed 5 of 312 tests\n" ], [ "line", "# todo: 4\n" ], [ "comment", "# todo: 4\n" ], [ "line", "# skip: 5\n" ], [ "comment", "# skip: 5\n" ], [ "complete", { "ok": false, "count": 312, "pass": 307, "fail": 5, "bailout": false, "todo": 4, "skip": 5, "plan": { "start": 1, "end": 312, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 115, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Socket. (child_process.js:1153:11)\n", "emitOne (events.js:77:13)\n" ] } }, { "ok": false, "id": 120, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:18:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } }, { "ok": false, "id": 122, "name": "summarizes skipped count", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:23:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } }, { "ok": false, "id": 123, "name": "summarizes todo count", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:24:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } }, { "ok": false, "id": 124, "name": "test/test-descriptions.js", "diag": { "exit": 1, "command": "/usr/local/bin/iojs test-descriptions.js" } } ] } ] ] tap-parser-7.0.0/test/fixtures/tap-tests-stdout--preservewhite--omitversion.json000066400000000000000000002536771320135610000301760ustar00rootroot00000000000000[ [ "line", "# buffer_compare.js\n" ], [ "comment", "# buffer_compare.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# same buffers\n" ], [ "comment", "# same buffers\n" ], [ "line", "ok 1 should be equivalent\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equivalent" } ], [ "line", "# not same buffers\n" ], [ "comment", "# not same buffers\n" ], [ "line", "ok 2 should not be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should not be equivalent" } ], [ "line", "# tests 2\n" ], [ "comment", "# tests 2\n" ], [ "line", "# pass 2\n" ], [ "comment", "# pass 2\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 3 test/buffer_compare.js\n" ], [ "assert", { "ok": true, "id": 3, "name": "test/buffer_compare.js" } ], [ "line", "# common.js\n" ], [ "comment", "# common.js\n" ], [ "line", "ok 4 just setup, nothing relevant\n" ], [ "assert", { "ok": true, "id": 4, "name": "just setup, nothing relevant" } ], [ "line", "ok 5 test/common.js\n" ], [ "assert", { "ok": true, "id": 5, "name": "test/common.js" } ], [ "line", "# consumer.js\n" ], [ "comment", "# consumer.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# basic.tap\n" ], [ "comment", "# basic.tap\n" ], [ "line", "ok 6 should be equivalent\n" ], [ "assert", { "ok": true, "id": 6, "name": "should be equivalent" } ], [ "line", "# indent.tap\n" ], [ "comment", "# indent.tap\n" ], [ "line", "ok 7 should be equivalent\n" ], [ "assert", { "ok": true, "id": 7, "name": "should be equivalent" } ], [ "line", "# missing.tap\n" ], [ "comment", "# missing.tap\n" ], [ "line", "ok 8 should be equivalent\n" ], [ "assert", { "ok": true, "id": 8, "name": "should be equivalent" } ], [ "line", "# skip-all.tap\n" ], [ "comment", "# skip-all.tap\n" ], [ "line", "ok 9 should be equivalent\n" ], [ "assert", { "ok": true, "id": 9, "name": "should be equivalent" } ], [ "line", "# tap-tests.tap\n" ], [ "comment", "# tap-tests.tap\n" ], [ "line", "ok 10 should be equivalent\n" ], [ "assert", { "ok": true, "id": 10, "name": "should be equivalent" } ], [ "line", "# yamlish.tap\n" ], [ "comment", "# yamlish.tap\n" ], [ "line", "ok 11 should be equivalent\n" ], [ "assert", { "ok": true, "id": 11, "name": "should be equivalent" } ], [ "line", "# tests 6\n" ], [ "comment", "# tests 6\n" ], [ "line", "# pass 6\n" ], [ "comment", "# pass 6\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 12 test/consumer.js\n" ], [ "assert", { "ok": true, "id": 12, "name": "test/consumer.js" } ], [ "line", "# debug-test.js\n" ], [ "comment", "# debug-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# debug test\n" ], [ "comment", "# debug test\n" ], [ "line", "ok 13 Should output debugger message\n" ], [ "assert", { "ok": true, "id": 13, "name": "Should output debugger message" } ], [ "line", "# tests 1\n" ], [ "comment", "# tests 1\n" ], [ "line", "# pass 1\n" ], [ "comment", "# pass 1\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 14 test/debug-test.js\n" ], [ "assert", { "ok": true, "id": 14, "name": "test/debug-test.js" } ], [ "line", "# deep-strict.js\n" ], [ "comment", "# deep-strict.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# strictDeepEquals shouldn't care about key order\n" ], [ "comment", "# strictDeepEquals shouldn't care about key order\n" ], [ "line", "ok 15 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 15, "name": "should be strictly equal" } ], [ "line", "# strictDeepEquals shouldn't care about key order recursively\n" ], [ "comment", "# strictDeepEquals shouldn't care about key order recursively\n" ], [ "line", "ok 16 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 16, "name": "should be strictly equal" } ], [ "line", "# strictDeepEquals shoudn't care about key order (but still might)\n" ], [ "comment", "# strictDeepEquals shoudn't care about key order (but still might)\n" ], [ "line", "ok 17 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 17, "name": "should be strictly equal" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 18 test/deep-strict.js\n" ], [ "assert", { "ok": true, "id": 18, "name": "test/deep-strict.js" } ], [ "line", "# deep.js\n" ], [ "comment", "# deep.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# deepEquals shouldn't care about key order and types\n" ], [ "comment", "# deepEquals shouldn't care about key order and types\n" ], [ "line", "ok 19 should be equivalent\n" ], [ "assert", { "ok": true, "id": 19, "name": "should be equivalent" } ], [ "line", "# deepEquals shouldn't care about key order recursively and types\n" ], [ "comment", "# deepEquals shouldn't care about key order recursively and types\n" ], [ "line", "ok 20 should be equivalent\n" ], [ "assert", { "ok": true, "id": 20, "name": "should be equivalent" } ], [ "line", "# deepEquals shoudn't care about key order (but still might) and types\n" ], [ "comment", "# deepEquals shoudn't care about key order (but still might) and types\n" ], [ "line", "ok 21 should be equivalent\n" ], [ "assert", { "ok": true, "id": 21, "name": "should be equivalent" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 22 test/deep.js\n" ], [ "assert", { "ok": true, "id": 22, "name": "test/deep.js" } ], [ "line", "# executed.sh\n" ], [ "comment", "# executed.sh\n" ], [ "line", "ok 23 File with executable bit should be executed\n" ], [ "assert", { "ok": true, "id": 23, "name": "File with executable bit should be executed" } ], [ "line", "ok 24 test/executed.sh\n" ], [ "assert", { "ok": true, "id": 24, "name": "test/executed.sh" } ], [ "line", "# exit-code.js\n" ], [ "comment", "# exit-code.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# exit code 1 when tap results show failure\n" ], [ "comment", "# exit code 1 when tap results show failure\n" ], [ "line", "# test exits 0, has failures\n" ], [ "comment", "# test exits 0, has failures\n" ], [ "line", "ok 25 should be equal\n" ], [ "assert", { "ok": true, "id": 25, "name": "should be equal" } ], [ "line", "ok 26 should be equal\n" ], [ "assert", { "ok": true, "id": 26, "name": "should be equal" } ], [ "line", "# test exits 1, has failures\n" ], [ "comment", "# test exits 1, has failures\n" ], [ "line", "ok 27 should be equal\n" ], [ "assert", { "ok": true, "id": 27, "name": "should be equal" } ], [ "line", "ok 28 should be equal\n" ], [ "assert", { "ok": true, "id": 28, "name": "should be equal" } ], [ "line", "# test exits 1, has no failures\n" ], [ "comment", "# test exits 1, has no failures\n" ], [ "line", "ok 29 should be equal\n" ], [ "assert", { "ok": true, "id": 29, "name": "should be equal" } ], [ "line", "ok 30 should be equal\n" ], [ "assert", { "ok": true, "id": 30, "name": "should be equal" } ], [ "line", "# successes exit 0\n" ], [ "comment", "# successes exit 0\n" ], [ "line", "# test that does nothing, but exits 0\n" ], [ "comment", "# test that does nothing, but exits 0\n" ], [ "line", "ok 31 should be equal\n" ], [ "assert", { "ok": true, "id": 31, "name": "should be equal" } ], [ "line", "ok 32 should be equal\n" ], [ "assert", { "ok": true, "id": 32, "name": "should be equal" } ], [ "line", "# test that succeeds, and exits 0\n" ], [ "comment", "# test that succeeds, and exits 0\n" ], [ "line", "ok 33 should be equal\n" ], [ "assert", { "ok": true, "id": 33, "name": "should be equal" } ], [ "line", "ok 34 should be equal\n" ], [ "assert", { "ok": true, "id": 34, "name": "should be equal" } ], [ "line", "# tests 10\n" ], [ "comment", "# tests 10\n" ], [ "line", "# pass 10\n" ], [ "comment", "# pass 10\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 35 test/exit-code.js\n" ], [ "assert", { "ok": true, "id": 35, "name": "test/exit-code.js" } ], [ "line", "# expose-gc-test.js\n" ], [ "comment", "# expose-gc-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# gc test when the gc isn't there\n" ], [ "comment", "# gc test when the gc isn't there\n" ], [ "line", "ok 36 should be equal\n" ], [ "assert", { "ok": true, "id": 36, "name": "should be equal" } ], [ "line", "# gc test when the gc should be there\n" ], [ "comment", "# gc test when the gc should be there\n" ], [ "line", "# test for gc using --gc\n" ], [ "comment", "# test for gc using --gc\n" ], [ "line", "ok 37 should be equal\n" ], [ "assert", { "ok": true, "id": 37, "name": "should be equal" } ], [ "line", "# test for gc using --expose-gc\n" ], [ "comment", "# test for gc using --expose-gc\n" ], [ "line", "ok 38 should be equal\n" ], [ "assert", { "ok": true, "id": 38, "name": "should be equal" } ], [ "line", "# cleanup\n" ], [ "comment", "# cleanup\n" ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 39 test/expose-gc-test.js\n" ], [ "assert", { "ok": true, "id": 39, "name": "test/expose-gc-test.js" } ], [ "line", "# global-harness-async.js\n" ], [ "comment", "# global-harness-async.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# outer\n" ], [ "comment", "# outer\n" ], [ "line", "# inner 1\n" ], [ "comment", "# inner 1\n" ], [ "line", "ok 40 1-1\n" ], [ "assert", { "ok": true, "id": 40, "name": "1-1" } ], [ "line", "# inner 2\n" ], [ "comment", "# inner 2\n" ], [ "line", "ok 41 2-1\n" ], [ "assert", { "ok": true, "id": 41, "name": "2-1" } ], [ "line", "# inner 3\n" ], [ "comment", "# inner 3\n" ], [ "line", "ok 42 3-1\n" ], [ "assert", { "ok": true, "id": 42, "name": "3-1" } ], [ "line", "ok 43 test/global-harness-async.js\n" ], [ "assert", { "ok": true, "id": 43, "name": "test/global-harness-async.js" } ], [ "line", "# independent-timeouts.js\n" ], [ "comment", "# independent-timeouts.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# finishes in time\n" ], [ "comment", "# finishes in time\n" ], [ "line", "# finishes in time too\n" ], [ "comment", "# finishes in time too\n" ], [ "line", "# tests 0\n" ], [ "comment", "# tests 0\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 44 test/independent-timeouts.js\n" ], [ "assert", { "ok": true, "id": 44, "name": "test/independent-timeouts.js" } ], [ "line", "# isolated-conf-test.js\n" ], [ "comment", "# isolated-conf-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# one\n" ], [ "comment", "# one\n" ], [ "line", "ok 45 should be equal\n" ], [ "assert", { "ok": true, "id": 45, "name": "should be equal" } ], [ "line", "ok 46 should be equal\n" ], [ "assert", { "ok": true, "id": 46, "name": "should be equal" } ], [ "line", "# two\n" ], [ "comment", "# two\n" ], [ "line", "ok 47 should be equal\n" ], [ "assert", { "ok": true, "id": 47, "name": "should be equal" } ], [ "line", "ok 48 should be equal\n" ], [ "assert", { "ok": true, "id": 48, "name": "should be equal" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 49 test/isolated-conf-test.js\n" ], [ "assert", { "ok": true, "id": 49, "name": "test/isolated-conf-test.js" } ], [ "line", "# meta-test.js\n" ], [ "comment", "# meta-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# meta test\n" ], [ "comment", "# meta test\n" ], [ "line", "ok 50 sanity check\n" ], [ "assert", { "ok": true, "id": 50, "name": "sanity check" } ], [ "line", "ok 51 not ok\n" ], [ "assert", { "ok": true, "id": 51, "name": "not ok" } ], [ "line", "ok 52 total test count\n" ], [ "assert", { "ok": true, "id": 52, "name": "total test count" } ], [ "line", "ok 53 tests passed\n" ], [ "assert", { "ok": true, "id": 53, "name": "tests passed" } ], [ "line", "ok 54 tests failed\n" ], [ "assert", { "ok": true, "id": 54, "name": "tests failed" } ], [ "line", "ok 55 ok is boolean\n" ], [ "assert", { "ok": true, "id": 55, "name": "ok is boolean" } ], [ "line", "ok 56 skip is number\n" ], [ "assert", { "ok": true, "id": 56, "name": "skip is number" } ], [ "line", "ok 57 results isa Results\n" ], [ "assert", { "ok": true, "id": 57, "name": "results isa Results" } ], [ "line", "ok 58 test isa Test\n" ], [ "assert", { "ok": true, "id": 58, "name": "test isa Test" } ], [ "line", "ok 59 test isa Harness\n" ], [ "assert", { "ok": true, "id": 59, "name": "test isa Harness" } ], [ "line", "# tests 10\n" ], [ "comment", "# tests 10\n" ], [ "line", "# pass 10\n" ], [ "comment", "# pass 10\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 60 test/meta-test.js\n" ], [ "assert", { "ok": true, "id": 60, "name": "test/meta-test.js" } ], [ "line", "# nested-async.js\n" ], [ "comment", "# nested-async.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# Harness async test support\n" ], [ "comment", "# Harness async test support\n" ], [ "line", "ok 61 sync child A\n" ], [ "assert", { "ok": true, "id": 61, "name": "sync child A" } ], [ "line", "# sync child B\n" ], [ "comment", "# sync child B\n" ], [ "line", "# async grandchild A\n" ], [ "comment", "# async grandchild A\n" ], [ "line", "ok 62 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 62, "name": "(unnamed assert)" } ], [ "line", "# async grandchild B\n" ], [ "comment", "# async grandchild B\n" ], [ "line", "ok 63 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 63, "name": "(unnamed assert)" } ], [ "line", "# async child\n" ], [ "comment", "# async child\n" ], [ "line", "ok 64 sync grandchild in async child A\n" ], [ "assert", { "ok": true, "id": 64, "name": "sync grandchild in async child A" } ], [ "line", "# sync grandchild in async child B\n" ], [ "comment", "# sync grandchild in async child B\n" ], [ "line", "ok 65 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 65, "name": "(unnamed assert)" } ], [ "line", "# tests 5\n" ], [ "comment", "# tests 5\n" ], [ "line", "# pass 5\n" ], [ "comment", "# pass 5\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 66 test/nested-async.js\n" ], [ "assert", { "ok": true, "id": 66, "name": "test/nested-async.js" } ], [ "line", "# nested-test.js\n" ], [ "comment", "# nested-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# parent\n" ], [ "comment", "# parent\n" ], [ "line", "ok 67 p test\n" ], [ "assert", { "ok": true, "id": 67, "name": "p test" } ], [ "line", "# subtest\n" ], [ "comment", "# subtest\n" ], [ "line", "ok 68 ch test\n" ], [ "assert", { "ok": true, "id": 68, "name": "ch test" } ], [ "line", "# nested subtest\n" ], [ "comment", "# nested subtest\n" ], [ "line", "ok 69 grch test\n" ], [ "assert", { "ok": true, "id": 69, "name": "grch test" } ], [ "line", "# another subtest\n" ], [ "comment", "# another subtest\n" ], [ "line", "ok 70 ch test 2\n" ], [ "assert", { "ok": true, "id": 70, "name": "ch test 2" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 71 test/nested-test.js\n" ], [ "assert", { "ok": true, "id": 71, "name": "test/nested-test.js" } ], [ "line", "# non-tap-output.js\n" ], [ "comment", "# non-tap-output.js\n" ], [ "line", "# everything is fine\n" ], [ "comment", "# everything is fine\n" ], [ "line", "# there are no errors\n" ], [ "comment", "# there are no errors\n" ], [ "line", "# this output is not haiku.\n" ], [ "comment", "# this output is not haiku.\n" ], [ "line", "# is 8 ok?\n" ], [ "comment", "# is 8 ok?\n" ], [ "line", "ok 72 , 8 can stay.\n" ], [ "assert", { "ok": true, "id": 72, "name": ", 8 can stay." } ], [ "line", "# but: nevertheless, here we are\n" ], [ "comment", "# but: nevertheless, here we are\n" ], [ "line", "# this: is indented\n" ], [ "comment", "# this: is indented\n" ], [ "line", "# and: it\n" ], [ "comment", "# and: it\n" ], [ "line", "# might: ~\n" ], [ "comment", "# might: ~\n" ], [ "line", "# be: yaml?\n" ], [ "comment", "# be: yaml?\n" ], [ "line", "ok 73 might be confusing\n" ], [ "assert", { "ok": true, "id": 73, "name": "might be confusing" } ], [ "line", "ok 74 done now, exiting\n" ], [ "assert", { "ok": true, "id": 74, "name": "done now, exiting" } ], [ "line", "ok 75 test/non-tap-output.js\n" ], [ "assert", { "ok": true, "id": 75, "name": "test/non-tap-output.js" } ], [ "line", "# not-executed.sh\n" ], [ "comment", "# not-executed.sh\n" ], [ "line", "# output-childtest-description.js\n" ], [ "comment", "# output-childtest-description.js\n" ], [ "line", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\n" ], [ "comment", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# nested tests, parent and child pass\n" ], [ "comment", "# nested tests, parent and child pass\n" ], [ "line", "ok 76 outputs parent description\n" ], [ "assert", { "ok": true, "id": 76, "name": "outputs parent description" } ], [ "line", "ok 77 outputs child description\n" ], [ "assert", { "ok": true, "id": 77, "name": "outputs child description" } ], [ "line", "ok 78 outputs parent description before parent result\n" ], [ "assert", { "ok": true, "id": 78, "name": "outputs parent description before parent result" } ], [ "line", "ok 79 outputs parent result before child description\n" ], [ "assert", { "ok": true, "id": 79, "name": "outputs parent result before child description" } ], [ "line", "ok 80 outputs child description before child result\n" ], [ "assert", { "ok": true, "id": 80, "name": "outputs child description before child result" } ], [ "line", "# tests 5\n" ], [ "comment", "# tests 5\n" ], [ "line", "# pass 5\n" ], [ "comment", "# pass 5\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 81 test/output-childtest-description.js\n" ], [ "assert", { "ok": true, "id": 81, "name": "test/output-childtest-description.js" } ], [ "line", "# result-trap.js\n" ], [ "comment", "# result-trap.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trap result\n" ], [ "comment", "# trap result\n" ], [ "line", "ok 82 should be equal\n" ], [ "assert", { "ok": true, "id": 82, "name": "should be equal" } ], [ "line", "ok 83 should be equal\n" ], [ "assert", { "ok": true, "id": 83, "name": "should be equal" } ], [ "line", "# tests 2\n" ], [ "comment", "# tests 2\n" ], [ "line", "# pass 2\n" ], [ "comment", "# pass 2\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 84 test/result-trap.js\n" ], [ "assert", { "ok": true, "id": 84, "name": "test/result-trap.js" } ], [ "line", "# segv.js\n" ], [ "comment", "# segv.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# setup\n" ], [ "comment", "# setup\n" ], [ "line", "ok 85 compiled seg faulter\n" ], [ "assert", { "ok": true, "id": 85, "name": "compiled seg faulter" } ], [ "line", "# segv\n" ], [ "comment", "# segv\n" ], [ "line", "ok 86 should be equivalent\n" ], [ "assert", { "ok": true, "id": 86, "name": "should be equivalent" } ], [ "line", "ok 87 should be equivalent\n" ], [ "assert", { "ok": true, "id": 87, "name": "should be equivalent" } ], [ "line", "ok 88 should be equivalent\n" ], [ "assert", { "ok": true, "id": 88, "name": "should be equivalent" } ], [ "line", "ok 89 should be equivalent\n" ], [ "assert", { "ok": true, "id": 89, "name": "should be equivalent" } ], [ "line", "ok 90 should be equivalent\n" ], [ "assert", { "ok": true, "id": 90, "name": "should be equivalent" } ], [ "line", "ok 91 should be equal\n" ], [ "assert", { "ok": true, "id": 91, "name": "should be equal" } ], [ "line", "# cleanup\n" ], [ "comment", "# cleanup\n" ], [ "line", "ok 92 cleaned up\n" ], [ "assert", { "ok": true, "id": 92, "name": "cleaned up" } ], [ "line", "# tests 8\n" ], [ "comment", "# tests 8\n" ], [ "line", "# pass 8\n" ], [ "comment", "# pass 8\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 93 test/segv.js\n" ], [ "assert", { "ok": true, "id": 93, "name": "test/segv.js" } ], [ "line", "# simple-harness-test-with-plan.js\n" ], [ "comment", "# simple-harness-test-with-plan.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trivial success\n" ], [ "comment", "# trivial success\n" ], [ "line", "ok 94 it works\n" ], [ "assert", { "ok": true, "id": 94, "name": "it works" } ], [ "line", "# two tests\n" ], [ "comment", "# two tests\n" ], [ "line", "ok 95 math should work\n" ], [ "assert", { "ok": true, "id": 95, "name": "math should work" } ], [ "line", "ok 96 false should not be ok\n" ], [ "assert", { "ok": true, "id": 96, "name": "false should not be ok" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 97 test/simple-harness-test-with-plan.js\n" ], [ "assert", { "ok": true, "id": 97, "name": "test/simple-harness-test-with-plan.js" } ], [ "line", "# simple-harness-test.js\n" ], [ "comment", "# simple-harness-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trivial success\n" ], [ "comment", "# trivial success\n" ], [ "line", "ok 98 it works\n" ], [ "assert", { "ok": true, "id": 98, "name": "it works" } ], [ "line", "# two tests\n" ], [ "comment", "# two tests\n" ], [ "line", "ok 99 math should work\n" ], [ "assert", { "ok": true, "id": 99, "name": "math should work" } ], [ "line", "ok 100 false should not be ok\n" ], [ "assert", { "ok": true, "id": 100, "name": "false should not be ok" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 101 test/simple-harness-test.js\n" ], [ "assert", { "ok": true, "id": 101, "name": "test/simple-harness-test.js" } ], [ "line", "# test-assert-todo-skip.js\n" ], [ "comment", "# test-assert-todo-skip.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# not much\n" ], [ "comment", "# not much\n" ], [ "line", "ok 102 always passes # SKIP skip it good\n" ], [ "assert", { "ok": true, "id": 102, "skip": "skip it good", "name": "always passes" } ], [ "line", "ok 103 false # SKIP always fails\n" ], [ "assert", { "ok": true, "id": 103, "skip": "always fails", "name": "false" } ], [ "line", "ok 104 bonus # TODO remove todo directive\n" ], [ "assert", { "ok": true, "id": 104, "todo": "remove todo directive", "name": "bonus" } ], [ "line", "ok 105 expected # TODO implement a thing\n" ], [ "assert", { "ok": true, "id": 105, "todo": "implement a thing", "name": "expected" } ], [ "line", "ok 106 always passes without explanation # SKIP \n" ], [ "assert", { "ok": true, "id": 106, "skip": true, "name": "always passes without explanation" } ], [ "line", "ok 107 false without explanation # SKIP \n" ], [ "assert", { "ok": true, "id": 107, "skip": true, "name": "false without explanation" } ], [ "line", "ok 108 bonus without explanation # TODO \n" ], [ "assert", { "ok": true, "id": 108, "todo": true, "name": "bonus without explanation" } ], [ "line", "ok 109 expected without explanation # TODO \n" ], [ "assert", { "ok": true, "id": 109, "todo": true, "name": "expected without explanation" } ], [ "line", "# tests 8\n" ], [ "comment", "# tests 8\n" ], [ "line", "# skip 4\n" ], [ "comment", "# skip 4\n" ], [ "line", "# todo 4\n" ], [ "comment", "# todo 4\n" ], [ "line", "ok 110 test/test-assert-todo-skip.js\n" ], [ "assert", { "ok": true, "id": 110, "name": "test/test-assert-todo-skip.js" } ], [ "line", "# test-descriptions.js\n" ], [ "comment", "# test-descriptions.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# captures test descriptions\n" ], [ "comment", "# captures test descriptions\n" ], [ "line", "ok 111 exit cleanly\n" ], [ "assert", { "ok": true, "id": 111, "name": "exit cleanly" } ], [ "line", "ok 112 captures SKIP description\n" ], [ "assert", { "ok": true, "id": 112, "name": "captures SKIP description" } ], [ "line", "ok 113 skip summary is not from file\n" ], [ "assert", { "ok": true, "id": 113, "name": "skip summary is not from file" } ], [ "line", "ok 114 todo summary is not from file\n" ], [ "assert", { "ok": true, "id": 114, "name": "todo summary is not from file" } ], [ "line", "not ok 115 captures TODO description\n" ], [ "line", " ---\n" ], [ "line", " file: child_process.js\n" ], [ "line", " line: 707\n" ], [ "line", " column: 7\n" ], [ "line", " stack: \n" ], [ "line", " - |\n" ], [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n" ], [ "line", " - |\n" ], [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n" ], [ "line", " - |\n" ], [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n" ], [ "line", " - |\n" ], [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.exithandler (child_process.js:707:7)\n" ], [ "line", " - |\n" ], [ "line", " emitTwo (events.js:87:13)\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.emit (events.js:169:7)\n" ], [ "line", " - |\n" ], [ "line", " maybeClose (child_process.js:984:16)\n" ], [ "line", " - |\n" ], [ "line", " Socket. (child_process.js:1153:11)\n" ], [ "line", " - |\n" ], [ "line", " emitOne (events.js:77:13)\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 115, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Socket. (child_process.js:1153:11)\n", "emitOne (events.js:77:13)\n" ] } } ], [ "line", "ok 116 exit cleanly\n" ], [ "assert", { "ok": true, "id": 116, "name": "exit cleanly" } ], [ "line", "ok 117 captures SKIP description\n" ], [ "assert", { "ok": true, "id": 117, "name": "captures SKIP description" } ], [ "line", "ok 118 skip summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 118, "name": "skip summary is not in TAP output" } ], [ "line", "ok 119 todo summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 119, "name": "todo summary is not in TAP output" } ], [ "line", "not ok 120 captures TODO description\n" ], [ "line", " ---\n" ], [ "line", " file: child_process.js\n" ], [ "line", " line: 707\n" ], [ "line", " column: 7\n" ], [ "line", " stack: \n" ], [ "line", " - |\n" ], [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n" ], [ "line", " - |\n" ], [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n" ], [ "line", " - |\n" ], [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n" ], [ "line", " - |\n" ], [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:18:7\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.exithandler (child_process.js:707:7)\n" ], [ "line", " - |\n" ], [ "line", " emitTwo (events.js:87:13)\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.emit (events.js:169:7)\n" ], [ "line", " - |\n" ], [ "line", " maybeClose (child_process.js:984:16)\n" ], [ "line", " - |\n" ], [ "line", " Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 120, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:18:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } } ], [ "line", "ok 121 exit cleanly\n" ], [ "assert", { "ok": true, "id": 121, "name": "exit cleanly" } ], [ "line", "not ok 122 summarizes skipped count\n" ], [ "line", " ---\n" ], [ "line", " file: child_process.js\n" ], [ "line", " line: 707\n" ], [ "line", " column: 7\n" ], [ "line", " stack: \n" ], [ "line", " - |\n" ], [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n" ], [ "line", " - |\n" ], [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n" ], [ "line", " - |\n" ], [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n" ], [ "line", " - |\n" ], [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:23:7\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.exithandler (child_process.js:707:7)\n" ], [ "line", " - |\n" ], [ "line", " emitTwo (events.js:87:13)\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.emit (events.js:169:7)\n" ], [ "line", " - |\n" ], [ "line", " maybeClose (child_process.js:984:16)\n" ], [ "line", " - |\n" ], [ "line", " Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 122, "name": "summarizes skipped count", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:23:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } } ], [ "line", "not ok 123 summarizes todo count\n" ], [ "line", " ---\n" ], [ "line", " file: child_process.js\n" ], [ "line", " line: 707\n" ], [ "line", " column: 7\n" ], [ "line", " stack: \n" ], [ "line", " - |\n" ], [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n" ], [ "line", " - |\n" ], [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n" ], [ "line", " - |\n" ], [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n" ], [ "line", " - |\n" ], [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:24:7\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.exithandler (child_process.js:707:7)\n" ], [ "line", " - |\n" ], [ "line", " emitTwo (events.js:87:13)\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.emit (events.js:169:7)\n" ], [ "line", " - |\n" ], [ "line", " maybeClose (child_process.js:984:16)\n" ], [ "line", " - |\n" ], [ "line", " Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 123, "name": "summarizes todo count", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:24:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } } ], [ "line", "# tests 13\n" ], [ "comment", "# tests 13\n" ], [ "line", "# pass 9\n" ], [ "comment", "# pass 9\n" ], [ "line", "# fail 4\n" ], [ "comment", "# fail 4\n" ], [ "line", "not ok 124 test/test-descriptions.js\n" ], [ "line", " ---\n" ], [ "line", " exit: 1\n" ], [ "line", " command: \"/usr/local/bin/iojs test-descriptions.js\"\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 124, "name": "test/test-descriptions.js", "diag": { "exit": 1, "command": "/usr/local/bin/iojs test-descriptions.js" } } ], [ "line", "# test-directives.js\n" ], [ "comment", "# test-directives.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# captures test descriptions\n" ], [ "comment", "# captures test descriptions\n" ], [ "line", "# raw TAP > TAP consumer > TAP producer\n" ], [ "comment", "# raw TAP > TAP consumer > TAP producer\n" ], [ "line", "ok 125 overall result is PASS\n" ], [ "assert", { "ok": true, "id": 125, "name": "overall result is PASS" } ], [ "line", "ok 126 captures ok SKIP\n" ], [ "assert", { "ok": true, "id": 126, "name": "captures ok SKIP" } ], [ "line", "ok 127 captures not ok SKIP\n" ], [ "assert", { "ok": true, "id": 127, "name": "captures not ok SKIP" } ], [ "line", "ok 128 skip summary not in TAP output\n" ], [ "assert", { "ok": true, "id": 128, "name": "skip summary not in TAP output" } ], [ "line", "ok 129 captures ok TODO\n" ], [ "assert", { "ok": true, "id": 129, "name": "captures ok TODO" } ], [ "line", "ok 130 captures not ok TODO\n" ], [ "assert", { "ok": true, "id": 130, "name": "captures not ok TODO" } ], [ "line", "ok 131 todo summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 131, "name": "todo summary is not in TAP output" } ], [ "line", "ok 132 no ugly \"undefined\" in output\n" ], [ "assert", { "ok": true, "id": 132, "name": "no ugly \"undefined\" in output" } ], [ "line", "# raw TAP > TAP consumer > summary\n" ], [ "comment", "# raw TAP > TAP consumer > summary\n" ], [ "line", "ok 133 overall result is PASS\n" ], [ "assert", { "ok": true, "id": 133, "name": "overall result is PASS" } ], [ "line", "ok 134 no SKIP in summary\n" ], [ "assert", { "ok": true, "id": 134, "name": "no SKIP in summary" } ], [ "line", "ok 135 skip summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 135, "name": "skip summary is not in TAP output" } ], [ "line", "ok 136 no TODO in summary\n" ], [ "assert", { "ok": true, "id": 136, "name": "no TODO in summary" } ], [ "line", "ok 137 todo summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 137, "name": "todo summary is not in TAP output" } ], [ "line", "ok 138 no ugly \"undefined\" in output\n" ], [ "assert", { "ok": true, "id": 138, "name": "no ugly \"undefined\" in output" } ], [ "line", "# TAP producer via require(\"tap\")\n" ], [ "comment", "# TAP producer via require(\"tap\")\n" ], [ "line", "ok 139 overall result is PASS\n" ], [ "assert", { "ok": true, "id": 139, "name": "overall result is PASS" } ], [ "line", "ok 140 captures ok SKIP\n" ], [ "assert", { "ok": true, "id": 140, "name": "captures ok SKIP" } ], [ "line", "ok 141 captures not ok SKIP\n" ], [ "assert", { "ok": true, "id": 141, "name": "captures not ok SKIP" } ], [ "line", "ok 142 skip summary not in TAP output\n" ], [ "assert", { "ok": true, "id": 142, "name": "skip summary not in TAP output" } ], [ "line", "ok 143 captures ok TODO\n" ], [ "assert", { "ok": true, "id": 143, "name": "captures ok TODO" } ], [ "line", "ok 144 captures not ok TODO\n" ], [ "assert", { "ok": true, "id": 144, "name": "captures not ok TODO" } ], [ "line", "ok 145 todo summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 145, "name": "todo summary is not in TAP output" } ], [ "line", "ok 146 no ugly \"undefined\" in output\n" ], [ "assert", { "ok": true, "id": 146, "name": "no ugly \"undefined\" in output" } ], [ "line", "# tests 22\n" ], [ "comment", "# tests 22\n" ], [ "line", "# pass 22\n" ], [ "comment", "# pass 22\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 147 test/test-directives.js\n" ], [ "assert", { "ok": true, "id": 147, "name": "test/test-directives.js" } ], [ "line", "# test-skip.js\n" ], [ "comment", "# test-skip.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "ok 148 does not count as failure # SKIP \n" ], [ "assert", { "ok": true, "id": 148, "skip": true, "name": "does not count as failure" } ], [ "line", "# tests 1\n" ], [ "comment", "# tests 1\n" ], [ "line", "# skip 1\n" ], [ "comment", "# skip 1\n" ], [ "line", "ok 149 test/test-skip.js\n" ], [ "assert", { "ok": true, "id": 149, "name": "test/test-skip.js" } ], [ "line", "# test-test.js\n" ], [ "comment", "# test-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# testing the test object\n" ], [ "comment", "# testing the test object\n" ], [ "line", "ok 150 test object should be instanceof Test\n" ], [ "assert", { "ok": true, "id": 150, "name": "test object should be instanceof Test" } ], [ "line", "ok 151 test object should be instanceof Harness\n" ], [ "assert", { "ok": true, "id": 151, "name": "test object should be instanceof Harness" } ], [ "line", "ok 152 test._Test should be the Test class\n" ], [ "assert", { "ok": true, "id": 152, "name": "test._Test should be the Test class" } ], [ "line", "ok 153 should have isNotDeepEqual method\n" ], [ "assert", { "ok": true, "id": 153, "name": "should have isNotDeepEqual method" } ], [ "line", "ok 154 isNotDeepEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 154, "name": "isNotDeepEqual method should be a function" } ], [ "line", "ok 155 should have equals method\n" ], [ "assert", { "ok": true, "id": 155, "name": "should have equals method" } ], [ "line", "ok 156 equals method should be a function\n" ], [ "assert", { "ok": true, "id": 156, "name": "equals method should be a function" } ], [ "line", "ok 157 should have inequivalent method\n" ], [ "assert", { "ok": true, "id": 157, "name": "should have inequivalent method" } ], [ "line", "ok 158 inequivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 158, "name": "inequivalent method should be a function" } ], [ "line", "ok 159 should have threw method\n" ], [ "assert", { "ok": true, "id": 159, "name": "should have threw method" } ], [ "line", "ok 160 threw method should be a function\n" ], [ "assert", { "ok": true, "id": 160, "name": "threw method should be a function" } ], [ "line", "ok 161 should have strictEqual method\n" ], [ "assert", { "ok": true, "id": 161, "name": "should have strictEqual method" } ], [ "line", "ok 162 strictEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 162, "name": "strictEqual method should be a function" } ], [ "line", "ok 163 should have emit method\n" ], [ "assert", { "ok": true, "id": 163, "name": "should have emit method" } ], [ "line", "ok 164 emit method should be a function\n" ], [ "assert", { "ok": true, "id": 164, "name": "emit method should be a function" } ], [ "line", "ok 165 should have fail method\n" ], [ "assert", { "ok": true, "id": 165, "name": "should have fail method" } ], [ "line", "ok 166 fail method should be a function\n" ], [ "assert", { "ok": true, "id": 166, "name": "fail method should be a function" } ], [ "line", "ok 167 should have strictEquals method\n" ], [ "assert", { "ok": true, "id": 167, "name": "should have strictEquals method" } ], [ "line", "ok 168 strictEquals method should be a function\n" ], [ "assert", { "ok": true, "id": 168, "name": "strictEquals method should be a function" } ], [ "line", "ok 169 should have notLike method\n" ], [ "assert", { "ok": true, "id": 169, "name": "should have notLike method" } ], [ "line", "ok 170 notLike method should be a function\n" ], [ "assert", { "ok": true, "id": 170, "name": "notLike method should be a function" } ], [ "line", "ok 171 should have dissimilar method\n" ], [ "assert", { "ok": true, "id": 171, "name": "should have dissimilar method" } ], [ "line", "ok 172 dissimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 172, "name": "dissimilar method should be a function" } ], [ "line", "ok 173 should have true method\n" ], [ "assert", { "ok": true, "id": 173, "name": "should have true method" } ], [ "line", "ok 174 true method should be a function\n" ], [ "assert", { "ok": true, "id": 174, "name": "true method should be a function" } ], [ "line", "ok 175 should have assert method\n" ], [ "assert", { "ok": true, "id": 175, "name": "should have assert method" } ], [ "line", "ok 176 assert method should be a function\n" ], [ "assert", { "ok": true, "id": 176, "name": "assert method should be a function" } ], [ "line", "ok 177 should have is method\n" ], [ "assert", { "ok": true, "id": 177, "name": "should have is method" } ], [ "line", "ok 178 is method should be a function\n" ], [ "assert", { "ok": true, "id": 178, "name": "is method should be a function" } ], [ "line", "ok 179 should have ok method\n" ], [ "assert", { "ok": true, "id": 179, "name": "should have ok method" } ], [ "line", "ok 180 ok method should be a function\n" ], [ "assert", { "ok": true, "id": 180, "name": "ok method should be a function" } ], [ "line", "ok 181 should have isEqual method\n" ], [ "assert", { "ok": true, "id": 181, "name": "should have isEqual method" } ], [ "line", "ok 182 isEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 182, "name": "isEqual method should be a function" } ], [ "line", "ok 183 should have isDeeply method\n" ], [ "assert", { "ok": true, "id": 183, "name": "should have isDeeply method" } ], [ "line", "ok 184 isDeeply method should be a function\n" ], [ "assert", { "ok": true, "id": 184, "name": "isDeeply method should be a function" } ], [ "line", "ok 185 should have deepEqual method\n" ], [ "assert", { "ok": true, "id": 185, "name": "should have deepEqual method" } ], [ "line", "ok 186 deepEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 186, "name": "deepEqual method should be a function" } ], [ "line", "ok 187 should have deepEquals method\n" ], [ "assert", { "ok": true, "id": 187, "name": "should have deepEquals method" } ], [ "line", "ok 188 deepEquals method should be a function\n" ], [ "assert", { "ok": true, "id": 188, "name": "deepEquals method should be a function" } ], [ "line", "ok 189 should have pass method\n" ], [ "assert", { "ok": true, "id": 189, "name": "should have pass method" } ], [ "line", "ok 190 pass method should be a function\n" ], [ "assert", { "ok": true, "id": 190, "name": "pass method should be a function" } ], [ "line", "ok 191 should have length method\n" ], [ "assert", { "ok": true, "id": 191, "name": "should have length method" } ], [ "line", "ok 192 length method should be a function\n" ], [ "assert", { "ok": true, "id": 192, "name": "length method should be a function" } ], [ "line", "ok 193 should have skip method\n" ], [ "assert", { "ok": true, "id": 193, "name": "should have skip method" } ], [ "line", "ok 194 skip method should be a function\n" ], [ "assert", { "ok": true, "id": 194, "name": "skip method should be a function" } ], [ "line", "ok 195 should have isNotEqual method\n" ], [ "assert", { "ok": true, "id": 195, "name": "should have isNotEqual method" } ], [ "line", "ok 196 isNotEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 196, "name": "isNotEqual method should be a function" } ], [ "line", "ok 197 should have looseEquals method\n" ], [ "assert", { "ok": true, "id": 197, "name": "should have looseEquals method" } ], [ "line", "ok 198 looseEquals method should be a function\n" ], [ "assert", { "ok": true, "id": 198, "name": "looseEquals method should be a function" } ], [ "line", "ok 199 should have false method\n" ], [ "assert", { "ok": true, "id": 199, "name": "should have false method" } ], [ "line", "ok 200 false method should be a function\n" ], [ "assert", { "ok": true, "id": 200, "name": "false method should be a function" } ], [ "line", "ok 201 should have notDeeply method\n" ], [ "assert", { "ok": true, "id": 201, "name": "should have notDeeply method" } ], [ "line", "ok 202 notDeeply method should be a function\n" ], [ "assert", { "ok": true, "id": 202, "name": "notDeeply method should be a function" } ], [ "line", "ok 203 should have ifErr method\n" ], [ "assert", { "ok": true, "id": 203, "name": "should have ifErr method" } ], [ "line", "ok 204 ifErr method should be a function\n" ], [ "assert", { "ok": true, "id": 204, "name": "ifErr method should be a function" } ], [ "line", "ok 205 should have hasFields method\n" ], [ "assert", { "ok": true, "id": 205, "name": "should have hasFields method" } ], [ "line", "ok 206 hasFields method should be a function\n" ], [ "assert", { "ok": true, "id": 206, "name": "hasFields method should be a function" } ], [ "line", "ok 207 should have isNotDeeply method\n" ], [ "assert", { "ok": true, "id": 207, "name": "should have isNotDeeply method" } ], [ "line", "ok 208 isNotDeeply method should be a function\n" ], [ "assert", { "ok": true, "id": 208, "name": "isNotDeeply method should be a function" } ], [ "line", "ok 209 should have like method\n" ], [ "assert", { "ok": true, "id": 209, "name": "should have like method" } ], [ "line", "ok 210 like method should be a function\n" ], [ "assert", { "ok": true, "id": 210, "name": "like method should be a function" } ], [ "line", "ok 211 should have similar method\n" ], [ "assert", { "ok": true, "id": 211, "name": "should have similar method" } ], [ "line", "ok 212 similar method should be a function\n" ], [ "assert", { "ok": true, "id": 212, "name": "similar method should be a function" } ], [ "line", "ok 213 should have notOk method\n" ], [ "assert", { "ok": true, "id": 213, "name": "should have notOk method" } ], [ "line", "ok 214 notOk method should be a function\n" ], [ "assert", { "ok": true, "id": 214, "name": "notOk method should be a function" } ], [ "line", "ok 215 should have isDissimilar method\n" ], [ "assert", { "ok": true, "id": 215, "name": "should have isDissimilar method" } ], [ "line", "ok 216 isDissimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 216, "name": "isDissimilar method should be a function" } ], [ "line", "ok 217 should have isEquivalent method\n" ], [ "assert", { "ok": true, "id": 217, "name": "should have isEquivalent method" } ], [ "line", "ok 218 isEquivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 218, "name": "isEquivalent method should be a function" } ], [ "line", "ok 219 should have doesNotEqual method\n" ], [ "assert", { "ok": true, "id": 219, "name": "should have doesNotEqual method" } ], [ "line", "ok 220 doesNotEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 220, "name": "doesNotEqual method should be a function" } ], [ "line", "ok 221 should have isSimilar method\n" ], [ "assert", { "ok": true, "id": 221, "name": "should have isSimilar method" } ], [ "line", "ok 222 isSimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 222, "name": "isSimilar method should be a function" } ], [ "line", "ok 223 should have notDeepEqual method\n" ], [ "assert", { "ok": true, "id": 223, "name": "should have notDeepEqual method" } ], [ "line", "ok 224 notDeepEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 224, "name": "notDeepEqual method should be a function" } ], [ "line", "ok 225 should have type method\n" ], [ "assert", { "ok": true, "id": 225, "name": "should have type method" } ], [ "line", "ok 226 type method should be a function\n" ], [ "assert", { "ok": true, "id": 226, "name": "type method should be a function" } ], [ "line", "ok 227 should have notok method\n" ], [ "assert", { "ok": true, "id": 227, "name": "should have notok method" } ], [ "line", "ok 228 notok method should be a function\n" ], [ "assert", { "ok": true, "id": 228, "name": "notok method should be a function" } ], [ "line", "ok 229 should have isInequivalent method\n" ], [ "assert", { "ok": true, "id": 229, "name": "should have isInequivalent method" } ], [ "line", "ok 230 isInequivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 230, "name": "isInequivalent method should be a function" } ], [ "line", "ok 231 should have isNot method\n" ], [ "assert", { "ok": true, "id": 231, "name": "should have isNot method" } ], [ "line", "ok 232 isNot method should be a function\n" ], [ "assert", { "ok": true, "id": 232, "name": "isNot method should be a function" } ], [ "line", "ok 233 should have same method\n" ], [ "assert", { "ok": true, "id": 233, "name": "should have same method" } ], [ "line", "ok 234 same method should be a function\n" ], [ "assert", { "ok": true, "id": 234, "name": "same method should be a function" } ], [ "line", "ok 235 should have isInequal method\n" ], [ "assert", { "ok": true, "id": 235, "name": "should have isInequal method" } ], [ "line", "ok 236 isInequal method should be a function\n" ], [ "assert", { "ok": true, "id": 236, "name": "isInequal method should be a function" } ], [ "line", "ok 237 should have _endNice method\n" ], [ "assert", { "ok": true, "id": 237, "name": "should have _endNice method" } ], [ "line", "ok 238 _endNice method should be a function\n" ], [ "assert", { "ok": true, "id": 238, "name": "_endNice method should be a function" } ], [ "line", "ok 239 should have ifError method\n" ], [ "assert", { "ok": true, "id": 239, "name": "should have ifError method" } ], [ "line", "ok 240 ifError method should be a function\n" ], [ "assert", { "ok": true, "id": 240, "name": "ifError method should be a function" } ], [ "line", "ok 241 should have iferror method\n" ], [ "assert", { "ok": true, "id": 241, "name": "should have iferror method" } ], [ "line", "ok 242 iferror method should be a function\n" ], [ "assert", { "ok": true, "id": 242, "name": "iferror method should be a function" } ], [ "line", "ok 243 should have clear method\n" ], [ "assert", { "ok": true, "id": 243, "name": "should have clear method" } ], [ "line", "ok 244 clear method should be a function\n" ], [ "assert", { "ok": true, "id": 244, "name": "clear method should be a function" } ], [ "line", "ok 245 should have has method\n" ], [ "assert", { "ok": true, "id": 245, "name": "should have has method" } ], [ "line", "ok 246 has method should be a function\n" ], [ "assert", { "ok": true, "id": 246, "name": "has method should be a function" } ], [ "line", "ok 247 should have not method\n" ], [ "assert", { "ok": true, "id": 247, "name": "should have not method" } ], [ "line", "ok 248 not method should be a function\n" ], [ "assert", { "ok": true, "id": 248, "name": "not method should be a function" } ], [ "line", "ok 249 should have timeout method\n" ], [ "assert", { "ok": true, "id": 249, "name": "should have timeout method" } ], [ "line", "ok 250 timeout method should be a function\n" ], [ "assert", { "ok": true, "id": 250, "name": "timeout method should be a function" } ], [ "line", "ok 251 should have notSimilar method\n" ], [ "assert", { "ok": true, "id": 251, "name": "should have notSimilar method" } ], [ "line", "ok 252 notSimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 252, "name": "notSimilar method should be a function" } ], [ "line", "ok 253 should have isUnlike method\n" ], [ "assert", { "ok": true, "id": 253, "name": "should have isUnlike method" } ], [ "line", "ok 254 isUnlike method should be a function\n" ], [ "assert", { "ok": true, "id": 254, "name": "isUnlike method should be a function" } ], [ "line", "ok 255 should have notEquals method\n" ], [ "assert", { "ok": true, "id": 255, "name": "should have notEquals method" } ], [ "line", "ok 256 notEquals method should be a function\n" ], [ "assert", { "ok": true, "id": 256, "name": "notEquals method should be a function" } ], [ "line", "ok 257 should have unsimilar method\n" ], [ "assert", { "ok": true, "id": 257, "name": "should have unsimilar method" } ], [ "line", "ok 258 unsimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 258, "name": "unsimilar method should be a function" } ], [ "line", "ok 259 should have result method\n" ], [ "assert", { "ok": true, "id": 259, "name": "should have result method" } ], [ "line", "ok 260 result method should be a function\n" ], [ "assert", { "ok": true, "id": 260, "name": "result method should be a function" } ], [ "line", "ok 261 should have doesNotThrow method\n" ], [ "assert", { "ok": true, "id": 261, "name": "should have doesNotThrow method" } ], [ "line", "ok 262 doesNotThrow method should be a function\n" ], [ "assert", { "ok": true, "id": 262, "name": "doesNotThrow method should be a function" } ], [ "line", "ok 263 should have error method\n" ], [ "assert", { "ok": true, "id": 263, "name": "should have error method" } ], [ "line", "ok 264 error method should be a function\n" ], [ "assert", { "ok": true, "id": 264, "name": "error method should be a function" } ], [ "line", "ok 265 should have constructor method\n" ], [ "assert", { "ok": true, "id": 265, "name": "should have constructor method" } ], [ "line", "ok 266 constructor method should be a function\n" ], [ "assert", { "ok": true, "id": 266, "name": "constructor method should be a function" } ], [ "line", "ok 267 should have notEqual method\n" ], [ "assert", { "ok": true, "id": 267, "name": "should have notEqual method" } ], [ "line", "ok 268 notEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 268, "name": "notEqual method should be a function" } ], [ "line", "ok 269 should have throws method\n" ], [ "assert", { "ok": true, "id": 269, "name": "should have throws method" } ], [ "line", "ok 270 throws method should be a function\n" ], [ "assert", { "ok": true, "id": 270, "name": "throws method should be a function" } ], [ "line", "ok 271 should have isLike method\n" ], [ "assert", { "ok": true, "id": 271, "name": "should have isLike method" } ], [ "line", "ok 272 isLike method should be a function\n" ], [ "assert", { "ok": true, "id": 272, "name": "isLike method should be a function" } ], [ "line", "ok 273 should have isNotSimilar method\n" ], [ "assert", { "ok": true, "id": 273, "name": "should have isNotSimilar method" } ], [ "line", "ok 274 isNotSimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 274, "name": "isNotSimilar method should be a function" } ], [ "line", "ok 275 should have isNotEquivalent method\n" ], [ "assert", { "ok": true, "id": 275, "name": "should have isNotEquivalent method" } ], [ "line", "ok 276 isNotEquivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 276, "name": "isNotEquivalent method should be a function" } ], [ "line", "ok 277 should have inequal method\n" ], [ "assert", { "ok": true, "id": 277, "name": "should have inequal method" } ], [ "line", "ok 278 inequal method should be a function\n" ], [ "assert", { "ok": true, "id": 278, "name": "inequal method should be a function" } ], [ "line", "ok 279 should have notEquivalent method\n" ], [ "assert", { "ok": true, "id": 279, "name": "should have notEquivalent method" } ], [ "line", "ok 280 notEquivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 280, "name": "notEquivalent method should be a function" } ], [ "line", "ok 281 should have isNotLike method\n" ], [ "assert", { "ok": true, "id": 281, "name": "should have isNotLike method" } ], [ "line", "ok 282 isNotLike method should be a function\n" ], [ "assert", { "ok": true, "id": 282, "name": "isNotLike method should be a function" } ], [ "line", "ok 283 should have equivalent method\n" ], [ "assert", { "ok": true, "id": 283, "name": "should have equivalent method" } ], [ "line", "ok 284 equivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 284, "name": "equivalent method should be a function" } ], [ "line", "ok 285 should have looseEqual method\n" ], [ "assert", { "ok": true, "id": 285, "name": "should have looseEqual method" } ], [ "line", "ok 286 looseEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 286, "name": "looseEqual method should be a function" } ], [ "line", "ok 287 should have equal method\n" ], [ "assert", { "ok": true, "id": 287, "name": "should have equal method" } ], [ "line", "ok 288 equal method should be a function\n" ], [ "assert", { "ok": true, "id": 288, "name": "equal method should be a function" } ], [ "line", "ok 289 should have unlike method\n" ], [ "assert", { "ok": true, "id": 289, "name": "should have unlike method" } ], [ "line", "ok 290 unlike method should be a function\n" ], [ "assert", { "ok": true, "id": 290, "name": "unlike method should be a function" } ], [ "line", "ok 291 should have doesNotHave method\n" ], [ "assert", { "ok": true, "id": 291, "name": "should have doesNotHave method" } ], [ "line", "ok 292 doesNotHave method should be a function\n" ], [ "assert", { "ok": true, "id": 292, "name": "doesNotHave method should be a function" } ], [ "line", "ok 293 should have comment method\n" ], [ "assert", { "ok": true, "id": 293, "name": "should have comment method" } ], [ "line", "ok 294 comment method should be a function\n" ], [ "assert", { "ok": true, "id": 294, "name": "comment method should be a function" } ], [ "line", "ok 295 should have isa method\n" ], [ "assert", { "ok": true, "id": 295, "name": "should have isa method" } ], [ "line", "ok 296 isa method should be a function\n" ], [ "assert", { "ok": true, "id": 296, "name": "isa method should be a function" } ], [ "line", "# tests 147\n" ], [ "comment", "# tests 147\n" ], [ "line", "# pass 147\n" ], [ "comment", "# pass 147\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 297 test/test-test.js\n" ], [ "assert", { "ok": true, "id": 297, "name": "test/test-test.js" } ], [ "line", "# timeout.js\n" ], [ "comment", "# timeout.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# timeout test with plan only\n" ], [ "comment", "# timeout test with plan only\n" ], [ "line", "ok 298 a\n" ], [ "assert", { "ok": true, "id": 298, "name": "a" } ], [ "line", "ok 299 b\n" ], [ "assert", { "ok": true, "id": 299, "name": "b" } ], [ "line", "# timeout test with plan and end\n" ], [ "comment", "# timeout test with plan and end\n" ], [ "line", "ok 300 a\n" ], [ "assert", { "ok": true, "id": 300, "name": "a" } ], [ "line", "ok 301 b\n" ], [ "assert", { "ok": true, "id": 301, "name": "b" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 302 test/timeout.js\n" ], [ "assert", { "ok": true, "id": 302, "name": "test/timeout.js" } ], [ "line", "# trivial-success.js\n" ], [ "comment", "# trivial-success.js\n" ], [ "line", "ok 303 test/trivial-success.js\n" ], [ "assert", { "ok": true, "id": 303, "name": "test/trivial-success.js" } ], [ "line", "# undefined_indented.js\n" ], [ "comment", "# undefined_indented.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# consume yaml\n" ], [ "comment", "# consume yaml\n" ], [ "line", "ok 304 should be equivalent\n" ], [ "assert", { "ok": true, "id": 304, "name": "should be equivalent" } ], [ "line", "# tests 1\n" ], [ "comment", "# tests 1\n" ], [ "line", "# pass 1\n" ], [ "comment", "# pass 1\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 305 test/undefined_indented.js\n" ], [ "assert", { "ok": true, "id": 305, "name": "test/undefined_indented.js" } ], [ "line", "# valid-command.js\n" ], [ "comment", "# valid-command.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# valid command\n" ], [ "comment", "# valid command\n" ], [ "line", "ok 306 should be equivalent\n" ], [ "assert", { "ok": true, "id": 306, "name": "should be equivalent" } ], [ "line", "ok 307 should be equivalent\n" ], [ "assert", { "ok": true, "id": 307, "name": "should be equivalent" } ], [ "line", "ok 308 should be equivalent\n" ], [ "assert", { "ok": true, "id": 308, "name": "should be equivalent" } ], [ "line", "ok 309 should be equivalent\n" ], [ "assert", { "ok": true, "id": 309, "name": "should be equivalent" } ], [ "line", "ok 310 should be equivalent\n" ], [ "assert", { "ok": true, "id": 310, "name": "should be equivalent" } ], [ "line", "ok 311 should be equal\n" ], [ "assert", { "ok": true, "id": 311, "name": "should be equal" } ], [ "line", "# tests 6\n" ], [ "comment", "# tests 6\n" ], [ "line", "# pass 6\n" ], [ "comment", "# pass 6\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 312 test/valid-command.js\n" ], [ "assert", { "ok": true, "id": 312, "name": "test/valid-command.js" } ], [ "line", "1..312\n" ], [ "plan", { "start": 1, "end": 312 } ], [ "line", "# tests 312\n" ], [ "comment", "# tests 312\n" ], [ "line", "# pass 298\n" ], [ "comment", "# pass 298\n" ], [ "line", "# fail 5\n" ], [ "comment", "# fail 5\n" ], [ "line", "# skip 5\n" ], [ "comment", "# skip 5\n" ], [ "line", "# todo 4\n" ], [ "comment", "# todo 4\n" ], [ "line", "# failed 5 of 312 tests\n" ], [ "comment", "# failed 5 of 312 tests\n" ], [ "line", "# todo: 4\n" ], [ "comment", "# todo: 4\n" ], [ "line", "# skip: 5\n" ], [ "comment", "# skip: 5\n" ], [ "complete", { "ok": false, "count": 312, "pass": 307, "fail": 5, "bailout": false, "todo": 4, "skip": 5, "plan": { "start": 1, "end": 312, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 115, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Socket. (child_process.js:1153:11)\n", "emitOne (events.js:77:13)\n" ] } }, { "ok": false, "id": 120, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:18:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } }, { "ok": false, "id": 122, "name": "summarizes skipped count", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:23:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } }, { "ok": false, "id": 123, "name": "summarizes todo count", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:24:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } }, { "ok": false, "id": 124, "name": "test/test-descriptions.js", "diag": { "exit": 1, "command": "/usr/local/bin/iojs test-descriptions.js" } } ] } ] ] tap-parser-7.0.0/test/fixtures/tap-tests-stdout--preservewhite.json000066400000000000000000002540121320135610000255250ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# buffer_compare.js\n" ], [ "comment", "# buffer_compare.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# same buffers\n" ], [ "comment", "# same buffers\n" ], [ "line", "ok 1 should be equivalent\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equivalent" } ], [ "line", "# not same buffers\n" ], [ "comment", "# not same buffers\n" ], [ "line", "ok 2 should not be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should not be equivalent" } ], [ "line", "# tests 2\n" ], [ "comment", "# tests 2\n" ], [ "line", "# pass 2\n" ], [ "comment", "# pass 2\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 3 test/buffer_compare.js\n" ], [ "assert", { "ok": true, "id": 3, "name": "test/buffer_compare.js" } ], [ "line", "# common.js\n" ], [ "comment", "# common.js\n" ], [ "line", "ok 4 just setup, nothing relevant\n" ], [ "assert", { "ok": true, "id": 4, "name": "just setup, nothing relevant" } ], [ "line", "ok 5 test/common.js\n" ], [ "assert", { "ok": true, "id": 5, "name": "test/common.js" } ], [ "line", "# consumer.js\n" ], [ "comment", "# consumer.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# basic.tap\n" ], [ "comment", "# basic.tap\n" ], [ "line", "ok 6 should be equivalent\n" ], [ "assert", { "ok": true, "id": 6, "name": "should be equivalent" } ], [ "line", "# indent.tap\n" ], [ "comment", "# indent.tap\n" ], [ "line", "ok 7 should be equivalent\n" ], [ "assert", { "ok": true, "id": 7, "name": "should be equivalent" } ], [ "line", "# missing.tap\n" ], [ "comment", "# missing.tap\n" ], [ "line", "ok 8 should be equivalent\n" ], [ "assert", { "ok": true, "id": 8, "name": "should be equivalent" } ], [ "line", "# skip-all.tap\n" ], [ "comment", "# skip-all.tap\n" ], [ "line", "ok 9 should be equivalent\n" ], [ "assert", { "ok": true, "id": 9, "name": "should be equivalent" } ], [ "line", "# tap-tests.tap\n" ], [ "comment", "# tap-tests.tap\n" ], [ "line", "ok 10 should be equivalent\n" ], [ "assert", { "ok": true, "id": 10, "name": "should be equivalent" } ], [ "line", "# yamlish.tap\n" ], [ "comment", "# yamlish.tap\n" ], [ "line", "ok 11 should be equivalent\n" ], [ "assert", { "ok": true, "id": 11, "name": "should be equivalent" } ], [ "line", "# tests 6\n" ], [ "comment", "# tests 6\n" ], [ "line", "# pass 6\n" ], [ "comment", "# pass 6\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 12 test/consumer.js\n" ], [ "assert", { "ok": true, "id": 12, "name": "test/consumer.js" } ], [ "line", "# debug-test.js\n" ], [ "comment", "# debug-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# debug test\n" ], [ "comment", "# debug test\n" ], [ "line", "ok 13 Should output debugger message\n" ], [ "assert", { "ok": true, "id": 13, "name": "Should output debugger message" } ], [ "line", "# tests 1\n" ], [ "comment", "# tests 1\n" ], [ "line", "# pass 1\n" ], [ "comment", "# pass 1\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 14 test/debug-test.js\n" ], [ "assert", { "ok": true, "id": 14, "name": "test/debug-test.js" } ], [ "line", "# deep-strict.js\n" ], [ "comment", "# deep-strict.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# strictDeepEquals shouldn't care about key order\n" ], [ "comment", "# strictDeepEquals shouldn't care about key order\n" ], [ "line", "ok 15 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 15, "name": "should be strictly equal" } ], [ "line", "# strictDeepEquals shouldn't care about key order recursively\n" ], [ "comment", "# strictDeepEquals shouldn't care about key order recursively\n" ], [ "line", "ok 16 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 16, "name": "should be strictly equal" } ], [ "line", "# strictDeepEquals shoudn't care about key order (but still might)\n" ], [ "comment", "# strictDeepEquals shoudn't care about key order (but still might)\n" ], [ "line", "ok 17 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 17, "name": "should be strictly equal" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 18 test/deep-strict.js\n" ], [ "assert", { "ok": true, "id": 18, "name": "test/deep-strict.js" } ], [ "line", "# deep.js\n" ], [ "comment", "# deep.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# deepEquals shouldn't care about key order and types\n" ], [ "comment", "# deepEquals shouldn't care about key order and types\n" ], [ "line", "ok 19 should be equivalent\n" ], [ "assert", { "ok": true, "id": 19, "name": "should be equivalent" } ], [ "line", "# deepEquals shouldn't care about key order recursively and types\n" ], [ "comment", "# deepEquals shouldn't care about key order recursively and types\n" ], [ "line", "ok 20 should be equivalent\n" ], [ "assert", { "ok": true, "id": 20, "name": "should be equivalent" } ], [ "line", "# deepEquals shoudn't care about key order (but still might) and types\n" ], [ "comment", "# deepEquals shoudn't care about key order (but still might) and types\n" ], [ "line", "ok 21 should be equivalent\n" ], [ "assert", { "ok": true, "id": 21, "name": "should be equivalent" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 22 test/deep.js\n" ], [ "assert", { "ok": true, "id": 22, "name": "test/deep.js" } ], [ "line", "# executed.sh\n" ], [ "comment", "# executed.sh\n" ], [ "line", "ok 23 File with executable bit should be executed\n" ], [ "assert", { "ok": true, "id": 23, "name": "File with executable bit should be executed" } ], [ "line", "ok 24 test/executed.sh\n" ], [ "assert", { "ok": true, "id": 24, "name": "test/executed.sh" } ], [ "line", "# exit-code.js\n" ], [ "comment", "# exit-code.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# exit code 1 when tap results show failure\n" ], [ "comment", "# exit code 1 when tap results show failure\n" ], [ "line", "# test exits 0, has failures\n" ], [ "comment", "# test exits 0, has failures\n" ], [ "line", "ok 25 should be equal\n" ], [ "assert", { "ok": true, "id": 25, "name": "should be equal" } ], [ "line", "ok 26 should be equal\n" ], [ "assert", { "ok": true, "id": 26, "name": "should be equal" } ], [ "line", "# test exits 1, has failures\n" ], [ "comment", "# test exits 1, has failures\n" ], [ "line", "ok 27 should be equal\n" ], [ "assert", { "ok": true, "id": 27, "name": "should be equal" } ], [ "line", "ok 28 should be equal\n" ], [ "assert", { "ok": true, "id": 28, "name": "should be equal" } ], [ "line", "# test exits 1, has no failures\n" ], [ "comment", "# test exits 1, has no failures\n" ], [ "line", "ok 29 should be equal\n" ], [ "assert", { "ok": true, "id": 29, "name": "should be equal" } ], [ "line", "ok 30 should be equal\n" ], [ "assert", { "ok": true, "id": 30, "name": "should be equal" } ], [ "line", "# successes exit 0\n" ], [ "comment", "# successes exit 0\n" ], [ "line", "# test that does nothing, but exits 0\n" ], [ "comment", "# test that does nothing, but exits 0\n" ], [ "line", "ok 31 should be equal\n" ], [ "assert", { "ok": true, "id": 31, "name": "should be equal" } ], [ "line", "ok 32 should be equal\n" ], [ "assert", { "ok": true, "id": 32, "name": "should be equal" } ], [ "line", "# test that succeeds, and exits 0\n" ], [ "comment", "# test that succeeds, and exits 0\n" ], [ "line", "ok 33 should be equal\n" ], [ "assert", { "ok": true, "id": 33, "name": "should be equal" } ], [ "line", "ok 34 should be equal\n" ], [ "assert", { "ok": true, "id": 34, "name": "should be equal" } ], [ "line", "# tests 10\n" ], [ "comment", "# tests 10\n" ], [ "line", "# pass 10\n" ], [ "comment", "# pass 10\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 35 test/exit-code.js\n" ], [ "assert", { "ok": true, "id": 35, "name": "test/exit-code.js" } ], [ "line", "# expose-gc-test.js\n" ], [ "comment", "# expose-gc-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# gc test when the gc isn't there\n" ], [ "comment", "# gc test when the gc isn't there\n" ], [ "line", "ok 36 should be equal\n" ], [ "assert", { "ok": true, "id": 36, "name": "should be equal" } ], [ "line", "# gc test when the gc should be there\n" ], [ "comment", "# gc test when the gc should be there\n" ], [ "line", "# test for gc using --gc\n" ], [ "comment", "# test for gc using --gc\n" ], [ "line", "ok 37 should be equal\n" ], [ "assert", { "ok": true, "id": 37, "name": "should be equal" } ], [ "line", "# test for gc using --expose-gc\n" ], [ "comment", "# test for gc using --expose-gc\n" ], [ "line", "ok 38 should be equal\n" ], [ "assert", { "ok": true, "id": 38, "name": "should be equal" } ], [ "line", "# cleanup\n" ], [ "comment", "# cleanup\n" ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 39 test/expose-gc-test.js\n" ], [ "assert", { "ok": true, "id": 39, "name": "test/expose-gc-test.js" } ], [ "line", "# global-harness-async.js\n" ], [ "comment", "# global-harness-async.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# outer\n" ], [ "comment", "# outer\n" ], [ "line", "# inner 1\n" ], [ "comment", "# inner 1\n" ], [ "line", "ok 40 1-1\n" ], [ "assert", { "ok": true, "id": 40, "name": "1-1" } ], [ "line", "# inner 2\n" ], [ "comment", "# inner 2\n" ], [ "line", "ok 41 2-1\n" ], [ "assert", { "ok": true, "id": 41, "name": "2-1" } ], [ "line", "# inner 3\n" ], [ "comment", "# inner 3\n" ], [ "line", "ok 42 3-1\n" ], [ "assert", { "ok": true, "id": 42, "name": "3-1" } ], [ "line", "ok 43 test/global-harness-async.js\n" ], [ "assert", { "ok": true, "id": 43, "name": "test/global-harness-async.js" } ], [ "line", "# independent-timeouts.js\n" ], [ "comment", "# independent-timeouts.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# finishes in time\n" ], [ "comment", "# finishes in time\n" ], [ "line", "# finishes in time too\n" ], [ "comment", "# finishes in time too\n" ], [ "line", "# tests 0\n" ], [ "comment", "# tests 0\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 44 test/independent-timeouts.js\n" ], [ "assert", { "ok": true, "id": 44, "name": "test/independent-timeouts.js" } ], [ "line", "# isolated-conf-test.js\n" ], [ "comment", "# isolated-conf-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# one\n" ], [ "comment", "# one\n" ], [ "line", "ok 45 should be equal\n" ], [ "assert", { "ok": true, "id": 45, "name": "should be equal" } ], [ "line", "ok 46 should be equal\n" ], [ "assert", { "ok": true, "id": 46, "name": "should be equal" } ], [ "line", "# two\n" ], [ "comment", "# two\n" ], [ "line", "ok 47 should be equal\n" ], [ "assert", { "ok": true, "id": 47, "name": "should be equal" } ], [ "line", "ok 48 should be equal\n" ], [ "assert", { "ok": true, "id": 48, "name": "should be equal" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 49 test/isolated-conf-test.js\n" ], [ "assert", { "ok": true, "id": 49, "name": "test/isolated-conf-test.js" } ], [ "line", "# meta-test.js\n" ], [ "comment", "# meta-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# meta test\n" ], [ "comment", "# meta test\n" ], [ "line", "ok 50 sanity check\n" ], [ "assert", { "ok": true, "id": 50, "name": "sanity check" } ], [ "line", "ok 51 not ok\n" ], [ "assert", { "ok": true, "id": 51, "name": "not ok" } ], [ "line", "ok 52 total test count\n" ], [ "assert", { "ok": true, "id": 52, "name": "total test count" } ], [ "line", "ok 53 tests passed\n" ], [ "assert", { "ok": true, "id": 53, "name": "tests passed" } ], [ "line", "ok 54 tests failed\n" ], [ "assert", { "ok": true, "id": 54, "name": "tests failed" } ], [ "line", "ok 55 ok is boolean\n" ], [ "assert", { "ok": true, "id": 55, "name": "ok is boolean" } ], [ "line", "ok 56 skip is number\n" ], [ "assert", { "ok": true, "id": 56, "name": "skip is number" } ], [ "line", "ok 57 results isa Results\n" ], [ "assert", { "ok": true, "id": 57, "name": "results isa Results" } ], [ "line", "ok 58 test isa Test\n" ], [ "assert", { "ok": true, "id": 58, "name": "test isa Test" } ], [ "line", "ok 59 test isa Harness\n" ], [ "assert", { "ok": true, "id": 59, "name": "test isa Harness" } ], [ "line", "# tests 10\n" ], [ "comment", "# tests 10\n" ], [ "line", "# pass 10\n" ], [ "comment", "# pass 10\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 60 test/meta-test.js\n" ], [ "assert", { "ok": true, "id": 60, "name": "test/meta-test.js" } ], [ "line", "# nested-async.js\n" ], [ "comment", "# nested-async.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# Harness async test support\n" ], [ "comment", "# Harness async test support\n" ], [ "line", "ok 61 sync child A\n" ], [ "assert", { "ok": true, "id": 61, "name": "sync child A" } ], [ "line", "# sync child B\n" ], [ "comment", "# sync child B\n" ], [ "line", "# async grandchild A\n" ], [ "comment", "# async grandchild A\n" ], [ "line", "ok 62 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 62, "name": "(unnamed assert)" } ], [ "line", "# async grandchild B\n" ], [ "comment", "# async grandchild B\n" ], [ "line", "ok 63 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 63, "name": "(unnamed assert)" } ], [ "line", "# async child\n" ], [ "comment", "# async child\n" ], [ "line", "ok 64 sync grandchild in async child A\n" ], [ "assert", { "ok": true, "id": 64, "name": "sync grandchild in async child A" } ], [ "line", "# sync grandchild in async child B\n" ], [ "comment", "# sync grandchild in async child B\n" ], [ "line", "ok 65 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 65, "name": "(unnamed assert)" } ], [ "line", "# tests 5\n" ], [ "comment", "# tests 5\n" ], [ "line", "# pass 5\n" ], [ "comment", "# pass 5\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 66 test/nested-async.js\n" ], [ "assert", { "ok": true, "id": 66, "name": "test/nested-async.js" } ], [ "line", "# nested-test.js\n" ], [ "comment", "# nested-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# parent\n" ], [ "comment", "# parent\n" ], [ "line", "ok 67 p test\n" ], [ "assert", { "ok": true, "id": 67, "name": "p test" } ], [ "line", "# subtest\n" ], [ "comment", "# subtest\n" ], [ "line", "ok 68 ch test\n" ], [ "assert", { "ok": true, "id": 68, "name": "ch test" } ], [ "line", "# nested subtest\n" ], [ "comment", "# nested subtest\n" ], [ "line", "ok 69 grch test\n" ], [ "assert", { "ok": true, "id": 69, "name": "grch test" } ], [ "line", "# another subtest\n" ], [ "comment", "# another subtest\n" ], [ "line", "ok 70 ch test 2\n" ], [ "assert", { "ok": true, "id": 70, "name": "ch test 2" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 71 test/nested-test.js\n" ], [ "assert", { "ok": true, "id": 71, "name": "test/nested-test.js" } ], [ "line", "# non-tap-output.js\n" ], [ "comment", "# non-tap-output.js\n" ], [ "line", "# everything is fine\n" ], [ "comment", "# everything is fine\n" ], [ "line", "# there are no errors\n" ], [ "comment", "# there are no errors\n" ], [ "line", "# this output is not haiku.\n" ], [ "comment", "# this output is not haiku.\n" ], [ "line", "# is 8 ok?\n" ], [ "comment", "# is 8 ok?\n" ], [ "line", "ok 72 , 8 can stay.\n" ], [ "assert", { "ok": true, "id": 72, "name": ", 8 can stay." } ], [ "line", "# but: nevertheless, here we are\n" ], [ "comment", "# but: nevertheless, here we are\n" ], [ "line", "# this: is indented\n" ], [ "comment", "# this: is indented\n" ], [ "line", "# and: it\n" ], [ "comment", "# and: it\n" ], [ "line", "# might: ~\n" ], [ "comment", "# might: ~\n" ], [ "line", "# be: yaml?\n" ], [ "comment", "# be: yaml?\n" ], [ "line", "ok 73 might be confusing\n" ], [ "assert", { "ok": true, "id": 73, "name": "might be confusing" } ], [ "line", "ok 74 done now, exiting\n" ], [ "assert", { "ok": true, "id": 74, "name": "done now, exiting" } ], [ "line", "ok 75 test/non-tap-output.js\n" ], [ "assert", { "ok": true, "id": 75, "name": "test/non-tap-output.js" } ], [ "line", "# not-executed.sh\n" ], [ "comment", "# not-executed.sh\n" ], [ "line", "# output-childtest-description.js\n" ], [ "comment", "# output-childtest-description.js\n" ], [ "line", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\n" ], [ "comment", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# nested tests, parent and child pass\n" ], [ "comment", "# nested tests, parent and child pass\n" ], [ "line", "ok 76 outputs parent description\n" ], [ "assert", { "ok": true, "id": 76, "name": "outputs parent description" } ], [ "line", "ok 77 outputs child description\n" ], [ "assert", { "ok": true, "id": 77, "name": "outputs child description" } ], [ "line", "ok 78 outputs parent description before parent result\n" ], [ "assert", { "ok": true, "id": 78, "name": "outputs parent description before parent result" } ], [ "line", "ok 79 outputs parent result before child description\n" ], [ "assert", { "ok": true, "id": 79, "name": "outputs parent result before child description" } ], [ "line", "ok 80 outputs child description before child result\n" ], [ "assert", { "ok": true, "id": 80, "name": "outputs child description before child result" } ], [ "line", "# tests 5\n" ], [ "comment", "# tests 5\n" ], [ "line", "# pass 5\n" ], [ "comment", "# pass 5\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 81 test/output-childtest-description.js\n" ], [ "assert", { "ok": true, "id": 81, "name": "test/output-childtest-description.js" } ], [ "line", "# result-trap.js\n" ], [ "comment", "# result-trap.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trap result\n" ], [ "comment", "# trap result\n" ], [ "line", "ok 82 should be equal\n" ], [ "assert", { "ok": true, "id": 82, "name": "should be equal" } ], [ "line", "ok 83 should be equal\n" ], [ "assert", { "ok": true, "id": 83, "name": "should be equal" } ], [ "line", "# tests 2\n" ], [ "comment", "# tests 2\n" ], [ "line", "# pass 2\n" ], [ "comment", "# pass 2\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 84 test/result-trap.js\n" ], [ "assert", { "ok": true, "id": 84, "name": "test/result-trap.js" } ], [ "line", "# segv.js\n" ], [ "comment", "# segv.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# setup\n" ], [ "comment", "# setup\n" ], [ "line", "ok 85 compiled seg faulter\n" ], [ "assert", { "ok": true, "id": 85, "name": "compiled seg faulter" } ], [ "line", "# segv\n" ], [ "comment", "# segv\n" ], [ "line", "ok 86 should be equivalent\n" ], [ "assert", { "ok": true, "id": 86, "name": "should be equivalent" } ], [ "line", "ok 87 should be equivalent\n" ], [ "assert", { "ok": true, "id": 87, "name": "should be equivalent" } ], [ "line", "ok 88 should be equivalent\n" ], [ "assert", { "ok": true, "id": 88, "name": "should be equivalent" } ], [ "line", "ok 89 should be equivalent\n" ], [ "assert", { "ok": true, "id": 89, "name": "should be equivalent" } ], [ "line", "ok 90 should be equivalent\n" ], [ "assert", { "ok": true, "id": 90, "name": "should be equivalent" } ], [ "line", "ok 91 should be equal\n" ], [ "assert", { "ok": true, "id": 91, "name": "should be equal" } ], [ "line", "# cleanup\n" ], [ "comment", "# cleanup\n" ], [ "line", "ok 92 cleaned up\n" ], [ "assert", { "ok": true, "id": 92, "name": "cleaned up" } ], [ "line", "# tests 8\n" ], [ "comment", "# tests 8\n" ], [ "line", "# pass 8\n" ], [ "comment", "# pass 8\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 93 test/segv.js\n" ], [ "assert", { "ok": true, "id": 93, "name": "test/segv.js" } ], [ "line", "# simple-harness-test-with-plan.js\n" ], [ "comment", "# simple-harness-test-with-plan.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trivial success\n" ], [ "comment", "# trivial success\n" ], [ "line", "ok 94 it works\n" ], [ "assert", { "ok": true, "id": 94, "name": "it works" } ], [ "line", "# two tests\n" ], [ "comment", "# two tests\n" ], [ "line", "ok 95 math should work\n" ], [ "assert", { "ok": true, "id": 95, "name": "math should work" } ], [ "line", "ok 96 false should not be ok\n" ], [ "assert", { "ok": true, "id": 96, "name": "false should not be ok" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 97 test/simple-harness-test-with-plan.js\n" ], [ "assert", { "ok": true, "id": 97, "name": "test/simple-harness-test-with-plan.js" } ], [ "line", "# simple-harness-test.js\n" ], [ "comment", "# simple-harness-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trivial success\n" ], [ "comment", "# trivial success\n" ], [ "line", "ok 98 it works\n" ], [ "assert", { "ok": true, "id": 98, "name": "it works" } ], [ "line", "# two tests\n" ], [ "comment", "# two tests\n" ], [ "line", "ok 99 math should work\n" ], [ "assert", { "ok": true, "id": 99, "name": "math should work" } ], [ "line", "ok 100 false should not be ok\n" ], [ "assert", { "ok": true, "id": 100, "name": "false should not be ok" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 101 test/simple-harness-test.js\n" ], [ "assert", { "ok": true, "id": 101, "name": "test/simple-harness-test.js" } ], [ "line", "# test-assert-todo-skip.js\n" ], [ "comment", "# test-assert-todo-skip.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# not much\n" ], [ "comment", "# not much\n" ], [ "line", "ok 102 always passes # SKIP skip it good\n" ], [ "assert", { "ok": true, "id": 102, "skip": "skip it good", "name": "always passes" } ], [ "line", "ok 103 false # SKIP always fails\n" ], [ "assert", { "ok": true, "id": 103, "skip": "always fails", "name": "false" } ], [ "line", "ok 104 bonus # TODO remove todo directive\n" ], [ "assert", { "ok": true, "id": 104, "todo": "remove todo directive", "name": "bonus" } ], [ "line", "ok 105 expected # TODO implement a thing\n" ], [ "assert", { "ok": true, "id": 105, "todo": "implement a thing", "name": "expected" } ], [ "line", "ok 106 always passes without explanation # SKIP \n" ], [ "assert", { "ok": true, "id": 106, "skip": true, "name": "always passes without explanation" } ], [ "line", "ok 107 false without explanation # SKIP \n" ], [ "assert", { "ok": true, "id": 107, "skip": true, "name": "false without explanation" } ], [ "line", "ok 108 bonus without explanation # TODO \n" ], [ "assert", { "ok": true, "id": 108, "todo": true, "name": "bonus without explanation" } ], [ "line", "ok 109 expected without explanation # TODO \n" ], [ "assert", { "ok": true, "id": 109, "todo": true, "name": "expected without explanation" } ], [ "line", "# tests 8\n" ], [ "comment", "# tests 8\n" ], [ "line", "# skip 4\n" ], [ "comment", "# skip 4\n" ], [ "line", "# todo 4\n" ], [ "comment", "# todo 4\n" ], [ "line", "ok 110 test/test-assert-todo-skip.js\n" ], [ "assert", { "ok": true, "id": 110, "name": "test/test-assert-todo-skip.js" } ], [ "line", "# test-descriptions.js\n" ], [ "comment", "# test-descriptions.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# captures test descriptions\n" ], [ "comment", "# captures test descriptions\n" ], [ "line", "ok 111 exit cleanly\n" ], [ "assert", { "ok": true, "id": 111, "name": "exit cleanly" } ], [ "line", "ok 112 captures SKIP description\n" ], [ "assert", { "ok": true, "id": 112, "name": "captures SKIP description" } ], [ "line", "ok 113 skip summary is not from file\n" ], [ "assert", { "ok": true, "id": 113, "name": "skip summary is not from file" } ], [ "line", "ok 114 todo summary is not from file\n" ], [ "assert", { "ok": true, "id": 114, "name": "todo summary is not from file" } ], [ "line", "not ok 115 captures TODO description\n" ], [ "line", " ---\n" ], [ "line", " file: child_process.js\n" ], [ "line", " line: 707\n" ], [ "line", " column: 7\n" ], [ "line", " stack: \n" ], [ "line", " - |\n" ], [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n" ], [ "line", " - |\n" ], [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n" ], [ "line", " - |\n" ], [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n" ], [ "line", " - |\n" ], [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.exithandler (child_process.js:707:7)\n" ], [ "line", " - |\n" ], [ "line", " emitTwo (events.js:87:13)\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.emit (events.js:169:7)\n" ], [ "line", " - |\n" ], [ "line", " maybeClose (child_process.js:984:16)\n" ], [ "line", " - |\n" ], [ "line", " Socket. (child_process.js:1153:11)\n" ], [ "line", " - |\n" ], [ "line", " emitOne (events.js:77:13)\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 115, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Socket. (child_process.js:1153:11)\n", "emitOne (events.js:77:13)\n" ] } } ], [ "line", "ok 116 exit cleanly\n" ], [ "assert", { "ok": true, "id": 116, "name": "exit cleanly" } ], [ "line", "ok 117 captures SKIP description\n" ], [ "assert", { "ok": true, "id": 117, "name": "captures SKIP description" } ], [ "line", "ok 118 skip summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 118, "name": "skip summary is not in TAP output" } ], [ "line", "ok 119 todo summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 119, "name": "todo summary is not in TAP output" } ], [ "line", "not ok 120 captures TODO description\n" ], [ "line", " ---\n" ], [ "line", " file: child_process.js\n" ], [ "line", " line: 707\n" ], [ "line", " column: 7\n" ], [ "line", " stack: \n" ], [ "line", " - |\n" ], [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n" ], [ "line", " - |\n" ], [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n" ], [ "line", " - |\n" ], [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n" ], [ "line", " - |\n" ], [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:18:7\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.exithandler (child_process.js:707:7)\n" ], [ "line", " - |\n" ], [ "line", " emitTwo (events.js:87:13)\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.emit (events.js:169:7)\n" ], [ "line", " - |\n" ], [ "line", " maybeClose (child_process.js:984:16)\n" ], [ "line", " - |\n" ], [ "line", " Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 120, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:18:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } } ], [ "line", "ok 121 exit cleanly\n" ], [ "assert", { "ok": true, "id": 121, "name": "exit cleanly" } ], [ "line", "not ok 122 summarizes skipped count\n" ], [ "line", " ---\n" ], [ "line", " file: child_process.js\n" ], [ "line", " line: 707\n" ], [ "line", " column: 7\n" ], [ "line", " stack: \n" ], [ "line", " - |\n" ], [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n" ], [ "line", " - |\n" ], [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n" ], [ "line", " - |\n" ], [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n" ], [ "line", " - |\n" ], [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:23:7\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.exithandler (child_process.js:707:7)\n" ], [ "line", " - |\n" ], [ "line", " emitTwo (events.js:87:13)\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.emit (events.js:169:7)\n" ], [ "line", " - |\n" ], [ "line", " maybeClose (child_process.js:984:16)\n" ], [ "line", " - |\n" ], [ "line", " Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 122, "name": "summarizes skipped count", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:23:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } } ], [ "line", "not ok 123 summarizes todo count\n" ], [ "line", " ---\n" ], [ "line", " file: child_process.js\n" ], [ "line", " line: 707\n" ], [ "line", " column: 7\n" ], [ "line", " stack: \n" ], [ "line", " - |\n" ], [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n" ], [ "line", " - |\n" ], [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n" ], [ "line", " - |\n" ], [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n" ], [ "line", " - |\n" ], [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:24:7\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.exithandler (child_process.js:707:7)\n" ], [ "line", " - |\n" ], [ "line", " emitTwo (events.js:87:13)\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.emit (events.js:169:7)\n" ], [ "line", " - |\n" ], [ "line", " maybeClose (child_process.js:984:16)\n" ], [ "line", " - |\n" ], [ "line", " Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 123, "name": "summarizes todo count", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:24:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } } ], [ "line", "# tests 13\n" ], [ "comment", "# tests 13\n" ], [ "line", "# pass 9\n" ], [ "comment", "# pass 9\n" ], [ "line", "# fail 4\n" ], [ "comment", "# fail 4\n" ], [ "line", "not ok 124 test/test-descriptions.js\n" ], [ "line", " ---\n" ], [ "line", " exit: 1\n" ], [ "line", " command: \"/usr/local/bin/iojs test-descriptions.js\"\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 124, "name": "test/test-descriptions.js", "diag": { "exit": 1, "command": "/usr/local/bin/iojs test-descriptions.js" } } ], [ "line", "# test-directives.js\n" ], [ "comment", "# test-directives.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# captures test descriptions\n" ], [ "comment", "# captures test descriptions\n" ], [ "line", "# raw TAP > TAP consumer > TAP producer\n" ], [ "comment", "# raw TAP > TAP consumer > TAP producer\n" ], [ "line", "ok 125 overall result is PASS\n" ], [ "assert", { "ok": true, "id": 125, "name": "overall result is PASS" } ], [ "line", "ok 126 captures ok SKIP\n" ], [ "assert", { "ok": true, "id": 126, "name": "captures ok SKIP" } ], [ "line", "ok 127 captures not ok SKIP\n" ], [ "assert", { "ok": true, "id": 127, "name": "captures not ok SKIP" } ], [ "line", "ok 128 skip summary not in TAP output\n" ], [ "assert", { "ok": true, "id": 128, "name": "skip summary not in TAP output" } ], [ "line", "ok 129 captures ok TODO\n" ], [ "assert", { "ok": true, "id": 129, "name": "captures ok TODO" } ], [ "line", "ok 130 captures not ok TODO\n" ], [ "assert", { "ok": true, "id": 130, "name": "captures not ok TODO" } ], [ "line", "ok 131 todo summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 131, "name": "todo summary is not in TAP output" } ], [ "line", "ok 132 no ugly \"undefined\" in output\n" ], [ "assert", { "ok": true, "id": 132, "name": "no ugly \"undefined\" in output" } ], [ "line", "# raw TAP > TAP consumer > summary\n" ], [ "comment", "# raw TAP > TAP consumer > summary\n" ], [ "line", "ok 133 overall result is PASS\n" ], [ "assert", { "ok": true, "id": 133, "name": "overall result is PASS" } ], [ "line", "ok 134 no SKIP in summary\n" ], [ "assert", { "ok": true, "id": 134, "name": "no SKIP in summary" } ], [ "line", "ok 135 skip summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 135, "name": "skip summary is not in TAP output" } ], [ "line", "ok 136 no TODO in summary\n" ], [ "assert", { "ok": true, "id": 136, "name": "no TODO in summary" } ], [ "line", "ok 137 todo summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 137, "name": "todo summary is not in TAP output" } ], [ "line", "ok 138 no ugly \"undefined\" in output\n" ], [ "assert", { "ok": true, "id": 138, "name": "no ugly \"undefined\" in output" } ], [ "line", "# TAP producer via require(\"tap\")\n" ], [ "comment", "# TAP producer via require(\"tap\")\n" ], [ "line", "ok 139 overall result is PASS\n" ], [ "assert", { "ok": true, "id": 139, "name": "overall result is PASS" } ], [ "line", "ok 140 captures ok SKIP\n" ], [ "assert", { "ok": true, "id": 140, "name": "captures ok SKIP" } ], [ "line", "ok 141 captures not ok SKIP\n" ], [ "assert", { "ok": true, "id": 141, "name": "captures not ok SKIP" } ], [ "line", "ok 142 skip summary not in TAP output\n" ], [ "assert", { "ok": true, "id": 142, "name": "skip summary not in TAP output" } ], [ "line", "ok 143 captures ok TODO\n" ], [ "assert", { "ok": true, "id": 143, "name": "captures ok TODO" } ], [ "line", "ok 144 captures not ok TODO\n" ], [ "assert", { "ok": true, "id": 144, "name": "captures not ok TODO" } ], [ "line", "ok 145 todo summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 145, "name": "todo summary is not in TAP output" } ], [ "line", "ok 146 no ugly \"undefined\" in output\n" ], [ "assert", { "ok": true, "id": 146, "name": "no ugly \"undefined\" in output" } ], [ "line", "# tests 22\n" ], [ "comment", "# tests 22\n" ], [ "line", "# pass 22\n" ], [ "comment", "# pass 22\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 147 test/test-directives.js\n" ], [ "assert", { "ok": true, "id": 147, "name": "test/test-directives.js" } ], [ "line", "# test-skip.js\n" ], [ "comment", "# test-skip.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "ok 148 does not count as failure # SKIP \n" ], [ "assert", { "ok": true, "id": 148, "skip": true, "name": "does not count as failure" } ], [ "line", "# tests 1\n" ], [ "comment", "# tests 1\n" ], [ "line", "# skip 1\n" ], [ "comment", "# skip 1\n" ], [ "line", "ok 149 test/test-skip.js\n" ], [ "assert", { "ok": true, "id": 149, "name": "test/test-skip.js" } ], [ "line", "# test-test.js\n" ], [ "comment", "# test-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# testing the test object\n" ], [ "comment", "# testing the test object\n" ], [ "line", "ok 150 test object should be instanceof Test\n" ], [ "assert", { "ok": true, "id": 150, "name": "test object should be instanceof Test" } ], [ "line", "ok 151 test object should be instanceof Harness\n" ], [ "assert", { "ok": true, "id": 151, "name": "test object should be instanceof Harness" } ], [ "line", "ok 152 test._Test should be the Test class\n" ], [ "assert", { "ok": true, "id": 152, "name": "test._Test should be the Test class" } ], [ "line", "ok 153 should have isNotDeepEqual method\n" ], [ "assert", { "ok": true, "id": 153, "name": "should have isNotDeepEqual method" } ], [ "line", "ok 154 isNotDeepEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 154, "name": "isNotDeepEqual method should be a function" } ], [ "line", "ok 155 should have equals method\n" ], [ "assert", { "ok": true, "id": 155, "name": "should have equals method" } ], [ "line", "ok 156 equals method should be a function\n" ], [ "assert", { "ok": true, "id": 156, "name": "equals method should be a function" } ], [ "line", "ok 157 should have inequivalent method\n" ], [ "assert", { "ok": true, "id": 157, "name": "should have inequivalent method" } ], [ "line", "ok 158 inequivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 158, "name": "inequivalent method should be a function" } ], [ "line", "ok 159 should have threw method\n" ], [ "assert", { "ok": true, "id": 159, "name": "should have threw method" } ], [ "line", "ok 160 threw method should be a function\n" ], [ "assert", { "ok": true, "id": 160, "name": "threw method should be a function" } ], [ "line", "ok 161 should have strictEqual method\n" ], [ "assert", { "ok": true, "id": 161, "name": "should have strictEqual method" } ], [ "line", "ok 162 strictEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 162, "name": "strictEqual method should be a function" } ], [ "line", "ok 163 should have emit method\n" ], [ "assert", { "ok": true, "id": 163, "name": "should have emit method" } ], [ "line", "ok 164 emit method should be a function\n" ], [ "assert", { "ok": true, "id": 164, "name": "emit method should be a function" } ], [ "line", "ok 165 should have fail method\n" ], [ "assert", { "ok": true, "id": 165, "name": "should have fail method" } ], [ "line", "ok 166 fail method should be a function\n" ], [ "assert", { "ok": true, "id": 166, "name": "fail method should be a function" } ], [ "line", "ok 167 should have strictEquals method\n" ], [ "assert", { "ok": true, "id": 167, "name": "should have strictEquals method" } ], [ "line", "ok 168 strictEquals method should be a function\n" ], [ "assert", { "ok": true, "id": 168, "name": "strictEquals method should be a function" } ], [ "line", "ok 169 should have notLike method\n" ], [ "assert", { "ok": true, "id": 169, "name": "should have notLike method" } ], [ "line", "ok 170 notLike method should be a function\n" ], [ "assert", { "ok": true, "id": 170, "name": "notLike method should be a function" } ], [ "line", "ok 171 should have dissimilar method\n" ], [ "assert", { "ok": true, "id": 171, "name": "should have dissimilar method" } ], [ "line", "ok 172 dissimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 172, "name": "dissimilar method should be a function" } ], [ "line", "ok 173 should have true method\n" ], [ "assert", { "ok": true, "id": 173, "name": "should have true method" } ], [ "line", "ok 174 true method should be a function\n" ], [ "assert", { "ok": true, "id": 174, "name": "true method should be a function" } ], [ "line", "ok 175 should have assert method\n" ], [ "assert", { "ok": true, "id": 175, "name": "should have assert method" } ], [ "line", "ok 176 assert method should be a function\n" ], [ "assert", { "ok": true, "id": 176, "name": "assert method should be a function" } ], [ "line", "ok 177 should have is method\n" ], [ "assert", { "ok": true, "id": 177, "name": "should have is method" } ], [ "line", "ok 178 is method should be a function\n" ], [ "assert", { "ok": true, "id": 178, "name": "is method should be a function" } ], [ "line", "ok 179 should have ok method\n" ], [ "assert", { "ok": true, "id": 179, "name": "should have ok method" } ], [ "line", "ok 180 ok method should be a function\n" ], [ "assert", { "ok": true, "id": 180, "name": "ok method should be a function" } ], [ "line", "ok 181 should have isEqual method\n" ], [ "assert", { "ok": true, "id": 181, "name": "should have isEqual method" } ], [ "line", "ok 182 isEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 182, "name": "isEqual method should be a function" } ], [ "line", "ok 183 should have isDeeply method\n" ], [ "assert", { "ok": true, "id": 183, "name": "should have isDeeply method" } ], [ "line", "ok 184 isDeeply method should be a function\n" ], [ "assert", { "ok": true, "id": 184, "name": "isDeeply method should be a function" } ], [ "line", "ok 185 should have deepEqual method\n" ], [ "assert", { "ok": true, "id": 185, "name": "should have deepEqual method" } ], [ "line", "ok 186 deepEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 186, "name": "deepEqual method should be a function" } ], [ "line", "ok 187 should have deepEquals method\n" ], [ "assert", { "ok": true, "id": 187, "name": "should have deepEquals method" } ], [ "line", "ok 188 deepEquals method should be a function\n" ], [ "assert", { "ok": true, "id": 188, "name": "deepEquals method should be a function" } ], [ "line", "ok 189 should have pass method\n" ], [ "assert", { "ok": true, "id": 189, "name": "should have pass method" } ], [ "line", "ok 190 pass method should be a function\n" ], [ "assert", { "ok": true, "id": 190, "name": "pass method should be a function" } ], [ "line", "ok 191 should have length method\n" ], [ "assert", { "ok": true, "id": 191, "name": "should have length method" } ], [ "line", "ok 192 length method should be a function\n" ], [ "assert", { "ok": true, "id": 192, "name": "length method should be a function" } ], [ "line", "ok 193 should have skip method\n" ], [ "assert", { "ok": true, "id": 193, "name": "should have skip method" } ], [ "line", "ok 194 skip method should be a function\n" ], [ "assert", { "ok": true, "id": 194, "name": "skip method should be a function" } ], [ "line", "ok 195 should have isNotEqual method\n" ], [ "assert", { "ok": true, "id": 195, "name": "should have isNotEqual method" } ], [ "line", "ok 196 isNotEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 196, "name": "isNotEqual method should be a function" } ], [ "line", "ok 197 should have looseEquals method\n" ], [ "assert", { "ok": true, "id": 197, "name": "should have looseEquals method" } ], [ "line", "ok 198 looseEquals method should be a function\n" ], [ "assert", { "ok": true, "id": 198, "name": "looseEquals method should be a function" } ], [ "line", "ok 199 should have false method\n" ], [ "assert", { "ok": true, "id": 199, "name": "should have false method" } ], [ "line", "ok 200 false method should be a function\n" ], [ "assert", { "ok": true, "id": 200, "name": "false method should be a function" } ], [ "line", "ok 201 should have notDeeply method\n" ], [ "assert", { "ok": true, "id": 201, "name": "should have notDeeply method" } ], [ "line", "ok 202 notDeeply method should be a function\n" ], [ "assert", { "ok": true, "id": 202, "name": "notDeeply method should be a function" } ], [ "line", "ok 203 should have ifErr method\n" ], [ "assert", { "ok": true, "id": 203, "name": "should have ifErr method" } ], [ "line", "ok 204 ifErr method should be a function\n" ], [ "assert", { "ok": true, "id": 204, "name": "ifErr method should be a function" } ], [ "line", "ok 205 should have hasFields method\n" ], [ "assert", { "ok": true, "id": 205, "name": "should have hasFields method" } ], [ "line", "ok 206 hasFields method should be a function\n" ], [ "assert", { "ok": true, "id": 206, "name": "hasFields method should be a function" } ], [ "line", "ok 207 should have isNotDeeply method\n" ], [ "assert", { "ok": true, "id": 207, "name": "should have isNotDeeply method" } ], [ "line", "ok 208 isNotDeeply method should be a function\n" ], [ "assert", { "ok": true, "id": 208, "name": "isNotDeeply method should be a function" } ], [ "line", "ok 209 should have like method\n" ], [ "assert", { "ok": true, "id": 209, "name": "should have like method" } ], [ "line", "ok 210 like method should be a function\n" ], [ "assert", { "ok": true, "id": 210, "name": "like method should be a function" } ], [ "line", "ok 211 should have similar method\n" ], [ "assert", { "ok": true, "id": 211, "name": "should have similar method" } ], [ "line", "ok 212 similar method should be a function\n" ], [ "assert", { "ok": true, "id": 212, "name": "similar method should be a function" } ], [ "line", "ok 213 should have notOk method\n" ], [ "assert", { "ok": true, "id": 213, "name": "should have notOk method" } ], [ "line", "ok 214 notOk method should be a function\n" ], [ "assert", { "ok": true, "id": 214, "name": "notOk method should be a function" } ], [ "line", "ok 215 should have isDissimilar method\n" ], [ "assert", { "ok": true, "id": 215, "name": "should have isDissimilar method" } ], [ "line", "ok 216 isDissimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 216, "name": "isDissimilar method should be a function" } ], [ "line", "ok 217 should have isEquivalent method\n" ], [ "assert", { "ok": true, "id": 217, "name": "should have isEquivalent method" } ], [ "line", "ok 218 isEquivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 218, "name": "isEquivalent method should be a function" } ], [ "line", "ok 219 should have doesNotEqual method\n" ], [ "assert", { "ok": true, "id": 219, "name": "should have doesNotEqual method" } ], [ "line", "ok 220 doesNotEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 220, "name": "doesNotEqual method should be a function" } ], [ "line", "ok 221 should have isSimilar method\n" ], [ "assert", { "ok": true, "id": 221, "name": "should have isSimilar method" } ], [ "line", "ok 222 isSimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 222, "name": "isSimilar method should be a function" } ], [ "line", "ok 223 should have notDeepEqual method\n" ], [ "assert", { "ok": true, "id": 223, "name": "should have notDeepEqual method" } ], [ "line", "ok 224 notDeepEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 224, "name": "notDeepEqual method should be a function" } ], [ "line", "ok 225 should have type method\n" ], [ "assert", { "ok": true, "id": 225, "name": "should have type method" } ], [ "line", "ok 226 type method should be a function\n" ], [ "assert", { "ok": true, "id": 226, "name": "type method should be a function" } ], [ "line", "ok 227 should have notok method\n" ], [ "assert", { "ok": true, "id": 227, "name": "should have notok method" } ], [ "line", "ok 228 notok method should be a function\n" ], [ "assert", { "ok": true, "id": 228, "name": "notok method should be a function" } ], [ "line", "ok 229 should have isInequivalent method\n" ], [ "assert", { "ok": true, "id": 229, "name": "should have isInequivalent method" } ], [ "line", "ok 230 isInequivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 230, "name": "isInequivalent method should be a function" } ], [ "line", "ok 231 should have isNot method\n" ], [ "assert", { "ok": true, "id": 231, "name": "should have isNot method" } ], [ "line", "ok 232 isNot method should be a function\n" ], [ "assert", { "ok": true, "id": 232, "name": "isNot method should be a function" } ], [ "line", "ok 233 should have same method\n" ], [ "assert", { "ok": true, "id": 233, "name": "should have same method" } ], [ "line", "ok 234 same method should be a function\n" ], [ "assert", { "ok": true, "id": 234, "name": "same method should be a function" } ], [ "line", "ok 235 should have isInequal method\n" ], [ "assert", { "ok": true, "id": 235, "name": "should have isInequal method" } ], [ "line", "ok 236 isInequal method should be a function\n" ], [ "assert", { "ok": true, "id": 236, "name": "isInequal method should be a function" } ], [ "line", "ok 237 should have _endNice method\n" ], [ "assert", { "ok": true, "id": 237, "name": "should have _endNice method" } ], [ "line", "ok 238 _endNice method should be a function\n" ], [ "assert", { "ok": true, "id": 238, "name": "_endNice method should be a function" } ], [ "line", "ok 239 should have ifError method\n" ], [ "assert", { "ok": true, "id": 239, "name": "should have ifError method" } ], [ "line", "ok 240 ifError method should be a function\n" ], [ "assert", { "ok": true, "id": 240, "name": "ifError method should be a function" } ], [ "line", "ok 241 should have iferror method\n" ], [ "assert", { "ok": true, "id": 241, "name": "should have iferror method" } ], [ "line", "ok 242 iferror method should be a function\n" ], [ "assert", { "ok": true, "id": 242, "name": "iferror method should be a function" } ], [ "line", "ok 243 should have clear method\n" ], [ "assert", { "ok": true, "id": 243, "name": "should have clear method" } ], [ "line", "ok 244 clear method should be a function\n" ], [ "assert", { "ok": true, "id": 244, "name": "clear method should be a function" } ], [ "line", "ok 245 should have has method\n" ], [ "assert", { "ok": true, "id": 245, "name": "should have has method" } ], [ "line", "ok 246 has method should be a function\n" ], [ "assert", { "ok": true, "id": 246, "name": "has method should be a function" } ], [ "line", "ok 247 should have not method\n" ], [ "assert", { "ok": true, "id": 247, "name": "should have not method" } ], [ "line", "ok 248 not method should be a function\n" ], [ "assert", { "ok": true, "id": 248, "name": "not method should be a function" } ], [ "line", "ok 249 should have timeout method\n" ], [ "assert", { "ok": true, "id": 249, "name": "should have timeout method" } ], [ "line", "ok 250 timeout method should be a function\n" ], [ "assert", { "ok": true, "id": 250, "name": "timeout method should be a function" } ], [ "line", "ok 251 should have notSimilar method\n" ], [ "assert", { "ok": true, "id": 251, "name": "should have notSimilar method" } ], [ "line", "ok 252 notSimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 252, "name": "notSimilar method should be a function" } ], [ "line", "ok 253 should have isUnlike method\n" ], [ "assert", { "ok": true, "id": 253, "name": "should have isUnlike method" } ], [ "line", "ok 254 isUnlike method should be a function\n" ], [ "assert", { "ok": true, "id": 254, "name": "isUnlike method should be a function" } ], [ "line", "ok 255 should have notEquals method\n" ], [ "assert", { "ok": true, "id": 255, "name": "should have notEquals method" } ], [ "line", "ok 256 notEquals method should be a function\n" ], [ "assert", { "ok": true, "id": 256, "name": "notEquals method should be a function" } ], [ "line", "ok 257 should have unsimilar method\n" ], [ "assert", { "ok": true, "id": 257, "name": "should have unsimilar method" } ], [ "line", "ok 258 unsimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 258, "name": "unsimilar method should be a function" } ], [ "line", "ok 259 should have result method\n" ], [ "assert", { "ok": true, "id": 259, "name": "should have result method" } ], [ "line", "ok 260 result method should be a function\n" ], [ "assert", { "ok": true, "id": 260, "name": "result method should be a function" } ], [ "line", "ok 261 should have doesNotThrow method\n" ], [ "assert", { "ok": true, "id": 261, "name": "should have doesNotThrow method" } ], [ "line", "ok 262 doesNotThrow method should be a function\n" ], [ "assert", { "ok": true, "id": 262, "name": "doesNotThrow method should be a function" } ], [ "line", "ok 263 should have error method\n" ], [ "assert", { "ok": true, "id": 263, "name": "should have error method" } ], [ "line", "ok 264 error method should be a function\n" ], [ "assert", { "ok": true, "id": 264, "name": "error method should be a function" } ], [ "line", "ok 265 should have constructor method\n" ], [ "assert", { "ok": true, "id": 265, "name": "should have constructor method" } ], [ "line", "ok 266 constructor method should be a function\n" ], [ "assert", { "ok": true, "id": 266, "name": "constructor method should be a function" } ], [ "line", "ok 267 should have notEqual method\n" ], [ "assert", { "ok": true, "id": 267, "name": "should have notEqual method" } ], [ "line", "ok 268 notEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 268, "name": "notEqual method should be a function" } ], [ "line", "ok 269 should have throws method\n" ], [ "assert", { "ok": true, "id": 269, "name": "should have throws method" } ], [ "line", "ok 270 throws method should be a function\n" ], [ "assert", { "ok": true, "id": 270, "name": "throws method should be a function" } ], [ "line", "ok 271 should have isLike method\n" ], [ "assert", { "ok": true, "id": 271, "name": "should have isLike method" } ], [ "line", "ok 272 isLike method should be a function\n" ], [ "assert", { "ok": true, "id": 272, "name": "isLike method should be a function" } ], [ "line", "ok 273 should have isNotSimilar method\n" ], [ "assert", { "ok": true, "id": 273, "name": "should have isNotSimilar method" } ], [ "line", "ok 274 isNotSimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 274, "name": "isNotSimilar method should be a function" } ], [ "line", "ok 275 should have isNotEquivalent method\n" ], [ "assert", { "ok": true, "id": 275, "name": "should have isNotEquivalent method" } ], [ "line", "ok 276 isNotEquivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 276, "name": "isNotEquivalent method should be a function" } ], [ "line", "ok 277 should have inequal method\n" ], [ "assert", { "ok": true, "id": 277, "name": "should have inequal method" } ], [ "line", "ok 278 inequal method should be a function\n" ], [ "assert", { "ok": true, "id": 278, "name": "inequal method should be a function" } ], [ "line", "ok 279 should have notEquivalent method\n" ], [ "assert", { "ok": true, "id": 279, "name": "should have notEquivalent method" } ], [ "line", "ok 280 notEquivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 280, "name": "notEquivalent method should be a function" } ], [ "line", "ok 281 should have isNotLike method\n" ], [ "assert", { "ok": true, "id": 281, "name": "should have isNotLike method" } ], [ "line", "ok 282 isNotLike method should be a function\n" ], [ "assert", { "ok": true, "id": 282, "name": "isNotLike method should be a function" } ], [ "line", "ok 283 should have equivalent method\n" ], [ "assert", { "ok": true, "id": 283, "name": "should have equivalent method" } ], [ "line", "ok 284 equivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 284, "name": "equivalent method should be a function" } ], [ "line", "ok 285 should have looseEqual method\n" ], [ "assert", { "ok": true, "id": 285, "name": "should have looseEqual method" } ], [ "line", "ok 286 looseEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 286, "name": "looseEqual method should be a function" } ], [ "line", "ok 287 should have equal method\n" ], [ "assert", { "ok": true, "id": 287, "name": "should have equal method" } ], [ "line", "ok 288 equal method should be a function\n" ], [ "assert", { "ok": true, "id": 288, "name": "equal method should be a function" } ], [ "line", "ok 289 should have unlike method\n" ], [ "assert", { "ok": true, "id": 289, "name": "should have unlike method" } ], [ "line", "ok 290 unlike method should be a function\n" ], [ "assert", { "ok": true, "id": 290, "name": "unlike method should be a function" } ], [ "line", "ok 291 should have doesNotHave method\n" ], [ "assert", { "ok": true, "id": 291, "name": "should have doesNotHave method" } ], [ "line", "ok 292 doesNotHave method should be a function\n" ], [ "assert", { "ok": true, "id": 292, "name": "doesNotHave method should be a function" } ], [ "line", "ok 293 should have comment method\n" ], [ "assert", { "ok": true, "id": 293, "name": "should have comment method" } ], [ "line", "ok 294 comment method should be a function\n" ], [ "assert", { "ok": true, "id": 294, "name": "comment method should be a function" } ], [ "line", "ok 295 should have isa method\n" ], [ "assert", { "ok": true, "id": 295, "name": "should have isa method" } ], [ "line", "ok 296 isa method should be a function\n" ], [ "assert", { "ok": true, "id": 296, "name": "isa method should be a function" } ], [ "line", "# tests 147\n" ], [ "comment", "# tests 147\n" ], [ "line", "# pass 147\n" ], [ "comment", "# pass 147\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 297 test/test-test.js\n" ], [ "assert", { "ok": true, "id": 297, "name": "test/test-test.js" } ], [ "line", "# timeout.js\n" ], [ "comment", "# timeout.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# timeout test with plan only\n" ], [ "comment", "# timeout test with plan only\n" ], [ "line", "ok 298 a\n" ], [ "assert", { "ok": true, "id": 298, "name": "a" } ], [ "line", "ok 299 b\n" ], [ "assert", { "ok": true, "id": 299, "name": "b" } ], [ "line", "# timeout test with plan and end\n" ], [ "comment", "# timeout test with plan and end\n" ], [ "line", "ok 300 a\n" ], [ "assert", { "ok": true, "id": 300, "name": "a" } ], [ "line", "ok 301 b\n" ], [ "assert", { "ok": true, "id": 301, "name": "b" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 302 test/timeout.js\n" ], [ "assert", { "ok": true, "id": 302, "name": "test/timeout.js" } ], [ "line", "# trivial-success.js\n" ], [ "comment", "# trivial-success.js\n" ], [ "line", "ok 303 test/trivial-success.js\n" ], [ "assert", { "ok": true, "id": 303, "name": "test/trivial-success.js" } ], [ "line", "# undefined_indented.js\n" ], [ "comment", "# undefined_indented.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# consume yaml\n" ], [ "comment", "# consume yaml\n" ], [ "line", "ok 304 should be equivalent\n" ], [ "assert", { "ok": true, "id": 304, "name": "should be equivalent" } ], [ "line", "# tests 1\n" ], [ "comment", "# tests 1\n" ], [ "line", "# pass 1\n" ], [ "comment", "# pass 1\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 305 test/undefined_indented.js\n" ], [ "assert", { "ok": true, "id": 305, "name": "test/undefined_indented.js" } ], [ "line", "# valid-command.js\n" ], [ "comment", "# valid-command.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# valid command\n" ], [ "comment", "# valid command\n" ], [ "line", "ok 306 should be equivalent\n" ], [ "assert", { "ok": true, "id": 306, "name": "should be equivalent" } ], [ "line", "ok 307 should be equivalent\n" ], [ "assert", { "ok": true, "id": 307, "name": "should be equivalent" } ], [ "line", "ok 308 should be equivalent\n" ], [ "assert", { "ok": true, "id": 308, "name": "should be equivalent" } ], [ "line", "ok 309 should be equivalent\n" ], [ "assert", { "ok": true, "id": 309, "name": "should be equivalent" } ], [ "line", "ok 310 should be equivalent\n" ], [ "assert", { "ok": true, "id": 310, "name": "should be equivalent" } ], [ "line", "ok 311 should be equal\n" ], [ "assert", { "ok": true, "id": 311, "name": "should be equal" } ], [ "line", "# tests 6\n" ], [ "comment", "# tests 6\n" ], [ "line", "# pass 6\n" ], [ "comment", "# pass 6\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 312 test/valid-command.js\n" ], [ "assert", { "ok": true, "id": 312, "name": "test/valid-command.js" } ], [ "line", "1..312\n" ], [ "plan", { "start": 1, "end": 312 } ], [ "line", "# tests 312\n" ], [ "comment", "# tests 312\n" ], [ "line", "# pass 298\n" ], [ "comment", "# pass 298\n" ], [ "line", "# fail 5\n" ], [ "comment", "# fail 5\n" ], [ "line", "# skip 5\n" ], [ "comment", "# skip 5\n" ], [ "line", "# todo 4\n" ], [ "comment", "# todo 4\n" ], [ "line", "# failed 5 of 312 tests\n" ], [ "comment", "# failed 5 of 312 tests\n" ], [ "line", "# todo: 4\n" ], [ "comment", "# todo: 4\n" ], [ "line", "# skip: 5\n" ], [ "comment", "# skip: 5\n" ], [ "complete", { "ok": false, "count": 312, "pass": 307, "fail": 5, "bailout": false, "todo": 4, "skip": 5, "plan": { "start": 1, "end": 312, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 115, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Socket. (child_process.js:1153:11)\n", "emitOne (events.js:77:13)\n" ] } }, { "ok": false, "id": 120, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:18:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } }, { "ok": false, "id": 122, "name": "summarizes skipped count", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:23:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } }, { "ok": false, "id": 123, "name": "summarizes todo count", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:24:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } }, { "ok": false, "id": 124, "name": "test/test-descriptions.js", "diag": { "exit": 1, "command": "/usr/local/bin/iojs test-descriptions.js" } } ] } ] ] tap-parser-7.0.0/test/fixtures/tap-tests-stdout.json000066400000000000000000002540121320135610000225560ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# buffer_compare.js\n" ], [ "comment", "# buffer_compare.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# same buffers\n" ], [ "comment", "# same buffers\n" ], [ "line", "ok 1 should be equivalent\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equivalent" } ], [ "line", "# not same buffers\n" ], [ "comment", "# not same buffers\n" ], [ "line", "ok 2 should not be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should not be equivalent" } ], [ "line", "# tests 2\n" ], [ "comment", "# tests 2\n" ], [ "line", "# pass 2\n" ], [ "comment", "# pass 2\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 3 test/buffer_compare.js\n" ], [ "assert", { "ok": true, "id": 3, "name": "test/buffer_compare.js" } ], [ "line", "# common.js\n" ], [ "comment", "# common.js\n" ], [ "line", "ok 4 just setup, nothing relevant\n" ], [ "assert", { "ok": true, "id": 4, "name": "just setup, nothing relevant" } ], [ "line", "ok 5 test/common.js\n" ], [ "assert", { "ok": true, "id": 5, "name": "test/common.js" } ], [ "line", "# consumer.js\n" ], [ "comment", "# consumer.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# basic.tap\n" ], [ "comment", "# basic.tap\n" ], [ "line", "ok 6 should be equivalent\n" ], [ "assert", { "ok": true, "id": 6, "name": "should be equivalent" } ], [ "line", "# indent.tap\n" ], [ "comment", "# indent.tap\n" ], [ "line", "ok 7 should be equivalent\n" ], [ "assert", { "ok": true, "id": 7, "name": "should be equivalent" } ], [ "line", "# missing.tap\n" ], [ "comment", "# missing.tap\n" ], [ "line", "ok 8 should be equivalent\n" ], [ "assert", { "ok": true, "id": 8, "name": "should be equivalent" } ], [ "line", "# skip-all.tap\n" ], [ "comment", "# skip-all.tap\n" ], [ "line", "ok 9 should be equivalent\n" ], [ "assert", { "ok": true, "id": 9, "name": "should be equivalent" } ], [ "line", "# tap-tests.tap\n" ], [ "comment", "# tap-tests.tap\n" ], [ "line", "ok 10 should be equivalent\n" ], [ "assert", { "ok": true, "id": 10, "name": "should be equivalent" } ], [ "line", "# yamlish.tap\n" ], [ "comment", "# yamlish.tap\n" ], [ "line", "ok 11 should be equivalent\n" ], [ "assert", { "ok": true, "id": 11, "name": "should be equivalent" } ], [ "line", "# tests 6\n" ], [ "comment", "# tests 6\n" ], [ "line", "# pass 6\n" ], [ "comment", "# pass 6\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 12 test/consumer.js\n" ], [ "assert", { "ok": true, "id": 12, "name": "test/consumer.js" } ], [ "line", "# debug-test.js\n" ], [ "comment", "# debug-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# debug test\n" ], [ "comment", "# debug test\n" ], [ "line", "ok 13 Should output debugger message\n" ], [ "assert", { "ok": true, "id": 13, "name": "Should output debugger message" } ], [ "line", "# tests 1\n" ], [ "comment", "# tests 1\n" ], [ "line", "# pass 1\n" ], [ "comment", "# pass 1\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 14 test/debug-test.js\n" ], [ "assert", { "ok": true, "id": 14, "name": "test/debug-test.js" } ], [ "line", "# deep-strict.js\n" ], [ "comment", "# deep-strict.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# strictDeepEquals shouldn't care about key order\n" ], [ "comment", "# strictDeepEquals shouldn't care about key order\n" ], [ "line", "ok 15 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 15, "name": "should be strictly equal" } ], [ "line", "# strictDeepEquals shouldn't care about key order recursively\n" ], [ "comment", "# strictDeepEquals shouldn't care about key order recursively\n" ], [ "line", "ok 16 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 16, "name": "should be strictly equal" } ], [ "line", "# strictDeepEquals shoudn't care about key order (but still might)\n" ], [ "comment", "# strictDeepEquals shoudn't care about key order (but still might)\n" ], [ "line", "ok 17 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 17, "name": "should be strictly equal" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 18 test/deep-strict.js\n" ], [ "assert", { "ok": true, "id": 18, "name": "test/deep-strict.js" } ], [ "line", "# deep.js\n" ], [ "comment", "# deep.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# deepEquals shouldn't care about key order and types\n" ], [ "comment", "# deepEquals shouldn't care about key order and types\n" ], [ "line", "ok 19 should be equivalent\n" ], [ "assert", { "ok": true, "id": 19, "name": "should be equivalent" } ], [ "line", "# deepEquals shouldn't care about key order recursively and types\n" ], [ "comment", "# deepEquals shouldn't care about key order recursively and types\n" ], [ "line", "ok 20 should be equivalent\n" ], [ "assert", { "ok": true, "id": 20, "name": "should be equivalent" } ], [ "line", "# deepEquals shoudn't care about key order (but still might) and types\n" ], [ "comment", "# deepEquals shoudn't care about key order (but still might) and types\n" ], [ "line", "ok 21 should be equivalent\n" ], [ "assert", { "ok": true, "id": 21, "name": "should be equivalent" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 22 test/deep.js\n" ], [ "assert", { "ok": true, "id": 22, "name": "test/deep.js" } ], [ "line", "# executed.sh\n" ], [ "comment", "# executed.sh\n" ], [ "line", "ok 23 File with executable bit should be executed\n" ], [ "assert", { "ok": true, "id": 23, "name": "File with executable bit should be executed" } ], [ "line", "ok 24 test/executed.sh\n" ], [ "assert", { "ok": true, "id": 24, "name": "test/executed.sh" } ], [ "line", "# exit-code.js\n" ], [ "comment", "# exit-code.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# exit code 1 when tap results show failure\n" ], [ "comment", "# exit code 1 when tap results show failure\n" ], [ "line", "# test exits 0, has failures\n" ], [ "comment", "# test exits 0, has failures\n" ], [ "line", "ok 25 should be equal\n" ], [ "assert", { "ok": true, "id": 25, "name": "should be equal" } ], [ "line", "ok 26 should be equal\n" ], [ "assert", { "ok": true, "id": 26, "name": "should be equal" } ], [ "line", "# test exits 1, has failures\n" ], [ "comment", "# test exits 1, has failures\n" ], [ "line", "ok 27 should be equal\n" ], [ "assert", { "ok": true, "id": 27, "name": "should be equal" } ], [ "line", "ok 28 should be equal\n" ], [ "assert", { "ok": true, "id": 28, "name": "should be equal" } ], [ "line", "# test exits 1, has no failures\n" ], [ "comment", "# test exits 1, has no failures\n" ], [ "line", "ok 29 should be equal\n" ], [ "assert", { "ok": true, "id": 29, "name": "should be equal" } ], [ "line", "ok 30 should be equal\n" ], [ "assert", { "ok": true, "id": 30, "name": "should be equal" } ], [ "line", "# successes exit 0\n" ], [ "comment", "# successes exit 0\n" ], [ "line", "# test that does nothing, but exits 0\n" ], [ "comment", "# test that does nothing, but exits 0\n" ], [ "line", "ok 31 should be equal\n" ], [ "assert", { "ok": true, "id": 31, "name": "should be equal" } ], [ "line", "ok 32 should be equal\n" ], [ "assert", { "ok": true, "id": 32, "name": "should be equal" } ], [ "line", "# test that succeeds, and exits 0\n" ], [ "comment", "# test that succeeds, and exits 0\n" ], [ "line", "ok 33 should be equal\n" ], [ "assert", { "ok": true, "id": 33, "name": "should be equal" } ], [ "line", "ok 34 should be equal\n" ], [ "assert", { "ok": true, "id": 34, "name": "should be equal" } ], [ "line", "# tests 10\n" ], [ "comment", "# tests 10\n" ], [ "line", "# pass 10\n" ], [ "comment", "# pass 10\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 35 test/exit-code.js\n" ], [ "assert", { "ok": true, "id": 35, "name": "test/exit-code.js" } ], [ "line", "# expose-gc-test.js\n" ], [ "comment", "# expose-gc-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# gc test when the gc isn't there\n" ], [ "comment", "# gc test when the gc isn't there\n" ], [ "line", "ok 36 should be equal\n" ], [ "assert", { "ok": true, "id": 36, "name": "should be equal" } ], [ "line", "# gc test when the gc should be there\n" ], [ "comment", "# gc test when the gc should be there\n" ], [ "line", "# test for gc using --gc\n" ], [ "comment", "# test for gc using --gc\n" ], [ "line", "ok 37 should be equal\n" ], [ "assert", { "ok": true, "id": 37, "name": "should be equal" } ], [ "line", "# test for gc using --expose-gc\n" ], [ "comment", "# test for gc using --expose-gc\n" ], [ "line", "ok 38 should be equal\n" ], [ "assert", { "ok": true, "id": 38, "name": "should be equal" } ], [ "line", "# cleanup\n" ], [ "comment", "# cleanup\n" ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 39 test/expose-gc-test.js\n" ], [ "assert", { "ok": true, "id": 39, "name": "test/expose-gc-test.js" } ], [ "line", "# global-harness-async.js\n" ], [ "comment", "# global-harness-async.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# outer\n" ], [ "comment", "# outer\n" ], [ "line", "# inner 1\n" ], [ "comment", "# inner 1\n" ], [ "line", "ok 40 1-1\n" ], [ "assert", { "ok": true, "id": 40, "name": "1-1" } ], [ "line", "# inner 2\n" ], [ "comment", "# inner 2\n" ], [ "line", "ok 41 2-1\n" ], [ "assert", { "ok": true, "id": 41, "name": "2-1" } ], [ "line", "# inner 3\n" ], [ "comment", "# inner 3\n" ], [ "line", "ok 42 3-1\n" ], [ "assert", { "ok": true, "id": 42, "name": "3-1" } ], [ "line", "ok 43 test/global-harness-async.js\n" ], [ "assert", { "ok": true, "id": 43, "name": "test/global-harness-async.js" } ], [ "line", "# independent-timeouts.js\n" ], [ "comment", "# independent-timeouts.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# finishes in time\n" ], [ "comment", "# finishes in time\n" ], [ "line", "# finishes in time too\n" ], [ "comment", "# finishes in time too\n" ], [ "line", "# tests 0\n" ], [ "comment", "# tests 0\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 44 test/independent-timeouts.js\n" ], [ "assert", { "ok": true, "id": 44, "name": "test/independent-timeouts.js" } ], [ "line", "# isolated-conf-test.js\n" ], [ "comment", "# isolated-conf-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# one\n" ], [ "comment", "# one\n" ], [ "line", "ok 45 should be equal\n" ], [ "assert", { "ok": true, "id": 45, "name": "should be equal" } ], [ "line", "ok 46 should be equal\n" ], [ "assert", { "ok": true, "id": 46, "name": "should be equal" } ], [ "line", "# two\n" ], [ "comment", "# two\n" ], [ "line", "ok 47 should be equal\n" ], [ "assert", { "ok": true, "id": 47, "name": "should be equal" } ], [ "line", "ok 48 should be equal\n" ], [ "assert", { "ok": true, "id": 48, "name": "should be equal" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 49 test/isolated-conf-test.js\n" ], [ "assert", { "ok": true, "id": 49, "name": "test/isolated-conf-test.js" } ], [ "line", "# meta-test.js\n" ], [ "comment", "# meta-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# meta test\n" ], [ "comment", "# meta test\n" ], [ "line", "ok 50 sanity check\n" ], [ "assert", { "ok": true, "id": 50, "name": "sanity check" } ], [ "line", "ok 51 not ok\n" ], [ "assert", { "ok": true, "id": 51, "name": "not ok" } ], [ "line", "ok 52 total test count\n" ], [ "assert", { "ok": true, "id": 52, "name": "total test count" } ], [ "line", "ok 53 tests passed\n" ], [ "assert", { "ok": true, "id": 53, "name": "tests passed" } ], [ "line", "ok 54 tests failed\n" ], [ "assert", { "ok": true, "id": 54, "name": "tests failed" } ], [ "line", "ok 55 ok is boolean\n" ], [ "assert", { "ok": true, "id": 55, "name": "ok is boolean" } ], [ "line", "ok 56 skip is number\n" ], [ "assert", { "ok": true, "id": 56, "name": "skip is number" } ], [ "line", "ok 57 results isa Results\n" ], [ "assert", { "ok": true, "id": 57, "name": "results isa Results" } ], [ "line", "ok 58 test isa Test\n" ], [ "assert", { "ok": true, "id": 58, "name": "test isa Test" } ], [ "line", "ok 59 test isa Harness\n" ], [ "assert", { "ok": true, "id": 59, "name": "test isa Harness" } ], [ "line", "# tests 10\n" ], [ "comment", "# tests 10\n" ], [ "line", "# pass 10\n" ], [ "comment", "# pass 10\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 60 test/meta-test.js\n" ], [ "assert", { "ok": true, "id": 60, "name": "test/meta-test.js" } ], [ "line", "# nested-async.js\n" ], [ "comment", "# nested-async.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# Harness async test support\n" ], [ "comment", "# Harness async test support\n" ], [ "line", "ok 61 sync child A\n" ], [ "assert", { "ok": true, "id": 61, "name": "sync child A" } ], [ "line", "# sync child B\n" ], [ "comment", "# sync child B\n" ], [ "line", "# async grandchild A\n" ], [ "comment", "# async grandchild A\n" ], [ "line", "ok 62 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 62, "name": "(unnamed assert)" } ], [ "line", "# async grandchild B\n" ], [ "comment", "# async grandchild B\n" ], [ "line", "ok 63 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 63, "name": "(unnamed assert)" } ], [ "line", "# async child\n" ], [ "comment", "# async child\n" ], [ "line", "ok 64 sync grandchild in async child A\n" ], [ "assert", { "ok": true, "id": 64, "name": "sync grandchild in async child A" } ], [ "line", "# sync grandchild in async child B\n" ], [ "comment", "# sync grandchild in async child B\n" ], [ "line", "ok 65 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 65, "name": "(unnamed assert)" } ], [ "line", "# tests 5\n" ], [ "comment", "# tests 5\n" ], [ "line", "# pass 5\n" ], [ "comment", "# pass 5\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 66 test/nested-async.js\n" ], [ "assert", { "ok": true, "id": 66, "name": "test/nested-async.js" } ], [ "line", "# nested-test.js\n" ], [ "comment", "# nested-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# parent\n" ], [ "comment", "# parent\n" ], [ "line", "ok 67 p test\n" ], [ "assert", { "ok": true, "id": 67, "name": "p test" } ], [ "line", "# subtest\n" ], [ "comment", "# subtest\n" ], [ "line", "ok 68 ch test\n" ], [ "assert", { "ok": true, "id": 68, "name": "ch test" } ], [ "line", "# nested subtest\n" ], [ "comment", "# nested subtest\n" ], [ "line", "ok 69 grch test\n" ], [ "assert", { "ok": true, "id": 69, "name": "grch test" } ], [ "line", "# another subtest\n" ], [ "comment", "# another subtest\n" ], [ "line", "ok 70 ch test 2\n" ], [ "assert", { "ok": true, "id": 70, "name": "ch test 2" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 71 test/nested-test.js\n" ], [ "assert", { "ok": true, "id": 71, "name": "test/nested-test.js" } ], [ "line", "# non-tap-output.js\n" ], [ "comment", "# non-tap-output.js\n" ], [ "line", "# everything is fine\n" ], [ "comment", "# everything is fine\n" ], [ "line", "# there are no errors\n" ], [ "comment", "# there are no errors\n" ], [ "line", "# this output is not haiku.\n" ], [ "comment", "# this output is not haiku.\n" ], [ "line", "# is 8 ok?\n" ], [ "comment", "# is 8 ok?\n" ], [ "line", "ok 72 , 8 can stay.\n" ], [ "assert", { "ok": true, "id": 72, "name": ", 8 can stay." } ], [ "line", "# but: nevertheless, here we are\n" ], [ "comment", "# but: nevertheless, here we are\n" ], [ "line", "# this: is indented\n" ], [ "comment", "# this: is indented\n" ], [ "line", "# and: it\n" ], [ "comment", "# and: it\n" ], [ "line", "# might: ~\n" ], [ "comment", "# might: ~\n" ], [ "line", "# be: yaml?\n" ], [ "comment", "# be: yaml?\n" ], [ "line", "ok 73 might be confusing\n" ], [ "assert", { "ok": true, "id": 73, "name": "might be confusing" } ], [ "line", "ok 74 done now, exiting\n" ], [ "assert", { "ok": true, "id": 74, "name": "done now, exiting" } ], [ "line", "ok 75 test/non-tap-output.js\n" ], [ "assert", { "ok": true, "id": 75, "name": "test/non-tap-output.js" } ], [ "line", "# not-executed.sh\n" ], [ "comment", "# not-executed.sh\n" ], [ "line", "# output-childtest-description.js\n" ], [ "comment", "# output-childtest-description.js\n" ], [ "line", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\n" ], [ "comment", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# nested tests, parent and child pass\n" ], [ "comment", "# nested tests, parent and child pass\n" ], [ "line", "ok 76 outputs parent description\n" ], [ "assert", { "ok": true, "id": 76, "name": "outputs parent description" } ], [ "line", "ok 77 outputs child description\n" ], [ "assert", { "ok": true, "id": 77, "name": "outputs child description" } ], [ "line", "ok 78 outputs parent description before parent result\n" ], [ "assert", { "ok": true, "id": 78, "name": "outputs parent description before parent result" } ], [ "line", "ok 79 outputs parent result before child description\n" ], [ "assert", { "ok": true, "id": 79, "name": "outputs parent result before child description" } ], [ "line", "ok 80 outputs child description before child result\n" ], [ "assert", { "ok": true, "id": 80, "name": "outputs child description before child result" } ], [ "line", "# tests 5\n" ], [ "comment", "# tests 5\n" ], [ "line", "# pass 5\n" ], [ "comment", "# pass 5\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 81 test/output-childtest-description.js\n" ], [ "assert", { "ok": true, "id": 81, "name": "test/output-childtest-description.js" } ], [ "line", "# result-trap.js\n" ], [ "comment", "# result-trap.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trap result\n" ], [ "comment", "# trap result\n" ], [ "line", "ok 82 should be equal\n" ], [ "assert", { "ok": true, "id": 82, "name": "should be equal" } ], [ "line", "ok 83 should be equal\n" ], [ "assert", { "ok": true, "id": 83, "name": "should be equal" } ], [ "line", "# tests 2\n" ], [ "comment", "# tests 2\n" ], [ "line", "# pass 2\n" ], [ "comment", "# pass 2\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 84 test/result-trap.js\n" ], [ "assert", { "ok": true, "id": 84, "name": "test/result-trap.js" } ], [ "line", "# segv.js\n" ], [ "comment", "# segv.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# setup\n" ], [ "comment", "# setup\n" ], [ "line", "ok 85 compiled seg faulter\n" ], [ "assert", { "ok": true, "id": 85, "name": "compiled seg faulter" } ], [ "line", "# segv\n" ], [ "comment", "# segv\n" ], [ "line", "ok 86 should be equivalent\n" ], [ "assert", { "ok": true, "id": 86, "name": "should be equivalent" } ], [ "line", "ok 87 should be equivalent\n" ], [ "assert", { "ok": true, "id": 87, "name": "should be equivalent" } ], [ "line", "ok 88 should be equivalent\n" ], [ "assert", { "ok": true, "id": 88, "name": "should be equivalent" } ], [ "line", "ok 89 should be equivalent\n" ], [ "assert", { "ok": true, "id": 89, "name": "should be equivalent" } ], [ "line", "ok 90 should be equivalent\n" ], [ "assert", { "ok": true, "id": 90, "name": "should be equivalent" } ], [ "line", "ok 91 should be equal\n" ], [ "assert", { "ok": true, "id": 91, "name": "should be equal" } ], [ "line", "# cleanup\n" ], [ "comment", "# cleanup\n" ], [ "line", "ok 92 cleaned up\n" ], [ "assert", { "ok": true, "id": 92, "name": "cleaned up" } ], [ "line", "# tests 8\n" ], [ "comment", "# tests 8\n" ], [ "line", "# pass 8\n" ], [ "comment", "# pass 8\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 93 test/segv.js\n" ], [ "assert", { "ok": true, "id": 93, "name": "test/segv.js" } ], [ "line", "# simple-harness-test-with-plan.js\n" ], [ "comment", "# simple-harness-test-with-plan.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trivial success\n" ], [ "comment", "# trivial success\n" ], [ "line", "ok 94 it works\n" ], [ "assert", { "ok": true, "id": 94, "name": "it works" } ], [ "line", "# two tests\n" ], [ "comment", "# two tests\n" ], [ "line", "ok 95 math should work\n" ], [ "assert", { "ok": true, "id": 95, "name": "math should work" } ], [ "line", "ok 96 false should not be ok\n" ], [ "assert", { "ok": true, "id": 96, "name": "false should not be ok" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 97 test/simple-harness-test-with-plan.js\n" ], [ "assert", { "ok": true, "id": 97, "name": "test/simple-harness-test-with-plan.js" } ], [ "line", "# simple-harness-test.js\n" ], [ "comment", "# simple-harness-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trivial success\n" ], [ "comment", "# trivial success\n" ], [ "line", "ok 98 it works\n" ], [ "assert", { "ok": true, "id": 98, "name": "it works" } ], [ "line", "# two tests\n" ], [ "comment", "# two tests\n" ], [ "line", "ok 99 math should work\n" ], [ "assert", { "ok": true, "id": 99, "name": "math should work" } ], [ "line", "ok 100 false should not be ok\n" ], [ "assert", { "ok": true, "id": 100, "name": "false should not be ok" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 101 test/simple-harness-test.js\n" ], [ "assert", { "ok": true, "id": 101, "name": "test/simple-harness-test.js" } ], [ "line", "# test-assert-todo-skip.js\n" ], [ "comment", "# test-assert-todo-skip.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# not much\n" ], [ "comment", "# not much\n" ], [ "line", "ok 102 always passes # SKIP skip it good\n" ], [ "assert", { "ok": true, "id": 102, "skip": "skip it good", "name": "always passes" } ], [ "line", "ok 103 false # SKIP always fails\n" ], [ "assert", { "ok": true, "id": 103, "skip": "always fails", "name": "false" } ], [ "line", "ok 104 bonus # TODO remove todo directive\n" ], [ "assert", { "ok": true, "id": 104, "todo": "remove todo directive", "name": "bonus" } ], [ "line", "ok 105 expected # TODO implement a thing\n" ], [ "assert", { "ok": true, "id": 105, "todo": "implement a thing", "name": "expected" } ], [ "line", "ok 106 always passes without explanation # SKIP \n" ], [ "assert", { "ok": true, "id": 106, "skip": true, "name": "always passes without explanation" } ], [ "line", "ok 107 false without explanation # SKIP \n" ], [ "assert", { "ok": true, "id": 107, "skip": true, "name": "false without explanation" } ], [ "line", "ok 108 bonus without explanation # TODO \n" ], [ "assert", { "ok": true, "id": 108, "todo": true, "name": "bonus without explanation" } ], [ "line", "ok 109 expected without explanation # TODO \n" ], [ "assert", { "ok": true, "id": 109, "todo": true, "name": "expected without explanation" } ], [ "line", "# tests 8\n" ], [ "comment", "# tests 8\n" ], [ "line", "# skip 4\n" ], [ "comment", "# skip 4\n" ], [ "line", "# todo 4\n" ], [ "comment", "# todo 4\n" ], [ "line", "ok 110 test/test-assert-todo-skip.js\n" ], [ "assert", { "ok": true, "id": 110, "name": "test/test-assert-todo-skip.js" } ], [ "line", "# test-descriptions.js\n" ], [ "comment", "# test-descriptions.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# captures test descriptions\n" ], [ "comment", "# captures test descriptions\n" ], [ "line", "ok 111 exit cleanly\n" ], [ "assert", { "ok": true, "id": 111, "name": "exit cleanly" } ], [ "line", "ok 112 captures SKIP description\n" ], [ "assert", { "ok": true, "id": 112, "name": "captures SKIP description" } ], [ "line", "ok 113 skip summary is not from file\n" ], [ "assert", { "ok": true, "id": 113, "name": "skip summary is not from file" } ], [ "line", "ok 114 todo summary is not from file\n" ], [ "assert", { "ok": true, "id": 114, "name": "todo summary is not from file" } ], [ "line", "not ok 115 captures TODO description\n" ], [ "line", " ---\n" ], [ "line", " file: child_process.js\n" ], [ "line", " line: 707\n" ], [ "line", " column: 7\n" ], [ "line", " stack: \n" ], [ "line", " - |\n" ], [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n" ], [ "line", " - |\n" ], [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n" ], [ "line", " - |\n" ], [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n" ], [ "line", " - |\n" ], [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.exithandler (child_process.js:707:7)\n" ], [ "line", " - |\n" ], [ "line", " emitTwo (events.js:87:13)\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.emit (events.js:169:7)\n" ], [ "line", " - |\n" ], [ "line", " maybeClose (child_process.js:984:16)\n" ], [ "line", " - |\n" ], [ "line", " Socket. (child_process.js:1153:11)\n" ], [ "line", " - |\n" ], [ "line", " emitOne (events.js:77:13)\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 115, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Socket. (child_process.js:1153:11)\n", "emitOne (events.js:77:13)\n" ] } } ], [ "line", "ok 116 exit cleanly\n" ], [ "assert", { "ok": true, "id": 116, "name": "exit cleanly" } ], [ "line", "ok 117 captures SKIP description\n" ], [ "assert", { "ok": true, "id": 117, "name": "captures SKIP description" } ], [ "line", "ok 118 skip summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 118, "name": "skip summary is not in TAP output" } ], [ "line", "ok 119 todo summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 119, "name": "todo summary is not in TAP output" } ], [ "line", "not ok 120 captures TODO description\n" ], [ "line", " ---\n" ], [ "line", " file: child_process.js\n" ], [ "line", " line: 707\n" ], [ "line", " column: 7\n" ], [ "line", " stack: \n" ], [ "line", " - |\n" ], [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n" ], [ "line", " - |\n" ], [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n" ], [ "line", " - |\n" ], [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n" ], [ "line", " - |\n" ], [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:18:7\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.exithandler (child_process.js:707:7)\n" ], [ "line", " - |\n" ], [ "line", " emitTwo (events.js:87:13)\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.emit (events.js:169:7)\n" ], [ "line", " - |\n" ], [ "line", " maybeClose (child_process.js:984:16)\n" ], [ "line", " - |\n" ], [ "line", " Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 120, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:18:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } } ], [ "line", "ok 121 exit cleanly\n" ], [ "assert", { "ok": true, "id": 121, "name": "exit cleanly" } ], [ "line", "not ok 122 summarizes skipped count\n" ], [ "line", " ---\n" ], [ "line", " file: child_process.js\n" ], [ "line", " line: 707\n" ], [ "line", " column: 7\n" ], [ "line", " stack: \n" ], [ "line", " - |\n" ], [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n" ], [ "line", " - |\n" ], [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n" ], [ "line", " - |\n" ], [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n" ], [ "line", " - |\n" ], [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:23:7\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.exithandler (child_process.js:707:7)\n" ], [ "line", " - |\n" ], [ "line", " emitTwo (events.js:87:13)\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.emit (events.js:169:7)\n" ], [ "line", " - |\n" ], [ "line", " maybeClose (child_process.js:984:16)\n" ], [ "line", " - |\n" ], [ "line", " Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 122, "name": "summarizes skipped count", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:23:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } } ], [ "line", "not ok 123 summarizes todo count\n" ], [ "line", " ---\n" ], [ "line", " file: child_process.js\n" ], [ "line", " line: 707\n" ], [ "line", " column: 7\n" ], [ "line", " stack: \n" ], [ "line", " - |\n" ], [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n" ], [ "line", " - |\n" ], [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n" ], [ "line", " - |\n" ], [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n" ], [ "line", " - |\n" ], [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:24:7\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.exithandler (child_process.js:707:7)\n" ], [ "line", " - |\n" ], [ "line", " emitTwo (events.js:87:13)\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.emit (events.js:169:7)\n" ], [ "line", " - |\n" ], [ "line", " maybeClose (child_process.js:984:16)\n" ], [ "line", " - |\n" ], [ "line", " Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 123, "name": "summarizes todo count", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:24:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } } ], [ "line", "# tests 13\n" ], [ "comment", "# tests 13\n" ], [ "line", "# pass 9\n" ], [ "comment", "# pass 9\n" ], [ "line", "# fail 4\n" ], [ "comment", "# fail 4\n" ], [ "line", "not ok 124 test/test-descriptions.js\n" ], [ "line", " ---\n" ], [ "line", " exit: 1\n" ], [ "line", " command: \"/usr/local/bin/iojs test-descriptions.js\"\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 124, "name": "test/test-descriptions.js", "diag": { "exit": 1, "command": "/usr/local/bin/iojs test-descriptions.js" } } ], [ "line", "# test-directives.js\n" ], [ "comment", "# test-directives.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# captures test descriptions\n" ], [ "comment", "# captures test descriptions\n" ], [ "line", "# raw TAP > TAP consumer > TAP producer\n" ], [ "comment", "# raw TAP > TAP consumer > TAP producer\n" ], [ "line", "ok 125 overall result is PASS\n" ], [ "assert", { "ok": true, "id": 125, "name": "overall result is PASS" } ], [ "line", "ok 126 captures ok SKIP\n" ], [ "assert", { "ok": true, "id": 126, "name": "captures ok SKIP" } ], [ "line", "ok 127 captures not ok SKIP\n" ], [ "assert", { "ok": true, "id": 127, "name": "captures not ok SKIP" } ], [ "line", "ok 128 skip summary not in TAP output\n" ], [ "assert", { "ok": true, "id": 128, "name": "skip summary not in TAP output" } ], [ "line", "ok 129 captures ok TODO\n" ], [ "assert", { "ok": true, "id": 129, "name": "captures ok TODO" } ], [ "line", "ok 130 captures not ok TODO\n" ], [ "assert", { "ok": true, "id": 130, "name": "captures not ok TODO" } ], [ "line", "ok 131 todo summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 131, "name": "todo summary is not in TAP output" } ], [ "line", "ok 132 no ugly \"undefined\" in output\n" ], [ "assert", { "ok": true, "id": 132, "name": "no ugly \"undefined\" in output" } ], [ "line", "# raw TAP > TAP consumer > summary\n" ], [ "comment", "# raw TAP > TAP consumer > summary\n" ], [ "line", "ok 133 overall result is PASS\n" ], [ "assert", { "ok": true, "id": 133, "name": "overall result is PASS" } ], [ "line", "ok 134 no SKIP in summary\n" ], [ "assert", { "ok": true, "id": 134, "name": "no SKIP in summary" } ], [ "line", "ok 135 skip summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 135, "name": "skip summary is not in TAP output" } ], [ "line", "ok 136 no TODO in summary\n" ], [ "assert", { "ok": true, "id": 136, "name": "no TODO in summary" } ], [ "line", "ok 137 todo summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 137, "name": "todo summary is not in TAP output" } ], [ "line", "ok 138 no ugly \"undefined\" in output\n" ], [ "assert", { "ok": true, "id": 138, "name": "no ugly \"undefined\" in output" } ], [ "line", "# TAP producer via require(\"tap\")\n" ], [ "comment", "# TAP producer via require(\"tap\")\n" ], [ "line", "ok 139 overall result is PASS\n" ], [ "assert", { "ok": true, "id": 139, "name": "overall result is PASS" } ], [ "line", "ok 140 captures ok SKIP\n" ], [ "assert", { "ok": true, "id": 140, "name": "captures ok SKIP" } ], [ "line", "ok 141 captures not ok SKIP\n" ], [ "assert", { "ok": true, "id": 141, "name": "captures not ok SKIP" } ], [ "line", "ok 142 skip summary not in TAP output\n" ], [ "assert", { "ok": true, "id": 142, "name": "skip summary not in TAP output" } ], [ "line", "ok 143 captures ok TODO\n" ], [ "assert", { "ok": true, "id": 143, "name": "captures ok TODO" } ], [ "line", "ok 144 captures not ok TODO\n" ], [ "assert", { "ok": true, "id": 144, "name": "captures not ok TODO" } ], [ "line", "ok 145 todo summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 145, "name": "todo summary is not in TAP output" } ], [ "line", "ok 146 no ugly \"undefined\" in output\n" ], [ "assert", { "ok": true, "id": 146, "name": "no ugly \"undefined\" in output" } ], [ "line", "# tests 22\n" ], [ "comment", "# tests 22\n" ], [ "line", "# pass 22\n" ], [ "comment", "# pass 22\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 147 test/test-directives.js\n" ], [ "assert", { "ok": true, "id": 147, "name": "test/test-directives.js" } ], [ "line", "# test-skip.js\n" ], [ "comment", "# test-skip.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "ok 148 does not count as failure # SKIP \n" ], [ "assert", { "ok": true, "id": 148, "skip": true, "name": "does not count as failure" } ], [ "line", "# tests 1\n" ], [ "comment", "# tests 1\n" ], [ "line", "# skip 1\n" ], [ "comment", "# skip 1\n" ], [ "line", "ok 149 test/test-skip.js\n" ], [ "assert", { "ok": true, "id": 149, "name": "test/test-skip.js" } ], [ "line", "# test-test.js\n" ], [ "comment", "# test-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# testing the test object\n" ], [ "comment", "# testing the test object\n" ], [ "line", "ok 150 test object should be instanceof Test\n" ], [ "assert", { "ok": true, "id": 150, "name": "test object should be instanceof Test" } ], [ "line", "ok 151 test object should be instanceof Harness\n" ], [ "assert", { "ok": true, "id": 151, "name": "test object should be instanceof Harness" } ], [ "line", "ok 152 test._Test should be the Test class\n" ], [ "assert", { "ok": true, "id": 152, "name": "test._Test should be the Test class" } ], [ "line", "ok 153 should have isNotDeepEqual method\n" ], [ "assert", { "ok": true, "id": 153, "name": "should have isNotDeepEqual method" } ], [ "line", "ok 154 isNotDeepEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 154, "name": "isNotDeepEqual method should be a function" } ], [ "line", "ok 155 should have equals method\n" ], [ "assert", { "ok": true, "id": 155, "name": "should have equals method" } ], [ "line", "ok 156 equals method should be a function\n" ], [ "assert", { "ok": true, "id": 156, "name": "equals method should be a function" } ], [ "line", "ok 157 should have inequivalent method\n" ], [ "assert", { "ok": true, "id": 157, "name": "should have inequivalent method" } ], [ "line", "ok 158 inequivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 158, "name": "inequivalent method should be a function" } ], [ "line", "ok 159 should have threw method\n" ], [ "assert", { "ok": true, "id": 159, "name": "should have threw method" } ], [ "line", "ok 160 threw method should be a function\n" ], [ "assert", { "ok": true, "id": 160, "name": "threw method should be a function" } ], [ "line", "ok 161 should have strictEqual method\n" ], [ "assert", { "ok": true, "id": 161, "name": "should have strictEqual method" } ], [ "line", "ok 162 strictEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 162, "name": "strictEqual method should be a function" } ], [ "line", "ok 163 should have emit method\n" ], [ "assert", { "ok": true, "id": 163, "name": "should have emit method" } ], [ "line", "ok 164 emit method should be a function\n" ], [ "assert", { "ok": true, "id": 164, "name": "emit method should be a function" } ], [ "line", "ok 165 should have fail method\n" ], [ "assert", { "ok": true, "id": 165, "name": "should have fail method" } ], [ "line", "ok 166 fail method should be a function\n" ], [ "assert", { "ok": true, "id": 166, "name": "fail method should be a function" } ], [ "line", "ok 167 should have strictEquals method\n" ], [ "assert", { "ok": true, "id": 167, "name": "should have strictEquals method" } ], [ "line", "ok 168 strictEquals method should be a function\n" ], [ "assert", { "ok": true, "id": 168, "name": "strictEquals method should be a function" } ], [ "line", "ok 169 should have notLike method\n" ], [ "assert", { "ok": true, "id": 169, "name": "should have notLike method" } ], [ "line", "ok 170 notLike method should be a function\n" ], [ "assert", { "ok": true, "id": 170, "name": "notLike method should be a function" } ], [ "line", "ok 171 should have dissimilar method\n" ], [ "assert", { "ok": true, "id": 171, "name": "should have dissimilar method" } ], [ "line", "ok 172 dissimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 172, "name": "dissimilar method should be a function" } ], [ "line", "ok 173 should have true method\n" ], [ "assert", { "ok": true, "id": 173, "name": "should have true method" } ], [ "line", "ok 174 true method should be a function\n" ], [ "assert", { "ok": true, "id": 174, "name": "true method should be a function" } ], [ "line", "ok 175 should have assert method\n" ], [ "assert", { "ok": true, "id": 175, "name": "should have assert method" } ], [ "line", "ok 176 assert method should be a function\n" ], [ "assert", { "ok": true, "id": 176, "name": "assert method should be a function" } ], [ "line", "ok 177 should have is method\n" ], [ "assert", { "ok": true, "id": 177, "name": "should have is method" } ], [ "line", "ok 178 is method should be a function\n" ], [ "assert", { "ok": true, "id": 178, "name": "is method should be a function" } ], [ "line", "ok 179 should have ok method\n" ], [ "assert", { "ok": true, "id": 179, "name": "should have ok method" } ], [ "line", "ok 180 ok method should be a function\n" ], [ "assert", { "ok": true, "id": 180, "name": "ok method should be a function" } ], [ "line", "ok 181 should have isEqual method\n" ], [ "assert", { "ok": true, "id": 181, "name": "should have isEqual method" } ], [ "line", "ok 182 isEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 182, "name": "isEqual method should be a function" } ], [ "line", "ok 183 should have isDeeply method\n" ], [ "assert", { "ok": true, "id": 183, "name": "should have isDeeply method" } ], [ "line", "ok 184 isDeeply method should be a function\n" ], [ "assert", { "ok": true, "id": 184, "name": "isDeeply method should be a function" } ], [ "line", "ok 185 should have deepEqual method\n" ], [ "assert", { "ok": true, "id": 185, "name": "should have deepEqual method" } ], [ "line", "ok 186 deepEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 186, "name": "deepEqual method should be a function" } ], [ "line", "ok 187 should have deepEquals method\n" ], [ "assert", { "ok": true, "id": 187, "name": "should have deepEquals method" } ], [ "line", "ok 188 deepEquals method should be a function\n" ], [ "assert", { "ok": true, "id": 188, "name": "deepEquals method should be a function" } ], [ "line", "ok 189 should have pass method\n" ], [ "assert", { "ok": true, "id": 189, "name": "should have pass method" } ], [ "line", "ok 190 pass method should be a function\n" ], [ "assert", { "ok": true, "id": 190, "name": "pass method should be a function" } ], [ "line", "ok 191 should have length method\n" ], [ "assert", { "ok": true, "id": 191, "name": "should have length method" } ], [ "line", "ok 192 length method should be a function\n" ], [ "assert", { "ok": true, "id": 192, "name": "length method should be a function" } ], [ "line", "ok 193 should have skip method\n" ], [ "assert", { "ok": true, "id": 193, "name": "should have skip method" } ], [ "line", "ok 194 skip method should be a function\n" ], [ "assert", { "ok": true, "id": 194, "name": "skip method should be a function" } ], [ "line", "ok 195 should have isNotEqual method\n" ], [ "assert", { "ok": true, "id": 195, "name": "should have isNotEqual method" } ], [ "line", "ok 196 isNotEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 196, "name": "isNotEqual method should be a function" } ], [ "line", "ok 197 should have looseEquals method\n" ], [ "assert", { "ok": true, "id": 197, "name": "should have looseEquals method" } ], [ "line", "ok 198 looseEquals method should be a function\n" ], [ "assert", { "ok": true, "id": 198, "name": "looseEquals method should be a function" } ], [ "line", "ok 199 should have false method\n" ], [ "assert", { "ok": true, "id": 199, "name": "should have false method" } ], [ "line", "ok 200 false method should be a function\n" ], [ "assert", { "ok": true, "id": 200, "name": "false method should be a function" } ], [ "line", "ok 201 should have notDeeply method\n" ], [ "assert", { "ok": true, "id": 201, "name": "should have notDeeply method" } ], [ "line", "ok 202 notDeeply method should be a function\n" ], [ "assert", { "ok": true, "id": 202, "name": "notDeeply method should be a function" } ], [ "line", "ok 203 should have ifErr method\n" ], [ "assert", { "ok": true, "id": 203, "name": "should have ifErr method" } ], [ "line", "ok 204 ifErr method should be a function\n" ], [ "assert", { "ok": true, "id": 204, "name": "ifErr method should be a function" } ], [ "line", "ok 205 should have hasFields method\n" ], [ "assert", { "ok": true, "id": 205, "name": "should have hasFields method" } ], [ "line", "ok 206 hasFields method should be a function\n" ], [ "assert", { "ok": true, "id": 206, "name": "hasFields method should be a function" } ], [ "line", "ok 207 should have isNotDeeply method\n" ], [ "assert", { "ok": true, "id": 207, "name": "should have isNotDeeply method" } ], [ "line", "ok 208 isNotDeeply method should be a function\n" ], [ "assert", { "ok": true, "id": 208, "name": "isNotDeeply method should be a function" } ], [ "line", "ok 209 should have like method\n" ], [ "assert", { "ok": true, "id": 209, "name": "should have like method" } ], [ "line", "ok 210 like method should be a function\n" ], [ "assert", { "ok": true, "id": 210, "name": "like method should be a function" } ], [ "line", "ok 211 should have similar method\n" ], [ "assert", { "ok": true, "id": 211, "name": "should have similar method" } ], [ "line", "ok 212 similar method should be a function\n" ], [ "assert", { "ok": true, "id": 212, "name": "similar method should be a function" } ], [ "line", "ok 213 should have notOk method\n" ], [ "assert", { "ok": true, "id": 213, "name": "should have notOk method" } ], [ "line", "ok 214 notOk method should be a function\n" ], [ "assert", { "ok": true, "id": 214, "name": "notOk method should be a function" } ], [ "line", "ok 215 should have isDissimilar method\n" ], [ "assert", { "ok": true, "id": 215, "name": "should have isDissimilar method" } ], [ "line", "ok 216 isDissimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 216, "name": "isDissimilar method should be a function" } ], [ "line", "ok 217 should have isEquivalent method\n" ], [ "assert", { "ok": true, "id": 217, "name": "should have isEquivalent method" } ], [ "line", "ok 218 isEquivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 218, "name": "isEquivalent method should be a function" } ], [ "line", "ok 219 should have doesNotEqual method\n" ], [ "assert", { "ok": true, "id": 219, "name": "should have doesNotEqual method" } ], [ "line", "ok 220 doesNotEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 220, "name": "doesNotEqual method should be a function" } ], [ "line", "ok 221 should have isSimilar method\n" ], [ "assert", { "ok": true, "id": 221, "name": "should have isSimilar method" } ], [ "line", "ok 222 isSimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 222, "name": "isSimilar method should be a function" } ], [ "line", "ok 223 should have notDeepEqual method\n" ], [ "assert", { "ok": true, "id": 223, "name": "should have notDeepEqual method" } ], [ "line", "ok 224 notDeepEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 224, "name": "notDeepEqual method should be a function" } ], [ "line", "ok 225 should have type method\n" ], [ "assert", { "ok": true, "id": 225, "name": "should have type method" } ], [ "line", "ok 226 type method should be a function\n" ], [ "assert", { "ok": true, "id": 226, "name": "type method should be a function" } ], [ "line", "ok 227 should have notok method\n" ], [ "assert", { "ok": true, "id": 227, "name": "should have notok method" } ], [ "line", "ok 228 notok method should be a function\n" ], [ "assert", { "ok": true, "id": 228, "name": "notok method should be a function" } ], [ "line", "ok 229 should have isInequivalent method\n" ], [ "assert", { "ok": true, "id": 229, "name": "should have isInequivalent method" } ], [ "line", "ok 230 isInequivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 230, "name": "isInequivalent method should be a function" } ], [ "line", "ok 231 should have isNot method\n" ], [ "assert", { "ok": true, "id": 231, "name": "should have isNot method" } ], [ "line", "ok 232 isNot method should be a function\n" ], [ "assert", { "ok": true, "id": 232, "name": "isNot method should be a function" } ], [ "line", "ok 233 should have same method\n" ], [ "assert", { "ok": true, "id": 233, "name": "should have same method" } ], [ "line", "ok 234 same method should be a function\n" ], [ "assert", { "ok": true, "id": 234, "name": "same method should be a function" } ], [ "line", "ok 235 should have isInequal method\n" ], [ "assert", { "ok": true, "id": 235, "name": "should have isInequal method" } ], [ "line", "ok 236 isInequal method should be a function\n" ], [ "assert", { "ok": true, "id": 236, "name": "isInequal method should be a function" } ], [ "line", "ok 237 should have _endNice method\n" ], [ "assert", { "ok": true, "id": 237, "name": "should have _endNice method" } ], [ "line", "ok 238 _endNice method should be a function\n" ], [ "assert", { "ok": true, "id": 238, "name": "_endNice method should be a function" } ], [ "line", "ok 239 should have ifError method\n" ], [ "assert", { "ok": true, "id": 239, "name": "should have ifError method" } ], [ "line", "ok 240 ifError method should be a function\n" ], [ "assert", { "ok": true, "id": 240, "name": "ifError method should be a function" } ], [ "line", "ok 241 should have iferror method\n" ], [ "assert", { "ok": true, "id": 241, "name": "should have iferror method" } ], [ "line", "ok 242 iferror method should be a function\n" ], [ "assert", { "ok": true, "id": 242, "name": "iferror method should be a function" } ], [ "line", "ok 243 should have clear method\n" ], [ "assert", { "ok": true, "id": 243, "name": "should have clear method" } ], [ "line", "ok 244 clear method should be a function\n" ], [ "assert", { "ok": true, "id": 244, "name": "clear method should be a function" } ], [ "line", "ok 245 should have has method\n" ], [ "assert", { "ok": true, "id": 245, "name": "should have has method" } ], [ "line", "ok 246 has method should be a function\n" ], [ "assert", { "ok": true, "id": 246, "name": "has method should be a function" } ], [ "line", "ok 247 should have not method\n" ], [ "assert", { "ok": true, "id": 247, "name": "should have not method" } ], [ "line", "ok 248 not method should be a function\n" ], [ "assert", { "ok": true, "id": 248, "name": "not method should be a function" } ], [ "line", "ok 249 should have timeout method\n" ], [ "assert", { "ok": true, "id": 249, "name": "should have timeout method" } ], [ "line", "ok 250 timeout method should be a function\n" ], [ "assert", { "ok": true, "id": 250, "name": "timeout method should be a function" } ], [ "line", "ok 251 should have notSimilar method\n" ], [ "assert", { "ok": true, "id": 251, "name": "should have notSimilar method" } ], [ "line", "ok 252 notSimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 252, "name": "notSimilar method should be a function" } ], [ "line", "ok 253 should have isUnlike method\n" ], [ "assert", { "ok": true, "id": 253, "name": "should have isUnlike method" } ], [ "line", "ok 254 isUnlike method should be a function\n" ], [ "assert", { "ok": true, "id": 254, "name": "isUnlike method should be a function" } ], [ "line", "ok 255 should have notEquals method\n" ], [ "assert", { "ok": true, "id": 255, "name": "should have notEquals method" } ], [ "line", "ok 256 notEquals method should be a function\n" ], [ "assert", { "ok": true, "id": 256, "name": "notEquals method should be a function" } ], [ "line", "ok 257 should have unsimilar method\n" ], [ "assert", { "ok": true, "id": 257, "name": "should have unsimilar method" } ], [ "line", "ok 258 unsimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 258, "name": "unsimilar method should be a function" } ], [ "line", "ok 259 should have result method\n" ], [ "assert", { "ok": true, "id": 259, "name": "should have result method" } ], [ "line", "ok 260 result method should be a function\n" ], [ "assert", { "ok": true, "id": 260, "name": "result method should be a function" } ], [ "line", "ok 261 should have doesNotThrow method\n" ], [ "assert", { "ok": true, "id": 261, "name": "should have doesNotThrow method" } ], [ "line", "ok 262 doesNotThrow method should be a function\n" ], [ "assert", { "ok": true, "id": 262, "name": "doesNotThrow method should be a function" } ], [ "line", "ok 263 should have error method\n" ], [ "assert", { "ok": true, "id": 263, "name": "should have error method" } ], [ "line", "ok 264 error method should be a function\n" ], [ "assert", { "ok": true, "id": 264, "name": "error method should be a function" } ], [ "line", "ok 265 should have constructor method\n" ], [ "assert", { "ok": true, "id": 265, "name": "should have constructor method" } ], [ "line", "ok 266 constructor method should be a function\n" ], [ "assert", { "ok": true, "id": 266, "name": "constructor method should be a function" } ], [ "line", "ok 267 should have notEqual method\n" ], [ "assert", { "ok": true, "id": 267, "name": "should have notEqual method" } ], [ "line", "ok 268 notEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 268, "name": "notEqual method should be a function" } ], [ "line", "ok 269 should have throws method\n" ], [ "assert", { "ok": true, "id": 269, "name": "should have throws method" } ], [ "line", "ok 270 throws method should be a function\n" ], [ "assert", { "ok": true, "id": 270, "name": "throws method should be a function" } ], [ "line", "ok 271 should have isLike method\n" ], [ "assert", { "ok": true, "id": 271, "name": "should have isLike method" } ], [ "line", "ok 272 isLike method should be a function\n" ], [ "assert", { "ok": true, "id": 272, "name": "isLike method should be a function" } ], [ "line", "ok 273 should have isNotSimilar method\n" ], [ "assert", { "ok": true, "id": 273, "name": "should have isNotSimilar method" } ], [ "line", "ok 274 isNotSimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 274, "name": "isNotSimilar method should be a function" } ], [ "line", "ok 275 should have isNotEquivalent method\n" ], [ "assert", { "ok": true, "id": 275, "name": "should have isNotEquivalent method" } ], [ "line", "ok 276 isNotEquivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 276, "name": "isNotEquivalent method should be a function" } ], [ "line", "ok 277 should have inequal method\n" ], [ "assert", { "ok": true, "id": 277, "name": "should have inequal method" } ], [ "line", "ok 278 inequal method should be a function\n" ], [ "assert", { "ok": true, "id": 278, "name": "inequal method should be a function" } ], [ "line", "ok 279 should have notEquivalent method\n" ], [ "assert", { "ok": true, "id": 279, "name": "should have notEquivalent method" } ], [ "line", "ok 280 notEquivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 280, "name": "notEquivalent method should be a function" } ], [ "line", "ok 281 should have isNotLike method\n" ], [ "assert", { "ok": true, "id": 281, "name": "should have isNotLike method" } ], [ "line", "ok 282 isNotLike method should be a function\n" ], [ "assert", { "ok": true, "id": 282, "name": "isNotLike method should be a function" } ], [ "line", "ok 283 should have equivalent method\n" ], [ "assert", { "ok": true, "id": 283, "name": "should have equivalent method" } ], [ "line", "ok 284 equivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 284, "name": "equivalent method should be a function" } ], [ "line", "ok 285 should have looseEqual method\n" ], [ "assert", { "ok": true, "id": 285, "name": "should have looseEqual method" } ], [ "line", "ok 286 looseEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 286, "name": "looseEqual method should be a function" } ], [ "line", "ok 287 should have equal method\n" ], [ "assert", { "ok": true, "id": 287, "name": "should have equal method" } ], [ "line", "ok 288 equal method should be a function\n" ], [ "assert", { "ok": true, "id": 288, "name": "equal method should be a function" } ], [ "line", "ok 289 should have unlike method\n" ], [ "assert", { "ok": true, "id": 289, "name": "should have unlike method" } ], [ "line", "ok 290 unlike method should be a function\n" ], [ "assert", { "ok": true, "id": 290, "name": "unlike method should be a function" } ], [ "line", "ok 291 should have doesNotHave method\n" ], [ "assert", { "ok": true, "id": 291, "name": "should have doesNotHave method" } ], [ "line", "ok 292 doesNotHave method should be a function\n" ], [ "assert", { "ok": true, "id": 292, "name": "doesNotHave method should be a function" } ], [ "line", "ok 293 should have comment method\n" ], [ "assert", { "ok": true, "id": 293, "name": "should have comment method" } ], [ "line", "ok 294 comment method should be a function\n" ], [ "assert", { "ok": true, "id": 294, "name": "comment method should be a function" } ], [ "line", "ok 295 should have isa method\n" ], [ "assert", { "ok": true, "id": 295, "name": "should have isa method" } ], [ "line", "ok 296 isa method should be a function\n" ], [ "assert", { "ok": true, "id": 296, "name": "isa method should be a function" } ], [ "line", "# tests 147\n" ], [ "comment", "# tests 147\n" ], [ "line", "# pass 147\n" ], [ "comment", "# pass 147\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 297 test/test-test.js\n" ], [ "assert", { "ok": true, "id": 297, "name": "test/test-test.js" } ], [ "line", "# timeout.js\n" ], [ "comment", "# timeout.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# timeout test with plan only\n" ], [ "comment", "# timeout test with plan only\n" ], [ "line", "ok 298 a\n" ], [ "assert", { "ok": true, "id": 298, "name": "a" } ], [ "line", "ok 299 b\n" ], [ "assert", { "ok": true, "id": 299, "name": "b" } ], [ "line", "# timeout test with plan and end\n" ], [ "comment", "# timeout test with plan and end\n" ], [ "line", "ok 300 a\n" ], [ "assert", { "ok": true, "id": 300, "name": "a" } ], [ "line", "ok 301 b\n" ], [ "assert", { "ok": true, "id": 301, "name": "b" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 302 test/timeout.js\n" ], [ "assert", { "ok": true, "id": 302, "name": "test/timeout.js" } ], [ "line", "# trivial-success.js\n" ], [ "comment", "# trivial-success.js\n" ], [ "line", "ok 303 test/trivial-success.js\n" ], [ "assert", { "ok": true, "id": 303, "name": "test/trivial-success.js" } ], [ "line", "# undefined_indented.js\n" ], [ "comment", "# undefined_indented.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# consume yaml\n" ], [ "comment", "# consume yaml\n" ], [ "line", "ok 304 should be equivalent\n" ], [ "assert", { "ok": true, "id": 304, "name": "should be equivalent" } ], [ "line", "# tests 1\n" ], [ "comment", "# tests 1\n" ], [ "line", "# pass 1\n" ], [ "comment", "# pass 1\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 305 test/undefined_indented.js\n" ], [ "assert", { "ok": true, "id": 305, "name": "test/undefined_indented.js" } ], [ "line", "# valid-command.js\n" ], [ "comment", "# valid-command.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# valid command\n" ], [ "comment", "# valid command\n" ], [ "line", "ok 306 should be equivalent\n" ], [ "assert", { "ok": true, "id": 306, "name": "should be equivalent" } ], [ "line", "ok 307 should be equivalent\n" ], [ "assert", { "ok": true, "id": 307, "name": "should be equivalent" } ], [ "line", "ok 308 should be equivalent\n" ], [ "assert", { "ok": true, "id": 308, "name": "should be equivalent" } ], [ "line", "ok 309 should be equivalent\n" ], [ "assert", { "ok": true, "id": 309, "name": "should be equivalent" } ], [ "line", "ok 310 should be equivalent\n" ], [ "assert", { "ok": true, "id": 310, "name": "should be equivalent" } ], [ "line", "ok 311 should be equal\n" ], [ "assert", { "ok": true, "id": 311, "name": "should be equal" } ], [ "line", "# tests 6\n" ], [ "comment", "# tests 6\n" ], [ "line", "# pass 6\n" ], [ "comment", "# pass 6\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 312 test/valid-command.js\n" ], [ "assert", { "ok": true, "id": 312, "name": "test/valid-command.js" } ], [ "line", "1..312\n" ], [ "plan", { "start": 1, "end": 312 } ], [ "line", "# tests 312\n" ], [ "comment", "# tests 312\n" ], [ "line", "# pass 298\n" ], [ "comment", "# pass 298\n" ], [ "line", "# fail 5\n" ], [ "comment", "# fail 5\n" ], [ "line", "# skip 5\n" ], [ "comment", "# skip 5\n" ], [ "line", "# todo 4\n" ], [ "comment", "# todo 4\n" ], [ "line", "# failed 5 of 312 tests\n" ], [ "comment", "# failed 5 of 312 tests\n" ], [ "line", "# todo: 4\n" ], [ "comment", "# todo: 4\n" ], [ "line", "# skip: 5\n" ], [ "comment", "# skip: 5\n" ], [ "complete", { "ok": false, "count": 312, "pass": 307, "fail": 5, "bailout": false, "todo": 4, "skip": 5, "plan": { "start": 1, "end": 312, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 115, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Socket. (child_process.js:1153:11)\n", "emitOne (events.js:77:13)\n" ] } }, { "ok": false, "id": 120, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:18:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } }, { "ok": false, "id": 122, "name": "summarizes skipped count", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:23:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } }, { "ok": false, "id": 123, "name": "summarizes todo count", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:24:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } }, { "ok": false, "id": 124, "name": "test/test-descriptions.js", "diag": { "exit": 1, "command": "/usr/local/bin/iojs test-descriptions.js" } } ] } ] ] tap-parser-7.0.0/test/fixtures/tap-tests-stdout.tap000066400000000000000000000410011320135610000223610ustar00rootroot00000000000000TAP version 13 # buffer_compare.js # TAP version 13 # same buffers ok 1 should be equivalent # not same buffers ok 2 should not be equivalent # tests 2 # pass 2 # ok ok 3 test/buffer_compare.js # common.js ok 4 just setup, nothing relevant ok 5 test/common.js # consumer.js # TAP version 13 # basic.tap ok 6 should be equivalent # indent.tap ok 7 should be equivalent # missing.tap ok 8 should be equivalent # skip-all.tap ok 9 should be equivalent # tap-tests.tap ok 10 should be equivalent # yamlish.tap ok 11 should be equivalent # tests 6 # pass 6 # ok ok 12 test/consumer.js # debug-test.js # TAP version 13 # debug test ok 13 Should output debugger message # tests 1 # pass 1 # ok ok 14 test/debug-test.js # deep-strict.js # TAP version 13 # strictDeepEquals shouldn't care about key order ok 15 should be strictly equal # strictDeepEquals shouldn't care about key order recursively ok 16 should be strictly equal # strictDeepEquals shoudn't care about key order (but still might) ok 17 should be strictly equal # tests 3 # pass 3 # ok ok 18 test/deep-strict.js # deep.js # TAP version 13 # deepEquals shouldn't care about key order and types ok 19 should be equivalent # deepEquals shouldn't care about key order recursively and types ok 20 should be equivalent # deepEquals shoudn't care about key order (but still might) and types ok 21 should be equivalent # tests 3 # pass 3 # ok ok 22 test/deep.js # executed.sh ok 23 File with executable bit should be executed ok 24 test/executed.sh # exit-code.js # TAP version 13 # exit code 1 when tap results show failure # test exits 0, has failures ok 25 should be equal ok 26 should be equal # test exits 1, has failures ok 27 should be equal ok 28 should be equal # test exits 1, has no failures ok 29 should be equal ok 30 should be equal # successes exit 0 # test that does nothing, but exits 0 ok 31 should be equal ok 32 should be equal # test that succeeds, and exits 0 ok 33 should be equal ok 34 should be equal # tests 10 # pass 10 # ok ok 35 test/exit-code.js # expose-gc-test.js # TAP version 13 # gc test when the gc isn't there ok 36 should be equal # gc test when the gc should be there # test for gc using --gc ok 37 should be equal # test for gc using --expose-gc ok 38 should be equal # cleanup # tests 3 # pass 3 # ok ok 39 test/expose-gc-test.js # global-harness-async.js # TAP version 13 # outer # inner 1 ok 40 1-1 # inner 2 ok 41 2-1 # inner 3 ok 42 3-1 ok 43 test/global-harness-async.js # independent-timeouts.js # TAP version 13 # finishes in time # finishes in time too # tests 0 # ok ok 44 test/independent-timeouts.js # isolated-conf-test.js # TAP version 13 # one ok 45 should be equal ok 46 should be equal # two ok 47 should be equal ok 48 should be equal # tests 4 # pass 4 # ok ok 49 test/isolated-conf-test.js # meta-test.js # TAP version 13 # meta test ok 50 sanity check ok 51 not ok ok 52 total test count ok 53 tests passed ok 54 tests failed ok 55 ok is boolean ok 56 skip is number ok 57 results isa Results ok 58 test isa Test ok 59 test isa Harness # tests 10 # pass 10 # ok ok 60 test/meta-test.js # nested-async.js # TAP version 13 # Harness async test support ok 61 sync child A # sync child B # async grandchild A ok 62 (unnamed assert) # async grandchild B ok 63 (unnamed assert) # async child ok 64 sync grandchild in async child A # sync grandchild in async child B ok 65 (unnamed assert) # tests 5 # pass 5 # ok ok 66 test/nested-async.js # nested-test.js # TAP version 13 # parent ok 67 p test # subtest ok 68 ch test # nested subtest ok 69 grch test # another subtest ok 70 ch test 2 # tests 4 # pass 4 # ok ok 71 test/nested-test.js # non-tap-output.js # everything is fine # there are no errors # this output is not haiku. # is 8 ok? ok 72 , 8 can stay. # but: nevertheless, here we are # this: is indented # and: it # might: ~ # be: yaml? ok 73 might be confusing ok 74 done now, exiting ok 75 test/non-tap-output.js # not-executed.sh # output-childtest-description.js # /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js # TAP version 13 # nested tests, parent and child pass ok 76 outputs parent description ok 77 outputs child description ok 78 outputs parent description before parent result ok 79 outputs parent result before child description ok 80 outputs child description before child result # tests 5 # pass 5 # ok ok 81 test/output-childtest-description.js # result-trap.js # TAP version 13 # trap result ok 82 should be equal ok 83 should be equal # tests 2 # pass 2 # ok ok 84 test/result-trap.js # segv.js # TAP version 13 # setup ok 85 compiled seg faulter # segv ok 86 should be equivalent ok 87 should be equivalent ok 88 should be equivalent ok 89 should be equivalent ok 90 should be equivalent ok 91 should be equal # cleanup ok 92 cleaned up # tests 8 # pass 8 # ok ok 93 test/segv.js # simple-harness-test-with-plan.js # TAP version 13 # trivial success ok 94 it works # two tests ok 95 math should work ok 96 false should not be ok # tests 3 # pass 3 # ok ok 97 test/simple-harness-test-with-plan.js # simple-harness-test.js # TAP version 13 # trivial success ok 98 it works # two tests ok 99 math should work ok 100 false should not be ok # tests 3 # pass 3 # ok ok 101 test/simple-harness-test.js # test-assert-todo-skip.js # TAP version 13 # not much ok 102 always passes # SKIP skip it good ok 103 false # SKIP always fails ok 104 bonus # TODO remove todo directive ok 105 expected # TODO implement a thing ok 106 always passes without explanation # SKIP ok 107 false without explanation # SKIP ok 108 bonus without explanation # TODO ok 109 expected without explanation # TODO # tests 8 # skip 4 # todo 4 ok 110 test/test-assert-todo-skip.js # test-descriptions.js # TAP version 13 # captures test descriptions ok 111 exit cleanly ok 112 captures SKIP description ok 113 skip summary is not from file ok 114 todo summary is not from file not ok 115 captures TODO description --- file: child_process.js line: 707 column: 7 stack: - | getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17) - | Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16) - | Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16) - | /Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7 - | ChildProcess.exithandler (child_process.js:707:7) - | emitTwo (events.js:87:13) - | ChildProcess.emit (events.js:169:7) - | maybeClose (child_process.js:984:16) - | Socket. (child_process.js:1153:11) - | emitOne (events.js:77:13) ... ok 116 exit cleanly ok 117 captures SKIP description ok 118 skip summary is not in TAP output ok 119 todo summary is not in TAP output not ok 120 captures TODO description --- file: child_process.js line: 707 column: 7 stack: - | getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17) - | Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16) - | Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16) - | /Users/isaacs/dev/js/tap/test/test-descriptions.js:18:7 - | ChildProcess.exithandler (child_process.js:707:7) - | emitTwo (events.js:87:13) - | ChildProcess.emit (events.js:169:7) - | maybeClose (child_process.js:984:16) - | Process.ChildProcess._handle.onexit (child_process.js:1057:5) ... ok 121 exit cleanly not ok 122 summarizes skipped count --- file: child_process.js line: 707 column: 7 stack: - | getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17) - | Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16) - | Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16) - | /Users/isaacs/dev/js/tap/test/test-descriptions.js:23:7 - | ChildProcess.exithandler (child_process.js:707:7) - | emitTwo (events.js:87:13) - | ChildProcess.emit (events.js:169:7) - | maybeClose (child_process.js:984:16) - | Process.ChildProcess._handle.onexit (child_process.js:1057:5) ... not ok 123 summarizes todo count --- file: child_process.js line: 707 column: 7 stack: - | getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17) - | Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16) - | Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16) - | /Users/isaacs/dev/js/tap/test/test-descriptions.js:24:7 - | ChildProcess.exithandler (child_process.js:707:7) - | emitTwo (events.js:87:13) - | ChildProcess.emit (events.js:169:7) - | maybeClose (child_process.js:984:16) - | Process.ChildProcess._handle.onexit (child_process.js:1057:5) ... # tests 13 # pass 9 # fail 4 not ok 124 test/test-descriptions.js --- exit: 1 command: "/usr/local/bin/iojs test-descriptions.js" ... # test-directives.js # TAP version 13 # captures test descriptions # raw TAP > TAP consumer > TAP producer ok 125 overall result is PASS ok 126 captures ok SKIP ok 127 captures not ok SKIP ok 128 skip summary not in TAP output ok 129 captures ok TODO ok 130 captures not ok TODO ok 131 todo summary is not in TAP output ok 132 no ugly "undefined" in output # raw TAP > TAP consumer > summary ok 133 overall result is PASS ok 134 no SKIP in summary ok 135 skip summary is not in TAP output ok 136 no TODO in summary ok 137 todo summary is not in TAP output ok 138 no ugly "undefined" in output # TAP producer via require("tap") ok 139 overall result is PASS ok 140 captures ok SKIP ok 141 captures not ok SKIP ok 142 skip summary not in TAP output ok 143 captures ok TODO ok 144 captures not ok TODO ok 145 todo summary is not in TAP output ok 146 no ugly "undefined" in output # tests 22 # pass 22 # ok ok 147 test/test-directives.js # test-skip.js # TAP version 13 ok 148 does not count as failure # SKIP # tests 1 # skip 1 ok 149 test/test-skip.js # test-test.js # TAP version 13 # testing the test object ok 150 test object should be instanceof Test ok 151 test object should be instanceof Harness ok 152 test._Test should be the Test class ok 153 should have isNotDeepEqual method ok 154 isNotDeepEqual method should be a function ok 155 should have equals method ok 156 equals method should be a function ok 157 should have inequivalent method ok 158 inequivalent method should be a function ok 159 should have threw method ok 160 threw method should be a function ok 161 should have strictEqual method ok 162 strictEqual method should be a function ok 163 should have emit method ok 164 emit method should be a function ok 165 should have fail method ok 166 fail method should be a function ok 167 should have strictEquals method ok 168 strictEquals method should be a function ok 169 should have notLike method ok 170 notLike method should be a function ok 171 should have dissimilar method ok 172 dissimilar method should be a function ok 173 should have true method ok 174 true method should be a function ok 175 should have assert method ok 176 assert method should be a function ok 177 should have is method ok 178 is method should be a function ok 179 should have ok method ok 180 ok method should be a function ok 181 should have isEqual method ok 182 isEqual method should be a function ok 183 should have isDeeply method ok 184 isDeeply method should be a function ok 185 should have deepEqual method ok 186 deepEqual method should be a function ok 187 should have deepEquals method ok 188 deepEquals method should be a function ok 189 should have pass method ok 190 pass method should be a function ok 191 should have length method ok 192 length method should be a function ok 193 should have skip method ok 194 skip method should be a function ok 195 should have isNotEqual method ok 196 isNotEqual method should be a function ok 197 should have looseEquals method ok 198 looseEquals method should be a function ok 199 should have false method ok 200 false method should be a function ok 201 should have notDeeply method ok 202 notDeeply method should be a function ok 203 should have ifErr method ok 204 ifErr method should be a function ok 205 should have hasFields method ok 206 hasFields method should be a function ok 207 should have isNotDeeply method ok 208 isNotDeeply method should be a function ok 209 should have like method ok 210 like method should be a function ok 211 should have similar method ok 212 similar method should be a function ok 213 should have notOk method ok 214 notOk method should be a function ok 215 should have isDissimilar method ok 216 isDissimilar method should be a function ok 217 should have isEquivalent method ok 218 isEquivalent method should be a function ok 219 should have doesNotEqual method ok 220 doesNotEqual method should be a function ok 221 should have isSimilar method ok 222 isSimilar method should be a function ok 223 should have notDeepEqual method ok 224 notDeepEqual method should be a function ok 225 should have type method ok 226 type method should be a function ok 227 should have notok method ok 228 notok method should be a function ok 229 should have isInequivalent method ok 230 isInequivalent method should be a function ok 231 should have isNot method ok 232 isNot method should be a function ok 233 should have same method ok 234 same method should be a function ok 235 should have isInequal method ok 236 isInequal method should be a function ok 237 should have _endNice method ok 238 _endNice method should be a function ok 239 should have ifError method ok 240 ifError method should be a function ok 241 should have iferror method ok 242 iferror method should be a function ok 243 should have clear method ok 244 clear method should be a function ok 245 should have has method ok 246 has method should be a function ok 247 should have not method ok 248 not method should be a function ok 249 should have timeout method ok 250 timeout method should be a function ok 251 should have notSimilar method ok 252 notSimilar method should be a function ok 253 should have isUnlike method ok 254 isUnlike method should be a function ok 255 should have notEquals method ok 256 notEquals method should be a function ok 257 should have unsimilar method ok 258 unsimilar method should be a function ok 259 should have result method ok 260 result method should be a function ok 261 should have doesNotThrow method ok 262 doesNotThrow method should be a function ok 263 should have error method ok 264 error method should be a function ok 265 should have constructor method ok 266 constructor method should be a function ok 267 should have notEqual method ok 268 notEqual method should be a function ok 269 should have throws method ok 270 throws method should be a function ok 271 should have isLike method ok 272 isLike method should be a function ok 273 should have isNotSimilar method ok 274 isNotSimilar method should be a function ok 275 should have isNotEquivalent method ok 276 isNotEquivalent method should be a function ok 277 should have inequal method ok 278 inequal method should be a function ok 279 should have notEquivalent method ok 280 notEquivalent method should be a function ok 281 should have isNotLike method ok 282 isNotLike method should be a function ok 283 should have equivalent method ok 284 equivalent method should be a function ok 285 should have looseEqual method ok 286 looseEqual method should be a function ok 287 should have equal method ok 288 equal method should be a function ok 289 should have unlike method ok 290 unlike method should be a function ok 291 should have doesNotHave method ok 292 doesNotHave method should be a function ok 293 should have comment method ok 294 comment method should be a function ok 295 should have isa method ok 296 isa method should be a function # tests 147 # pass 147 # ok ok 297 test/test-test.js # timeout.js # TAP version 13 # timeout test with plan only ok 298 a ok 299 b # timeout test with plan and end ok 300 a ok 301 b # tests 4 # pass 4 # ok ok 302 test/timeout.js # trivial-success.js ok 303 test/trivial-success.js # undefined_indented.js # TAP version 13 # consume yaml ok 304 should be equivalent # tests 1 # pass 1 # ok ok 305 test/undefined_indented.js # valid-command.js # TAP version 13 # valid command ok 306 should be equivalent ok 307 should be equivalent ok 308 should be equivalent ok 309 should be equivalent ok 310 should be equivalent ok 311 should be equal # tests 6 # pass 6 # ok ok 312 test/valid-command.js 1..312 # tests 312 # pass 298 # fail 5 # skip 5 # todo 4 tap-parser-7.0.0/test/fixtures/tap-tests.json000066400000000000000000002571301320135610000212420ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# buffer_compare.js\n" ], [ "comment", "# buffer_compare.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# same buffers\n" ], [ "comment", "# same buffers\n" ], [ "line", "ok 1 should be equivalent\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equivalent" } ], [ "line", "# not same buffers\n" ], [ "comment", "# not same buffers\n" ], [ "line", "ok 2 should not be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should not be equivalent" } ], [ "line", "# tests 2\n" ], [ "comment", "# tests 2\n" ], [ "line", "# pass 2\n" ], [ "comment", "# pass 2\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 3 test/buffer_compare.js\n" ], [ "assert", { "ok": true, "id": 3, "name": "test/buffer_compare.js" } ], [ "line", "# common.js\n" ], [ "comment", "# common.js\n" ], [ "line", "ok 4 just setup, nothing relevant\n" ], [ "assert", { "ok": true, "id": 4, "name": "just setup, nothing relevant" } ], [ "line", "ok 5 test/common.js\n" ], [ "assert", { "ok": true, "id": 5, "name": "test/common.js" } ], [ "line", "# consumer.js\n" ], [ "comment", "# consumer.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# basic.tap\n" ], [ "comment", "# basic.tap\n" ], [ "line", "ok 6 should be equivalent\n" ], [ "assert", { "ok": true, "id": 6, "name": "should be equivalent" } ], [ "line", "# indent.tap\n" ], [ "comment", "# indent.tap\n" ], [ "line", "ok 7 should be equivalent\n" ], [ "assert", { "ok": true, "id": 7, "name": "should be equivalent" } ], [ "line", "# missing.tap\n" ], [ "comment", "# missing.tap\n" ], [ "line", "ok 8 should be equivalent\n" ], [ "assert", { "ok": true, "id": 8, "name": "should be equivalent" } ], [ "line", "# skip-all.tap\n" ], [ "comment", "# skip-all.tap\n" ], [ "line", "ok 9 should be equivalent\n" ], [ "assert", { "ok": true, "id": 9, "name": "should be equivalent" } ], [ "line", "# yamlish.tap\n" ], [ "comment", "# yamlish.tap\n" ], [ "line", "ok 10 should be equivalent\n" ], [ "assert", { "ok": true, "id": 10, "name": "should be equivalent" } ], [ "line", "# tests 5\n" ], [ "comment", "# tests 5\n" ], [ "line", "# pass 5\n" ], [ "comment", "# pass 5\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 11 test/consumer.js\n" ], [ "assert", { "ok": true, "id": 11, "name": "test/consumer.js" } ], [ "line", "# debug-test.js\n" ], [ "comment", "# debug-test.js\n" ], [ "line", "debug test\n" ], [ "extra", "debug test\n" ], [ "line", "t.plan=1\n" ], [ "extra", "t.plan=1\n" ], [ "line", "'Debugger listening on port 5858\\n'\n" ], [ "extra", "'Debugger listening on port 5858\\n'\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# debug test\n" ], [ "comment", "# debug test\n" ], [ "line", "ok 12 Should output debugger message\n" ], [ "assert", { "ok": true, "id": 12, "name": "Should output debugger message" } ], [ "line", "# tests 1\n" ], [ "comment", "# tests 1\n" ], [ "line", "# pass 1\n" ], [ "comment", "# pass 1\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 13 test/debug-test.js\n" ], [ "assert", { "ok": true, "id": 13, "name": "test/debug-test.js" } ], [ "line", "# deep-strict.js\n" ], [ "comment", "# deep-strict.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# strictDeepEquals shouldn't care about key order\n" ], [ "comment", "# strictDeepEquals shouldn't care about key order\n" ], [ "line", "ok 14 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 14, "name": "should be strictly equal" } ], [ "line", "# strictDeepEquals shouldn't care about key order recursively\n" ], [ "comment", "# strictDeepEquals shouldn't care about key order recursively\n" ], [ "line", "ok 15 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 15, "name": "should be strictly equal" } ], [ "line", "# strictDeepEquals shoudn't care about key order (but still might)\n" ], [ "comment", "# strictDeepEquals shoudn't care about key order (but still might)\n" ], [ "line", "ok 16 should be strictly equal\n" ], [ "assert", { "ok": true, "id": 16, "name": "should be strictly equal" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 17 test/deep-strict.js\n" ], [ "assert", { "ok": true, "id": 17, "name": "test/deep-strict.js" } ], [ "line", "# deep.js\n" ], [ "comment", "# deep.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# deepEquals shouldn't care about key order and types\n" ], [ "comment", "# deepEquals shouldn't care about key order and types\n" ], [ "line", "ok 18 should be equivalent\n" ], [ "assert", { "ok": true, "id": 18, "name": "should be equivalent" } ], [ "line", "# deepEquals shouldn't care about key order recursively and types\n" ], [ "comment", "# deepEquals shouldn't care about key order recursively and types\n" ], [ "line", "ok 19 should be equivalent\n" ], [ "assert", { "ok": true, "id": 19, "name": "should be equivalent" } ], [ "line", "# deepEquals shoudn't care about key order (but still might) and types\n" ], [ "comment", "# deepEquals shoudn't care about key order (but still might) and types\n" ], [ "line", "ok 20 should be equivalent\n" ], [ "assert", { "ok": true, "id": 20, "name": "should be equivalent" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 21 test/deep.js\n" ], [ "assert", { "ok": true, "id": 21, "name": "test/deep.js" } ], [ "line", "# executed.sh\n" ], [ "comment", "# executed.sh\n" ], [ "line", "ok 22 File with executable bit should be executed\n" ], [ "assert", { "ok": true, "id": 22, "name": "File with executable bit should be executed" } ], [ "line", "ok 23 test/executed.sh\n" ], [ "assert", { "ok": true, "id": 23, "name": "test/executed.sh" } ], [ "line", "# exit-code.js\n" ], [ "comment", "# exit-code.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# exit code 1 when tap results show failure\n" ], [ "comment", "# exit code 1 when tap results show failure\n" ], [ "line", "# test exits 0, has failures\n" ], [ "comment", "# test exits 0, has failures\n" ], [ "line", "ok 24 should be equal\n" ], [ "assert", { "ok": true, "id": 24, "name": "should be equal" } ], [ "line", "ok 25 should be equal\n" ], [ "assert", { "ok": true, "id": 25, "name": "should be equal" } ], [ "line", "# test exits 1, has failures\n" ], [ "comment", "# test exits 1, has failures\n" ], [ "line", "ok 26 should be equal\n" ], [ "assert", { "ok": true, "id": 26, "name": "should be equal" } ], [ "line", "ok 27 should be equal\n" ], [ "assert", { "ok": true, "id": 27, "name": "should be equal" } ], [ "line", "# test exits 1, has no failures\n" ], [ "comment", "# test exits 1, has no failures\n" ], [ "line", "ok 28 should be equal\n" ], [ "assert", { "ok": true, "id": 28, "name": "should be equal" } ], [ "line", "ok 29 should be equal\n" ], [ "assert", { "ok": true, "id": 29, "name": "should be equal" } ], [ "line", "# successes exit 0\n" ], [ "comment", "# successes exit 0\n" ], [ "line", "# test that does nothing, but exits 0\n" ], [ "comment", "# test that does nothing, but exits 0\n" ], [ "line", "ok 30 should be equal\n" ], [ "assert", { "ok": true, "id": 30, "name": "should be equal" } ], [ "line", "ok 31 should be equal\n" ], [ "assert", { "ok": true, "id": 31, "name": "should be equal" } ], [ "line", "# test that succeeds, and exits 0\n" ], [ "comment", "# test that succeeds, and exits 0\n" ], [ "line", "ok 32 should be equal\n" ], [ "assert", { "ok": true, "id": 32, "name": "should be equal" } ], [ "line", "ok 33 should be equal\n" ], [ "assert", { "ok": true, "id": 33, "name": "should be equal" } ], [ "line", "# tests 10\n" ], [ "comment", "# tests 10\n" ], [ "line", "# pass 10\n" ], [ "comment", "# pass 10\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 34 test/exit-code.js\n" ], [ "assert", { "ok": true, "id": 34, "name": "test/exit-code.js" } ], [ "line", "# expose-gc-test.js\n" ], [ "comment", "# expose-gc-test.js\n" ], [ "line", "gc test\n" ], [ "extra", "gc test\n" ], [ "line", "t.plan=1\n" ], [ "extra", "t.plan=1\n" ], [ "line", "assert gc does not exist\n" ], [ "extra", "assert gc does not exist\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# gc test when the gc isn't there\n" ], [ "comment", "# gc test when the gc isn't there\n" ], [ "line", "gc test\n" ], [ "extra", "gc test\n" ], [ "line", "t.plan=2\n" ], [ "extra", "t.plan=2\n" ], [ "line", "gc test using --gc\n" ], [ "extra", "gc test using --gc\n" ], [ "line", "t.plan=1\n" ], [ "extra", "t.plan=1\n" ], [ "line", "assert gc exists\n" ], [ "extra", "assert gc exists\n" ], [ "line", "gc test using --expose-gc\n" ], [ "extra", "gc test using --expose-gc\n" ], [ "line", "t.plan=1\n" ], [ "extra", "t.plan=1\n" ], [ "line", "assert gc exists\n" ], [ "extra", "assert gc exists\n" ], [ "line", "ok 35 should be equal\n" ], [ "assert", { "ok": true, "id": 35, "name": "should be equal" } ], [ "line", "# gc test when the gc should be there\n" ], [ "comment", "# gc test when the gc should be there\n" ], [ "line", "# test for gc using --gc\n" ], [ "comment", "# test for gc using --gc\n" ], [ "line", "ok 36 should be equal\n" ], [ "assert", { "ok": true, "id": 36, "name": "should be equal" } ], [ "line", "# test for gc using --expose-gc\n" ], [ "comment", "# test for gc using --expose-gc\n" ], [ "line", "ok 37 should be equal\n" ], [ "assert", { "ok": true, "id": 37, "name": "should be equal" } ], [ "line", "# cleanup\n" ], [ "comment", "# cleanup\n" ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 38 test/expose-gc-test.js\n" ], [ "assert", { "ok": true, "id": 38, "name": "test/expose-gc-test.js" } ], [ "line", "# global-harness-async.js\n" ], [ "comment", "# global-harness-async.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# outer\n" ], [ "comment", "# outer\n" ], [ "line", "# inner 1\n" ], [ "comment", "# inner 1\n" ], [ "line", "ok 39 1-1\n" ], [ "assert", { "ok": true, "id": 39, "name": "1-1" } ], [ "line", "# inner 2\n" ], [ "comment", "# inner 2\n" ], [ "line", "ok 40 2-1\n" ], [ "assert", { "ok": true, "id": 40, "name": "2-1" } ], [ "line", "# inner 3\n" ], [ "comment", "# inner 3\n" ], [ "line", "ok 41 3-1\n" ], [ "assert", { "ok": true, "id": 41, "name": "3-1" } ], [ "line", "ok 42 test/global-harness-async.js\n" ], [ "assert", { "ok": true, "id": 42, "name": "test/global-harness-async.js" } ], [ "line", "# independent-timeouts.js\n" ], [ "comment", "# independent-timeouts.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# finishes in time\n" ], [ "comment", "# finishes in time\n" ], [ "line", "# finishes in time too\n" ], [ "comment", "# finishes in time too\n" ], [ "line", "# tests 0\n" ], [ "comment", "# tests 0\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 43 test/independent-timeouts.js\n" ], [ "assert", { "ok": true, "id": 43, "name": "test/independent-timeouts.js" } ], [ "line", "# isolated-conf-test.js\n" ], [ "comment", "# isolated-conf-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# one\n" ], [ "comment", "# one\n" ], [ "line", "ok 44 should be equal\n" ], [ "assert", { "ok": true, "id": 44, "name": "should be equal" } ], [ "line", "ok 45 should be equal\n" ], [ "assert", { "ok": true, "id": 45, "name": "should be equal" } ], [ "line", "# two\n" ], [ "comment", "# two\n" ], [ "line", "ok 46 should be equal\n" ], [ "assert", { "ok": true, "id": 46, "name": "should be equal" } ], [ "line", "ok 47 should be equal\n" ], [ "assert", { "ok": true, "id": 47, "name": "should be equal" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 48 test/isolated-conf-test.js\n" ], [ "assert", { "ok": true, "id": 48, "name": "test/isolated-conf-test.js" } ], [ "line", "# meta-test.js\n" ], [ "comment", "# meta-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# meta test\n" ], [ "comment", "# meta test\n" ], [ "line", "ok 49 sanity check\n" ], [ "assert", { "ok": true, "id": 49, "name": "sanity check" } ], [ "line", "ok 50 not ok\n" ], [ "assert", { "ok": true, "id": 50, "name": "not ok" } ], [ "line", "ok 51 total test count\n" ], [ "assert", { "ok": true, "id": 51, "name": "total test count" } ], [ "line", "ok 52 tests passed\n" ], [ "assert", { "ok": true, "id": 52, "name": "tests passed" } ], [ "line", "ok 53 tests failed\n" ], [ "assert", { "ok": true, "id": 53, "name": "tests failed" } ], [ "line", "ok 54 ok is boolean\n" ], [ "assert", { "ok": true, "id": 54, "name": "ok is boolean" } ], [ "line", "ok 55 skip is number\n" ], [ "assert", { "ok": true, "id": 55, "name": "skip is number" } ], [ "line", "ok 56 results isa Results\n" ], [ "assert", { "ok": true, "id": 56, "name": "results isa Results" } ], [ "line", "ok 57 test isa Test\n" ], [ "assert", { "ok": true, "id": 57, "name": "test isa Test" } ], [ "line", "ok 58 test isa Harness\n" ], [ "assert", { "ok": true, "id": 58, "name": "test isa Harness" } ], [ "line", "# tests 10\n" ], [ "comment", "# tests 10\n" ], [ "line", "# pass 10\n" ], [ "comment", "# pass 10\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 59 test/meta-test.js\n" ], [ "assert", { "ok": true, "id": 59, "name": "test/meta-test.js" } ], [ "line", "# nested-async.js\n" ], [ "comment", "# nested-async.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# Harness async test support\n" ], [ "comment", "# Harness async test support\n" ], [ "line", "ok 60 sync child A\n" ], [ "assert", { "ok": true, "id": 60, "name": "sync child A" } ], [ "line", "# sync child B\n" ], [ "comment", "# sync child B\n" ], [ "line", "# async grandchild A\n" ], [ "comment", "# async grandchild A\n" ], [ "line", "ok 61 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 61, "name": "(unnamed assert)" } ], [ "line", "# async grandchild B\n" ], [ "comment", "# async grandchild B\n" ], [ "line", "ok 62 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 62, "name": "(unnamed assert)" } ], [ "line", "# async child\n" ], [ "comment", "# async child\n" ], [ "line", "ok 63 sync grandchild in async child A\n" ], [ "assert", { "ok": true, "id": 63, "name": "sync grandchild in async child A" } ], [ "line", "# sync grandchild in async child B\n" ], [ "comment", "# sync grandchild in async child B\n" ], [ "line", "ok 64 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 64, "name": "(unnamed assert)" } ], [ "line", "# tests 5\n" ], [ "comment", "# tests 5\n" ], [ "line", "# pass 5\n" ], [ "comment", "# pass 5\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 65 test/nested-async.js\n" ], [ "assert", { "ok": true, "id": 65, "name": "test/nested-async.js" } ], [ "line", "# nested-test.js\n" ], [ "comment", "# nested-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# parent\n" ], [ "comment", "# parent\n" ], [ "line", "ok 66 p test\n" ], [ "assert", { "ok": true, "id": 66, "name": "p test" } ], [ "line", "# subtest\n" ], [ "comment", "# subtest\n" ], [ "line", "ok 67 ch test\n" ], [ "assert", { "ok": true, "id": 67, "name": "ch test" } ], [ "line", "# nested subtest\n" ], [ "comment", "# nested subtest\n" ], [ "line", "ok 68 grch test\n" ], [ "assert", { "ok": true, "id": 68, "name": "grch test" } ], [ "line", "# another subtest\n" ], [ "comment", "# another subtest\n" ], [ "line", "ok 69 ch test 2\n" ], [ "assert", { "ok": true, "id": 69, "name": "ch test 2" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 70 test/nested-test.js\n" ], [ "assert", { "ok": true, "id": 70, "name": "test/nested-test.js" } ], [ "line", "# non-tap-output.js\n" ], [ "comment", "# non-tap-output.js\n" ], [ "line", "# everything is fine\n" ], [ "comment", "# everything is fine\n" ], [ "line", "# there are no errors\n" ], [ "comment", "# there are no errors\n" ], [ "line", "# this output is not haiku.\n" ], [ "comment", "# this output is not haiku.\n" ], [ "line", "# is 8 ok?\n" ], [ "comment", "# is 8 ok?\n" ], [ "line", "ok 71 , 8 can stay.\n" ], [ "assert", { "ok": true, "id": 71, "name": ", 8 can stay." } ], [ "line", "# but: nevertheless, here we are\n" ], [ "comment", "# but: nevertheless, here we are\n" ], [ "line", "# this: is indented\n" ], [ "comment", "# this: is indented\n" ], [ "line", "# and: it\n" ], [ "comment", "# and: it\n" ], [ "line", "# might: ~\n" ], [ "comment", "# might: ~\n" ], [ "line", "# be: yaml?\n" ], [ "comment", "# be: yaml?\n" ], [ "line", "ok 72 might be confusing\n" ], [ "assert", { "ok": true, "id": 72, "name": "might be confusing" } ], [ "line", "ok 73 done now, exiting\n" ], [ "assert", { "ok": true, "id": 73, "name": "done now, exiting" } ], [ "line", "ok 74 test/non-tap-output.js\n" ], [ "assert", { "ok": true, "id": 74, "name": "test/non-tap-output.js" } ], [ "line", "# not-executed.sh\n" ], [ "comment", "# not-executed.sh\n" ], [ "line", "# output-childtest-description.js\n" ], [ "comment", "# output-childtest-description.js\n" ], [ "line", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\n" ], [ "comment", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# nested tests, parent and child pass\n" ], [ "comment", "# nested tests, parent and child pass\n" ], [ "line", "ok 75 outputs parent description\n" ], [ "assert", { "ok": true, "id": 75, "name": "outputs parent description" } ], [ "line", "ok 76 outputs child description\n" ], [ "assert", { "ok": true, "id": 76, "name": "outputs child description" } ], [ "line", "ok 77 outputs parent description before parent result\n" ], [ "assert", { "ok": true, "id": 77, "name": "outputs parent description before parent result" } ], [ "line", "ok 78 outputs parent result before child description\n" ], [ "assert", { "ok": true, "id": 78, "name": "outputs parent result before child description" } ], [ "line", "ok 79 outputs child description before child result\n" ], [ "assert", { "ok": true, "id": 79, "name": "outputs child description before child result" } ], [ "line", "# tests 5\n" ], [ "comment", "# tests 5\n" ], [ "line", "# pass 5\n" ], [ "comment", "# pass 5\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 80 test/output-childtest-description.js\n" ], [ "assert", { "ok": true, "id": 80, "name": "test/output-childtest-description.js" } ], [ "line", "# result-trap.js\n" ], [ "comment", "# result-trap.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trap result\n" ], [ "comment", "# trap result\n" ], [ "line", "ok 81 should be equal\n" ], [ "assert", { "ok": true, "id": 81, "name": "should be equal" } ], [ "line", "ok 82 should be equal\n" ], [ "assert", { "ok": true, "id": 82, "name": "should be equal" } ], [ "line", "# tests 2\n" ], [ "comment", "# tests 2\n" ], [ "line", "# pass 2\n" ], [ "comment", "# pass 2\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 83 test/result-trap.js\n" ], [ "assert", { "ok": true, "id": 83, "name": "test/result-trap.js" } ], [ "line", "# segv.js\n" ], [ "comment", "# segv.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# setup\n" ], [ "comment", "# setup\n" ], [ "line", "ok 84 compiled seg faulter\n" ], [ "assert", { "ok": true, "id": 84, "name": "compiled seg faulter" } ], [ "line", "# segv\n" ], [ "comment", "# segv\n" ], [ "line", "ok 85 should be equivalent\n" ], [ "assert", { "ok": true, "id": 85, "name": "should be equivalent" } ], [ "line", "ok 86 should be equivalent\n" ], [ "assert", { "ok": true, "id": 86, "name": "should be equivalent" } ], [ "line", "ok 87 should be equivalent\n" ], [ "assert", { "ok": true, "id": 87, "name": "should be equivalent" } ], [ "line", "ok 88 should be equivalent\n" ], [ "assert", { "ok": true, "id": 88, "name": "should be equivalent" } ], [ "line", "ok 89 should be equivalent\n" ], [ "assert", { "ok": true, "id": 89, "name": "should be equivalent" } ], [ "line", "ok 90 should be equal\n" ], [ "assert", { "ok": true, "id": 90, "name": "should be equal" } ], [ "line", "# cleanup\n" ], [ "comment", "# cleanup\n" ], [ "line", "ok 91 cleaned up\n" ], [ "assert", { "ok": true, "id": 91, "name": "cleaned up" } ], [ "line", "# tests 8\n" ], [ "comment", "# tests 8\n" ], [ "line", "# pass 8\n" ], [ "comment", "# pass 8\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 92 test/segv.js\n" ], [ "assert", { "ok": true, "id": 92, "name": "test/segv.js" } ], [ "line", "# simple-harness-test-with-plan.js\n" ], [ "comment", "# simple-harness-test-with-plan.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trivial success\n" ], [ "comment", "# trivial success\n" ], [ "line", "ok 93 it works\n" ], [ "assert", { "ok": true, "id": 93, "name": "it works" } ], [ "line", "# two tests\n" ], [ "comment", "# two tests\n" ], [ "line", "ok 94 math should work\n" ], [ "assert", { "ok": true, "id": 94, "name": "math should work" } ], [ "line", "ok 95 false should not be ok\n" ], [ "assert", { "ok": true, "id": 95, "name": "false should not be ok" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 96 test/simple-harness-test-with-plan.js\n" ], [ "assert", { "ok": true, "id": 96, "name": "test/simple-harness-test-with-plan.js" } ], [ "line", "# simple-harness-test.js\n" ], [ "comment", "# simple-harness-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# trivial success\n" ], [ "comment", "# trivial success\n" ], [ "line", "ok 97 it works\n" ], [ "assert", { "ok": true, "id": 97, "name": "it works" } ], [ "line", "# two tests\n" ], [ "comment", "# two tests\n" ], [ "line", "ok 98 math should work\n" ], [ "assert", { "ok": true, "id": 98, "name": "math should work" } ], [ "line", "ok 99 false should not be ok\n" ], [ "assert", { "ok": true, "id": 99, "name": "false should not be ok" } ], [ "line", "# tests 3\n" ], [ "comment", "# tests 3\n" ], [ "line", "# pass 3\n" ], [ "comment", "# pass 3\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 100 test/simple-harness-test.js\n" ], [ "assert", { "ok": true, "id": 100, "name": "test/simple-harness-test.js" } ], [ "line", "# test-assert-todo-skip.js\n" ], [ "comment", "# test-assert-todo-skip.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# not much\n" ], [ "comment", "# not much\n" ], [ "line", "ok 101 always passes # SKIP skip it good\n" ], [ "assert", { "ok": true, "id": 101, "skip": "skip it good", "name": "always passes" } ], [ "line", "ok 102 false # SKIP always fails\n" ], [ "assert", { "ok": true, "id": 102, "skip": "always fails", "name": "false" } ], [ "line", "ok 103 bonus # TODO remove todo directive\n" ], [ "assert", { "ok": true, "id": 103, "todo": "remove todo directive", "name": "bonus" } ], [ "line", "ok 104 expected # TODO implement a thing\n" ], [ "assert", { "ok": true, "id": 104, "todo": "implement a thing", "name": "expected" } ], [ "line", "ok 105 always passes without explanation # SKIP\n" ], [ "assert", { "ok": true, "id": 105, "skip": true, "name": "always passes without explanation" } ], [ "line", "ok 106 false without explanation # SKIP\n" ], [ "assert", { "ok": true, "id": 106, "skip": true, "name": "false without explanation" } ], [ "line", "ok 107 bonus without explanation # TODO\n" ], [ "assert", { "ok": true, "id": 107, "todo": true, "name": "bonus without explanation" } ], [ "line", "ok 108 expected without explanation # TODO\n" ], [ "assert", { "ok": true, "id": 108, "todo": true, "name": "expected without explanation" } ], [ "line", "# tests 8\n" ], [ "comment", "# tests 8\n" ], [ "line", "# skip 4\n" ], [ "comment", "# skip 4\n" ], [ "line", "# todo 4\n" ], [ "comment", "# todo 4\n" ], [ "line", "ok 109 test/test-assert-todo-skip.js\n" ], [ "assert", { "ok": true, "id": 109, "name": "test/test-assert-todo-skip.js" } ], [ "line", "# test-descriptions.js\n" ], [ "comment", "# test-descriptions.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# captures test descriptions\n" ], [ "comment", "# captures test descriptions\n" ], [ "line", "ok 110 exit cleanly\n" ], [ "assert", { "ok": true, "id": 110, "name": "exit cleanly" } ], [ "line", "ok 111 captures SKIP description\n" ], [ "assert", { "ok": true, "id": 111, "name": "captures SKIP description" } ], [ "line", "ok 112 skip summary is not from file\n" ], [ "assert", { "ok": true, "id": 112, "name": "skip summary is not from file" } ], [ "line", "ok 113 todo summary is not from file\n" ], [ "assert", { "ok": true, "id": 113, "name": "todo summary is not from file" } ], [ "line", "not ok 114 captures TODO description\n" ], [ "line", " ---\n" ], [ "line", " file: child_process.js\n" ], [ "line", " line: 707\n" ], [ "line", " column: 7\n" ], [ "line", " stack:\n" ], [ "line", " - |\n" ], [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n" ], [ "line", " - |\n" ], [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n" ], [ "line", " - |\n" ], [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n" ], [ "line", " - |\n" ], [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.exithandler (child_process.js:707:7)\n" ], [ "line", " - |\n" ], [ "line", " emitTwo (events.js:87:13)\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.emit (events.js:169:7)\n" ], [ "line", " - |\n" ], [ "line", " maybeClose (child_process.js:984:16)\n" ], [ "line", " - |\n" ], [ "line", " Socket. (child_process.js:1153:11)\n" ], [ "line", " - |\n" ], [ "line", " emitOne (events.js:77:13)\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 114, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Socket. (child_process.js:1153:11)\n", "emitOne (events.js:77:13)\n" ] } } ], [ "line", "ok 115 exit cleanly\n" ], [ "assert", { "ok": true, "id": 115, "name": "exit cleanly" } ], [ "line", "ok 116 captures SKIP description\n" ], [ "assert", { "ok": true, "id": 116, "name": "captures SKIP description" } ], [ "line", "ok 117 skip summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 117, "name": "skip summary is not in TAP output" } ], [ "line", "ok 118 todo summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 118, "name": "todo summary is not in TAP output" } ], [ "line", "not ok 119 captures TODO description\n" ], [ "line", " ---\n" ], [ "line", " file: child_process.js\n" ], [ "line", " line: 707\n" ], [ "line", " column: 7\n" ], [ "line", " stack:\n" ], [ "line", " - |\n" ], [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n" ], [ "line", " - |\n" ], [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n" ], [ "line", " - |\n" ], [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n" ], [ "line", " - |\n" ], [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:18:7\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.exithandler (child_process.js:707:7)\n" ], [ "line", " - |\n" ], [ "line", " emitTwo (events.js:87:13)\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.emit (events.js:169:7)\n" ], [ "line", " - |\n" ], [ "line", " maybeClose (child_process.js:984:16)\n" ], [ "line", " - |\n" ], [ "line", " Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 119, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:18:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } } ], [ "line", "ok 120 exit cleanly\n" ], [ "assert", { "ok": true, "id": 120, "name": "exit cleanly" } ], [ "line", "not ok 121 summarizes skipped count\n" ], [ "line", " ---\n" ], [ "line", " file: child_process.js\n" ], [ "line", " line: 707\n" ], [ "line", " column: 7\n" ], [ "line", " stack:\n" ], [ "line", " - |\n" ], [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n" ], [ "line", " - |\n" ], [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n" ], [ "line", " - |\n" ], [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n" ], [ "line", " - |\n" ], [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:23:7\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.exithandler (child_process.js:707:7)\n" ], [ "line", " - |\n" ], [ "line", " emitTwo (events.js:87:13)\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.emit (events.js:169:7)\n" ], [ "line", " - |\n" ], [ "line", " maybeClose (child_process.js:984:16)\n" ], [ "line", " - |\n" ], [ "line", " Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 121, "name": "summarizes skipped count", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:23:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } } ], [ "line", "not ok 122 summarizes todo count\n" ], [ "line", " ---\n" ], [ "line", " file: child_process.js\n" ], [ "line", " line: 707\n" ], [ "line", " column: 7\n" ], [ "line", " stack:\n" ], [ "line", " - |\n" ], [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n" ], [ "line", " - |\n" ], [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n" ], [ "line", " - |\n" ], [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n" ], [ "line", " - |\n" ], [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:24:7\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.exithandler (child_process.js:707:7)\n" ], [ "line", " - |\n" ], [ "line", " emitTwo (events.js:87:13)\n" ], [ "line", " - |\n" ], [ "line", " ChildProcess.emit (events.js:169:7)\n" ], [ "line", " - |\n" ], [ "line", " maybeClose (child_process.js:984:16)\n" ], [ "line", " - |\n" ], [ "line", " Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 122, "name": "summarizes todo count", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:24:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } } ], [ "line", "# tests 13\n" ], [ "comment", "# tests 13\n" ], [ "line", "# pass 9\n" ], [ "comment", "# pass 9\n" ], [ "line", "# fail 4\n" ], [ "comment", "# fail 4\n" ], [ "line", "not ok 123 test/test-descriptions.js\n" ], [ "line", " ---\n" ], [ "line", " exit: 1\n" ], [ "line", " command: \"/usr/local/bin/iojs test-descriptions.js\"\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 123, "name": "test/test-descriptions.js", "diag": { "exit": 1, "command": "/usr/local/bin/iojs test-descriptions.js" } } ], [ "line", "# test-directives.js\n" ], [ "comment", "# test-directives.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# captures test descriptions\n" ], [ "comment", "# captures test descriptions\n" ], [ "line", "# raw TAP > TAP consumer > TAP producer\n" ], [ "comment", "# raw TAP > TAP consumer > TAP producer\n" ], [ "line", "ok 124 overall result is PASS\n" ], [ "assert", { "ok": true, "id": 124, "name": "overall result is PASS" } ], [ "line", "ok 125 captures ok SKIP\n" ], [ "assert", { "ok": true, "id": 125, "name": "captures ok SKIP" } ], [ "line", "ok 126 captures not ok SKIP\n" ], [ "assert", { "ok": true, "id": 126, "name": "captures not ok SKIP" } ], [ "line", "ok 127 skip summary not in TAP output\n" ], [ "assert", { "ok": true, "id": 127, "name": "skip summary not in TAP output" } ], [ "line", "ok 128 captures ok TODO\n" ], [ "assert", { "ok": true, "id": 128, "name": "captures ok TODO" } ], [ "line", "ok 129 captures not ok TODO\n" ], [ "assert", { "ok": true, "id": 129, "name": "captures not ok TODO" } ], [ "line", "ok 130 todo summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 130, "name": "todo summary is not in TAP output" } ], [ "line", "ok 131 no ugly \"undefined\" in output\n" ], [ "assert", { "ok": true, "id": 131, "name": "no ugly \"undefined\" in output" } ], [ "line", "# raw TAP > TAP consumer > summary\n" ], [ "comment", "# raw TAP > TAP consumer > summary\n" ], [ "line", "ok 132 overall result is PASS\n" ], [ "assert", { "ok": true, "id": 132, "name": "overall result is PASS" } ], [ "line", "ok 133 no SKIP in summary\n" ], [ "assert", { "ok": true, "id": 133, "name": "no SKIP in summary" } ], [ "line", "ok 134 skip summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 134, "name": "skip summary is not in TAP output" } ], [ "line", "ok 135 no TODO in summary\n" ], [ "assert", { "ok": true, "id": 135, "name": "no TODO in summary" } ], [ "line", "ok 136 todo summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 136, "name": "todo summary is not in TAP output" } ], [ "line", "ok 137 no ugly \"undefined\" in output\n" ], [ "assert", { "ok": true, "id": 137, "name": "no ugly \"undefined\" in output" } ], [ "line", "# TAP producer via require(\"tap\")\n" ], [ "comment", "# TAP producer via require(\"tap\")\n" ], [ "line", "ok 138 overall result is PASS\n" ], [ "assert", { "ok": true, "id": 138, "name": "overall result is PASS" } ], [ "line", "ok 139 captures ok SKIP\n" ], [ "assert", { "ok": true, "id": 139, "name": "captures ok SKIP" } ], [ "line", "ok 140 captures not ok SKIP\n" ], [ "assert", { "ok": true, "id": 140, "name": "captures not ok SKIP" } ], [ "line", "ok 141 skip summary not in TAP output\n" ], [ "assert", { "ok": true, "id": 141, "name": "skip summary not in TAP output" } ], [ "line", "ok 142 captures ok TODO\n" ], [ "assert", { "ok": true, "id": 142, "name": "captures ok TODO" } ], [ "line", "ok 143 captures not ok TODO\n" ], [ "assert", { "ok": true, "id": 143, "name": "captures not ok TODO" } ], [ "line", "ok 144 todo summary is not in TAP output\n" ], [ "assert", { "ok": true, "id": 144, "name": "todo summary is not in TAP output" } ], [ "line", "ok 145 no ugly \"undefined\" in output\n" ], [ "assert", { "ok": true, "id": 145, "name": "no ugly \"undefined\" in output" } ], [ "line", "# tests 22\n" ], [ "comment", "# tests 22\n" ], [ "line", "# pass 22\n" ], [ "comment", "# pass 22\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 146 test/test-directives.js\n" ], [ "assert", { "ok": true, "id": 146, "name": "test/test-directives.js" } ], [ "line", "# test-skip.js\n" ], [ "comment", "# test-skip.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "ok 147 does not count as failure # SKIP\n" ], [ "assert", { "ok": true, "id": 147, "skip": true, "name": "does not count as failure" } ], [ "line", "# tests 1\n" ], [ "comment", "# tests 1\n" ], [ "line", "# skip 1\n" ], [ "comment", "# skip 1\n" ], [ "line", "ok 148 test/test-skip.js\n" ], [ "assert", { "ok": true, "id": 148, "name": "test/test-skip.js" } ], [ "line", "# test-test.js\n" ], [ "comment", "# test-test.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# testing the test object\n" ], [ "comment", "# testing the test object\n" ], [ "line", "ok 149 test object should be instanceof Test\n" ], [ "assert", { "ok": true, "id": 149, "name": "test object should be instanceof Test" } ], [ "line", "ok 150 test object should be instanceof Harness\n" ], [ "assert", { "ok": true, "id": 150, "name": "test object should be instanceof Harness" } ], [ "line", "ok 151 test._Test should be the Test class\n" ], [ "assert", { "ok": true, "id": 151, "name": "test._Test should be the Test class" } ], [ "line", "ok 152 should have isNotDeepEqual method\n" ], [ "assert", { "ok": true, "id": 152, "name": "should have isNotDeepEqual method" } ], [ "line", "ok 153 isNotDeepEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 153, "name": "isNotDeepEqual method should be a function" } ], [ "line", "ok 154 should have equals method\n" ], [ "assert", { "ok": true, "id": 154, "name": "should have equals method" } ], [ "line", "ok 155 equals method should be a function\n" ], [ "assert", { "ok": true, "id": 155, "name": "equals method should be a function" } ], [ "line", "ok 156 should have inequivalent method\n" ], [ "assert", { "ok": true, "id": 156, "name": "should have inequivalent method" } ], [ "line", "ok 157 inequivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 157, "name": "inequivalent method should be a function" } ], [ "line", "ok 158 should have threw method\n" ], [ "assert", { "ok": true, "id": 158, "name": "should have threw method" } ], [ "line", "ok 159 threw method should be a function\n" ], [ "assert", { "ok": true, "id": 159, "name": "threw method should be a function" } ], [ "line", "ok 160 should have strictEqual method\n" ], [ "assert", { "ok": true, "id": 160, "name": "should have strictEqual method" } ], [ "line", "ok 161 strictEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 161, "name": "strictEqual method should be a function" } ], [ "line", "ok 162 should have emit method\n" ], [ "assert", { "ok": true, "id": 162, "name": "should have emit method" } ], [ "line", "ok 163 emit method should be a function\n" ], [ "assert", { "ok": true, "id": 163, "name": "emit method should be a function" } ], [ "line", "ok 164 should have fail method\n" ], [ "assert", { "ok": true, "id": 164, "name": "should have fail method" } ], [ "line", "ok 165 fail method should be a function\n" ], [ "assert", { "ok": true, "id": 165, "name": "fail method should be a function" } ], [ "line", "ok 166 should have strictEquals method\n" ], [ "assert", { "ok": true, "id": 166, "name": "should have strictEquals method" } ], [ "line", "ok 167 strictEquals method should be a function\n" ], [ "assert", { "ok": true, "id": 167, "name": "strictEquals method should be a function" } ], [ "line", "ok 168 should have notLike method\n" ], [ "assert", { "ok": true, "id": 168, "name": "should have notLike method" } ], [ "line", "ok 169 notLike method should be a function\n" ], [ "assert", { "ok": true, "id": 169, "name": "notLike method should be a function" } ], [ "line", "ok 170 should have dissimilar method\n" ], [ "assert", { "ok": true, "id": 170, "name": "should have dissimilar method" } ], [ "line", "ok 171 dissimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 171, "name": "dissimilar method should be a function" } ], [ "line", "ok 172 should have true method\n" ], [ "assert", { "ok": true, "id": 172, "name": "should have true method" } ], [ "line", "ok 173 true method should be a function\n" ], [ "assert", { "ok": true, "id": 173, "name": "true method should be a function" } ], [ "line", "ok 174 should have assert method\n" ], [ "assert", { "ok": true, "id": 174, "name": "should have assert method" } ], [ "line", "ok 175 assert method should be a function\n" ], [ "assert", { "ok": true, "id": 175, "name": "assert method should be a function" } ], [ "line", "ok 176 should have is method\n" ], [ "assert", { "ok": true, "id": 176, "name": "should have is method" } ], [ "line", "ok 177 is method should be a function\n" ], [ "assert", { "ok": true, "id": 177, "name": "is method should be a function" } ], [ "line", "ok 178 should have ok method\n" ], [ "assert", { "ok": true, "id": 178, "name": "should have ok method" } ], [ "line", "ok 179 ok method should be a function\n" ], [ "assert", { "ok": true, "id": 179, "name": "ok method should be a function" } ], [ "line", "ok 180 should have isEqual method\n" ], [ "assert", { "ok": true, "id": 180, "name": "should have isEqual method" } ], [ "line", "ok 181 isEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 181, "name": "isEqual method should be a function" } ], [ "line", "ok 182 should have isDeeply method\n" ], [ "assert", { "ok": true, "id": 182, "name": "should have isDeeply method" } ], [ "line", "ok 183 isDeeply method should be a function\n" ], [ "assert", { "ok": true, "id": 183, "name": "isDeeply method should be a function" } ], [ "line", "ok 184 should have deepEqual method\n" ], [ "assert", { "ok": true, "id": 184, "name": "should have deepEqual method" } ], [ "line", "ok 185 deepEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 185, "name": "deepEqual method should be a function" } ], [ "line", "ok 186 should have deepEquals method\n" ], [ "assert", { "ok": true, "id": 186, "name": "should have deepEquals method" } ], [ "line", "ok 187 deepEquals method should be a function\n" ], [ "assert", { "ok": true, "id": 187, "name": "deepEquals method should be a function" } ], [ "line", "ok 188 should have pass method\n" ], [ "assert", { "ok": true, "id": 188, "name": "should have pass method" } ], [ "line", "ok 189 pass method should be a function\n" ], [ "assert", { "ok": true, "id": 189, "name": "pass method should be a function" } ], [ "line", "ok 190 should have length method\n" ], [ "assert", { "ok": true, "id": 190, "name": "should have length method" } ], [ "line", "ok 191 length method should be a function\n" ], [ "assert", { "ok": true, "id": 191, "name": "length method should be a function" } ], [ "line", "ok 192 should have skip method\n" ], [ "assert", { "ok": true, "id": 192, "name": "should have skip method" } ], [ "line", "ok 193 skip method should be a function\n" ], [ "assert", { "ok": true, "id": 193, "name": "skip method should be a function" } ], [ "line", "ok 194 should have isNotEqual method\n" ], [ "assert", { "ok": true, "id": 194, "name": "should have isNotEqual method" } ], [ "line", "ok 195 isNotEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 195, "name": "isNotEqual method should be a function" } ], [ "line", "ok 196 should have looseEquals method\n" ], [ "assert", { "ok": true, "id": 196, "name": "should have looseEquals method" } ], [ "line", "ok 197 looseEquals method should be a function\n" ], [ "assert", { "ok": true, "id": 197, "name": "looseEquals method should be a function" } ], [ "line", "ok 198 should have false method\n" ], [ "assert", { "ok": true, "id": 198, "name": "should have false method" } ], [ "line", "ok 199 false method should be a function\n" ], [ "assert", { "ok": true, "id": 199, "name": "false method should be a function" } ], [ "line", "ok 200 should have notDeeply method\n" ], [ "assert", { "ok": true, "id": 200, "name": "should have notDeeply method" } ], [ "line", "ok 201 notDeeply method should be a function\n" ], [ "assert", { "ok": true, "id": 201, "name": "notDeeply method should be a function" } ], [ "line", "ok 202 should have ifErr method\n" ], [ "assert", { "ok": true, "id": 202, "name": "should have ifErr method" } ], [ "line", "ok 203 ifErr method should be a function\n" ], [ "assert", { "ok": true, "id": 203, "name": "ifErr method should be a function" } ], [ "line", "ok 204 should have hasFields method\n" ], [ "assert", { "ok": true, "id": 204, "name": "should have hasFields method" } ], [ "line", "ok 205 hasFields method should be a function\n" ], [ "assert", { "ok": true, "id": 205, "name": "hasFields method should be a function" } ], [ "line", "ok 206 should have isNotDeeply method\n" ], [ "assert", { "ok": true, "id": 206, "name": "should have isNotDeeply method" } ], [ "line", "ok 207 isNotDeeply method should be a function\n" ], [ "assert", { "ok": true, "id": 207, "name": "isNotDeeply method should be a function" } ], [ "line", "ok 208 should have like method\n" ], [ "assert", { "ok": true, "id": 208, "name": "should have like method" } ], [ "line", "ok 209 like method should be a function\n" ], [ "assert", { "ok": true, "id": 209, "name": "like method should be a function" } ], [ "line", "ok 210 should have similar method\n" ], [ "assert", { "ok": true, "id": 210, "name": "should have similar method" } ], [ "line", "ok 211 similar method should be a function\n" ], [ "assert", { "ok": true, "id": 211, "name": "similar method should be a function" } ], [ "line", "ok 212 should have notOk method\n" ], [ "assert", { "ok": true, "id": 212, "name": "should have notOk method" } ], [ "line", "ok 213 notOk method should be a function\n" ], [ "assert", { "ok": true, "id": 213, "name": "notOk method should be a function" } ], [ "line", "ok 214 should have isDissimilar method\n" ], [ "assert", { "ok": true, "id": 214, "name": "should have isDissimilar method" } ], [ "line", "ok 215 isDissimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 215, "name": "isDissimilar method should be a function" } ], [ "line", "ok 216 should have isEquivalent method\n" ], [ "assert", { "ok": true, "id": 216, "name": "should have isEquivalent method" } ], [ "line", "ok 217 isEquivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 217, "name": "isEquivalent method should be a function" } ], [ "line", "ok 218 should have doesNotEqual method\n" ], [ "assert", { "ok": true, "id": 218, "name": "should have doesNotEqual method" } ], [ "line", "ok 219 doesNotEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 219, "name": "doesNotEqual method should be a function" } ], [ "line", "ok 220 should have isSimilar method\n" ], [ "assert", { "ok": true, "id": 220, "name": "should have isSimilar method" } ], [ "line", "ok 221 isSimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 221, "name": "isSimilar method should be a function" } ], [ "line", "ok 222 should have notDeepEqual method\n" ], [ "assert", { "ok": true, "id": 222, "name": "should have notDeepEqual method" } ], [ "line", "ok 223 notDeepEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 223, "name": "notDeepEqual method should be a function" } ], [ "line", "ok 224 should have type method\n" ], [ "assert", { "ok": true, "id": 224, "name": "should have type method" } ], [ "line", "ok 225 type method should be a function\n" ], [ "assert", { "ok": true, "id": 225, "name": "type method should be a function" } ], [ "line", "ok 226 should have notok method\n" ], [ "assert", { "ok": true, "id": 226, "name": "should have notok method" } ], [ "line", "ok 227 notok method should be a function\n" ], [ "assert", { "ok": true, "id": 227, "name": "notok method should be a function" } ], [ "line", "ok 228 should have isInequivalent method\n" ], [ "assert", { "ok": true, "id": 228, "name": "should have isInequivalent method" } ], [ "line", "ok 229 isInequivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 229, "name": "isInequivalent method should be a function" } ], [ "line", "ok 230 should have isNot method\n" ], [ "assert", { "ok": true, "id": 230, "name": "should have isNot method" } ], [ "line", "ok 231 isNot method should be a function\n" ], [ "assert", { "ok": true, "id": 231, "name": "isNot method should be a function" } ], [ "line", "ok 232 should have same method\n" ], [ "assert", { "ok": true, "id": 232, "name": "should have same method" } ], [ "line", "ok 233 same method should be a function\n" ], [ "assert", { "ok": true, "id": 233, "name": "same method should be a function" } ], [ "line", "ok 234 should have isInequal method\n" ], [ "assert", { "ok": true, "id": 234, "name": "should have isInequal method" } ], [ "line", "ok 235 isInequal method should be a function\n" ], [ "assert", { "ok": true, "id": 235, "name": "isInequal method should be a function" } ], [ "line", "ok 236 should have _endNice method\n" ], [ "assert", { "ok": true, "id": 236, "name": "should have _endNice method" } ], [ "line", "ok 237 _endNice method should be a function\n" ], [ "assert", { "ok": true, "id": 237, "name": "_endNice method should be a function" } ], [ "line", "ok 238 should have ifError method\n" ], [ "assert", { "ok": true, "id": 238, "name": "should have ifError method" } ], [ "line", "ok 239 ifError method should be a function\n" ], [ "assert", { "ok": true, "id": 239, "name": "ifError method should be a function" } ], [ "line", "ok 240 should have iferror method\n" ], [ "assert", { "ok": true, "id": 240, "name": "should have iferror method" } ], [ "line", "ok 241 iferror method should be a function\n" ], [ "assert", { "ok": true, "id": 241, "name": "iferror method should be a function" } ], [ "line", "ok 242 should have clear method\n" ], [ "assert", { "ok": true, "id": 242, "name": "should have clear method" } ], [ "line", "ok 243 clear method should be a function\n" ], [ "assert", { "ok": true, "id": 243, "name": "clear method should be a function" } ], [ "line", "ok 244 should have has method\n" ], [ "assert", { "ok": true, "id": 244, "name": "should have has method" } ], [ "line", "ok 245 has method should be a function\n" ], [ "assert", { "ok": true, "id": 245, "name": "has method should be a function" } ], [ "line", "ok 246 should have not method\n" ], [ "assert", { "ok": true, "id": 246, "name": "should have not method" } ], [ "line", "ok 247 not method should be a function\n" ], [ "assert", { "ok": true, "id": 247, "name": "not method should be a function" } ], [ "line", "ok 248 should have timeout method\n" ], [ "assert", { "ok": true, "id": 248, "name": "should have timeout method" } ], [ "line", "ok 249 timeout method should be a function\n" ], [ "assert", { "ok": true, "id": 249, "name": "timeout method should be a function" } ], [ "line", "ok 250 should have notSimilar method\n" ], [ "assert", { "ok": true, "id": 250, "name": "should have notSimilar method" } ], [ "line", "ok 251 notSimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 251, "name": "notSimilar method should be a function" } ], [ "line", "ok 252 should have isUnlike method\n" ], [ "assert", { "ok": true, "id": 252, "name": "should have isUnlike method" } ], [ "line", "ok 253 isUnlike method should be a function\n" ], [ "assert", { "ok": true, "id": 253, "name": "isUnlike method should be a function" } ], [ "line", "ok 254 should have notEquals method\n" ], [ "assert", { "ok": true, "id": 254, "name": "should have notEquals method" } ], [ "line", "ok 255 notEquals method should be a function\n" ], [ "assert", { "ok": true, "id": 255, "name": "notEquals method should be a function" } ], [ "line", "ok 256 should have unsimilar method\n" ], [ "assert", { "ok": true, "id": 256, "name": "should have unsimilar method" } ], [ "line", "ok 257 unsimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 257, "name": "unsimilar method should be a function" } ], [ "line", "ok 258 should have result method\n" ], [ "assert", { "ok": true, "id": 258, "name": "should have result method" } ], [ "line", "ok 259 result method should be a function\n" ], [ "assert", { "ok": true, "id": 259, "name": "result method should be a function" } ], [ "line", "ok 260 should have doesNotThrow method\n" ], [ "assert", { "ok": true, "id": 260, "name": "should have doesNotThrow method" } ], [ "line", "ok 261 doesNotThrow method should be a function\n" ], [ "assert", { "ok": true, "id": 261, "name": "doesNotThrow method should be a function" } ], [ "line", "ok 262 should have error method\n" ], [ "assert", { "ok": true, "id": 262, "name": "should have error method" } ], [ "line", "ok 263 error method should be a function\n" ], [ "assert", { "ok": true, "id": 263, "name": "error method should be a function" } ], [ "line", "ok 264 should have constructor method\n" ], [ "assert", { "ok": true, "id": 264, "name": "should have constructor method" } ], [ "line", "ok 265 constructor method should be a function\n" ], [ "assert", { "ok": true, "id": 265, "name": "constructor method should be a function" } ], [ "line", "ok 266 should have notEqual method\n" ], [ "assert", { "ok": true, "id": 266, "name": "should have notEqual method" } ], [ "line", "ok 267 notEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 267, "name": "notEqual method should be a function" } ], [ "line", "ok 268 should have throws method\n" ], [ "assert", { "ok": true, "id": 268, "name": "should have throws method" } ], [ "line", "ok 269 throws method should be a function\n" ], [ "assert", { "ok": true, "id": 269, "name": "throws method should be a function" } ], [ "line", "ok 270 should have isLike method\n" ], [ "assert", { "ok": true, "id": 270, "name": "should have isLike method" } ], [ "line", "ok 271 isLike method should be a function\n" ], [ "assert", { "ok": true, "id": 271, "name": "isLike method should be a function" } ], [ "line", "ok 272 should have isNotSimilar method\n" ], [ "assert", { "ok": true, "id": 272, "name": "should have isNotSimilar method" } ], [ "line", "ok 273 isNotSimilar method should be a function\n" ], [ "assert", { "ok": true, "id": 273, "name": "isNotSimilar method should be a function" } ], [ "line", "ok 274 should have isNotEquivalent method\n" ], [ "assert", { "ok": true, "id": 274, "name": "should have isNotEquivalent method" } ], [ "line", "ok 275 isNotEquivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 275, "name": "isNotEquivalent method should be a function" } ], [ "line", "ok 276 should have inequal method\n" ], [ "assert", { "ok": true, "id": 276, "name": "should have inequal method" } ], [ "line", "ok 277 inequal method should be a function\n" ], [ "assert", { "ok": true, "id": 277, "name": "inequal method should be a function" } ], [ "line", "ok 278 should have notEquivalent method\n" ], [ "assert", { "ok": true, "id": 278, "name": "should have notEquivalent method" } ], [ "line", "ok 279 notEquivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 279, "name": "notEquivalent method should be a function" } ], [ "line", "ok 280 should have isNotLike method\n" ], [ "assert", { "ok": true, "id": 280, "name": "should have isNotLike method" } ], [ "line", "ok 281 isNotLike method should be a function\n" ], [ "assert", { "ok": true, "id": 281, "name": "isNotLike method should be a function" } ], [ "line", "ok 282 should have equivalent method\n" ], [ "assert", { "ok": true, "id": 282, "name": "should have equivalent method" } ], [ "line", "ok 283 equivalent method should be a function\n" ], [ "assert", { "ok": true, "id": 283, "name": "equivalent method should be a function" } ], [ "line", "ok 284 should have looseEqual method\n" ], [ "assert", { "ok": true, "id": 284, "name": "should have looseEqual method" } ], [ "line", "ok 285 looseEqual method should be a function\n" ], [ "assert", { "ok": true, "id": 285, "name": "looseEqual method should be a function" } ], [ "line", "ok 286 should have equal method\n" ], [ "assert", { "ok": true, "id": 286, "name": "should have equal method" } ], [ "line", "ok 287 equal method should be a function\n" ], [ "assert", { "ok": true, "id": 287, "name": "equal method should be a function" } ], [ "line", "ok 288 should have unlike method\n" ], [ "assert", { "ok": true, "id": 288, "name": "should have unlike method" } ], [ "line", "ok 289 unlike method should be a function\n" ], [ "assert", { "ok": true, "id": 289, "name": "unlike method should be a function" } ], [ "line", "ok 290 should have doesNotHave method\n" ], [ "assert", { "ok": true, "id": 290, "name": "should have doesNotHave method" } ], [ "line", "ok 291 doesNotHave method should be a function\n" ], [ "assert", { "ok": true, "id": 291, "name": "doesNotHave method should be a function" } ], [ "line", "ok 292 should have comment method\n" ], [ "assert", { "ok": true, "id": 292, "name": "should have comment method" } ], [ "line", "ok 293 comment method should be a function\n" ], [ "assert", { "ok": true, "id": 293, "name": "comment method should be a function" } ], [ "line", "ok 294 should have isa method\n" ], [ "assert", { "ok": true, "id": 294, "name": "should have isa method" } ], [ "line", "ok 295 isa method should be a function\n" ], [ "assert", { "ok": true, "id": 295, "name": "isa method should be a function" } ], [ "line", "# tests 147\n" ], [ "comment", "# tests 147\n" ], [ "line", "# pass 147\n" ], [ "comment", "# pass 147\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 296 test/test-test.js\n" ], [ "assert", { "ok": true, "id": 296, "name": "test/test-test.js" } ], [ "line", "# timeout.js\n" ], [ "comment", "# timeout.js\n" ], [ "line", "timeout test\n" ], [ "extra", "timeout test\n" ], [ "line", "t.plan=2\n" ], [ "extra", "t.plan=2\n" ], [ "line", "a assert\n" ], [ "extra", "a assert\n" ], [ "line", "b assert\n" ], [ "extra", "b assert\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# timeout test with plan only\n" ], [ "comment", "# timeout test with plan only\n" ], [ "line", "ok 297 a\n" ], [ "assert", { "ok": true, "id": 297, "name": "a" } ], [ "line", "timeout test\n" ], [ "extra", "timeout test\n" ], [ "line", "t.plan=2\n" ], [ "extra", "t.plan=2\n" ], [ "line", "a assert\n" ], [ "extra", "a assert\n" ], [ "line", "b assert\n" ], [ "extra", "b assert\n" ], [ "line", "ok 298 b\n" ], [ "assert", { "ok": true, "id": 298, "name": "b" } ], [ "line", "# timeout test with plan and end\n" ], [ "comment", "# timeout test with plan and end\n" ], [ "line", "ok 299 a\n" ], [ "assert", { "ok": true, "id": 299, "name": "a" } ], [ "line", "ok 300 b\n" ], [ "assert", { "ok": true, "id": 300, "name": "b" } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 301 test/timeout.js\n" ], [ "assert", { "ok": true, "id": 301, "name": "test/timeout.js" } ], [ "line", "# trivial-success.js\n" ], [ "comment", "# trivial-success.js\n" ], [ "line", "ok 302 test/trivial-success.js\n" ], [ "assert", { "ok": true, "id": 302, "name": "test/trivial-success.js" } ], [ "line", "# undefined_indented.js\n" ], [ "comment", "# undefined_indented.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# consume yaml\n" ], [ "comment", "# consume yaml\n" ], [ "line", "ok 303 should be equivalent\n" ], [ "assert", { "ok": true, "id": 303, "name": "should be equivalent" } ], [ "line", "# tests 1\n" ], [ "comment", "# tests 1\n" ], [ "line", "# pass 1\n" ], [ "comment", "# pass 1\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 304 test/undefined_indented.js\n" ], [ "assert", { "ok": true, "id": 304, "name": "test/undefined_indented.js" } ], [ "line", "# valid-command.js\n" ], [ "comment", "# valid-command.js\n" ], [ "line", "# TAP version 13\n" ], [ "comment", "# TAP version 13\n" ], [ "line", "# valid command\n" ], [ "comment", "# valid command\n" ], [ "line", "ok 305 should be equivalent\n" ], [ "assert", { "ok": true, "id": 305, "name": "should be equivalent" } ], [ "line", "ok 306 should be equivalent\n" ], [ "assert", { "ok": true, "id": 306, "name": "should be equivalent" } ], [ "line", "ok 307 should be equivalent\n" ], [ "assert", { "ok": true, "id": 307, "name": "should be equivalent" } ], [ "line", "ok 308 should be equivalent\n" ], [ "assert", { "ok": true, "id": 308, "name": "should be equivalent" } ], [ "line", "ok 309 should be equivalent\n" ], [ "assert", { "ok": true, "id": 309, "name": "should be equivalent" } ], [ "line", "ok 310 should be equal\n" ], [ "assert", { "ok": true, "id": 310, "name": "should be equal" } ], [ "line", "# tests 6\n" ], [ "comment", "# tests 6\n" ], [ "line", "# pass 6\n" ], [ "comment", "# pass 6\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "ok 311 test/valid-command.js\n" ], [ "assert", { "ok": true, "id": 311, "name": "test/valid-command.js" } ], [ "line", "1..311\n" ], [ "plan", { "start": 1, "end": 311 } ], [ "line", "# tests 311\n" ], [ "comment", "# tests 311\n" ], [ "line", "# pass 297\n" ], [ "comment", "# pass 297\n" ], [ "line", "# fail 5\n" ], [ "comment", "# fail 5\n" ], [ "line", "# skip 5\n" ], [ "comment", "# skip 5\n" ], [ "line", "# todo 4\n" ], [ "comment", "# todo 4\n" ], [ "line", "# failed 5 of 311 tests\n" ], [ "comment", "# failed 5 of 311 tests\n" ], [ "line", "# todo: 4\n" ], [ "comment", "# todo: 4\n" ], [ "line", "# skip: 5\n" ], [ "comment", "# skip: 5\n" ], [ "complete", { "ok": false, "count": 311, "pass": 306, "fail": 5, "bailout": false, "todo": 4, "skip": 5, "plan": { "start": 1, "end": 311, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 114, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Socket. (child_process.js:1153:11)\n", "emitOne (events.js:77:13)\n" ] } }, { "ok": false, "id": 119, "name": "captures TODO description", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:18:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } }, { "ok": false, "id": 121, "name": "summarizes skipped count", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:23:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } }, { "ok": false, "id": 122, "name": "summarizes todo count", "diag": { "file": "child_process.js", "line": 707, "column": 7, "stack": [ "getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\n", "Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\n", "Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\n", "/Users/isaacs/dev/js/tap/test/test-descriptions.js:24:7\n", "ChildProcess.exithandler (child_process.js:707:7)\n", "emitTwo (events.js:87:13)\n", "ChildProcess.emit (events.js:169:7)\n", "maybeClose (child_process.js:984:16)\n", "Process.ChildProcess._handle.onexit (child_process.js:1057:5)\n" ] } }, { "ok": false, "id": 123, "name": "test/test-descriptions.js", "diag": { "exit": 1, "command": "/usr/local/bin/iojs test-descriptions.js" } } ] } ] ] tap-parser-7.0.0/test/fixtures/tap-tests.tap000066400000000000000000000413531320135610000210530ustar00rootroot00000000000000TAP version 13 # buffer_compare.js # TAP version 13 # same buffers ok 1 should be equivalent # not same buffers ok 2 should not be equivalent # tests 2 # pass 2 # ok ok 3 test/buffer_compare.js # common.js ok 4 just setup, nothing relevant ok 5 test/common.js # consumer.js # TAP version 13 # basic.tap ok 6 should be equivalent # indent.tap ok 7 should be equivalent # missing.tap ok 8 should be equivalent # skip-all.tap ok 9 should be equivalent # yamlish.tap ok 10 should be equivalent # tests 5 # pass 5 # ok ok 11 test/consumer.js # debug-test.js debug test t.plan=1 'Debugger listening on port 5858\n' # TAP version 13 # debug test ok 12 Should output debugger message # tests 1 # pass 1 # ok ok 13 test/debug-test.js # deep-strict.js # TAP version 13 # strictDeepEquals shouldn't care about key order ok 14 should be strictly equal # strictDeepEquals shouldn't care about key order recursively ok 15 should be strictly equal # strictDeepEquals shoudn't care about key order (but still might) ok 16 should be strictly equal # tests 3 # pass 3 # ok ok 17 test/deep-strict.js # deep.js # TAP version 13 # deepEquals shouldn't care about key order and types ok 18 should be equivalent # deepEquals shouldn't care about key order recursively and types ok 19 should be equivalent # deepEquals shoudn't care about key order (but still might) and types ok 20 should be equivalent # tests 3 # pass 3 # ok ok 21 test/deep.js # executed.sh ok 22 File with executable bit should be executed ok 23 test/executed.sh # exit-code.js # TAP version 13 # exit code 1 when tap results show failure # test exits 0, has failures ok 24 should be equal ok 25 should be equal # test exits 1, has failures ok 26 should be equal ok 27 should be equal # test exits 1, has no failures ok 28 should be equal ok 29 should be equal # successes exit 0 # test that does nothing, but exits 0 ok 30 should be equal ok 31 should be equal # test that succeeds, and exits 0 ok 32 should be equal ok 33 should be equal # tests 10 # pass 10 # ok ok 34 test/exit-code.js # expose-gc-test.js gc test t.plan=1 assert gc does not exist # TAP version 13 # gc test when the gc isn't there gc test t.plan=2 gc test using --gc t.plan=1 assert gc exists gc test using --expose-gc t.plan=1 assert gc exists ok 35 should be equal # gc test when the gc should be there # test for gc using --gc ok 36 should be equal # test for gc using --expose-gc ok 37 should be equal # cleanup # tests 3 # pass 3 # ok ok 38 test/expose-gc-test.js # global-harness-async.js # TAP version 13 # outer # inner 1 ok 39 1-1 # inner 2 ok 40 2-1 # inner 3 ok 41 3-1 ok 42 test/global-harness-async.js # independent-timeouts.js # TAP version 13 # finishes in time # finishes in time too # tests 0 # ok ok 43 test/independent-timeouts.js # isolated-conf-test.js # TAP version 13 # one ok 44 should be equal ok 45 should be equal # two ok 46 should be equal ok 47 should be equal # tests 4 # pass 4 # ok ok 48 test/isolated-conf-test.js # meta-test.js # TAP version 13 # meta test ok 49 sanity check ok 50 not ok ok 51 total test count ok 52 tests passed ok 53 tests failed ok 54 ok is boolean ok 55 skip is number ok 56 results isa Results ok 57 test isa Test ok 58 test isa Harness # tests 10 # pass 10 # ok ok 59 test/meta-test.js # nested-async.js # TAP version 13 # Harness async test support ok 60 sync child A # sync child B # async grandchild A ok 61 (unnamed assert) # async grandchild B ok 62 (unnamed assert) # async child ok 63 sync grandchild in async child A # sync grandchild in async child B ok 64 (unnamed assert) # tests 5 # pass 5 # ok ok 65 test/nested-async.js # nested-test.js # TAP version 13 # parent ok 66 p test # subtest ok 67 ch test # nested subtest ok 68 grch test # another subtest ok 69 ch test 2 # tests 4 # pass 4 # ok ok 70 test/nested-test.js # non-tap-output.js # everything is fine # there are no errors # this output is not haiku. # is 8 ok? ok 71 , 8 can stay. # but: nevertheless, here we are # this: is indented # and: it # might: ~ # be: yaml? ok 72 might be confusing ok 73 done now, exiting ok 74 test/non-tap-output.js # not-executed.sh # output-childtest-description.js # /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js # TAP version 13 # nested tests, parent and child pass ok 75 outputs parent description ok 76 outputs child description ok 77 outputs parent description before parent result ok 78 outputs parent result before child description ok 79 outputs child description before child result # tests 5 # pass 5 # ok ok 80 test/output-childtest-description.js # result-trap.js # TAP version 13 # trap result ok 81 should be equal ok 82 should be equal # tests 2 # pass 2 # ok ok 83 test/result-trap.js # segv.js # TAP version 13 # setup ok 84 compiled seg faulter # segv ok 85 should be equivalent ok 86 should be equivalent ok 87 should be equivalent ok 88 should be equivalent ok 89 should be equivalent ok 90 should be equal # cleanup ok 91 cleaned up # tests 8 # pass 8 # ok ok 92 test/segv.js # simple-harness-test-with-plan.js # TAP version 13 # trivial success ok 93 it works # two tests ok 94 math should work ok 95 false should not be ok # tests 3 # pass 3 # ok ok 96 test/simple-harness-test-with-plan.js # simple-harness-test.js # TAP version 13 # trivial success ok 97 it works # two tests ok 98 math should work ok 99 false should not be ok # tests 3 # pass 3 # ok ok 100 test/simple-harness-test.js # test-assert-todo-skip.js # TAP version 13 # not much ok 101 always passes # SKIP skip it good ok 102 false # SKIP always fails ok 103 bonus # TODO remove todo directive ok 104 expected # TODO implement a thing ok 105 always passes without explanation # SKIP ok 106 false without explanation # SKIP ok 107 bonus without explanation # TODO ok 108 expected without explanation # TODO # tests 8 # skip 4 # todo 4 ok 109 test/test-assert-todo-skip.js # test-descriptions.js # TAP version 13 # captures test descriptions ok 110 exit cleanly ok 111 captures SKIP description ok 112 skip summary is not from file ok 113 todo summary is not from file not ok 114 captures TODO description --- file: child_process.js line: 707 column: 7 stack: - | getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17) - | Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16) - | Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16) - | /Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7 - | ChildProcess.exithandler (child_process.js:707:7) - | emitTwo (events.js:87:13) - | ChildProcess.emit (events.js:169:7) - | maybeClose (child_process.js:984:16) - | Socket. (child_process.js:1153:11) - | emitOne (events.js:77:13) ... ok 115 exit cleanly ok 116 captures SKIP description ok 117 skip summary is not in TAP output ok 118 todo summary is not in TAP output not ok 119 captures TODO description --- file: child_process.js line: 707 column: 7 stack: - | getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17) - | Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16) - | Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16) - | /Users/isaacs/dev/js/tap/test/test-descriptions.js:18:7 - | ChildProcess.exithandler (child_process.js:707:7) - | emitTwo (events.js:87:13) - | ChildProcess.emit (events.js:169:7) - | maybeClose (child_process.js:984:16) - | Process.ChildProcess._handle.onexit (child_process.js:1057:5) ... ok 120 exit cleanly not ok 121 summarizes skipped count --- file: child_process.js line: 707 column: 7 stack: - | getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17) - | Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16) - | Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16) - | /Users/isaacs/dev/js/tap/test/test-descriptions.js:23:7 - | ChildProcess.exithandler (child_process.js:707:7) - | emitTwo (events.js:87:13) - | ChildProcess.emit (events.js:169:7) - | maybeClose (child_process.js:984:16) - | Process.ChildProcess._handle.onexit (child_process.js:1057:5) ... not ok 122 summarizes todo count --- file: child_process.js line: 707 column: 7 stack: - | getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17) - | Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16) - | Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16) - | /Users/isaacs/dev/js/tap/test/test-descriptions.js:24:7 - | ChildProcess.exithandler (child_process.js:707:7) - | emitTwo (events.js:87:13) - | ChildProcess.emit (events.js:169:7) - | maybeClose (child_process.js:984:16) - | Process.ChildProcess._handle.onexit (child_process.js:1057:5) ... # tests 13 # pass 9 # fail 4 not ok 123 test/test-descriptions.js --- exit: 1 command: "/usr/local/bin/iojs test-descriptions.js" ... # test-directives.js # TAP version 13 # captures test descriptions # raw TAP > TAP consumer > TAP producer ok 124 overall result is PASS ok 125 captures ok SKIP ok 126 captures not ok SKIP ok 127 skip summary not in TAP output ok 128 captures ok TODO ok 129 captures not ok TODO ok 130 todo summary is not in TAP output ok 131 no ugly "undefined" in output # raw TAP > TAP consumer > summary ok 132 overall result is PASS ok 133 no SKIP in summary ok 134 skip summary is not in TAP output ok 135 no TODO in summary ok 136 todo summary is not in TAP output ok 137 no ugly "undefined" in output # TAP producer via require("tap") ok 138 overall result is PASS ok 139 captures ok SKIP ok 140 captures not ok SKIP ok 141 skip summary not in TAP output ok 142 captures ok TODO ok 143 captures not ok TODO ok 144 todo summary is not in TAP output ok 145 no ugly "undefined" in output # tests 22 # pass 22 # ok ok 146 test/test-directives.js # test-skip.js # TAP version 13 ok 147 does not count as failure # SKIP # tests 1 # skip 1 ok 148 test/test-skip.js # test-test.js # TAP version 13 # testing the test object ok 149 test object should be instanceof Test ok 150 test object should be instanceof Harness ok 151 test._Test should be the Test class ok 152 should have isNotDeepEqual method ok 153 isNotDeepEqual method should be a function ok 154 should have equals method ok 155 equals method should be a function ok 156 should have inequivalent method ok 157 inequivalent method should be a function ok 158 should have threw method ok 159 threw method should be a function ok 160 should have strictEqual method ok 161 strictEqual method should be a function ok 162 should have emit method ok 163 emit method should be a function ok 164 should have fail method ok 165 fail method should be a function ok 166 should have strictEquals method ok 167 strictEquals method should be a function ok 168 should have notLike method ok 169 notLike method should be a function ok 170 should have dissimilar method ok 171 dissimilar method should be a function ok 172 should have true method ok 173 true method should be a function ok 174 should have assert method ok 175 assert method should be a function ok 176 should have is method ok 177 is method should be a function ok 178 should have ok method ok 179 ok method should be a function ok 180 should have isEqual method ok 181 isEqual method should be a function ok 182 should have isDeeply method ok 183 isDeeply method should be a function ok 184 should have deepEqual method ok 185 deepEqual method should be a function ok 186 should have deepEquals method ok 187 deepEquals method should be a function ok 188 should have pass method ok 189 pass method should be a function ok 190 should have length method ok 191 length method should be a function ok 192 should have skip method ok 193 skip method should be a function ok 194 should have isNotEqual method ok 195 isNotEqual method should be a function ok 196 should have looseEquals method ok 197 looseEquals method should be a function ok 198 should have false method ok 199 false method should be a function ok 200 should have notDeeply method ok 201 notDeeply method should be a function ok 202 should have ifErr method ok 203 ifErr method should be a function ok 204 should have hasFields method ok 205 hasFields method should be a function ok 206 should have isNotDeeply method ok 207 isNotDeeply method should be a function ok 208 should have like method ok 209 like method should be a function ok 210 should have similar method ok 211 similar method should be a function ok 212 should have notOk method ok 213 notOk method should be a function ok 214 should have isDissimilar method ok 215 isDissimilar method should be a function ok 216 should have isEquivalent method ok 217 isEquivalent method should be a function ok 218 should have doesNotEqual method ok 219 doesNotEqual method should be a function ok 220 should have isSimilar method ok 221 isSimilar method should be a function ok 222 should have notDeepEqual method ok 223 notDeepEqual method should be a function ok 224 should have type method ok 225 type method should be a function ok 226 should have notok method ok 227 notok method should be a function ok 228 should have isInequivalent method ok 229 isInequivalent method should be a function ok 230 should have isNot method ok 231 isNot method should be a function ok 232 should have same method ok 233 same method should be a function ok 234 should have isInequal method ok 235 isInequal method should be a function ok 236 should have _endNice method ok 237 _endNice method should be a function ok 238 should have ifError method ok 239 ifError method should be a function ok 240 should have iferror method ok 241 iferror method should be a function ok 242 should have clear method ok 243 clear method should be a function ok 244 should have has method ok 245 has method should be a function ok 246 should have not method ok 247 not method should be a function ok 248 should have timeout method ok 249 timeout method should be a function ok 250 should have notSimilar method ok 251 notSimilar method should be a function ok 252 should have isUnlike method ok 253 isUnlike method should be a function ok 254 should have notEquals method ok 255 notEquals method should be a function ok 256 should have unsimilar method ok 257 unsimilar method should be a function ok 258 should have result method ok 259 result method should be a function ok 260 should have doesNotThrow method ok 261 doesNotThrow method should be a function ok 262 should have error method ok 263 error method should be a function ok 264 should have constructor method ok 265 constructor method should be a function ok 266 should have notEqual method ok 267 notEqual method should be a function ok 268 should have throws method ok 269 throws method should be a function ok 270 should have isLike method ok 271 isLike method should be a function ok 272 should have isNotSimilar method ok 273 isNotSimilar method should be a function ok 274 should have isNotEquivalent method ok 275 isNotEquivalent method should be a function ok 276 should have inequal method ok 277 inequal method should be a function ok 278 should have notEquivalent method ok 279 notEquivalent method should be a function ok 280 should have isNotLike method ok 281 isNotLike method should be a function ok 282 should have equivalent method ok 283 equivalent method should be a function ok 284 should have looseEqual method ok 285 looseEqual method should be a function ok 286 should have equal method ok 287 equal method should be a function ok 288 should have unlike method ok 289 unlike method should be a function ok 290 should have doesNotHave method ok 291 doesNotHave method should be a function ok 292 should have comment method ok 293 comment method should be a function ok 294 should have isa method ok 295 isa method should be a function # tests 147 # pass 147 # ok ok 296 test/test-test.js # timeout.js timeout test t.plan=2 a assert b assert # TAP version 13 # timeout test with plan only ok 297 a timeout test t.plan=2 a assert b assert ok 298 b # timeout test with plan and end ok 299 a ok 300 b # tests 4 # pass 4 # ok ok 301 test/timeout.js # trivial-success.js ok 302 test/trivial-success.js # undefined_indented.js # TAP version 13 # consume yaml ok 303 should be equivalent # tests 1 # pass 1 # ok ok 304 test/undefined_indented.js # valid-command.js # TAP version 13 # valid command ok 305 should be equivalent ok 306 should be equivalent ok 307 should be equivalent ok 308 should be equivalent ok 309 should be equivalent ok 310 should be equal # tests 6 # pass 6 # ok ok 311 test/valid-command.js 1..311 # tests 311 # pass 297 # fail 5 # skip 5 # todo 4tap-parser-7.0.0/test/fixtures/todo--bail--omitversion.json000066400000000000000000000224601320135610000236720ustar00rootroot00000000000000[ [ "line", "# Subtest: a set of tests to be done later\n" ], [ "child", [ [ "comment", "# Subtest: a set of tests to be done later\n" ], [ "line", "ok 1 - should have a thingie # TODO\n" ], [ "assert", { "ok": true, "id": 1, "todo": true, "name": "should have a thingie" } ], [ "line", "ok 2 - should have a second whoosits also # TODO\n" ], [ "assert", { "ok": true, "id": 2, "todo": true, "name": "should have a second whoosits also" } ], [ "line", "# Subtest: the subset\n" ], [ "child", [ [ "comment", "# Subtest: the subset\n" ], [ "line", "ok 1 - should be a child thingie # TODO\n" ], [ "assert", { "ok": true, "id": 1, "todo": true, "name": "should be a child thingie" } ], [ "line", "ok 2 - should also be a whoosits # TODO\n" ], [ "assert", { "ok": true, "id": 2, "todo": true, "name": "should also be a whoosits" } ], [ "line", "# Subtest: has some of these things\n" ], [ "child", [ [ "comment", "# Subtest: has some of these things\n" ], [ "line", "ok 1 - true is truthy\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is truthy" } ], [ "line", "ok 2 - ten is also truthy\n" ], [ "assert", { "ok": true, "id": 2, "name": "ten is also truthy" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - true is truthy\n" ], [ "line", " ok 2 - ten is also truthy\n" ], [ "line", " 1..2\n" ], [ "line", "ok 3 - has some of these things\n" ], [ "assert", { "ok": true, "id": 3, "name": "has some of these things" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "# todo: 2\n" ], [ "comment", "# todo: 2\n" ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 2, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - should be a child thingie # TODO\n" ], [ "line", " ok 2 - should also be a whoosits # TODO\n" ], [ "line", " # Subtest: has some of these things\n" ], [ "line", " ok 1 - true is truthy\n" ], [ "line", " ok 2 - ten is also truthy\n" ], [ "line", " 1..2\n" ], [ "line", " ok 3 - has some of these things\n" ], [ "line", " 1..3\n" ], [ "line", " # todo: 2\n" ], [ "line", "ok 3 - the subset\n" ], [ "assert", { "ok": true, "id": 3, "name": "the subset" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "# todo: 2\n" ], [ "comment", "# todo: 2\n" ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 2, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - should have a thingie # TODO\n" ], [ "line", " ok 2 - should have a second whoosits also # TODO\n" ], [ "line", " # Subtest: the subset\n" ], [ "line", " ok 1 - should be a child thingie # TODO\n" ], [ "line", " ok 2 - should also be a whoosits # TODO\n" ], [ "line", " # Subtest: has some of these things\n" ], [ "line", " ok 1 - true is truthy\n" ], [ "line", " ok 2 - ten is also truthy\n" ], [ "line", " 1..2\n" ], [ "line", " ok 3 - has some of these things\n" ], [ "line", " 1..3\n" ], [ "line", " # todo: 2\n" ], [ "line", " ok 3 - the subset\n" ], [ "line", " 1..3\n" ], [ "line", " # todo: 2\n" ], [ "line", "ok 1 - a set of tests to be done later\n" ], [ "assert", { "ok": true, "id": 1, "name": "a set of tests to be done later" } ], [ "line", "# Subtest: another set of tests\n" ], [ "child", [ [ "comment", "# Subtest: another set of tests\n" ], [ "line", "ok 1 - is a second set # TODO\n" ], [ "assert", { "ok": true, "id": 1, "todo": true, "name": "is a second set" } ], [ "line", "ok 2 - looks like english # TODO\n" ], [ "assert", { "ok": true, "id": 2, "todo": true, "name": "looks like english" } ], [ "line", "ok 3 - is marked TODO # TODO\n" ], [ "assert", { "ok": true, "id": 3, "todo": true, "name": "is marked TODO" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "# todo: 3\n" ], [ "comment", "# todo: 3\n" ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 3, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - is a second set # TODO\n" ], [ "line", " ok 2 - looks like english # TODO\n" ], [ "line", " ok 3 - is marked TODO # TODO\n" ], [ "line", " 1..3\n" ], [ "line", " # todo: 3\n" ], [ "line", "ok 2 - another set of tests\n" ], [ "assert", { "ok": true, "id": 2, "name": "another set of tests" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/todo--bail--preservewhite--omitversion.json000066400000000000000000000224601320135610000266410ustar00rootroot00000000000000[ [ "line", "# Subtest: a set of tests to be done later\n" ], [ "child", [ [ "comment", "# Subtest: a set of tests to be done later\n" ], [ "line", "ok 1 - should have a thingie # TODO\n" ], [ "assert", { "ok": true, "id": 1, "todo": true, "name": "should have a thingie" } ], [ "line", "ok 2 - should have a second whoosits also # TODO\n" ], [ "assert", { "ok": true, "id": 2, "todo": true, "name": "should have a second whoosits also" } ], [ "line", "# Subtest: the subset\n" ], [ "child", [ [ "comment", "# Subtest: the subset\n" ], [ "line", "ok 1 - should be a child thingie # TODO\n" ], [ "assert", { "ok": true, "id": 1, "todo": true, "name": "should be a child thingie" } ], [ "line", "ok 2 - should also be a whoosits # TODO\n" ], [ "assert", { "ok": true, "id": 2, "todo": true, "name": "should also be a whoosits" } ], [ "line", "# Subtest: has some of these things\n" ], [ "child", [ [ "comment", "# Subtest: has some of these things\n" ], [ "line", "ok 1 - true is truthy\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is truthy" } ], [ "line", "ok 2 - ten is also truthy\n" ], [ "assert", { "ok": true, "id": 2, "name": "ten is also truthy" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - true is truthy\n" ], [ "line", " ok 2 - ten is also truthy\n" ], [ "line", " 1..2\n" ], [ "line", "ok 3 - has some of these things\n" ], [ "assert", { "ok": true, "id": 3, "name": "has some of these things" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "# todo: 2\n" ], [ "comment", "# todo: 2\n" ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 2, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - should be a child thingie # TODO\n" ], [ "line", " ok 2 - should also be a whoosits # TODO\n" ], [ "line", " # Subtest: has some of these things\n" ], [ "line", " ok 1 - true is truthy\n" ], [ "line", " ok 2 - ten is also truthy\n" ], [ "line", " 1..2\n" ], [ "line", " ok 3 - has some of these things\n" ], [ "line", " 1..3\n" ], [ "line", " # todo: 2\n" ], [ "line", "ok 3 - the subset\n" ], [ "assert", { "ok": true, "id": 3, "name": "the subset" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "# todo: 2\n" ], [ "comment", "# todo: 2\n" ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 2, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - should have a thingie # TODO\n" ], [ "line", " ok 2 - should have a second whoosits also # TODO\n" ], [ "line", " # Subtest: the subset\n" ], [ "line", " ok 1 - should be a child thingie # TODO\n" ], [ "line", " ok 2 - should also be a whoosits # TODO\n" ], [ "line", " # Subtest: has some of these things\n" ], [ "line", " ok 1 - true is truthy\n" ], [ "line", " ok 2 - ten is also truthy\n" ], [ "line", " 1..2\n" ], [ "line", " ok 3 - has some of these things\n" ], [ "line", " 1..3\n" ], [ "line", " # todo: 2\n" ], [ "line", " ok 3 - the subset\n" ], [ "line", " 1..3\n" ], [ "line", " # todo: 2\n" ], [ "line", "ok 1 - a set of tests to be done later\n" ], [ "assert", { "ok": true, "id": 1, "name": "a set of tests to be done later" } ], [ "line", "# Subtest: another set of tests\n" ], [ "child", [ [ "comment", "# Subtest: another set of tests\n" ], [ "line", "ok 1 - is a second set # TODO\n" ], [ "assert", { "ok": true, "id": 1, "todo": true, "name": "is a second set" } ], [ "line", "ok 2 - looks like english # TODO\n" ], [ "assert", { "ok": true, "id": 2, "todo": true, "name": "looks like english" } ], [ "line", "ok 3 - is marked TODO # TODO\n" ], [ "assert", { "ok": true, "id": 3, "todo": true, "name": "is marked TODO" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "# todo: 3\n" ], [ "comment", "# todo: 3\n" ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 3, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - is a second set # TODO\n" ], [ "line", " ok 2 - looks like english # TODO\n" ], [ "line", " ok 3 - is marked TODO # TODO\n" ], [ "line", " 1..3\n" ], [ "line", " # todo: 3\n" ], [ "line", "ok 2 - another set of tests\n" ], [ "assert", { "ok": true, "id": 2, "name": "another set of tests" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/todo--bail--preservewhite.json000066400000000000000000000225731320135610000242150ustar00rootroot00000000000000[ [ "line", "TAP version 14\n" ], [ "version", 14 ], [ "line", "# Subtest: a set of tests to be done later\n" ], [ "child", [ [ "comment", "# Subtest: a set of tests to be done later\n" ], [ "line", "ok 1 - should have a thingie # TODO\n" ], [ "assert", { "ok": true, "id": 1, "todo": true, "name": "should have a thingie" } ], [ "line", "ok 2 - should have a second whoosits also # TODO\n" ], [ "assert", { "ok": true, "id": 2, "todo": true, "name": "should have a second whoosits also" } ], [ "line", "# Subtest: the subset\n" ], [ "child", [ [ "comment", "# Subtest: the subset\n" ], [ "line", "ok 1 - should be a child thingie # TODO\n" ], [ "assert", { "ok": true, "id": 1, "todo": true, "name": "should be a child thingie" } ], [ "line", "ok 2 - should also be a whoosits # TODO\n" ], [ "assert", { "ok": true, "id": 2, "todo": true, "name": "should also be a whoosits" } ], [ "line", "# Subtest: has some of these things\n" ], [ "child", [ [ "comment", "# Subtest: has some of these things\n" ], [ "line", "ok 1 - true is truthy\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is truthy" } ], [ "line", "ok 2 - ten is also truthy\n" ], [ "assert", { "ok": true, "id": 2, "name": "ten is also truthy" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - true is truthy\n" ], [ "line", " ok 2 - ten is also truthy\n" ], [ "line", " 1..2\n" ], [ "line", "ok 3 - has some of these things\n" ], [ "assert", { "ok": true, "id": 3, "name": "has some of these things" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "# todo: 2\n" ], [ "comment", "# todo: 2\n" ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 2, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - should be a child thingie # TODO\n" ], [ "line", " ok 2 - should also be a whoosits # TODO\n" ], [ "line", " # Subtest: has some of these things\n" ], [ "line", " ok 1 - true is truthy\n" ], [ "line", " ok 2 - ten is also truthy\n" ], [ "line", " 1..2\n" ], [ "line", " ok 3 - has some of these things\n" ], [ "line", " 1..3\n" ], [ "line", " # todo: 2\n" ], [ "line", "ok 3 - the subset\n" ], [ "assert", { "ok": true, "id": 3, "name": "the subset" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "# todo: 2\n" ], [ "comment", "# todo: 2\n" ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 2, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - should have a thingie # TODO\n" ], [ "line", " ok 2 - should have a second whoosits also # TODO\n" ], [ "line", " # Subtest: the subset\n" ], [ "line", " ok 1 - should be a child thingie # TODO\n" ], [ "line", " ok 2 - should also be a whoosits # TODO\n" ], [ "line", " # Subtest: has some of these things\n" ], [ "line", " ok 1 - true is truthy\n" ], [ "line", " ok 2 - ten is also truthy\n" ], [ "line", " 1..2\n" ], [ "line", " ok 3 - has some of these things\n" ], [ "line", " 1..3\n" ], [ "line", " # todo: 2\n" ], [ "line", " ok 3 - the subset\n" ], [ "line", " 1..3\n" ], [ "line", " # todo: 2\n" ], [ "line", "ok 1 - a set of tests to be done later\n" ], [ "assert", { "ok": true, "id": 1, "name": "a set of tests to be done later" } ], [ "line", "# Subtest: another set of tests\n" ], [ "child", [ [ "comment", "# Subtest: another set of tests\n" ], [ "line", "ok 1 - is a second set # TODO\n" ], [ "assert", { "ok": true, "id": 1, "todo": true, "name": "is a second set" } ], [ "line", "ok 2 - looks like english # TODO\n" ], [ "assert", { "ok": true, "id": 2, "todo": true, "name": "looks like english" } ], [ "line", "ok 3 - is marked TODO # TODO\n" ], [ "assert", { "ok": true, "id": 3, "todo": true, "name": "is marked TODO" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "# todo: 3\n" ], [ "comment", "# todo: 3\n" ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 3, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - is a second set # TODO\n" ], [ "line", " ok 2 - looks like english # TODO\n" ], [ "line", " ok 3 - is marked TODO # TODO\n" ], [ "line", " 1..3\n" ], [ "line", " # todo: 3\n" ], [ "line", "ok 2 - another set of tests\n" ], [ "assert", { "ok": true, "id": 2, "name": "another set of tests" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/todo--bail.json000066400000000000000000000225731320135610000212460ustar00rootroot00000000000000[ [ "line", "TAP version 14\n" ], [ "version", 14 ], [ "line", "# Subtest: a set of tests to be done later\n" ], [ "child", [ [ "comment", "# Subtest: a set of tests to be done later\n" ], [ "line", "ok 1 - should have a thingie # TODO\n" ], [ "assert", { "ok": true, "id": 1, "todo": true, "name": "should have a thingie" } ], [ "line", "ok 2 - should have a second whoosits also # TODO\n" ], [ "assert", { "ok": true, "id": 2, "todo": true, "name": "should have a second whoosits also" } ], [ "line", "# Subtest: the subset\n" ], [ "child", [ [ "comment", "# Subtest: the subset\n" ], [ "line", "ok 1 - should be a child thingie # TODO\n" ], [ "assert", { "ok": true, "id": 1, "todo": true, "name": "should be a child thingie" } ], [ "line", "ok 2 - should also be a whoosits # TODO\n" ], [ "assert", { "ok": true, "id": 2, "todo": true, "name": "should also be a whoosits" } ], [ "line", "# Subtest: has some of these things\n" ], [ "child", [ [ "comment", "# Subtest: has some of these things\n" ], [ "line", "ok 1 - true is truthy\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is truthy" } ], [ "line", "ok 2 - ten is also truthy\n" ], [ "assert", { "ok": true, "id": 2, "name": "ten is also truthy" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - true is truthy\n" ], [ "line", " ok 2 - ten is also truthy\n" ], [ "line", " 1..2\n" ], [ "line", "ok 3 - has some of these things\n" ], [ "assert", { "ok": true, "id": 3, "name": "has some of these things" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "# todo: 2\n" ], [ "comment", "# todo: 2\n" ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 2, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - should be a child thingie # TODO\n" ], [ "line", " ok 2 - should also be a whoosits # TODO\n" ], [ "line", " # Subtest: has some of these things\n" ], [ "line", " ok 1 - true is truthy\n" ], [ "line", " ok 2 - ten is also truthy\n" ], [ "line", " 1..2\n" ], [ "line", " ok 3 - has some of these things\n" ], [ "line", " 1..3\n" ], [ "line", " # todo: 2\n" ], [ "line", "ok 3 - the subset\n" ], [ "assert", { "ok": true, "id": 3, "name": "the subset" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "# todo: 2\n" ], [ "comment", "# todo: 2\n" ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 2, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - should have a thingie # TODO\n" ], [ "line", " ok 2 - should have a second whoosits also # TODO\n" ], [ "line", " # Subtest: the subset\n" ], [ "line", " ok 1 - should be a child thingie # TODO\n" ], [ "line", " ok 2 - should also be a whoosits # TODO\n" ], [ "line", " # Subtest: has some of these things\n" ], [ "line", " ok 1 - true is truthy\n" ], [ "line", " ok 2 - ten is also truthy\n" ], [ "line", " 1..2\n" ], [ "line", " ok 3 - has some of these things\n" ], [ "line", " 1..3\n" ], [ "line", " # todo: 2\n" ], [ "line", " ok 3 - the subset\n" ], [ "line", " 1..3\n" ], [ "line", " # todo: 2\n" ], [ "line", "ok 1 - a set of tests to be done later\n" ], [ "assert", { "ok": true, "id": 1, "name": "a set of tests to be done later" } ], [ "line", "# Subtest: another set of tests\n" ], [ "child", [ [ "comment", "# Subtest: another set of tests\n" ], [ "line", "ok 1 - is a second set # TODO\n" ], [ "assert", { "ok": true, "id": 1, "todo": true, "name": "is a second set" } ], [ "line", "ok 2 - looks like english # TODO\n" ], [ "assert", { "ok": true, "id": 2, "todo": true, "name": "looks like english" } ], [ "line", "ok 3 - is marked TODO # TODO\n" ], [ "assert", { "ok": true, "id": 3, "todo": true, "name": "is marked TODO" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "# todo: 3\n" ], [ "comment", "# todo: 3\n" ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 3, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - is a second set # TODO\n" ], [ "line", " ok 2 - looks like english # TODO\n" ], [ "line", " ok 3 - is marked TODO # TODO\n" ], [ "line", " 1..3\n" ], [ "line", " # todo: 3\n" ], [ "line", "ok 2 - another set of tests\n" ], [ "assert", { "ok": true, "id": 2, "name": "another set of tests" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/todo--omitversion.json000066400000000000000000000224601320135610000227100ustar00rootroot00000000000000[ [ "line", "# Subtest: a set of tests to be done later\n" ], [ "child", [ [ "comment", "# Subtest: a set of tests to be done later\n" ], [ "line", "ok 1 - should have a thingie # TODO\n" ], [ "assert", { "ok": true, "id": 1, "todo": true, "name": "should have a thingie" } ], [ "line", "ok 2 - should have a second whoosits also # TODO\n" ], [ "assert", { "ok": true, "id": 2, "todo": true, "name": "should have a second whoosits also" } ], [ "line", "# Subtest: the subset\n" ], [ "child", [ [ "comment", "# Subtest: the subset\n" ], [ "line", "ok 1 - should be a child thingie # TODO\n" ], [ "assert", { "ok": true, "id": 1, "todo": true, "name": "should be a child thingie" } ], [ "line", "ok 2 - should also be a whoosits # TODO\n" ], [ "assert", { "ok": true, "id": 2, "todo": true, "name": "should also be a whoosits" } ], [ "line", "# Subtest: has some of these things\n" ], [ "child", [ [ "comment", "# Subtest: has some of these things\n" ], [ "line", "ok 1 - true is truthy\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is truthy" } ], [ "line", "ok 2 - ten is also truthy\n" ], [ "assert", { "ok": true, "id": 2, "name": "ten is also truthy" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - true is truthy\n" ], [ "line", " ok 2 - ten is also truthy\n" ], [ "line", " 1..2\n" ], [ "line", "ok 3 - has some of these things\n" ], [ "assert", { "ok": true, "id": 3, "name": "has some of these things" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "# todo: 2\n" ], [ "comment", "# todo: 2\n" ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 2, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - should be a child thingie # TODO\n" ], [ "line", " ok 2 - should also be a whoosits # TODO\n" ], [ "line", " # Subtest: has some of these things\n" ], [ "line", " ok 1 - true is truthy\n" ], [ "line", " ok 2 - ten is also truthy\n" ], [ "line", " 1..2\n" ], [ "line", " ok 3 - has some of these things\n" ], [ "line", " 1..3\n" ], [ "line", " # todo: 2\n" ], [ "line", "ok 3 - the subset\n" ], [ "assert", { "ok": true, "id": 3, "name": "the subset" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "# todo: 2\n" ], [ "comment", "# todo: 2\n" ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 2, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - should have a thingie # TODO\n" ], [ "line", " ok 2 - should have a second whoosits also # TODO\n" ], [ "line", " # Subtest: the subset\n" ], [ "line", " ok 1 - should be a child thingie # TODO\n" ], [ "line", " ok 2 - should also be a whoosits # TODO\n" ], [ "line", " # Subtest: has some of these things\n" ], [ "line", " ok 1 - true is truthy\n" ], [ "line", " ok 2 - ten is also truthy\n" ], [ "line", " 1..2\n" ], [ "line", " ok 3 - has some of these things\n" ], [ "line", " 1..3\n" ], [ "line", " # todo: 2\n" ], [ "line", " ok 3 - the subset\n" ], [ "line", " 1..3\n" ], [ "line", " # todo: 2\n" ], [ "line", "ok 1 - a set of tests to be done later\n" ], [ "assert", { "ok": true, "id": 1, "name": "a set of tests to be done later" } ], [ "line", "# Subtest: another set of tests\n" ], [ "child", [ [ "comment", "# Subtest: another set of tests\n" ], [ "line", "ok 1 - is a second set # TODO\n" ], [ "assert", { "ok": true, "id": 1, "todo": true, "name": "is a second set" } ], [ "line", "ok 2 - looks like english # TODO\n" ], [ "assert", { "ok": true, "id": 2, "todo": true, "name": "looks like english" } ], [ "line", "ok 3 - is marked TODO # TODO\n" ], [ "assert", { "ok": true, "id": 3, "todo": true, "name": "is marked TODO" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "# todo: 3\n" ], [ "comment", "# todo: 3\n" ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 3, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - is a second set # TODO\n" ], [ "line", " ok 2 - looks like english # TODO\n" ], [ "line", " ok 3 - is marked TODO # TODO\n" ], [ "line", " 1..3\n" ], [ "line", " # todo: 3\n" ], [ "line", "ok 2 - another set of tests\n" ], [ "assert", { "ok": true, "id": 2, "name": "another set of tests" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/todo--preservewhite--omitversion.json000066400000000000000000000224601320135610000256570ustar00rootroot00000000000000[ [ "line", "# Subtest: a set of tests to be done later\n" ], [ "child", [ [ "comment", "# Subtest: a set of tests to be done later\n" ], [ "line", "ok 1 - should have a thingie # TODO\n" ], [ "assert", { "ok": true, "id": 1, "todo": true, "name": "should have a thingie" } ], [ "line", "ok 2 - should have a second whoosits also # TODO\n" ], [ "assert", { "ok": true, "id": 2, "todo": true, "name": "should have a second whoosits also" } ], [ "line", "# Subtest: the subset\n" ], [ "child", [ [ "comment", "# Subtest: the subset\n" ], [ "line", "ok 1 - should be a child thingie # TODO\n" ], [ "assert", { "ok": true, "id": 1, "todo": true, "name": "should be a child thingie" } ], [ "line", "ok 2 - should also be a whoosits # TODO\n" ], [ "assert", { "ok": true, "id": 2, "todo": true, "name": "should also be a whoosits" } ], [ "line", "# Subtest: has some of these things\n" ], [ "child", [ [ "comment", "# Subtest: has some of these things\n" ], [ "line", "ok 1 - true is truthy\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is truthy" } ], [ "line", "ok 2 - ten is also truthy\n" ], [ "assert", { "ok": true, "id": 2, "name": "ten is also truthy" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - true is truthy\n" ], [ "line", " ok 2 - ten is also truthy\n" ], [ "line", " 1..2\n" ], [ "line", "ok 3 - has some of these things\n" ], [ "assert", { "ok": true, "id": 3, "name": "has some of these things" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "# todo: 2\n" ], [ "comment", "# todo: 2\n" ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 2, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - should be a child thingie # TODO\n" ], [ "line", " ok 2 - should also be a whoosits # TODO\n" ], [ "line", " # Subtest: has some of these things\n" ], [ "line", " ok 1 - true is truthy\n" ], [ "line", " ok 2 - ten is also truthy\n" ], [ "line", " 1..2\n" ], [ "line", " ok 3 - has some of these things\n" ], [ "line", " 1..3\n" ], [ "line", " # todo: 2\n" ], [ "line", "ok 3 - the subset\n" ], [ "assert", { "ok": true, "id": 3, "name": "the subset" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "# todo: 2\n" ], [ "comment", "# todo: 2\n" ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 2, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - should have a thingie # TODO\n" ], [ "line", " ok 2 - should have a second whoosits also # TODO\n" ], [ "line", " # Subtest: the subset\n" ], [ "line", " ok 1 - should be a child thingie # TODO\n" ], [ "line", " ok 2 - should also be a whoosits # TODO\n" ], [ "line", " # Subtest: has some of these things\n" ], [ "line", " ok 1 - true is truthy\n" ], [ "line", " ok 2 - ten is also truthy\n" ], [ "line", " 1..2\n" ], [ "line", " ok 3 - has some of these things\n" ], [ "line", " 1..3\n" ], [ "line", " # todo: 2\n" ], [ "line", " ok 3 - the subset\n" ], [ "line", " 1..3\n" ], [ "line", " # todo: 2\n" ], [ "line", "ok 1 - a set of tests to be done later\n" ], [ "assert", { "ok": true, "id": 1, "name": "a set of tests to be done later" } ], [ "line", "# Subtest: another set of tests\n" ], [ "child", [ [ "comment", "# Subtest: another set of tests\n" ], [ "line", "ok 1 - is a second set # TODO\n" ], [ "assert", { "ok": true, "id": 1, "todo": true, "name": "is a second set" } ], [ "line", "ok 2 - looks like english # TODO\n" ], [ "assert", { "ok": true, "id": 2, "todo": true, "name": "looks like english" } ], [ "line", "ok 3 - is marked TODO # TODO\n" ], [ "assert", { "ok": true, "id": 3, "todo": true, "name": "is marked TODO" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "# todo: 3\n" ], [ "comment", "# todo: 3\n" ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 3, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - is a second set # TODO\n" ], [ "line", " ok 2 - looks like english # TODO\n" ], [ "line", " ok 3 - is marked TODO # TODO\n" ], [ "line", " 1..3\n" ], [ "line", " # todo: 3\n" ], [ "line", "ok 2 - another set of tests\n" ], [ "assert", { "ok": true, "id": 2, "name": "another set of tests" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/todo--preservewhite.json000066400000000000000000000225731320135610000232330ustar00rootroot00000000000000[ [ "line", "TAP version 14\n" ], [ "version", 14 ], [ "line", "# Subtest: a set of tests to be done later\n" ], [ "child", [ [ "comment", "# Subtest: a set of tests to be done later\n" ], [ "line", "ok 1 - should have a thingie # TODO\n" ], [ "assert", { "ok": true, "id": 1, "todo": true, "name": "should have a thingie" } ], [ "line", "ok 2 - should have a second whoosits also # TODO\n" ], [ "assert", { "ok": true, "id": 2, "todo": true, "name": "should have a second whoosits also" } ], [ "line", "# Subtest: the subset\n" ], [ "child", [ [ "comment", "# Subtest: the subset\n" ], [ "line", "ok 1 - should be a child thingie # TODO\n" ], [ "assert", { "ok": true, "id": 1, "todo": true, "name": "should be a child thingie" } ], [ "line", "ok 2 - should also be a whoosits # TODO\n" ], [ "assert", { "ok": true, "id": 2, "todo": true, "name": "should also be a whoosits" } ], [ "line", "# Subtest: has some of these things\n" ], [ "child", [ [ "comment", "# Subtest: has some of these things\n" ], [ "line", "ok 1 - true is truthy\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is truthy" } ], [ "line", "ok 2 - ten is also truthy\n" ], [ "assert", { "ok": true, "id": 2, "name": "ten is also truthy" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - true is truthy\n" ], [ "line", " ok 2 - ten is also truthy\n" ], [ "line", " 1..2\n" ], [ "line", "ok 3 - has some of these things\n" ], [ "assert", { "ok": true, "id": 3, "name": "has some of these things" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "# todo: 2\n" ], [ "comment", "# todo: 2\n" ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 2, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - should be a child thingie # TODO\n" ], [ "line", " ok 2 - should also be a whoosits # TODO\n" ], [ "line", " # Subtest: has some of these things\n" ], [ "line", " ok 1 - true is truthy\n" ], [ "line", " ok 2 - ten is also truthy\n" ], [ "line", " 1..2\n" ], [ "line", " ok 3 - has some of these things\n" ], [ "line", " 1..3\n" ], [ "line", " # todo: 2\n" ], [ "line", "ok 3 - the subset\n" ], [ "assert", { "ok": true, "id": 3, "name": "the subset" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "# todo: 2\n" ], [ "comment", "# todo: 2\n" ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 2, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - should have a thingie # TODO\n" ], [ "line", " ok 2 - should have a second whoosits also # TODO\n" ], [ "line", " # Subtest: the subset\n" ], [ "line", " ok 1 - should be a child thingie # TODO\n" ], [ "line", " ok 2 - should also be a whoosits # TODO\n" ], [ "line", " # Subtest: has some of these things\n" ], [ "line", " ok 1 - true is truthy\n" ], [ "line", " ok 2 - ten is also truthy\n" ], [ "line", " 1..2\n" ], [ "line", " ok 3 - has some of these things\n" ], [ "line", " 1..3\n" ], [ "line", " # todo: 2\n" ], [ "line", " ok 3 - the subset\n" ], [ "line", " 1..3\n" ], [ "line", " # todo: 2\n" ], [ "line", "ok 1 - a set of tests to be done later\n" ], [ "assert", { "ok": true, "id": 1, "name": "a set of tests to be done later" } ], [ "line", "# Subtest: another set of tests\n" ], [ "child", [ [ "comment", "# Subtest: another set of tests\n" ], [ "line", "ok 1 - is a second set # TODO\n" ], [ "assert", { "ok": true, "id": 1, "todo": true, "name": "is a second set" } ], [ "line", "ok 2 - looks like english # TODO\n" ], [ "assert", { "ok": true, "id": 2, "todo": true, "name": "looks like english" } ], [ "line", "ok 3 - is marked TODO # TODO\n" ], [ "assert", { "ok": true, "id": 3, "todo": true, "name": "is marked TODO" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "# todo: 3\n" ], [ "comment", "# todo: 3\n" ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 3, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - is a second set # TODO\n" ], [ "line", " ok 2 - looks like english # TODO\n" ], [ "line", " ok 3 - is marked TODO # TODO\n" ], [ "line", " 1..3\n" ], [ "line", " # todo: 3\n" ], [ "line", "ok 2 - another set of tests\n" ], [ "assert", { "ok": true, "id": 2, "name": "another set of tests" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/todo.json000066400000000000000000000225731320135610000202640ustar00rootroot00000000000000[ [ "line", "TAP version 14\n" ], [ "version", 14 ], [ "line", "# Subtest: a set of tests to be done later\n" ], [ "child", [ [ "comment", "# Subtest: a set of tests to be done later\n" ], [ "line", "ok 1 - should have a thingie # TODO\n" ], [ "assert", { "ok": true, "id": 1, "todo": true, "name": "should have a thingie" } ], [ "line", "ok 2 - should have a second whoosits also # TODO\n" ], [ "assert", { "ok": true, "id": 2, "todo": true, "name": "should have a second whoosits also" } ], [ "line", "# Subtest: the subset\n" ], [ "child", [ [ "comment", "# Subtest: the subset\n" ], [ "line", "ok 1 - should be a child thingie # TODO\n" ], [ "assert", { "ok": true, "id": 1, "todo": true, "name": "should be a child thingie" } ], [ "line", "ok 2 - should also be a whoosits # TODO\n" ], [ "assert", { "ok": true, "id": 2, "todo": true, "name": "should also be a whoosits" } ], [ "line", "# Subtest: has some of these things\n" ], [ "child", [ [ "comment", "# Subtest: has some of these things\n" ], [ "line", "ok 1 - true is truthy\n" ], [ "assert", { "ok": true, "id": 1, "name": "true is truthy" } ], [ "line", "ok 2 - ten is also truthy\n" ], [ "assert", { "ok": true, "id": 2, "name": "ten is also truthy" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - true is truthy\n" ], [ "line", " ok 2 - ten is also truthy\n" ], [ "line", " 1..2\n" ], [ "line", "ok 3 - has some of these things\n" ], [ "assert", { "ok": true, "id": 3, "name": "has some of these things" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "# todo: 2\n" ], [ "comment", "# todo: 2\n" ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 2, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - should be a child thingie # TODO\n" ], [ "line", " ok 2 - should also be a whoosits # TODO\n" ], [ "line", " # Subtest: has some of these things\n" ], [ "line", " ok 1 - true is truthy\n" ], [ "line", " ok 2 - ten is also truthy\n" ], [ "line", " 1..2\n" ], [ "line", " ok 3 - has some of these things\n" ], [ "line", " 1..3\n" ], [ "line", " # todo: 2\n" ], [ "line", "ok 3 - the subset\n" ], [ "assert", { "ok": true, "id": 3, "name": "the subset" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "# todo: 2\n" ], [ "comment", "# todo: 2\n" ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 2, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - should have a thingie # TODO\n" ], [ "line", " ok 2 - should have a second whoosits also # TODO\n" ], [ "line", " # Subtest: the subset\n" ], [ "line", " ok 1 - should be a child thingie # TODO\n" ], [ "line", " ok 2 - should also be a whoosits # TODO\n" ], [ "line", " # Subtest: has some of these things\n" ], [ "line", " ok 1 - true is truthy\n" ], [ "line", " ok 2 - ten is also truthy\n" ], [ "line", " 1..2\n" ], [ "line", " ok 3 - has some of these things\n" ], [ "line", " 1..3\n" ], [ "line", " # todo: 2\n" ], [ "line", " ok 3 - the subset\n" ], [ "line", " 1..3\n" ], [ "line", " # todo: 2\n" ], [ "line", "ok 1 - a set of tests to be done later\n" ], [ "assert", { "ok": true, "id": 1, "name": "a set of tests to be done later" } ], [ "line", "# Subtest: another set of tests\n" ], [ "child", [ [ "comment", "# Subtest: another set of tests\n" ], [ "line", "ok 1 - is a second set # TODO\n" ], [ "assert", { "ok": true, "id": 1, "todo": true, "name": "is a second set" } ], [ "line", "ok 2 - looks like english # TODO\n" ], [ "assert", { "ok": true, "id": 2, "todo": true, "name": "looks like english" } ], [ "line", "ok 3 - is marked TODO # TODO\n" ], [ "assert", { "ok": true, "id": 3, "todo": true, "name": "is marked TODO" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "# todo: 3\n" ], [ "comment", "# todo: 3\n" ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 3, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] ], [ "line", " ok 1 - is a second set # TODO\n" ], [ "line", " ok 2 - looks like english # TODO\n" ], [ "line", " ok 3 - is marked TODO # TODO\n" ], [ "line", " 1..3\n" ], [ "line", " # todo: 3\n" ], [ "line", "ok 2 - another set of tests\n" ], [ "assert", { "ok": true, "id": 2, "name": "another set of tests" } ], [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/todo.tap000066400000000000000000000013231320135610000200650ustar00rootroot00000000000000TAP version 14 # Subtest: a set of tests to be done later ok 1 - should have a thingie # TODO ok 2 - should have a second whoosits also # TODO # Subtest: the subset ok 1 - should be a child thingie # TODO ok 2 - should also be a whoosits # TODO # Subtest: has some of these things ok 1 - true is truthy ok 2 - ten is also truthy 1..2 ok 3 - has some of these things 1..3 ok 3 - the subset 1..3 ok 1 - a set of tests to be done later # Subtest: another set of tests ok 1 - is a second set # TODO ok 2 - looks like english # TODO ok 3 - is marked TODO # TODO 1..3 ok 2 - another set of tests 1..2 tap-parser-7.0.0/test/fixtures/todo_inline--bail--omitversion.json000066400000000000000000000021541320135610000252260ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "not ok 1 - Foo # TODO Just testing the todo interface.\n" ], [ "assert", { "ok": false, "id": 1, "todo": "Just testing the todo interface.", "name": "Foo" } ], [ "line", "ok 2 - Unexpected success # TODO Just testing the todo interface.\n" ], [ "assert", { "ok": true, "id": 2, "todo": "Just testing the todo interface.", "name": "Unexpected success" } ], [ "line", "ok 3 - This is not todo\n" ], [ "assert", { "ok": true, "id": 3, "name": "This is not todo" } ], [ "line", "# todo: 2\n" ], [ "comment", "# todo: 2\n" ], [ "complete", { "ok": true, "count": 3, "pass": 2, "fail": 1, "bailout": false, "todo": 2, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/todo_inline--bail--preservewhite--omitversion.json000066400000000000000000000021541320135610000301750ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "not ok 1 - Foo # TODO Just testing the todo interface.\n" ], [ "assert", { "ok": false, "id": 1, "todo": "Just testing the todo interface.", "name": "Foo" } ], [ "line", "ok 2 - Unexpected success # TODO Just testing the todo interface.\n" ], [ "assert", { "ok": true, "id": 2, "todo": "Just testing the todo interface.", "name": "Unexpected success" } ], [ "line", "ok 3 - This is not todo\n" ], [ "assert", { "ok": true, "id": 3, "name": "This is not todo" } ], [ "line", "# todo: 2\n" ], [ "comment", "# todo: 2\n" ], [ "complete", { "ok": true, "count": 3, "pass": 2, "fail": 1, "bailout": false, "todo": 2, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/todo_inline--bail--preservewhite.json000066400000000000000000000021541320135610000255440ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "not ok 1 - Foo # TODO Just testing the todo interface.\n" ], [ "assert", { "ok": false, "id": 1, "todo": "Just testing the todo interface.", "name": "Foo" } ], [ "line", "ok 2 - Unexpected success # TODO Just testing the todo interface.\n" ], [ "assert", { "ok": true, "id": 2, "todo": "Just testing the todo interface.", "name": "Unexpected success" } ], [ "line", "ok 3 - This is not todo\n" ], [ "assert", { "ok": true, "id": 3, "name": "This is not todo" } ], [ "line", "# todo: 2\n" ], [ "comment", "# todo: 2\n" ], [ "complete", { "ok": true, "count": 3, "pass": 2, "fail": 1, "bailout": false, "todo": 2, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/todo_inline--bail.json000066400000000000000000000021541320135610000225750ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "not ok 1 - Foo # TODO Just testing the todo interface.\n" ], [ "assert", { "ok": false, "id": 1, "todo": "Just testing the todo interface.", "name": "Foo" } ], [ "line", "ok 2 - Unexpected success # TODO Just testing the todo interface.\n" ], [ "assert", { "ok": true, "id": 2, "todo": "Just testing the todo interface.", "name": "Unexpected success" } ], [ "line", "ok 3 - This is not todo\n" ], [ "assert", { "ok": true, "id": 3, "name": "This is not todo" } ], [ "line", "# todo: 2\n" ], [ "comment", "# todo: 2\n" ], [ "complete", { "ok": true, "count": 3, "pass": 2, "fail": 1, "bailout": false, "todo": 2, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/todo_inline--omitversion.json000066400000000000000000000021541320135610000242440ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "not ok 1 - Foo # TODO Just testing the todo interface.\n" ], [ "assert", { "ok": false, "id": 1, "todo": "Just testing the todo interface.", "name": "Foo" } ], [ "line", "ok 2 - Unexpected success # TODO Just testing the todo interface.\n" ], [ "assert", { "ok": true, "id": 2, "todo": "Just testing the todo interface.", "name": "Unexpected success" } ], [ "line", "ok 3 - This is not todo\n" ], [ "assert", { "ok": true, "id": 3, "name": "This is not todo" } ], [ "line", "# todo: 2\n" ], [ "comment", "# todo: 2\n" ], [ "complete", { "ok": true, "count": 3, "pass": 2, "fail": 1, "bailout": false, "todo": 2, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/todo_inline--preservewhite--omitversion.json000066400000000000000000000021541320135610000272130ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "not ok 1 - Foo # TODO Just testing the todo interface.\n" ], [ "assert", { "ok": false, "id": 1, "todo": "Just testing the todo interface.", "name": "Foo" } ], [ "line", "ok 2 - Unexpected success # TODO Just testing the todo interface.\n" ], [ "assert", { "ok": true, "id": 2, "todo": "Just testing the todo interface.", "name": "Unexpected success" } ], [ "line", "ok 3 - This is not todo\n" ], [ "assert", { "ok": true, "id": 3, "name": "This is not todo" } ], [ "line", "# todo: 2\n" ], [ "comment", "# todo: 2\n" ], [ "complete", { "ok": true, "count": 3, "pass": 2, "fail": 1, "bailout": false, "todo": 2, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/todo_inline--preservewhite.json000066400000000000000000000021541320135610000245620ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "not ok 1 - Foo # TODO Just testing the todo interface.\n" ], [ "assert", { "ok": false, "id": 1, "todo": "Just testing the todo interface.", "name": "Foo" } ], [ "line", "ok 2 - Unexpected success # TODO Just testing the todo interface.\n" ], [ "assert", { "ok": true, "id": 2, "todo": "Just testing the todo interface.", "name": "Unexpected success" } ], [ "line", "ok 3 - This is not todo\n" ], [ "assert", { "ok": true, "id": 3, "name": "This is not todo" } ], [ "line", "# todo: 2\n" ], [ "comment", "# todo: 2\n" ], [ "complete", { "ok": true, "count": 3, "pass": 2, "fail": 1, "bailout": false, "todo": 2, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/todo_inline.json000066400000000000000000000021541320135610000216130ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "not ok 1 - Foo # TODO Just testing the todo interface.\n" ], [ "assert", { "ok": false, "id": 1, "todo": "Just testing the todo interface.", "name": "Foo" } ], [ "line", "ok 2 - Unexpected success # TODO Just testing the todo interface.\n" ], [ "assert", { "ok": true, "id": 2, "todo": "Just testing the todo interface.", "name": "Unexpected success" } ], [ "line", "ok 3 - This is not todo\n" ], [ "assert", { "ok": true, "id": 3, "name": "This is not todo" } ], [ "line", "# todo: 2\n" ], [ "comment", "# todo: 2\n" ], [ "complete", { "ok": true, "count": 3, "pass": 2, "fail": 1, "bailout": false, "todo": 2, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/todo_inline.tap000066400000000000000000000002261320135610000214240ustar00rootroot000000000000001..3 not ok 1 - Foo # TODO Just testing the todo interface. ok 2 - Unexpected success # TODO Just testing the todo interface. ok 3 - This is not todo tap-parser-7.0.0/test/fixtures/todo_misparse--bail--omitversion.json000066400000000000000000000015341320135610000255740ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok 1 Hamlette # TODOORNOTTODO\n" ], [ "assert", { "ok": false, "id": 1, "name": "Hamlette # TODOORNOTTODO" } ], [ "line", "Bail out! # Hamlette # TODOORNOTTODO\n" ], [ "bailout", "# Hamlette # TODOORNOTTODO" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# Hamlette # TODOORNOTTODO", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "Hamlette # TODOORNOTTODO" } ] } ] ] tap-parser-7.0.0/test/fixtures/todo_misparse--bail--preservewhite--omitversion.json000066400000000000000000000015341320135610000305430ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok 1 Hamlette # TODOORNOTTODO\n" ], [ "assert", { "ok": false, "id": 1, "name": "Hamlette # TODOORNOTTODO" } ], [ "line", "Bail out! # Hamlette # TODOORNOTTODO\n" ], [ "bailout", "# Hamlette # TODOORNOTTODO" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# Hamlette # TODOORNOTTODO", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "Hamlette # TODOORNOTTODO" } ] } ] ] tap-parser-7.0.0/test/fixtures/todo_misparse--bail--preservewhite.json000066400000000000000000000015341320135610000261120ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok 1 Hamlette # TODOORNOTTODO\n" ], [ "assert", { "ok": false, "id": 1, "name": "Hamlette # TODOORNOTTODO" } ], [ "line", "Bail out! # Hamlette # TODOORNOTTODO\n" ], [ "bailout", "# Hamlette # TODOORNOTTODO" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# Hamlette # TODOORNOTTODO", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "Hamlette # TODOORNOTTODO" } ] } ] ] tap-parser-7.0.0/test/fixtures/todo_misparse--bail.json000066400000000000000000000015341320135610000231430ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok 1 Hamlette # TODOORNOTTODO\n" ], [ "assert", { "ok": false, "id": 1, "name": "Hamlette # TODOORNOTTODO" } ], [ "line", "Bail out! # Hamlette # TODOORNOTTODO\n" ], [ "bailout", "# Hamlette # TODOORNOTTODO" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# Hamlette # TODOORNOTTODO", "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "Hamlette # TODOORNOTTODO" } ] } ] ] tap-parser-7.0.0/test/fixtures/todo_misparse--omitversion.json000066400000000000000000000014471320135610000246150ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok 1 Hamlette # TODOORNOTTODO\n" ], [ "assert", { "ok": false, "id": 1, "name": "Hamlette # TODOORNOTTODO" } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "Hamlette # TODOORNOTTODO" } ] } ] ] tap-parser-7.0.0/test/fixtures/todo_misparse--preservewhite--omitversion.json000066400000000000000000000014471320135610000275640ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok 1 Hamlette # TODOORNOTTODO\n" ], [ "assert", { "ok": false, "id": 1, "name": "Hamlette # TODOORNOTTODO" } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "Hamlette # TODOORNOTTODO" } ] } ] ] tap-parser-7.0.0/test/fixtures/todo_misparse--preservewhite.json000066400000000000000000000014471320135610000251330ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok 1 Hamlette # TODOORNOTTODO\n" ], [ "assert", { "ok": false, "id": 1, "name": "Hamlette # TODOORNOTTODO" } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "Hamlette # TODOORNOTTODO" } ] } ] ] tap-parser-7.0.0/test/fixtures/todo_misparse.json000066400000000000000000000014471320135610000221640ustar00rootroot00000000000000[ [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "not ok 1 Hamlette # TODOORNOTTODO\n" ], [ "assert", { "ok": false, "id": 1, "name": "Hamlette # TODOORNOTTODO" } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "Hamlette # TODOORNOTTODO" } ] } ] ] tap-parser-7.0.0/test/fixtures/todo_misparse.tap000066400000000000000000000000471320135610000217720ustar00rootroot000000000000001..1 not ok 1 Hamlette # TODOORNOTTODO tap-parser-7.0.0/test/fixtures/too-many--bail--omitversion.json000066400000000000000000000032671320135610000244740ustar00rootroot00000000000000[ [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "ok 2 should be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 3 should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "# test count(4) != plan(3)\n" ], [ "comment", "# test count(4) != plan(3)\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/too-many--bail--preservewhite--omitversion.json000066400000000000000000000032671320135610000274430ustar00rootroot00000000000000[ [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "ok 2 should be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 3 should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "# test count(4) != plan(3)\n" ], [ "comment", "# test count(4) != plan(3)\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/too-many--bail--preservewhite.json000066400000000000000000000034021320135610000250010ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "ok 2 should be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 3 should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "# test count(4) != plan(3)\n" ], [ "comment", "# test count(4) != plan(3)\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/too-many--bail.json000066400000000000000000000034021320135610000220320ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "ok 2 should be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 3 should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "# test count(4) != plan(3)\n" ], [ "comment", "# test count(4) != plan(3)\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/too-many--omitversion.json000066400000000000000000000032671320135610000235120ustar00rootroot00000000000000[ [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "ok 2 should be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 3 should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "# test count(4) != plan(3)\n" ], [ "comment", "# test count(4) != plan(3)\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/too-many--preservewhite--omitversion.json000066400000000000000000000032671320135610000264610ustar00rootroot00000000000000[ [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "ok 2 should be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 3 should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "# test count(4) != plan(3)\n" ], [ "comment", "# test count(4) != plan(3)\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/too-many--preservewhite.json000066400000000000000000000034021320135610000240170ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "ok 2 should be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 3 should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "# test count(4) != plan(3)\n" ], [ "comment", "# test count(4) != plan(3)\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/too-many.json000066400000000000000000000034021320135610000210500ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# beep\n" ], [ "comment", "# beep\n" ], [ "line", "ok 1 should be equal\n" ], [ "assert", { "ok": true, "id": 1, "name": "should be equal" } ], [ "line", "ok 2 should be equivalent\n" ], [ "assert", { "ok": true, "id": 2, "name": "should be equivalent" } ], [ "line", "# boop\n" ], [ "comment", "# boop\n" ], [ "line", "ok 3 should be equal\n" ], [ "assert", { "ok": true, "id": 3, "name": "should be equal" } ], [ "line", "ok 4 (unnamed assert)\n" ], [ "assert", { "ok": true, "id": 4, "name": "(unnamed assert)" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "# tests 4\n" ], [ "comment", "# tests 4\n" ], [ "line", "# pass 4\n" ], [ "comment", "# pass 4\n" ], [ "line", "# ok\n" ], [ "comment", "# ok\n" ], [ "line", "# test count(4) != plan(3)\n" ], [ "comment", "# test count(4) != plan(3)\n" ], [ "line", "# failed 1 of 4 tests\n" ], [ "comment", "# failed 1 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 4, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/too-many.tap000066400000000000000000000002271320135610000206650ustar00rootroot00000000000000TAP version 13 # beep ok 1 should be equal ok 2 should be equivalent # boop ok 3 should be equal ok 4 (unnamed assert) 1..3 # tests 4 # pass 4 # ok tap-parser-7.0.0/test/fixtures/too_many--bail--omitversion.json000066400000000000000000000047641320135610000245610ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "ok 6\n" ], [ "assert", { "ok": true, "id": 6, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "ok 7\n" ], [ "assert", { "ok": true, "id": 7, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "# test count(7) != plan(3)\n" ], [ "comment", "# test count(7) != plan(3)\n" ], [ "line", "# failed 4 of 7 tests\n" ], [ "comment", "# failed 4 of 7 tests\n" ], [ "complete", { "ok": false, "count": 7, "pass": 7, "fail": 4, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 4, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } }, { "ok": true, "id": 5, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } }, { "ok": true, "id": 6, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } }, { "ok": true, "id": 7, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ] } ] ] tap-parser-7.0.0/test/fixtures/too_many--bail--preservewhite--omitversion.json000066400000000000000000000047641320135610000275300ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "ok 6\n" ], [ "assert", { "ok": true, "id": 6, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "ok 7\n" ], [ "assert", { "ok": true, "id": 7, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "# test count(7) != plan(3)\n" ], [ "comment", "# test count(7) != plan(3)\n" ], [ "line", "# failed 4 of 7 tests\n" ], [ "comment", "# failed 4 of 7 tests\n" ], [ "complete", { "ok": false, "count": 7, "pass": 7, "fail": 4, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 4, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } }, { "ok": true, "id": 5, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } }, { "ok": true, "id": 6, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } }, { "ok": true, "id": 7, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ] } ] ] tap-parser-7.0.0/test/fixtures/too_many--bail--preservewhite.json000066400000000000000000000047641320135610000250770ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "ok 6\n" ], [ "assert", { "ok": true, "id": 6, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "ok 7\n" ], [ "assert", { "ok": true, "id": 7, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "# test count(7) != plan(3)\n" ], [ "comment", "# test count(7) != plan(3)\n" ], [ "line", "# failed 4 of 7 tests\n" ], [ "comment", "# failed 4 of 7 tests\n" ], [ "complete", { "ok": false, "count": 7, "pass": 7, "fail": 4, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 4, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } }, { "ok": true, "id": 5, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } }, { "ok": true, "id": 6, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } }, { "ok": true, "id": 7, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ] } ] ] tap-parser-7.0.0/test/fixtures/too_many--bail.json000066400000000000000000000047641320135610000221300ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "ok 6\n" ], [ "assert", { "ok": true, "id": 6, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "ok 7\n" ], [ "assert", { "ok": true, "id": 7, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "# test count(7) != plan(3)\n" ], [ "comment", "# test count(7) != plan(3)\n" ], [ "line", "# failed 4 of 7 tests\n" ], [ "comment", "# failed 4 of 7 tests\n" ], [ "complete", { "ok": false, "count": 7, "pass": 7, "fail": 4, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 4, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } }, { "ok": true, "id": 5, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } }, { "ok": true, "id": 6, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } }, { "ok": true, "id": 7, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ] } ] ] tap-parser-7.0.0/test/fixtures/too_many--omitversion.json000066400000000000000000000047641320135610000235770ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "ok 6\n" ], [ "assert", { "ok": true, "id": 6, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "ok 7\n" ], [ "assert", { "ok": true, "id": 7, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "# test count(7) != plan(3)\n" ], [ "comment", "# test count(7) != plan(3)\n" ], [ "line", "# failed 4 of 7 tests\n" ], [ "comment", "# failed 4 of 7 tests\n" ], [ "complete", { "ok": false, "count": 7, "pass": 7, "fail": 4, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 4, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } }, { "ok": true, "id": 5, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } }, { "ok": true, "id": 6, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } }, { "ok": true, "id": 7, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ] } ] ] tap-parser-7.0.0/test/fixtures/too_many--preservewhite--omitversion.json000066400000000000000000000047641320135610000265460ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "ok 6\n" ], [ "assert", { "ok": true, "id": 6, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "ok 7\n" ], [ "assert", { "ok": true, "id": 7, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "# test count(7) != plan(3)\n" ], [ "comment", "# test count(7) != plan(3)\n" ], [ "line", "# failed 4 of 7 tests\n" ], [ "comment", "# failed 4 of 7 tests\n" ], [ "complete", { "ok": false, "count": 7, "pass": 7, "fail": 4, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 4, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } }, { "ok": true, "id": 5, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } }, { "ok": true, "id": 6, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } }, { "ok": true, "id": 7, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ] } ] ] tap-parser-7.0.0/test/fixtures/too_many--preservewhite.json000066400000000000000000000047641320135610000241150ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "ok 6\n" ], [ "assert", { "ok": true, "id": 6, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "ok 7\n" ], [ "assert", { "ok": true, "id": 7, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "# test count(7) != plan(3)\n" ], [ "comment", "# test count(7) != plan(3)\n" ], [ "line", "# failed 4 of 7 tests\n" ], [ "comment", "# failed 4 of 7 tests\n" ], [ "complete", { "ok": false, "count": 7, "pass": 7, "fail": 4, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 4, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } }, { "ok": true, "id": 5, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } }, { "ok": true, "id": 6, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } }, { "ok": true, "id": 7, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ] } ] ] tap-parser-7.0.0/test/fixtures/too_many.json000066400000000000000000000047641320135610000211460ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "ok 6\n" ], [ "assert", { "ok": true, "id": 6, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "ok 7\n" ], [ "assert", { "ok": true, "id": 7, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ], [ "line", "# test count(7) != plan(3)\n" ], [ "comment", "# test count(7) != plan(3)\n" ], [ "line", "# failed 4 of 7 tests\n" ], [ "comment", "# failed 4 of 7 tests\n" ], [ "complete", { "ok": false, "count": 7, "pass": 7, "fail": 4, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 4, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } }, { "ok": true, "id": 5, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } }, { "ok": true, "id": 6, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } }, { "ok": true, "id": 7, "tapError": "id greater than plan end", "plan": { "start": 1, "end": 3 } } ] } ] ] tap-parser-7.0.0/test/fixtures/too_many.tap000066400000000000000000000000501320135610000207410ustar00rootroot000000000000001..3 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 tap-parser-7.0.0/test/fixtures/unfinished--bail--omitversion.json000066400000000000000000000016361320135610000250630ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "# test count(2) != plan(5)\n" ], [ "comment", "# test count(2) != plan(5)\n" ], [ "line", "# failed 1 of 2 tests\n" ], [ "comment", "# failed 1 of 2 tests\n" ], [ "complete", { "ok": false, "count": 2, "pass": 2, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/unfinished--bail--preservewhite--omitversion.json000066400000000000000000000016361320135610000300320ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "# test count(2) != plan(5)\n" ], [ "comment", "# test count(2) != plan(5)\n" ], [ "line", "# failed 1 of 2 tests\n" ], [ "comment", "# failed 1 of 2 tests\n" ], [ "complete", { "ok": false, "count": 2, "pass": 2, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/unfinished--bail--preservewhite.json000066400000000000000000000017511320135610000253770ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "# test count(2) != plan(5)\n" ], [ "comment", "# test count(2) != plan(5)\n" ], [ "line", "# failed 1 of 2 tests\n" ], [ "comment", "# failed 1 of 2 tests\n" ], [ "complete", { "ok": false, "count": 2, "pass": 2, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/unfinished--bail.json000066400000000000000000000017511320135610000224300ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "# test count(2) != plan(5)\n" ], [ "comment", "# test count(2) != plan(5)\n" ], [ "line", "# failed 1 of 2 tests\n" ], [ "comment", "# failed 1 of 2 tests\n" ], [ "complete", { "ok": false, "count": 2, "pass": 2, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/unfinished--omitversion.json000066400000000000000000000016361320135610000241010ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "# test count(2) != plan(5)\n" ], [ "comment", "# test count(2) != plan(5)\n" ], [ "line", "# failed 1 of 2 tests\n" ], [ "comment", "# failed 1 of 2 tests\n" ], [ "complete", { "ok": false, "count": 2, "pass": 2, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/unfinished--preservewhite--omitversion.json000066400000000000000000000016361320135610000270500ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "# test count(2) != plan(5)\n" ], [ "comment", "# test count(2) != plan(5)\n" ], [ "line", "# failed 1 of 2 tests\n" ], [ "comment", "# failed 1 of 2 tests\n" ], [ "complete", { "ok": false, "count": 2, "pass": 2, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/unfinished--preservewhite.json000066400000000000000000000017511320135610000244150ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "# test count(2) != plan(5)\n" ], [ "comment", "# test count(2) != plan(5)\n" ], [ "line", "# failed 1 of 2 tests\n" ], [ "comment", "# failed 1 of 2 tests\n" ], [ "complete", { "ok": false, "count": 2, "pass": 2, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/unfinished.json000066400000000000000000000017511320135610000214460ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "# test count(2) != plan(5)\n" ], [ "comment", "# test count(2) != plan(5)\n" ], [ "line", "# failed 1 of 2 tests\n" ], [ "comment", "# failed 1 of 2 tests\n" ], [ "complete", { "ok": false, "count": 2, "pass": 2, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "incorrect number of tests" } ] } ] ] tap-parser-7.0.0/test/fixtures/unfinished.tap000066400000000000000000000000361320135610000212540ustar00rootroot00000000000000TAP version 13 1..5 ok 1 ok 2 tap-parser-7.0.0/test/fixtures/unknown-amount-and-failures--bail--omitversion.json000066400000000000000000000032641320135610000302760ustar00rootroot00000000000000[ [ "line", "ok 1 - retrieving servers from the database\n" ], [ "assert", { "ok": true, "id": 1, "name": "retrieving servers from the database" } ], [ "line", "# need to ping 6 servers\n" ], [ "comment", "# need to ping 6 servers\n" ], [ "line", "ok 2 - pinged diamond\n" ], [ "assert", { "ok": true, "id": 2, "name": "pinged diamond" } ], [ "line", "ok 3 - pinged ruby\n" ], [ "assert", { "ok": true, "id": 3, "name": "pinged ruby" } ], [ "line", "not ok 4 - pinged saphire\n" ], [ "line", " ---\n" ], [ "line", " message: 'hostname \"saphire\" unknown'\n" ], [ "line", " severity: fail\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 4, "name": "pinged saphire", "diag": { "message": "hostname \"saphire\" unknown", "severity": "fail" } } ], [ "line", "Bail out! # pinged saphire\n" ], [ "bailout", "# pinged saphire" ], [ "complete", { "ok": false, "count": 4, "pass": 3, "fail": 1, "bailout": "# pinged saphire", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 4, "name": "pinged saphire", "diag": { "message": "hostname \"saphire\" unknown", "severity": "fail" } } ] } ] ] tap-parser-7.0.0/test/fixtures/unknown-amount-and-failures--bail--preservewhite--omitversion.json000066400000000000000000000032641320135610000332450ustar00rootroot00000000000000[ [ "line", "ok 1 - retrieving servers from the database\n" ], [ "assert", { "ok": true, "id": 1, "name": "retrieving servers from the database" } ], [ "line", "# need to ping 6 servers\n" ], [ "comment", "# need to ping 6 servers\n" ], [ "line", "ok 2 - pinged diamond\n" ], [ "assert", { "ok": true, "id": 2, "name": "pinged diamond" } ], [ "line", "ok 3 - pinged ruby\n" ], [ "assert", { "ok": true, "id": 3, "name": "pinged ruby" } ], [ "line", "not ok 4 - pinged saphire\n" ], [ "line", " ---\n" ], [ "line", " message: 'hostname \"saphire\" unknown'\n" ], [ "line", " severity: fail\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 4, "name": "pinged saphire", "diag": { "message": "hostname \"saphire\" unknown", "severity": "fail" } } ], [ "line", "Bail out! # pinged saphire\n" ], [ "bailout", "# pinged saphire" ], [ "complete", { "ok": false, "count": 4, "pass": 3, "fail": 1, "bailout": "# pinged saphire", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 4, "name": "pinged saphire", "diag": { "message": "hostname \"saphire\" unknown", "severity": "fail" } } ] } ] ] tap-parser-7.0.0/test/fixtures/unknown-amount-and-failures--bail--preservewhite.json000066400000000000000000000033771320135610000306210ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "ok 1 - retrieving servers from the database\n" ], [ "assert", { "ok": true, "id": 1, "name": "retrieving servers from the database" } ], [ "line", "# need to ping 6 servers\n" ], [ "comment", "# need to ping 6 servers\n" ], [ "line", "ok 2 - pinged diamond\n" ], [ "assert", { "ok": true, "id": 2, "name": "pinged diamond" } ], [ "line", "ok 3 - pinged ruby\n" ], [ "assert", { "ok": true, "id": 3, "name": "pinged ruby" } ], [ "line", "not ok 4 - pinged saphire\n" ], [ "line", " ---\n" ], [ "line", " message: 'hostname \"saphire\" unknown'\n" ], [ "line", " severity: fail\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 4, "name": "pinged saphire", "diag": { "message": "hostname \"saphire\" unknown", "severity": "fail" } } ], [ "line", "Bail out! # pinged saphire\n" ], [ "bailout", "# pinged saphire" ], [ "complete", { "ok": false, "count": 4, "pass": 3, "fail": 1, "bailout": "# pinged saphire", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 4, "name": "pinged saphire", "diag": { "message": "hostname \"saphire\" unknown", "severity": "fail" } } ] } ] ] tap-parser-7.0.0/test/fixtures/unknown-amount-and-failures--bail.json000066400000000000000000000033771320135610000256520ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "ok 1 - retrieving servers from the database\n" ], [ "assert", { "ok": true, "id": 1, "name": "retrieving servers from the database" } ], [ "line", "# need to ping 6 servers\n" ], [ "comment", "# need to ping 6 servers\n" ], [ "line", "ok 2 - pinged diamond\n" ], [ "assert", { "ok": true, "id": 2, "name": "pinged diamond" } ], [ "line", "ok 3 - pinged ruby\n" ], [ "assert", { "ok": true, "id": 3, "name": "pinged ruby" } ], [ "line", "not ok 4 - pinged saphire\n" ], [ "line", " ---\n" ], [ "line", " message: 'hostname \"saphire\" unknown'\n" ], [ "line", " severity: fail\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 4, "name": "pinged saphire", "diag": { "message": "hostname \"saphire\" unknown", "severity": "fail" } } ], [ "line", "Bail out! # pinged saphire\n" ], [ "bailout", "# pinged saphire" ], [ "complete", { "ok": false, "count": 4, "pass": 3, "fail": 1, "bailout": "# pinged saphire", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 4, "name": "pinged saphire", "diag": { "message": "hostname \"saphire\" unknown", "severity": "fail" } } ] } ] ] tap-parser-7.0.0/test/fixtures/unknown-amount-and-failures--omitversion.json000066400000000000000000000051731320135610000273150ustar00rootroot00000000000000[ [ "line", "ok 1 - retrieving servers from the database\n" ], [ "assert", { "ok": true, "id": 1, "name": "retrieving servers from the database" } ], [ "line", "# need to ping 6 servers\n" ], [ "comment", "# need to ping 6 servers\n" ], [ "line", "ok 2 - pinged diamond\n" ], [ "assert", { "ok": true, "id": 2, "name": "pinged diamond" } ], [ "line", "ok 3 - pinged ruby\n" ], [ "assert", { "ok": true, "id": 3, "name": "pinged ruby" } ], [ "line", "not ok 4 - pinged saphire\n" ], [ "line", " ---\n" ], [ "line", " message: 'hostname \"saphire\" unknown'\n" ], [ "line", " severity: fail\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 4, "name": "pinged saphire", "diag": { "message": "hostname \"saphire\" unknown", "severity": "fail" } } ], [ "line", "ok 5 - pinged onyx\n" ], [ "assert", { "ok": true, "id": 5, "name": "pinged onyx" } ], [ "line", "not ok 6 - pinged quartz\n" ], [ "line", " ---\n" ], [ "line", " message: 'timeout'\n" ], [ "line", " severity: fail\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 6, "name": "pinged quartz", "diag": { "message": "timeout", "severity": "fail" } } ], [ "line", "ok 7 - pinged gold\n" ], [ "assert", { "ok": true, "id": 7, "name": "pinged gold" } ], [ "line", "1..7\n" ], [ "plan", { "start": 1, "end": 7 } ], [ "line", "# failed 2 of 7 tests\n" ], [ "comment", "# failed 2 of 7 tests\n" ], [ "complete", { "ok": false, "count": 7, "pass": 5, "fail": 2, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 7, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 4, "name": "pinged saphire", "diag": { "message": "hostname \"saphire\" unknown", "severity": "fail" } }, { "ok": false, "id": 6, "name": "pinged quartz", "diag": { "message": "timeout", "severity": "fail" } } ] } ] ] tap-parser-7.0.0/test/fixtures/unknown-amount-and-failures--preservewhite--omitversion.json000066400000000000000000000051731320135610000322640ustar00rootroot00000000000000[ [ "line", "ok 1 - retrieving servers from the database\n" ], [ "assert", { "ok": true, "id": 1, "name": "retrieving servers from the database" } ], [ "line", "# need to ping 6 servers\n" ], [ "comment", "# need to ping 6 servers\n" ], [ "line", "ok 2 - pinged diamond\n" ], [ "assert", { "ok": true, "id": 2, "name": "pinged diamond" } ], [ "line", "ok 3 - pinged ruby\n" ], [ "assert", { "ok": true, "id": 3, "name": "pinged ruby" } ], [ "line", "not ok 4 - pinged saphire\n" ], [ "line", " ---\n" ], [ "line", " message: 'hostname \"saphire\" unknown'\n" ], [ "line", " severity: fail\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 4, "name": "pinged saphire", "diag": { "message": "hostname \"saphire\" unknown", "severity": "fail" } } ], [ "line", "ok 5 - pinged onyx\n" ], [ "assert", { "ok": true, "id": 5, "name": "pinged onyx" } ], [ "line", "not ok 6 - pinged quartz\n" ], [ "line", " ---\n" ], [ "line", " message: 'timeout'\n" ], [ "line", " severity: fail\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 6, "name": "pinged quartz", "diag": { "message": "timeout", "severity": "fail" } } ], [ "line", "ok 7 - pinged gold\n" ], [ "assert", { "ok": true, "id": 7, "name": "pinged gold" } ], [ "line", "1..7\n" ], [ "plan", { "start": 1, "end": 7 } ], [ "line", "# failed 2 of 7 tests\n" ], [ "comment", "# failed 2 of 7 tests\n" ], [ "complete", { "ok": false, "count": 7, "pass": 5, "fail": 2, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 7, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 4, "name": "pinged saphire", "diag": { "message": "hostname \"saphire\" unknown", "severity": "fail" } }, { "ok": false, "id": 6, "name": "pinged quartz", "diag": { "message": "timeout", "severity": "fail" } } ] } ] ] tap-parser-7.0.0/test/fixtures/unknown-amount-and-failures--preservewhite.json000066400000000000000000000053061320135610000276310ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "ok 1 - retrieving servers from the database\n" ], [ "assert", { "ok": true, "id": 1, "name": "retrieving servers from the database" } ], [ "line", "# need to ping 6 servers\n" ], [ "comment", "# need to ping 6 servers\n" ], [ "line", "ok 2 - pinged diamond\n" ], [ "assert", { "ok": true, "id": 2, "name": "pinged diamond" } ], [ "line", "ok 3 - pinged ruby\n" ], [ "assert", { "ok": true, "id": 3, "name": "pinged ruby" } ], [ "line", "not ok 4 - pinged saphire\n" ], [ "line", " ---\n" ], [ "line", " message: 'hostname \"saphire\" unknown'\n" ], [ "line", " severity: fail\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 4, "name": "pinged saphire", "diag": { "message": "hostname \"saphire\" unknown", "severity": "fail" } } ], [ "line", "ok 5 - pinged onyx\n" ], [ "assert", { "ok": true, "id": 5, "name": "pinged onyx" } ], [ "line", "not ok 6 - pinged quartz\n" ], [ "line", " ---\n" ], [ "line", " message: 'timeout'\n" ], [ "line", " severity: fail\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 6, "name": "pinged quartz", "diag": { "message": "timeout", "severity": "fail" } } ], [ "line", "ok 7 - pinged gold\n" ], [ "assert", { "ok": true, "id": 7, "name": "pinged gold" } ], [ "line", "1..7\n" ], [ "plan", { "start": 1, "end": 7 } ], [ "line", "# failed 2 of 7 tests\n" ], [ "comment", "# failed 2 of 7 tests\n" ], [ "complete", { "ok": false, "count": 7, "pass": 5, "fail": 2, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 7, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 4, "name": "pinged saphire", "diag": { "message": "hostname \"saphire\" unknown", "severity": "fail" } }, { "ok": false, "id": 6, "name": "pinged quartz", "diag": { "message": "timeout", "severity": "fail" } } ] } ] ] tap-parser-7.0.0/test/fixtures/unknown-amount-and-failures.json000066400000000000000000000053061320135610000246620ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "ok 1 - retrieving servers from the database\n" ], [ "assert", { "ok": true, "id": 1, "name": "retrieving servers from the database" } ], [ "line", "# need to ping 6 servers\n" ], [ "comment", "# need to ping 6 servers\n" ], [ "line", "ok 2 - pinged diamond\n" ], [ "assert", { "ok": true, "id": 2, "name": "pinged diamond" } ], [ "line", "ok 3 - pinged ruby\n" ], [ "assert", { "ok": true, "id": 3, "name": "pinged ruby" } ], [ "line", "not ok 4 - pinged saphire\n" ], [ "line", " ---\n" ], [ "line", " message: 'hostname \"saphire\" unknown'\n" ], [ "line", " severity: fail\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 4, "name": "pinged saphire", "diag": { "message": "hostname \"saphire\" unknown", "severity": "fail" } } ], [ "line", "ok 5 - pinged onyx\n" ], [ "assert", { "ok": true, "id": 5, "name": "pinged onyx" } ], [ "line", "not ok 6 - pinged quartz\n" ], [ "line", " ---\n" ], [ "line", " message: 'timeout'\n" ], [ "line", " severity: fail\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 6, "name": "pinged quartz", "diag": { "message": "timeout", "severity": "fail" } } ], [ "line", "ok 7 - pinged gold\n" ], [ "assert", { "ok": true, "id": 7, "name": "pinged gold" } ], [ "line", "1..7\n" ], [ "plan", { "start": 1, "end": 7 } ], [ "line", "# failed 2 of 7 tests\n" ], [ "comment", "# failed 2 of 7 tests\n" ], [ "complete", { "ok": false, "count": 7, "pass": 5, "fail": 2, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 7, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 4, "name": "pinged saphire", "diag": { "message": "hostname \"saphire\" unknown", "severity": "fail" } }, { "ok": false, "id": 6, "name": "pinged quartz", "diag": { "message": "timeout", "severity": "fail" } } ] } ] ] tap-parser-7.0.0/test/fixtures/unknown-amount-and-failures.tap000066400000000000000000000005221320135610000244700ustar00rootroot00000000000000TAP version 13 ok 1 - retrieving servers from the database # need to ping 6 servers ok 2 - pinged diamond ok 3 - pinged ruby not ok 4 - pinged saphire --- message: 'hostname "saphire" unknown' severity: fail ... ok 5 - pinged onyx not ok 6 - pinged quartz --- message: 'timeout' severity: fail ... ok 7 - pinged gold 1..7 tap-parser-7.0.0/test/fixtures/version-in-yaml--bail--omitversion.json000066400000000000000000000043541320135610000257600ustar00rootroot00000000000000[ [ "line", "# Subtest: child indented\n" ], [ "child", [ [ "comment", "# Subtest: child indented\n" ], [ "line", "not ok - some yaml\n" ], [ "line", " ---\n" ], [ "line", " version: |-\n" ], [ "line", " \n" ], [ "line", " TAP version 13\n" ], [ "line", " \n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "some yaml", "diag": { "version": "\nTAP version 13" } } ], [ "line", "Bail out! # some yaml\n" ], [ "bailout", "# some yaml" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# some yaml", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "some yaml", "diag": { "version": "\nTAP version 13" } } ] } ] ] ], [ "line", " not ok - some yaml\n" ], [ "line", " ---\n" ], [ "line", " version: |-\n" ], [ "line", " \n" ], [ "line", " TAP version 13\n" ], [ "line", " \n" ], [ "line", " ...\n" ], [ "line", " Bail out! # some yaml\n" ], [ "bailout", "# some yaml" ], [ "line", "Bail out! # some yaml\n" ], [ "complete", { "ok": false, "count": 0, "pass": 0, "fail": 0, "bailout": "# some yaml", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/version-in-yaml--bail--preservewhite--omitversion.json000066400000000000000000000043541320135610000307270ustar00rootroot00000000000000[ [ "line", "# Subtest: child indented\n" ], [ "child", [ [ "comment", "# Subtest: child indented\n" ], [ "line", "not ok - some yaml\n" ], [ "line", " ---\n" ], [ "line", " version: |-\n" ], [ "line", " \n" ], [ "line", " TAP version 13\n" ], [ "line", " \n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "some yaml", "diag": { "version": "\nTAP version 13" } } ], [ "line", "Bail out! # some yaml\n" ], [ "bailout", "# some yaml" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# some yaml", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "some yaml", "diag": { "version": "\nTAP version 13" } } ] } ] ] ], [ "line", " not ok - some yaml\n" ], [ "line", " ---\n" ], [ "line", " version: |-\n" ], [ "line", " \n" ], [ "line", " TAP version 13\n" ], [ "line", " \n" ], [ "line", " ...\n" ], [ "line", " Bail out! # some yaml\n" ], [ "bailout", "# some yaml" ], [ "line", "Bail out! # some yaml\n" ], [ "complete", { "ok": false, "count": 0, "pass": 0, "fail": 0, "bailout": "# some yaml", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/version-in-yaml--bail--preservewhite.json000066400000000000000000000044671320135610000263030ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: child indented\n" ], [ "child", [ [ "comment", "# Subtest: child indented\n" ], [ "line", "not ok - some yaml\n" ], [ "line", " ---\n" ], [ "line", " version: |-\n" ], [ "line", " \n" ], [ "line", " TAP version 13\n" ], [ "line", " \n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "some yaml", "diag": { "version": "\nTAP version 13" } } ], [ "line", "Bail out! # some yaml\n" ], [ "bailout", "# some yaml" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# some yaml", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "some yaml", "diag": { "version": "\nTAP version 13" } } ] } ] ] ], [ "line", " not ok - some yaml\n" ], [ "line", " ---\n" ], [ "line", " version: |-\n" ], [ "line", " \n" ], [ "line", " TAP version 13\n" ], [ "line", " \n" ], [ "line", " ...\n" ], [ "line", " Bail out! # some yaml\n" ], [ "bailout", "# some yaml" ], [ "line", "Bail out! # some yaml\n" ], [ "complete", { "ok": false, "count": 0, "pass": 0, "fail": 0, "bailout": "# some yaml", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/version-in-yaml--bail.json000066400000000000000000000044671320135610000233340ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: child indented\n" ], [ "child", [ [ "comment", "# Subtest: child indented\n" ], [ "line", "not ok - some yaml\n" ], [ "line", " ---\n" ], [ "line", " version: |-\n" ], [ "line", " \n" ], [ "line", " TAP version 13\n" ], [ "line", " \n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "some yaml", "diag": { "version": "\nTAP version 13" } } ], [ "line", "Bail out! # some yaml\n" ], [ "bailout", "# some yaml" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# some yaml", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "some yaml", "diag": { "version": "\nTAP version 13" } } ] } ] ] ], [ "line", " not ok - some yaml\n" ], [ "line", " ---\n" ], [ "line", " version: |-\n" ], [ "line", " \n" ], [ "line", " TAP version 13\n" ], [ "line", " \n" ], [ "line", " ...\n" ], [ "line", " Bail out! # some yaml\n" ], [ "bailout", "# some yaml" ], [ "line", "Bail out! # some yaml\n" ], [ "complete", { "ok": false, "count": 0, "pass": 0, "fail": 0, "bailout": "# some yaml", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/version-in-yaml--omitversion.json000066400000000000000000000226031320135610000247730ustar00rootroot00000000000000[ [ "line", "# Subtest: child indented\n" ], [ "child", [ [ "comment", "# Subtest: child indented\n" ], [ "line", "not ok - some yaml\n" ], [ "line", " ---\n" ], [ "line", " version: |-\n" ], [ "line", " \n" ], [ "line", " TAP version 13\n" ], [ "line", " \n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "some yaml", "diag": { "version": "\nTAP version 13" } } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "some yaml", "diag": { "version": "\nTAP version 13" } } ] } ] ] ], [ "line", " not ok - some yaml\n" ], [ "line", " ---\n" ], [ "line", " version: |-\n" ], [ "line", " \n" ], [ "line", " TAP version 13\n" ], [ "line", " \n" ], [ "line", " ...\n" ], [ "line", " 1..1\n" ], [ "line", " # failed 1 test\n" ], [ "line", "not ok 1 - child indented\n" ], [ "assert", { "ok": false, "id": 1, "name": "child indented" } ], [ "line", "# Subtest: child unindented\n" ], [ "child", [ [ "comment", "# Subtest: child unindented\n" ], [ "line", "not ok - some yaml\n" ], [ "line", " ---\n" ], [ "line", " version: |-\n" ], [ "line", " \n" ], [ "line", " TAP version 13\n" ], [ "line", " \n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "some yaml", "diag": { "version": "\nTAP version 13" } } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "some yaml", "diag": { "version": "\nTAP version 13" } } ] } ] ] ], [ "line", " not ok - some yaml\n" ], [ "line", " ---\n" ], [ "line", " version: |-\n" ], [ "line", " \n" ], [ "line", " TAP version 13\n" ], [ "line", " \n" ], [ "line", " ...\n" ], [ "line", " 1..1\n" ], [ "line", " # failed 1 test\n" ], [ "line", "not ok 2 - child unindented\n" ], [ "assert", { "ok": false, "id": 2, "name": "child unindented" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "not ok - some yaml\n" ], [ "line", " ---\n" ], [ "line", " version: |-\n" ], [ "line", " \n" ], [ "line", " TAP version 13\n" ], [ "line", " \n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "some yaml", "diag": { "version": "\nTAP version 13" } } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "some yaml", "diag": { "version": "\nTAP version 13" } } ] } ] ] ], [ "line", " not ok - some yaml\n" ], [ "line", " ---\n" ], [ "line", " version: |-\n" ], [ "line", " \n" ], [ "line", " TAP version 13\n" ], [ "line", " \n" ], [ "line", " ...\n" ], [ "line", " 1..1\n" ], [ "line", " # failed 1 test\n" ], [ "line", "not ok 3 - child unnamed\n" ], [ "assert", { "ok": false, "id": 3, "name": "child unnamed" } ], [ "line", "not ok 4 - child buffered {\n" ], [ "child", [ [ "comment", "# Subtest: child buffered\n" ], [ "line", "not ok - some yaml\n" ], [ "line", " ---\n" ], [ "line", " version: |-\n" ], [ "line", " \n" ], [ "line", " TAP version 13\n" ], [ "line", " \n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "some yaml", "diag": { "version": "\nTAP version 13" } } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "some yaml", "diag": { "version": "\nTAP version 13" } } ] } ] ] ], [ "line", " not ok - some yaml\n" ], [ "line", " ---\n" ], [ "line", " version: |-\n" ], [ "line", " \n" ], [ "line", " TAP version 13\n" ], [ "line", " \n" ], [ "line", " ...\n" ], [ "line", " 1..1\n" ], [ "line", " # failed 1 test\n" ], [ "line", "}\n" ], [ "assert", { "ok": false, "id": 4, "buffered": true, "name": "child buffered" } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# failed 4 of 4 tests\n" ], [ "comment", "# failed 4 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 0, "fail": 4, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "child indented" }, { "ok": false, "id": 2, "name": "child unindented" }, { "ok": false, "id": 3, "name": "child unnamed" }, { "ok": false, "id": 4, "buffered": true, "name": "child buffered" } ] } ] ] tap-parser-7.0.0/test/fixtures/version-in-yaml--preservewhite--omitversion.json000066400000000000000000000226031320135610000277420ustar00rootroot00000000000000[ [ "line", "# Subtest: child indented\n" ], [ "child", [ [ "comment", "# Subtest: child indented\n" ], [ "line", "not ok - some yaml\n" ], [ "line", " ---\n" ], [ "line", " version: |-\n" ], [ "line", " \n" ], [ "line", " TAP version 13\n" ], [ "line", " \n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "some yaml", "diag": { "version": "\nTAP version 13" } } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "some yaml", "diag": { "version": "\nTAP version 13" } } ] } ] ] ], [ "line", " not ok - some yaml\n" ], [ "line", " ---\n" ], [ "line", " version: |-\n" ], [ "line", " \n" ], [ "line", " TAP version 13\n" ], [ "line", " \n" ], [ "line", " ...\n" ], [ "line", " 1..1\n" ], [ "line", " # failed 1 test\n" ], [ "line", "not ok 1 - child indented\n" ], [ "assert", { "ok": false, "id": 1, "name": "child indented" } ], [ "line", "# Subtest: child unindented\n" ], [ "child", [ [ "comment", "# Subtest: child unindented\n" ], [ "line", "not ok - some yaml\n" ], [ "line", " ---\n" ], [ "line", " version: |-\n" ], [ "line", " \n" ], [ "line", " TAP version 13\n" ], [ "line", " \n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "some yaml", "diag": { "version": "\nTAP version 13" } } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "some yaml", "diag": { "version": "\nTAP version 13" } } ] } ] ] ], [ "line", " not ok - some yaml\n" ], [ "line", " ---\n" ], [ "line", " version: |-\n" ], [ "line", " \n" ], [ "line", " TAP version 13\n" ], [ "line", " \n" ], [ "line", " ...\n" ], [ "line", " 1..1\n" ], [ "line", " # failed 1 test\n" ], [ "line", "not ok 2 - child unindented\n" ], [ "assert", { "ok": false, "id": 2, "name": "child unindented" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "not ok - some yaml\n" ], [ "line", " ---\n" ], [ "line", " version: |-\n" ], [ "line", " \n" ], [ "line", " TAP version 13\n" ], [ "line", " \n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "some yaml", "diag": { "version": "\nTAP version 13" } } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "some yaml", "diag": { "version": "\nTAP version 13" } } ] } ] ] ], [ "line", " not ok - some yaml\n" ], [ "line", " ---\n" ], [ "line", " version: |-\n" ], [ "line", " \n" ], [ "line", " TAP version 13\n" ], [ "line", " \n" ], [ "line", " ...\n" ], [ "line", " 1..1\n" ], [ "line", " # failed 1 test\n" ], [ "line", "not ok 3 - child unnamed\n" ], [ "assert", { "ok": false, "id": 3, "name": "child unnamed" } ], [ "line", "not ok 4 - child buffered {\n" ], [ "child", [ [ "comment", "# Subtest: child buffered\n" ], [ "line", "not ok - some yaml\n" ], [ "line", " ---\n" ], [ "line", " version: |-\n" ], [ "line", " \n" ], [ "line", " TAP version 13\n" ], [ "line", " \n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "some yaml", "diag": { "version": "\nTAP version 13" } } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "some yaml", "diag": { "version": "\nTAP version 13" } } ] } ] ] ], [ "line", " not ok - some yaml\n" ], [ "line", " ---\n" ], [ "line", " version: |-\n" ], [ "line", " \n" ], [ "line", " TAP version 13\n" ], [ "line", " \n" ], [ "line", " ...\n" ], [ "line", " 1..1\n" ], [ "line", " # failed 1 test\n" ], [ "line", "}\n" ], [ "assert", { "ok": false, "id": 4, "buffered": true, "name": "child buffered" } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# failed 4 of 4 tests\n" ], [ "comment", "# failed 4 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 0, "fail": 4, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "child indented" }, { "ok": false, "id": 2, "name": "child unindented" }, { "ok": false, "id": 3, "name": "child unnamed" }, { "ok": false, "id": 4, "buffered": true, "name": "child buffered" } ] } ] ] tap-parser-7.0.0/test/fixtures/version-in-yaml--preservewhite.json000066400000000000000000000227161320135610000253160ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: child indented\n" ], [ "child", [ [ "comment", "# Subtest: child indented\n" ], [ "line", "not ok - some yaml\n" ], [ "line", " ---\n" ], [ "line", " version: |-\n" ], [ "line", " \n" ], [ "line", " TAP version 13\n" ], [ "line", " \n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "some yaml", "diag": { "version": "\nTAP version 13" } } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "some yaml", "diag": { "version": "\nTAP version 13" } } ] } ] ] ], [ "line", " not ok - some yaml\n" ], [ "line", " ---\n" ], [ "line", " version: |-\n" ], [ "line", " \n" ], [ "line", " TAP version 13\n" ], [ "line", " \n" ], [ "line", " ...\n" ], [ "line", " 1..1\n" ], [ "line", " # failed 1 test\n" ], [ "line", "not ok 1 - child indented\n" ], [ "assert", { "ok": false, "id": 1, "name": "child indented" } ], [ "line", "# Subtest: child unindented\n" ], [ "child", [ [ "comment", "# Subtest: child unindented\n" ], [ "line", "not ok - some yaml\n" ], [ "line", " ---\n" ], [ "line", " version: |-\n" ], [ "line", " \n" ], [ "line", " TAP version 13\n" ], [ "line", " \n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "some yaml", "diag": { "version": "\nTAP version 13" } } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "some yaml", "diag": { "version": "\nTAP version 13" } } ] } ] ] ], [ "line", " not ok - some yaml\n" ], [ "line", " ---\n" ], [ "line", " version: |-\n" ], [ "line", " \n" ], [ "line", " TAP version 13\n" ], [ "line", " \n" ], [ "line", " ...\n" ], [ "line", " 1..1\n" ], [ "line", " # failed 1 test\n" ], [ "line", "not ok 2 - child unindented\n" ], [ "assert", { "ok": false, "id": 2, "name": "child unindented" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "not ok - some yaml\n" ], [ "line", " ---\n" ], [ "line", " version: |-\n" ], [ "line", " \n" ], [ "line", " TAP version 13\n" ], [ "line", " \n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "some yaml", "diag": { "version": "\nTAP version 13" } } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "some yaml", "diag": { "version": "\nTAP version 13" } } ] } ] ] ], [ "line", " not ok - some yaml\n" ], [ "line", " ---\n" ], [ "line", " version: |-\n" ], [ "line", " \n" ], [ "line", " TAP version 13\n" ], [ "line", " \n" ], [ "line", " ...\n" ], [ "line", " 1..1\n" ], [ "line", " # failed 1 test\n" ], [ "line", "not ok 3 - child unnamed\n" ], [ "assert", { "ok": false, "id": 3, "name": "child unnamed" } ], [ "line", "not ok 4 - child buffered {\n" ], [ "child", [ [ "comment", "# Subtest: child buffered\n" ], [ "line", "not ok - some yaml\n" ], [ "line", " ---\n" ], [ "line", " version: |-\n" ], [ "line", " \n" ], [ "line", " TAP version 13\n" ], [ "line", " \n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "some yaml", "diag": { "version": "\nTAP version 13" } } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "some yaml", "diag": { "version": "\nTAP version 13" } } ] } ] ] ], [ "line", " not ok - some yaml\n" ], [ "line", " ---\n" ], [ "line", " version: |-\n" ], [ "line", " \n" ], [ "line", " TAP version 13\n" ], [ "line", " \n" ], [ "line", " ...\n" ], [ "line", " 1..1\n" ], [ "line", " # failed 1 test\n" ], [ "line", "}\n" ], [ "assert", { "ok": false, "id": 4, "buffered": true, "name": "child buffered" } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# failed 4 of 4 tests\n" ], [ "comment", "# failed 4 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 0, "fail": 4, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "child indented" }, { "ok": false, "id": 2, "name": "child unindented" }, { "ok": false, "id": 3, "name": "child unnamed" }, { "ok": false, "id": 4, "buffered": true, "name": "child buffered" } ] } ] ] tap-parser-7.0.0/test/fixtures/version-in-yaml.json000066400000000000000000000227161320135610000223470ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "# Subtest: child indented\n" ], [ "child", [ [ "comment", "# Subtest: child indented\n" ], [ "line", "not ok - some yaml\n" ], [ "line", " ---\n" ], [ "line", " version: |-\n" ], [ "line", " \n" ], [ "line", " TAP version 13\n" ], [ "line", " \n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "some yaml", "diag": { "version": "\nTAP version 13" } } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "some yaml", "diag": { "version": "\nTAP version 13" } } ] } ] ] ], [ "line", " not ok - some yaml\n" ], [ "line", " ---\n" ], [ "line", " version: |-\n" ], [ "line", " \n" ], [ "line", " TAP version 13\n" ], [ "line", " \n" ], [ "line", " ...\n" ], [ "line", " 1..1\n" ], [ "line", " # failed 1 test\n" ], [ "line", "not ok 1 - child indented\n" ], [ "assert", { "ok": false, "id": 1, "name": "child indented" } ], [ "line", "# Subtest: child unindented\n" ], [ "child", [ [ "comment", "# Subtest: child unindented\n" ], [ "line", "not ok - some yaml\n" ], [ "line", " ---\n" ], [ "line", " version: |-\n" ], [ "line", " \n" ], [ "line", " TAP version 13\n" ], [ "line", " \n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "some yaml", "diag": { "version": "\nTAP version 13" } } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "some yaml", "diag": { "version": "\nTAP version 13" } } ] } ] ] ], [ "line", " not ok - some yaml\n" ], [ "line", " ---\n" ], [ "line", " version: |-\n" ], [ "line", " \n" ], [ "line", " TAP version 13\n" ], [ "line", " \n" ], [ "line", " ...\n" ], [ "line", " 1..1\n" ], [ "line", " # failed 1 test\n" ], [ "line", "not ok 2 - child unindented\n" ], [ "assert", { "ok": false, "id": 2, "name": "child unindented" } ], [ "line", "# Subtest\n" ], [ "child", [ [ "comment", "# Subtest\n" ], [ "line", "not ok - some yaml\n" ], [ "line", " ---\n" ], [ "line", " version: |-\n" ], [ "line", " \n" ], [ "line", " TAP version 13\n" ], [ "line", " \n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "some yaml", "diag": { "version": "\nTAP version 13" } } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "some yaml", "diag": { "version": "\nTAP version 13" } } ] } ] ] ], [ "line", " not ok - some yaml\n" ], [ "line", " ---\n" ], [ "line", " version: |-\n" ], [ "line", " \n" ], [ "line", " TAP version 13\n" ], [ "line", " \n" ], [ "line", " ...\n" ], [ "line", " 1..1\n" ], [ "line", " # failed 1 test\n" ], [ "line", "not ok 3 - child unnamed\n" ], [ "assert", { "ok": false, "id": 3, "name": "child unnamed" } ], [ "line", "not ok 4 - child buffered {\n" ], [ "child", [ [ "comment", "# Subtest: child buffered\n" ], [ "line", "not ok - some yaml\n" ], [ "line", " ---\n" ], [ "line", " version: |-\n" ], [ "line", " \n" ], [ "line", " TAP version 13\n" ], [ "line", " \n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "some yaml", "diag": { "version": "\nTAP version 13" } } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "some yaml", "diag": { "version": "\nTAP version 13" } } ] } ] ] ], [ "line", " not ok - some yaml\n" ], [ "line", " ---\n" ], [ "line", " version: |-\n" ], [ "line", " \n" ], [ "line", " TAP version 13\n" ], [ "line", " \n" ], [ "line", " ...\n" ], [ "line", " 1..1\n" ], [ "line", " # failed 1 test\n" ], [ "line", "}\n" ], [ "assert", { "ok": false, "id": 4, "buffered": true, "name": "child buffered" } ], [ "line", "1..4\n" ], [ "plan", { "start": 1, "end": 4 } ], [ "line", "# failed 4 of 4 tests\n" ], [ "comment", "# failed 4 of 4 tests\n" ], [ "complete", { "ok": false, "count": 4, "pass": 0, "fail": 4, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 4, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "child indented" }, { "ok": false, "id": 2, "name": "child unindented" }, { "ok": false, "id": 3, "name": "child unnamed" }, { "ok": false, "id": 4, "buffered": true, "name": "child buffered" } ] } ] ] tap-parser-7.0.0/test/fixtures/version-in-yaml.tap000066400000000000000000000010731320135610000221530ustar00rootroot00000000000000TAP version 13 # Subtest: child indented not ok - some yaml --- version: |- TAP version 13 ... 1..1 not ok 1 - child indented # Subtest: child unindented not ok - some yaml --- version: |- TAP version 13 ... 1..1 not ok 2 - child unindented not ok - some yaml --- version: |- TAP version 13 ... 1..1 not ok 3 - child unnamed not ok 4 - child buffered { not ok - some yaml --- version: |- TAP version 13 ... 1..1 } 1..4 tap-parser-7.0.0/test/fixtures/version_good--bail--omitversion.json000066400000000000000000000016431320135610000254220ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/version_good--bail--preservewhite--omitversion.json000066400000000000000000000016431320135610000303710ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/version_good--bail--preservewhite.json000066400000000000000000000017561320135610000257450ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/version_good--bail.json000066400000000000000000000017561320135610000227760ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/version_good--omitversion.json000066400000000000000000000016431320135610000244400ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/version_good--preservewhite--omitversion.json000066400000000000000000000016431320135610000274070ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/version_good--preservewhite.json000066400000000000000000000017561320135610000247630ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/version_good.json000066400000000000000000000017561320135610000220140ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/version_good.tap000066400000000000000000000000551320135610000216160ustar00rootroot00000000000000TAP version 13 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 tap-parser-7.0.0/test/fixtures/version_late--bail--omitversion.json000066400000000000000000000016431320135610000254170ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/version_late--bail--preservewhite--omitversion.json000066400000000000000000000016431320135610000303660ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/version_late--bail--preservewhite.json000066400000000000000000000017741320135610000257420ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "TAP version 13\n" ], [ "extra", "TAP version 13\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/version_late--bail.json000066400000000000000000000017741320135610000227730ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "TAP version 13\n" ], [ "extra", "TAP version 13\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/version_late--omitversion.json000066400000000000000000000016431320135610000244350ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/version_late--preservewhite--omitversion.json000066400000000000000000000016431320135610000274040ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/version_late--preservewhite.json000066400000000000000000000017741320135610000247600ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "TAP version 13\n" ], [ "extra", "TAP version 13\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/version_late.json000066400000000000000000000017741320135610000220110ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "TAP version 13\n" ], [ "extra", "TAP version 13\n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/version_late.tap000066400000000000000000000000551320135610000216130ustar00rootroot000000000000001..5 TAP version 13 ok 1 ok 2 ok 3 ok 4 ok 5 tap-parser-7.0.0/test/fixtures/version_old--bail--omitversion.json000066400000000000000000000016431320135610000252500ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/version_old--bail--preservewhite--omitversion.json000066400000000000000000000016431320135610000302170ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/version_old--bail--preservewhite.json000066400000000000000000000017741320135610000255730ustar00rootroot00000000000000[ [ "line", "TAP version 12\n" ], [ "extra", "TAP version 12\n" ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/version_old--bail.json000066400000000000000000000017741320135610000226240ustar00rootroot00000000000000[ [ "line", "TAP version 12\n" ], [ "extra", "TAP version 12\n" ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/version_old--omitversion.json000066400000000000000000000016431320135610000242660ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/version_old--preservewhite--omitversion.json000066400000000000000000000016431320135610000272350ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/version_old--preservewhite.json000066400000000000000000000017741320135610000246110ustar00rootroot00000000000000[ [ "line", "TAP version 12\n" ], [ "extra", "TAP version 12\n" ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/version_old-strict--bail--omitversion.json000066400000000000000000000017751320135610000265640ustar00rootroot00000000000000[ [ "line", "pragma +strict\n" ], [ "pragma", "strict", true ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/version_old-strict--bail--preservewhite--omitversion.json000066400000000000000000000017751320135610000315330ustar00rootroot00000000000000[ [ "line", "pragma +strict\n" ], [ "pragma", "strict", true ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/version_old-strict--bail--preservewhite.json000066400000000000000000000025011320135610000270660ustar00rootroot00000000000000[ [ "line", "pragma +strict\n" ], [ "pragma", "strict", true ], [ "line", "TAP version 12\n" ], [ "extra", "TAP version 12\n" ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "Non-TAP data encountered in strict mode", "data": "TAP version 12\n" } ] } ] ] tap-parser-7.0.0/test/fixtures/version_old-strict--bail.json000066400000000000000000000025011320135610000241170ustar00rootroot00000000000000[ [ "line", "pragma +strict\n" ], [ "pragma", "strict", true ], [ "line", "TAP version 12\n" ], [ "extra", "TAP version 12\n" ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "Non-TAP data encountered in strict mode", "data": "TAP version 12\n" } ] } ] ] tap-parser-7.0.0/test/fixtures/version_old-strict--omitversion.json000066400000000000000000000017751320135610000256020ustar00rootroot00000000000000[ [ "line", "pragma +strict\n" ], [ "pragma", "strict", true ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/version_old-strict--preservewhite--omitversion.json000066400000000000000000000017751320135610000305510ustar00rootroot00000000000000[ [ "line", "pragma +strict\n" ], [ "pragma", "strict", true ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/version_old-strict--preservewhite.json000066400000000000000000000025011320135610000261040ustar00rootroot00000000000000[ [ "line", "pragma +strict\n" ], [ "pragma", "strict", true ], [ "line", "TAP version 12\n" ], [ "extra", "TAP version 12\n" ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "Non-TAP data encountered in strict mode", "data": "TAP version 12\n" } ] } ] ] tap-parser-7.0.0/test/fixtures/version_old-strict.json000066400000000000000000000025011320135610000231350ustar00rootroot00000000000000[ [ "line", "pragma +strict\n" ], [ "pragma", "strict", true ], [ "line", "TAP version 12\n" ], [ "extra", "TAP version 12\n" ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "Non-TAP data encountered in strict mode", "data": "TAP version 12\n" } ] } ] ] tap-parser-7.0.0/test/fixtures/version_old-strict.tap000066400000000000000000000000741320135610000227530ustar00rootroot00000000000000pragma +strict TAP version 12 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 tap-parser-7.0.0/test/fixtures/version_old.json000066400000000000000000000017741320135610000216420ustar00rootroot00000000000000[ [ "line", "TAP version 12\n" ], [ "extra", "TAP version 12\n" ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 5\n" ], [ "assert", { "ok": true, "id": 5 } ], [ "complete", { "ok": true, "count": 5, "pass": 5, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/version_old.tap000066400000000000000000000000551320135610000214440ustar00rootroot00000000000000TAP version 12 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 tap-parser-7.0.0/test/fixtures/vms_nit--bail--omitversion.json000066400000000000000000000012711320135610000244010ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "not \n" ], [ "extra", "not \n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/vms_nit--bail--preservewhite--omitversion.json000066400000000000000000000012711320135610000273500ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "not \n" ], [ "extra", "not \n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/vms_nit--bail--preservewhite.json000066400000000000000000000012711320135610000247170ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "not \n" ], [ "extra", "not \n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/vms_nit--bail.json000066400000000000000000000012711320135610000217500ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "not \n" ], [ "extra", "not \n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/vms_nit--omitversion.json000066400000000000000000000012711320135610000234170ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "not \n" ], [ "extra", "not \n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/vms_nit--preservewhite--omitversion.json000066400000000000000000000012711320135610000263660ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "not \n" ], [ "extra", "not \n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/vms_nit--preservewhite.json000066400000000000000000000012711320135610000237350ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "not \n" ], [ "extra", "not \n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/vms_nit.json000066400000000000000000000012711320135610000207660ustar00rootroot00000000000000[ [ "line", "1..2\n" ], [ "plan", { "start": 1, "end": 2 } ], [ "line", "not \n" ], [ "extra", "not \n" ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "complete", { "ok": true, "count": 2, "pass": 2, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/vms_nit.tap000066400000000000000000000000241320135610000205740ustar00rootroot000000000000001..2 not ok 1 ok 2 tap-parser-7.0.0/test/fixtures/with_comments--bail--omitversion.json000066400000000000000000000017441320135610000256070ustar00rootroot00000000000000[ [ "line", "# and stuff\n" ], [ "comment", "# and stuff\n" ], [ "line", "1..5 todo 1 2 4 5;\n" ], [ "extra", "1..5 todo 1 2 4 5;\n" ], [ "line", "# yeah, that\n" ], [ "comment", "# yeah, that\n" ], [ "line", "not ok 1\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "# Failed test 1 in t/todo.t at line 9 *TODO*\n" ], [ "comment", "# Failed test 1 in t/todo.t at line 9 *TODO*\n" ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 } ] } ] ] tap-parser-7.0.0/test/fixtures/with_comments--bail--preservewhite--omitversion.json000066400000000000000000000017441320135610000305560ustar00rootroot00000000000000[ [ "line", "# and stuff\n" ], [ "comment", "# and stuff\n" ], [ "line", "1..5 todo 1 2 4 5;\n" ], [ "extra", "1..5 todo 1 2 4 5;\n" ], [ "line", "# yeah, that\n" ], [ "comment", "# yeah, that\n" ], [ "line", "not ok 1\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "# Failed test 1 in t/todo.t at line 9 *TODO*\n" ], [ "comment", "# Failed test 1 in t/todo.t at line 9 *TODO*\n" ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 } ] } ] ] tap-parser-7.0.0/test/fixtures/with_comments--bail--preservewhite.json000066400000000000000000000017441320135610000261250ustar00rootroot00000000000000[ [ "line", "# and stuff\n" ], [ "comment", "# and stuff\n" ], [ "line", "1..5 todo 1 2 4 5;\n" ], [ "extra", "1..5 todo 1 2 4 5;\n" ], [ "line", "# yeah, that\n" ], [ "comment", "# yeah, that\n" ], [ "line", "not ok 1\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "# Failed test 1 in t/todo.t at line 9 *TODO*\n" ], [ "comment", "# Failed test 1 in t/todo.t at line 9 *TODO*\n" ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 } ] } ] ] tap-parser-7.0.0/test/fixtures/with_comments--bail.json000066400000000000000000000017441320135610000231560ustar00rootroot00000000000000[ [ "line", "# and stuff\n" ], [ "comment", "# and stuff\n" ], [ "line", "1..5 todo 1 2 4 5;\n" ], [ "extra", "1..5 todo 1 2 4 5;\n" ], [ "line", "# yeah, that\n" ], [ "comment", "# yeah, that\n" ], [ "line", "not ok 1\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "# Failed test 1 in t/todo.t at line 9 *TODO*\n" ], [ "comment", "# Failed test 1 in t/todo.t at line 9 *TODO*\n" ], [ "line", "Bail out!\n" ], [ "bailout", "" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": true, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 } ] } ] ] tap-parser-7.0.0/test/fixtures/with_comments--omitversion.json000066400000000000000000000042241320135610000246210ustar00rootroot00000000000000[ [ "line", "# and stuff\n" ], [ "comment", "# and stuff\n" ], [ "line", "1..5 todo 1 2 4 5;\n" ], [ "extra", "1..5 todo 1 2 4 5;\n" ], [ "line", "# yeah, that\n" ], [ "comment", "# yeah, that\n" ], [ "line", "not ok 1\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "# Failed test 1 in t/todo.t at line 9 *TODO*\n" ], [ "comment", "# Failed test 1 in t/todo.t at line 9 *TODO*\n" ], [ "line", "ok 2 # (t/todo.t at line 10 TODO?!)\n" ], [ "assert", { "ok": true, "id": 2, "name": "# (t/todo.t at line 10 TODO?!)" } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "not ok 4\n" ], [ "assert", { "ok": false, "id": 4 } ], [ "line", "# Test 4 got: '0' (t/todo.t at line 12 *TODO*)\n" ], [ "comment", "# Test 4 got: '0' (t/todo.t at line 12 *TODO*)\n" ], [ "line", "# Expected: '1' (need more tuits)\n" ], [ "comment", "# Expected: '1' (need more tuits)\n" ], [ "line", "ok 5 # (t/todo.t at line 13 TODO?!)\n" ], [ "assert", { "ok": true, "id": 5, "name": "# (t/todo.t at line 13 TODO?!)" } ], [ "line", "# woo\n" ], [ "comment", "# woo\n" ], [ "line", "# test count(5) != plan(null)\n" ], [ "comment", "# test count(5) != plan(null)\n" ], [ "line", "# failed 3 of 5 tests\n" ], [ "comment", "# failed 3 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 3, "fail": 3, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 }, { "ok": false, "id": 4 }, { "tapError": "no plan" } ] } ] ] tap-parser-7.0.0/test/fixtures/with_comments--preservewhite--omitversion.json000066400000000000000000000042241320135610000275700ustar00rootroot00000000000000[ [ "line", "# and stuff\n" ], [ "comment", "# and stuff\n" ], [ "line", "1..5 todo 1 2 4 5;\n" ], [ "extra", "1..5 todo 1 2 4 5;\n" ], [ "line", "# yeah, that\n" ], [ "comment", "# yeah, that\n" ], [ "line", "not ok 1\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "# Failed test 1 in t/todo.t at line 9 *TODO*\n" ], [ "comment", "# Failed test 1 in t/todo.t at line 9 *TODO*\n" ], [ "line", "ok 2 # (t/todo.t at line 10 TODO?!)\n" ], [ "assert", { "ok": true, "id": 2, "name": "# (t/todo.t at line 10 TODO?!)" } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "not ok 4\n" ], [ "assert", { "ok": false, "id": 4 } ], [ "line", "# Test 4 got: '0' (t/todo.t at line 12 *TODO*)\n" ], [ "comment", "# Test 4 got: '0' (t/todo.t at line 12 *TODO*)\n" ], [ "line", "# Expected: '1' (need more tuits)\n" ], [ "comment", "# Expected: '1' (need more tuits)\n" ], [ "line", "ok 5 # (t/todo.t at line 13 TODO?!)\n" ], [ "assert", { "ok": true, "id": 5, "name": "# (t/todo.t at line 13 TODO?!)" } ], [ "line", "# woo\n" ], [ "comment", "# woo\n" ], [ "line", "# test count(5) != plan(null)\n" ], [ "comment", "# test count(5) != plan(null)\n" ], [ "line", "# failed 3 of 5 tests\n" ], [ "comment", "# failed 3 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 3, "fail": 3, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 }, { "ok": false, "id": 4 }, { "tapError": "no plan" } ] } ] ] tap-parser-7.0.0/test/fixtures/with_comments--preservewhite.json000066400000000000000000000042241320135610000251370ustar00rootroot00000000000000[ [ "line", "# and stuff\n" ], [ "comment", "# and stuff\n" ], [ "line", "1..5 todo 1 2 4 5;\n" ], [ "extra", "1..5 todo 1 2 4 5;\n" ], [ "line", "# yeah, that\n" ], [ "comment", "# yeah, that\n" ], [ "line", "not ok 1\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "# Failed test 1 in t/todo.t at line 9 *TODO*\n" ], [ "comment", "# Failed test 1 in t/todo.t at line 9 *TODO*\n" ], [ "line", "ok 2 # (t/todo.t at line 10 TODO?!)\n" ], [ "assert", { "ok": true, "id": 2, "name": "# (t/todo.t at line 10 TODO?!)" } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "not ok 4\n" ], [ "assert", { "ok": false, "id": 4 } ], [ "line", "# Test 4 got: '0' (t/todo.t at line 12 *TODO*)\n" ], [ "comment", "# Test 4 got: '0' (t/todo.t at line 12 *TODO*)\n" ], [ "line", "# Expected: '1' (need more tuits)\n" ], [ "comment", "# Expected: '1' (need more tuits)\n" ], [ "line", "ok 5 # (t/todo.t at line 13 TODO?!)\n" ], [ "assert", { "ok": true, "id": 5, "name": "# (t/todo.t at line 13 TODO?!)" } ], [ "line", "# woo\n" ], [ "comment", "# woo\n" ], [ "line", "# test count(5) != plan(null)\n" ], [ "comment", "# test count(5) != plan(null)\n" ], [ "line", "# failed 3 of 5 tests\n" ], [ "comment", "# failed 3 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 3, "fail": 3, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 }, { "ok": false, "id": 4 }, { "tapError": "no plan" } ] } ] ] tap-parser-7.0.0/test/fixtures/with_comments.json000066400000000000000000000042241320135610000221700ustar00rootroot00000000000000[ [ "line", "# and stuff\n" ], [ "comment", "# and stuff\n" ], [ "line", "1..5 todo 1 2 4 5;\n" ], [ "extra", "1..5 todo 1 2 4 5;\n" ], [ "line", "# yeah, that\n" ], [ "comment", "# yeah, that\n" ], [ "line", "not ok 1\n" ], [ "assert", { "ok": false, "id": 1 } ], [ "line", "# Failed test 1 in t/todo.t at line 9 *TODO*\n" ], [ "comment", "# Failed test 1 in t/todo.t at line 9 *TODO*\n" ], [ "line", "ok 2 # (t/todo.t at line 10 TODO?!)\n" ], [ "assert", { "ok": true, "id": 2, "name": "# (t/todo.t at line 10 TODO?!)" } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "not ok 4\n" ], [ "assert", { "ok": false, "id": 4 } ], [ "line", "# Test 4 got: '0' (t/todo.t at line 12 *TODO*)\n" ], [ "comment", "# Test 4 got: '0' (t/todo.t at line 12 *TODO*)\n" ], [ "line", "# Expected: '1' (need more tuits)\n" ], [ "comment", "# Expected: '1' (need more tuits)\n" ], [ "line", "ok 5 # (t/todo.t at line 13 TODO?!)\n" ], [ "assert", { "ok": true, "id": 5, "name": "# (t/todo.t at line 13 TODO?!)" } ], [ "line", "# woo\n" ], [ "comment", "# woo\n" ], [ "line", "# test count(5) != plan(null)\n" ], [ "comment", "# test count(5) != plan(null)\n" ], [ "line", "# failed 3 of 5 tests\n" ], [ "comment", "# failed 3 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 3, "fail": 3, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1 }, { "ok": false, "id": 4 }, { "tapError": "no plan" } ] } ] ] tap-parser-7.0.0/test/fixtures/with_comments.tap000066400000000000000000000004211320135610000217760ustar00rootroot00000000000000# and stuff 1..5 todo 1 2 4 5; # yeah, that not ok 1 # Failed test 1 in t/todo.t at line 9 *TODO* ok 2 # (t/todo.t at line 10 TODO?!) ok 3 not ok 4 # Test 4 got: '0' (t/todo.t at line 12 *TODO*) # Expected: '1' (need more tuits) ok 5 # (t/todo.t at line 13 TODO?!) # woo tap-parser-7.0.0/test/fixtures/wrong-last--bail--omitversion.json000066400000000000000000000021451320135610000250200ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "last test id does not match plan end" } ] } ] ] tap-parser-7.0.0/test/fixtures/wrong-last--bail--preservewhite--omitversion.json000066400000000000000000000021451320135610000277670ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "last test id does not match plan end" } ] } ] ] tap-parser-7.0.0/test/fixtures/wrong-last--bail--preservewhite.json000066400000000000000000000022601320135610000253340ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "last test id does not match plan end" } ] } ] ] tap-parser-7.0.0/test/fixtures/wrong-last--bail.json000066400000000000000000000022601320135610000223650ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "last test id does not match plan end" } ] } ] ] tap-parser-7.0.0/test/fixtures/wrong-last--omitversion.json000066400000000000000000000021451320135610000240360ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "last test id does not match plan end" } ] } ] ] tap-parser-7.0.0/test/fixtures/wrong-last--preservewhite--omitversion.json000066400000000000000000000021451320135610000270050ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "last test id does not match plan end" } ] } ] ] tap-parser-7.0.0/test/fixtures/wrong-last--preservewhite.json000066400000000000000000000022601320135610000243520ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "last test id does not match plan end" } ] } ] ] tap-parser-7.0.0/test/fixtures/wrong-last.json000066400000000000000000000022601320135610000214030ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1\n" ], [ "assert", { "ok": true, "id": 1 } ], [ "line", "ok 2\n" ], [ "assert", { "ok": true, "id": 2 } ], [ "line", "ok 3\n" ], [ "assert", { "ok": true, "id": 3 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "ok 4\n" ], [ "assert", { "ok": true, "id": 4 } ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "tapError": "last test id does not match plan end" } ] } ] ] tap-parser-7.0.0/test/fixtures/wrong-last.tap000066400000000000000000000000551320135610000212160ustar00rootroot00000000000000TAP version 13 1..5 ok 1 ok 2 ok 3 ok 4 ok 4 tap-parser-7.0.0/test/fixtures/yaml_late_plan--bail--omitversion.json000066400000000000000000000020301320135610000256750ustar00rootroot00000000000000[ [ "line", "ok - test suite started\n" ], [ "assert", { "ok": true, "id": 1, "name": "test suite started" } ], [ "line", "ok - bogomips\n" ], [ "line", " ---\n" ], [ "line", " Bogomips: 5226.88\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 2, "name": "bogomips", "diag": { "Bogomips": 5226.88 } } ], [ "line", "ok - test suite finished\n" ], [ "assert", { "ok": true, "id": 3, "name": "test suite finished" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/yaml_late_plan--bail--preservewhite--omitversion.json000066400000000000000000000020301320135610000306440ustar00rootroot00000000000000[ [ "line", "ok - test suite started\n" ], [ "assert", { "ok": true, "id": 1, "name": "test suite started" } ], [ "line", "ok - bogomips\n" ], [ "line", " ---\n" ], [ "line", " Bogomips: 5226.88\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 2, "name": "bogomips", "diag": { "Bogomips": 5226.88 } } ], [ "line", "ok - test suite finished\n" ], [ "assert", { "ok": true, "id": 3, "name": "test suite finished" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/yaml_late_plan--bail--preservewhite.json000066400000000000000000000021431320135610000262200ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "ok - test suite started\n" ], [ "assert", { "ok": true, "id": 1, "name": "test suite started" } ], [ "line", "ok - bogomips\n" ], [ "line", " ---\n" ], [ "line", " Bogomips: 5226.88\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 2, "name": "bogomips", "diag": { "Bogomips": 5226.88 } } ], [ "line", "ok - test suite finished\n" ], [ "assert", { "ok": true, "id": 3, "name": "test suite finished" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/yaml_late_plan--bail.json000066400000000000000000000021431320135610000232510ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "ok - test suite started\n" ], [ "assert", { "ok": true, "id": 1, "name": "test suite started" } ], [ "line", "ok - bogomips\n" ], [ "line", " ---\n" ], [ "line", " Bogomips: 5226.88\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 2, "name": "bogomips", "diag": { "Bogomips": 5226.88 } } ], [ "line", "ok - test suite finished\n" ], [ "assert", { "ok": true, "id": 3, "name": "test suite finished" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/yaml_late_plan--omitversion.json000066400000000000000000000020301320135610000247130ustar00rootroot00000000000000[ [ "line", "ok - test suite started\n" ], [ "assert", { "ok": true, "id": 1, "name": "test suite started" } ], [ "line", "ok - bogomips\n" ], [ "line", " ---\n" ], [ "line", " Bogomips: 5226.88\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 2, "name": "bogomips", "diag": { "Bogomips": 5226.88 } } ], [ "line", "ok - test suite finished\n" ], [ "assert", { "ok": true, "id": 3, "name": "test suite finished" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/yaml_late_plan--preservewhite--omitversion.json000066400000000000000000000020301320135610000276620ustar00rootroot00000000000000[ [ "line", "ok - test suite started\n" ], [ "assert", { "ok": true, "id": 1, "name": "test suite started" } ], [ "line", "ok - bogomips\n" ], [ "line", " ---\n" ], [ "line", " Bogomips: 5226.88\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 2, "name": "bogomips", "diag": { "Bogomips": 5226.88 } } ], [ "line", "ok - test suite finished\n" ], [ "assert", { "ok": true, "id": 3, "name": "test suite finished" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/yaml_late_plan--preservewhite.json000066400000000000000000000021431320135610000252360ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "ok - test suite started\n" ], [ "assert", { "ok": true, "id": 1, "name": "test suite started" } ], [ "line", "ok - bogomips\n" ], [ "line", " ---\n" ], [ "line", " Bogomips: 5226.88\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 2, "name": "bogomips", "diag": { "Bogomips": 5226.88 } } ], [ "line", "ok - test suite finished\n" ], [ "assert", { "ok": true, "id": 3, "name": "test suite finished" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/yaml_late_plan.json000066400000000000000000000021431320135610000222670ustar00rootroot00000000000000[ [ "line", "TAP version 13\n" ], [ "version", 13 ], [ "line", "ok - test suite started\n" ], [ "assert", { "ok": true, "id": 1, "name": "test suite started" } ], [ "line", "ok - bogomips\n" ], [ "line", " ---\n" ], [ "line", " Bogomips: 5226.88\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 2, "name": "bogomips", "diag": { "Bogomips": 5226.88 } } ], [ "line", "ok - test suite finished\n" ], [ "assert", { "ok": true, "id": 3, "name": "test suite finished" } ], [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/yaml_late_plan.tap000066400000000000000000000001631320135610000221020ustar00rootroot00000000000000TAP version 13 ok - test suite started ok - bogomips --- Bogomips: 5226.88 ... ok - test suite finished 1..3 tap-parser-7.0.0/test/fixtures/yamlish--bail--omitversion.json000066400000000000000000000041171320135610000243720ustar00rootroot00000000000000[ [ "line", "not ok 1 Resolve address\n" ], [ "line", " ---\n" ], [ "line", " message: \"Failed with error 'hostname peebles.example.com not found'\"\n" ], [ "line", " severity: fail\n" ], [ "line", " data:\n" ], [ "line", " got:\n" ], [ "line", " hostname: 'peebles.example.com'\n" ], [ "line", " address: ~\n" ], [ "line", " expected:\n" ], [ "line", " hostname: 'peebles.example.com'\n" ], [ "line", " address: '85.193.201.85'\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "Resolve address", "diag": { "message": "Failed with error 'hostname peebles.example.com not found'", "severity": "fail", "data": { "got": { "hostname": "peebles.example.com", "address": null }, "expected": { "hostname": "peebles.example.com", "address": "85.193.201.85" } } } } ], [ "line", "Bail out! # Resolve address\n" ], [ "bailout", "# Resolve address" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# Resolve address", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "Resolve address", "diag": { "message": "Failed with error 'hostname peebles.example.com not found'", "severity": "fail", "data": { "got": { "hostname": "peebles.example.com", "address": null }, "expected": { "hostname": "peebles.example.com", "address": "85.193.201.85" } } } } ] } ] ] tap-parser-7.0.0/test/fixtures/yamlish--bail--preservewhite--omitversion.json000066400000000000000000000041171320135610000273410ustar00rootroot00000000000000[ [ "line", "not ok 1 Resolve address\n" ], [ "line", " ---\n" ], [ "line", " message: \"Failed with error 'hostname peebles.example.com not found'\"\n" ], [ "line", " severity: fail\n" ], [ "line", " data:\n" ], [ "line", " got:\n" ], [ "line", " hostname: 'peebles.example.com'\n" ], [ "line", " address: ~\n" ], [ "line", " expected:\n" ], [ "line", " hostname: 'peebles.example.com'\n" ], [ "line", " address: '85.193.201.85'\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "Resolve address", "diag": { "message": "Failed with error 'hostname peebles.example.com not found'", "severity": "fail", "data": { "got": { "hostname": "peebles.example.com", "address": null }, "expected": { "hostname": "peebles.example.com", "address": "85.193.201.85" } } } } ], [ "line", "Bail out! # Resolve address\n" ], [ "bailout", "# Resolve address" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# Resolve address", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "Resolve address", "diag": { "message": "Failed with error 'hostname peebles.example.com not found'", "severity": "fail", "data": { "got": { "hostname": "peebles.example.com", "address": null }, "expected": { "hostname": "peebles.example.com", "address": "85.193.201.85" } } } } ] } ] ] tap-parser-7.0.0/test/fixtures/yamlish--bail--preservewhite.json000066400000000000000000000042321320135610000247060ustar00rootroot00000000000000[ [ "line", "TAP Version 13\n" ], [ "version", 13 ], [ "line", "not ok 1 Resolve address\n" ], [ "line", " ---\n" ], [ "line", " message: \"Failed with error 'hostname peebles.example.com not found'\"\n" ], [ "line", " severity: fail\n" ], [ "line", " data:\n" ], [ "line", " got:\n" ], [ "line", " hostname: 'peebles.example.com'\n" ], [ "line", " address: ~\n" ], [ "line", " expected:\n" ], [ "line", " hostname: 'peebles.example.com'\n" ], [ "line", " address: '85.193.201.85'\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "Resolve address", "diag": { "message": "Failed with error 'hostname peebles.example.com not found'", "severity": "fail", "data": { "got": { "hostname": "peebles.example.com", "address": null }, "expected": { "hostname": "peebles.example.com", "address": "85.193.201.85" } } } } ], [ "line", "Bail out! # Resolve address\n" ], [ "bailout", "# Resolve address" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# Resolve address", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "Resolve address", "diag": { "message": "Failed with error 'hostname peebles.example.com not found'", "severity": "fail", "data": { "got": { "hostname": "peebles.example.com", "address": null }, "expected": { "hostname": "peebles.example.com", "address": "85.193.201.85" } } } } ] } ] ] tap-parser-7.0.0/test/fixtures/yamlish--bail.json000066400000000000000000000042321320135610000217370ustar00rootroot00000000000000[ [ "line", "TAP Version 13\n" ], [ "version", 13 ], [ "line", "not ok 1 Resolve address\n" ], [ "line", " ---\n" ], [ "line", " message: \"Failed with error 'hostname peebles.example.com not found'\"\n" ], [ "line", " severity: fail\n" ], [ "line", " data:\n" ], [ "line", " got:\n" ], [ "line", " hostname: 'peebles.example.com'\n" ], [ "line", " address: ~\n" ], [ "line", " expected:\n" ], [ "line", " hostname: 'peebles.example.com'\n" ], [ "line", " address: '85.193.201.85'\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "Resolve address", "diag": { "message": "Failed with error 'hostname peebles.example.com not found'", "severity": "fail", "data": { "got": { "hostname": "peebles.example.com", "address": null }, "expected": { "hostname": "peebles.example.com", "address": "85.193.201.85" } } } } ], [ "line", "Bail out! # Resolve address\n" ], [ "bailout", "# Resolve address" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# Resolve address", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "Resolve address", "diag": { "message": "Failed with error 'hostname peebles.example.com not found'", "severity": "fail", "data": { "got": { "hostname": "peebles.example.com", "address": null }, "expected": { "hostname": "peebles.example.com", "address": "85.193.201.85" } } } } ] } ] ] tap-parser-7.0.0/test/fixtures/yamlish--omitversion.json000066400000000000000000000042231320135610000234060ustar00rootroot00000000000000[ [ "line", "not ok 1 Resolve address\n" ], [ "line", " ---\n" ], [ "line", " message: \"Failed with error 'hostname peebles.example.com not found'\"\n" ], [ "line", " severity: fail\n" ], [ "line", " data:\n" ], [ "line", " got:\n" ], [ "line", " hostname: 'peebles.example.com'\n" ], [ "line", " address: ~\n" ], [ "line", " expected:\n" ], [ "line", " hostname: 'peebles.example.com'\n" ], [ "line", " address: '85.193.201.85'\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "Resolve address", "diag": { "message": "Failed with error 'hostname peebles.example.com not found'", "severity": "fail", "data": { "got": { "hostname": "peebles.example.com", "address": null }, "expected": { "hostname": "peebles.example.com", "address": "85.193.201.85" } } } } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "Resolve address", "diag": { "message": "Failed with error 'hostname peebles.example.com not found'", "severity": "fail", "data": { "got": { "hostname": "peebles.example.com", "address": null }, "expected": { "hostname": "peebles.example.com", "address": "85.193.201.85" } } } } ] } ] ] tap-parser-7.0.0/test/fixtures/yamlish--preservewhite--omitversion.json000066400000000000000000000042231320135610000263550ustar00rootroot00000000000000[ [ "line", "not ok 1 Resolve address\n" ], [ "line", " ---\n" ], [ "line", " message: \"Failed with error 'hostname peebles.example.com not found'\"\n" ], [ "line", " severity: fail\n" ], [ "line", " data:\n" ], [ "line", " got:\n" ], [ "line", " hostname: 'peebles.example.com'\n" ], [ "line", " address: ~\n" ], [ "line", " expected:\n" ], [ "line", " hostname: 'peebles.example.com'\n" ], [ "line", " address: '85.193.201.85'\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "Resolve address", "diag": { "message": "Failed with error 'hostname peebles.example.com not found'", "severity": "fail", "data": { "got": { "hostname": "peebles.example.com", "address": null }, "expected": { "hostname": "peebles.example.com", "address": "85.193.201.85" } } } } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "Resolve address", "diag": { "message": "Failed with error 'hostname peebles.example.com not found'", "severity": "fail", "data": { "got": { "hostname": "peebles.example.com", "address": null }, "expected": { "hostname": "peebles.example.com", "address": "85.193.201.85" } } } } ] } ] ] tap-parser-7.0.0/test/fixtures/yamlish--preservewhite.json000066400000000000000000000043361320135610000237310ustar00rootroot00000000000000[ [ "line", "TAP Version 13\n" ], [ "version", 13 ], [ "line", "not ok 1 Resolve address\n" ], [ "line", " ---\n" ], [ "line", " message: \"Failed with error 'hostname peebles.example.com not found'\"\n" ], [ "line", " severity: fail\n" ], [ "line", " data:\n" ], [ "line", " got:\n" ], [ "line", " hostname: 'peebles.example.com'\n" ], [ "line", " address: ~\n" ], [ "line", " expected:\n" ], [ "line", " hostname: 'peebles.example.com'\n" ], [ "line", " address: '85.193.201.85'\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "Resolve address", "diag": { "message": "Failed with error 'hostname peebles.example.com not found'", "severity": "fail", "data": { "got": { "hostname": "peebles.example.com", "address": null }, "expected": { "hostname": "peebles.example.com", "address": "85.193.201.85" } } } } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "Resolve address", "diag": { "message": "Failed with error 'hostname peebles.example.com not found'", "severity": "fail", "data": { "got": { "hostname": "peebles.example.com", "address": null }, "expected": { "hostname": "peebles.example.com", "address": "85.193.201.85" } } } } ] } ] ] tap-parser-7.0.0/test/fixtures/yamlish-looks-like-child--bail--omitversion.json000066400000000000000000000024001320135610000275130ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1 - callback happened\n" ], [ "line", " ---\n" ], [ "line", " ok:\n" ], [ "line", " - I wished for a bailout!\n" ], [ "line", " - lots of other shapes here can look like valid tap\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 1, "name": "callback happened", "diag": { "ok": [ "I wished for a bailout!", "lots of other shapes here can look like valid tap" ] } } ], [ "line", "ok 2 - child test\n" ], [ "assert", { "ok": true, "id": 2, "name": "child test" } ], [ "line", "ok 3 - should come last\n" ], [ "assert", { "ok": true, "id": 3, "name": "should come last" } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/yamlish-looks-like-child--bail--preservewhite--omitversion.json000066400000000000000000000024001320135610000324620ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1 - callback happened\n" ], [ "line", " ---\n" ], [ "line", " ok:\n" ], [ "line", " - I wished for a bailout!\n" ], [ "line", " - lots of other shapes here can look like valid tap\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 1, "name": "callback happened", "diag": { "ok": [ "I wished for a bailout!", "lots of other shapes here can look like valid tap" ] } } ], [ "line", "ok 2 - child test\n" ], [ "assert", { "ok": true, "id": 2, "name": "child test" } ], [ "line", "ok 3 - should come last\n" ], [ "assert", { "ok": true, "id": 3, "name": "should come last" } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/yamlish-looks-like-child--bail--preservewhite.json000066400000000000000000000024001320135610000300310ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1 - callback happened\n" ], [ "line", " ---\n" ], [ "line", " ok:\n" ], [ "line", " - I wished for a bailout!\n" ], [ "line", " - lots of other shapes here can look like valid tap\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 1, "name": "callback happened", "diag": { "ok": [ "I wished for a bailout!", "lots of other shapes here can look like valid tap" ] } } ], [ "line", "ok 2 - child test\n" ], [ "assert", { "ok": true, "id": 2, "name": "child test" } ], [ "line", "ok 3 - should come last\n" ], [ "assert", { "ok": true, "id": 3, "name": "should come last" } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/yamlish-looks-like-child--bail.json000066400000000000000000000024001320135610000250620ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1 - callback happened\n" ], [ "line", " ---\n" ], [ "line", " ok:\n" ], [ "line", " - I wished for a bailout!\n" ], [ "line", " - lots of other shapes here can look like valid tap\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 1, "name": "callback happened", "diag": { "ok": [ "I wished for a bailout!", "lots of other shapes here can look like valid tap" ] } } ], [ "line", "ok 2 - child test\n" ], [ "assert", { "ok": true, "id": 2, "name": "child test" } ], [ "line", "ok 3 - should come last\n" ], [ "assert", { "ok": true, "id": 3, "name": "should come last" } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/yamlish-looks-like-child--omitversion.json000066400000000000000000000024001320135610000265310ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1 - callback happened\n" ], [ "line", " ---\n" ], [ "line", " ok:\n" ], [ "line", " - I wished for a bailout!\n" ], [ "line", " - lots of other shapes here can look like valid tap\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 1, "name": "callback happened", "diag": { "ok": [ "I wished for a bailout!", "lots of other shapes here can look like valid tap" ] } } ], [ "line", "ok 2 - child test\n" ], [ "assert", { "ok": true, "id": 2, "name": "child test" } ], [ "line", "ok 3 - should come last\n" ], [ "assert", { "ok": true, "id": 3, "name": "should come last" } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/yamlish-looks-like-child--preservewhite--omitversion.json000066400000000000000000000024001320135610000315000ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1 - callback happened\n" ], [ "line", " ---\n" ], [ "line", " ok:\n" ], [ "line", " - I wished for a bailout!\n" ], [ "line", " - lots of other shapes here can look like valid tap\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 1, "name": "callback happened", "diag": { "ok": [ "I wished for a bailout!", "lots of other shapes here can look like valid tap" ] } } ], [ "line", "ok 2 - child test\n" ], [ "assert", { "ok": true, "id": 2, "name": "child test" } ], [ "line", "ok 3 - should come last\n" ], [ "assert", { "ok": true, "id": 3, "name": "should come last" } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/yamlish-looks-like-child--preservewhite.json000066400000000000000000000024001320135610000270470ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1 - callback happened\n" ], [ "line", " ---\n" ], [ "line", " ok:\n" ], [ "line", " - I wished for a bailout!\n" ], [ "line", " - lots of other shapes here can look like valid tap\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 1, "name": "callback happened", "diag": { "ok": [ "I wished for a bailout!", "lots of other shapes here can look like valid tap" ] } } ], [ "line", "ok 2 - child test\n" ], [ "assert", { "ok": true, "id": 2, "name": "child test" } ], [ "line", "ok 3 - should come last\n" ], [ "assert", { "ok": true, "id": 3, "name": "should come last" } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/yamlish-looks-like-child.json000066400000000000000000000024001320135610000241000ustar00rootroot00000000000000[ [ "line", "1..3\n" ], [ "plan", { "start": 1, "end": 3 } ], [ "line", "ok 1 - callback happened\n" ], [ "line", " ---\n" ], [ "line", " ok:\n" ], [ "line", " - I wished for a bailout!\n" ], [ "line", " - lots of other shapes here can look like valid tap\n" ], [ "line", " ...\n" ], [ "assert", { "ok": true, "id": 1, "name": "callback happened", "diag": { "ok": [ "I wished for a bailout!", "lots of other shapes here can look like valid tap" ] } } ], [ "line", "ok 2 - child test\n" ], [ "assert", { "ok": true, "id": 2, "name": "child test" } ], [ "line", "ok 3 - should come last\n" ], [ "assert", { "ok": true, "id": 3, "name": "should come last" } ], [ "complete", { "ok": true, "count": 3, "pass": 3, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 3, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/yamlish-looks-like-child.tap000066400000000000000000000002631320135610000237200ustar00rootroot000000000000001..3 ok 1 - callback happened --- ok: - I wished for a bailout! - lots of other shapes here can look like valid tap ... ok 2 - child test ok 3 - should come last tap-parser-7.0.0/test/fixtures/yamlish-that-is-not-yaml--bail--omitversion.json000066400000000000000000000062171320135610000275020ustar00rootroot00000000000000[ [ "line", "not ok 1 - expected yaml, got a sea turtle\n" ], [ "line", " ---\n" ], [ "line", " this is not yaml\n" ], [ "line", " \"In fact, it\": : : :%%% <@!<\n" ], [ "line", " is not \n" ], [ "line", " anything\n" ], [ "line", " but a peaceful\n" ], [ "line", " Sea Turtle\n" ], [ "line", " _,.---.---.---.--.._ \n" ], [ "line", " _.-' `--.`---.`---'-. _,`--.._\n" ], [ "line", " /`--._ .'. `. `,`-.`-._\\\n" ], [ "line", " || \\ `.`---.__`__..-`. ,'`-._/\n" ], [ "line", " _ ,`\\ `-._\\ \\ `. `_.-`-._,``-.\n" ], [ "line", " ,` `-_ \\/ `-.`--.\\ _\\_.-'\\__.-`-.`-._`.\n" ], [ "line", " (_.o> ,--. `._/'--.-`,--` \\_.-' \\`-._ \\\n" ], [ "line", " `---' `._ `---._/__,----` `-. `-\\\n" ], [ "line", " /_, , _..-' `-._\\\n" ], [ "line", " \\_, \\/ ._(\n" ], [ "line", " \\_, \\/ ._\\\n" ], [ "line", " `._,\\/ ._\\\n" ], [ "line", " `._// ./`-._\n" ], [ "line", " LGB `-._-_-_.-'\n" ], [ "line", " http://www.ascii-art.de/ascii/t/turtle.txt\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "expected yaml, got a sea turtle" } ], [ "extra", "---\n this is not yaml\n \"In fact, it\": : : :%%% <@!<\n is not \n anything\n but a peaceful\n Sea Turtle\n _,.---.---.---.--.._ \n _.-' `--.`---.`---'-. _,`--.._\n /`--._ .'. `. `,`-.`-._\\\n || \\ `.`---.__`__..-`. ,'`-._/\n _ ,`\\ `-._\\ \\ `. `_.-`-._,``-.\n ,` `-_ \\/ `-.`--.\\ _\\_.-'\\__.-`-.`-._`.\n (_.o> ,--. `._/'--.-`,--` \\_.-' \\`-._ \\\n `---' `._ `---._/__,----` `-. `-\\\n /_, , _..-' `-._\\\n \\_, \\/ ._(\n \\_, \\/ ._\\\n `._,\\/ ._\\\n `._// ./`-._\n LGB `-._-_-_.-'\n http://www.ascii-art.de/ascii/t/turtle.txt\n...\n" ], [ "line", "Bail out! # expected yaml, got a sea turtle\n" ], [ "bailout", "# expected yaml, got a sea turtle" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# expected yaml, got a sea turtle", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "expected yaml, got a sea turtle" } ] } ] ] tap-parser-7.0.0/test/fixtures/yamlish-that-is-not-yaml--bail--preservewhite--omitversion.json000066400000000000000000000062171320135610000324510ustar00rootroot00000000000000[ [ "line", "not ok 1 - expected yaml, got a sea turtle\n" ], [ "line", " ---\n" ], [ "line", " this is not yaml\n" ], [ "line", " \"In fact, it\": : : :%%% <@!<\n" ], [ "line", " is not \n" ], [ "line", " anything\n" ], [ "line", " but a peaceful\n" ], [ "line", " Sea Turtle\n" ], [ "line", " _,.---.---.---.--.._ \n" ], [ "line", " _.-' `--.`---.`---'-. _,`--.._\n" ], [ "line", " /`--._ .'. `. `,`-.`-._\\\n" ], [ "line", " || \\ `.`---.__`__..-`. ,'`-._/\n" ], [ "line", " _ ,`\\ `-._\\ \\ `. `_.-`-._,``-.\n" ], [ "line", " ,` `-_ \\/ `-.`--.\\ _\\_.-'\\__.-`-.`-._`.\n" ], [ "line", " (_.o> ,--. `._/'--.-`,--` \\_.-' \\`-._ \\\n" ], [ "line", " `---' `._ `---._/__,----` `-. `-\\\n" ], [ "line", " /_, , _..-' `-._\\\n" ], [ "line", " \\_, \\/ ._(\n" ], [ "line", " \\_, \\/ ._\\\n" ], [ "line", " `._,\\/ ._\\\n" ], [ "line", " `._// ./`-._\n" ], [ "line", " LGB `-._-_-_.-'\n" ], [ "line", " http://www.ascii-art.de/ascii/t/turtle.txt\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "expected yaml, got a sea turtle" } ], [ "extra", "---\n this is not yaml\n \"In fact, it\": : : :%%% <@!<\n is not \n anything\n but a peaceful\n Sea Turtle\n _,.---.---.---.--.._ \n _.-' `--.`---.`---'-. _,`--.._\n /`--._ .'. `. `,`-.`-._\\\n || \\ `.`---.__`__..-`. ,'`-._/\n _ ,`\\ `-._\\ \\ `. `_.-`-._,``-.\n ,` `-_ \\/ `-.`--.\\ _\\_.-'\\__.-`-.`-._`.\n (_.o> ,--. `._/'--.-`,--` \\_.-' \\`-._ \\\n `---' `._ `---._/__,----` `-. `-\\\n /_, , _..-' `-._\\\n \\_, \\/ ._(\n \\_, \\/ ._\\\n `._,\\/ ._\\\n `._// ./`-._\n LGB `-._-_-_.-'\n http://www.ascii-art.de/ascii/t/turtle.txt\n...\n" ], [ "line", "Bail out! # expected yaml, got a sea turtle\n" ], [ "bailout", "# expected yaml, got a sea turtle" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# expected yaml, got a sea turtle", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "expected yaml, got a sea turtle" } ] } ] ] tap-parser-7.0.0/test/fixtures/yamlish-that-is-not-yaml--bail--preservewhite.json000066400000000000000000000063321320135610000300160ustar00rootroot00000000000000[ [ "line", "TAP Version 13\n" ], [ "version", 13 ], [ "line", "not ok 1 - expected yaml, got a sea turtle\n" ], [ "line", " ---\n" ], [ "line", " this is not yaml\n" ], [ "line", " \"In fact, it\": : : :%%% <@!<\n" ], [ "line", " is not \n" ], [ "line", " anything\n" ], [ "line", " but a peaceful\n" ], [ "line", " Sea Turtle\n" ], [ "line", " _,.---.---.---.--.._ \n" ], [ "line", " _.-' `--.`---.`---'-. _,`--.._\n" ], [ "line", " /`--._ .'. `. `,`-.`-._\\\n" ], [ "line", " || \\ `.`---.__`__..-`. ,'`-._/\n" ], [ "line", " _ ,`\\ `-._\\ \\ `. `_.-`-._,``-.\n" ], [ "line", " ,` `-_ \\/ `-.`--.\\ _\\_.-'\\__.-`-.`-._`.\n" ], [ "line", " (_.o> ,--. `._/'--.-`,--` \\_.-' \\`-._ \\\n" ], [ "line", " `---' `._ `---._/__,----` `-. `-\\\n" ], [ "line", " /_, , _..-' `-._\\\n" ], [ "line", " \\_, \\/ ._(\n" ], [ "line", " \\_, \\/ ._\\\n" ], [ "line", " `._,\\/ ._\\\n" ], [ "line", " `._// ./`-._\n" ], [ "line", " LGB `-._-_-_.-'\n" ], [ "line", " http://www.ascii-art.de/ascii/t/turtle.txt\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "expected yaml, got a sea turtle" } ], [ "extra", "---\n this is not yaml\n \"In fact, it\": : : :%%% <@!<\n is not \n anything\n but a peaceful\n Sea Turtle\n _,.---.---.---.--.._ \n _.-' `--.`---.`---'-. _,`--.._\n /`--._ .'. `. `,`-.`-._\\\n || \\ `.`---.__`__..-`. ,'`-._/\n _ ,`\\ `-._\\ \\ `. `_.-`-._,``-.\n ,` `-_ \\/ `-.`--.\\ _\\_.-'\\__.-`-.`-._`.\n (_.o> ,--. `._/'--.-`,--` \\_.-' \\`-._ \\\n `---' `._ `---._/__,----` `-. `-\\\n /_, , _..-' `-._\\\n \\_, \\/ ._(\n \\_, \\/ ._\\\n `._,\\/ ._\\\n `._// ./`-._\n LGB `-._-_-_.-'\n http://www.ascii-art.de/ascii/t/turtle.txt\n...\n" ], [ "line", "Bail out! # expected yaml, got a sea turtle\n" ], [ "bailout", "# expected yaml, got a sea turtle" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# expected yaml, got a sea turtle", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "expected yaml, got a sea turtle" } ] } ] ] tap-parser-7.0.0/test/fixtures/yamlish-that-is-not-yaml--bail.json000066400000000000000000000063321320135610000250470ustar00rootroot00000000000000[ [ "line", "TAP Version 13\n" ], [ "version", 13 ], [ "line", "not ok 1 - expected yaml, got a sea turtle\n" ], [ "line", " ---\n" ], [ "line", " this is not yaml\n" ], [ "line", " \"In fact, it\": : : :%%% <@!<\n" ], [ "line", " is not \n" ], [ "line", " anything\n" ], [ "line", " but a peaceful\n" ], [ "line", " Sea Turtle\n" ], [ "line", " _,.---.---.---.--.._ \n" ], [ "line", " _.-' `--.`---.`---'-. _,`--.._\n" ], [ "line", " /`--._ .'. `. `,`-.`-._\\\n" ], [ "line", " || \\ `.`---.__`__..-`. ,'`-._/\n" ], [ "line", " _ ,`\\ `-._\\ \\ `. `_.-`-._,``-.\n" ], [ "line", " ,` `-_ \\/ `-.`--.\\ _\\_.-'\\__.-`-.`-._`.\n" ], [ "line", " (_.o> ,--. `._/'--.-`,--` \\_.-' \\`-._ \\\n" ], [ "line", " `---' `._ `---._/__,----` `-. `-\\\n" ], [ "line", " /_, , _..-' `-._\\\n" ], [ "line", " \\_, \\/ ._(\n" ], [ "line", " \\_, \\/ ._\\\n" ], [ "line", " `._,\\/ ._\\\n" ], [ "line", " `._// ./`-._\n" ], [ "line", " LGB `-._-_-_.-'\n" ], [ "line", " http://www.ascii-art.de/ascii/t/turtle.txt\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "expected yaml, got a sea turtle" } ], [ "extra", "---\n this is not yaml\n \"In fact, it\": : : :%%% <@!<\n is not \n anything\n but a peaceful\n Sea Turtle\n _,.---.---.---.--.._ \n _.-' `--.`---.`---'-. _,`--.._\n /`--._ .'. `. `,`-.`-._\\\n || \\ `.`---.__`__..-`. ,'`-._/\n _ ,`\\ `-._\\ \\ `. `_.-`-._,``-.\n ,` `-_ \\/ `-.`--.\\ _\\_.-'\\__.-`-.`-._`.\n (_.o> ,--. `._/'--.-`,--` \\_.-' \\`-._ \\\n `---' `._ `---._/__,----` `-. `-\\\n /_, , _..-' `-._\\\n \\_, \\/ ._(\n \\_, \\/ ._\\\n `._,\\/ ._\\\n `._// ./`-._\n LGB `-._-_-_.-'\n http://www.ascii-art.de/ascii/t/turtle.txt\n...\n" ], [ "line", "Bail out! # expected yaml, got a sea turtle\n" ], [ "bailout", "# expected yaml, got a sea turtle" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": "# expected yaml, got a sea turtle", "todo": 0, "skip": 0, "plan": { "start": null, "end": null, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "expected yaml, got a sea turtle" } ] } ] ] tap-parser-7.0.0/test/fixtures/yamlish-that-is-not-yaml--omitversion.json000066400000000000000000000062431320135610000265170ustar00rootroot00000000000000[ [ "line", "not ok 1 - expected yaml, got a sea turtle\n" ], [ "line", " ---\n" ], [ "line", " this is not yaml\n" ], [ "line", " \"In fact, it\": : : :%%% <@!<\n" ], [ "line", " is not \n" ], [ "line", " anything\n" ], [ "line", " but a peaceful\n" ], [ "line", " Sea Turtle\n" ], [ "line", " _,.---.---.---.--.._ \n" ], [ "line", " _.-' `--.`---.`---'-. _,`--.._\n" ], [ "line", " /`--._ .'. `. `,`-.`-._\\\n" ], [ "line", " || \\ `.`---.__`__..-`. ,'`-._/\n" ], [ "line", " _ ,`\\ `-._\\ \\ `. `_.-`-._,``-.\n" ], [ "line", " ,` `-_ \\/ `-.`--.\\ _\\_.-'\\__.-`-.`-._`.\n" ], [ "line", " (_.o> ,--. `._/'--.-`,--` \\_.-' \\`-._ \\\n" ], [ "line", " `---' `._ `---._/__,----` `-. `-\\\n" ], [ "line", " /_, , _..-' `-._\\\n" ], [ "line", " \\_, \\/ ._(\n" ], [ "line", " \\_, \\/ ._\\\n" ], [ "line", " `._,\\/ ._\\\n" ], [ "line", " `._// ./`-._\n" ], [ "line", " LGB `-._-_-_.-'\n" ], [ "line", " http://www.ascii-art.de/ascii/t/turtle.txt\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "expected yaml, got a sea turtle" } ], [ "extra", "---\n this is not yaml\n \"In fact, it\": : : :%%% <@!<\n is not \n anything\n but a peaceful\n Sea Turtle\n _,.---.---.---.--.._ \n _.-' `--.`---.`---'-. _,`--.._\n /`--._ .'. `. `,`-.`-._\\\n || \\ `.`---.__`__..-`. ,'`-._/\n _ ,`\\ `-._\\ \\ `. `_.-`-._,``-.\n ,` `-_ \\/ `-.`--.\\ _\\_.-'\\__.-`-.`-._`.\n (_.o> ,--. `._/'--.-`,--` \\_.-' \\`-._ \\\n `---' `._ `---._/__,----` `-. `-\\\n /_, , _..-' `-._\\\n \\_, \\/ ._(\n \\_, \\/ ._\\\n `._,\\/ ._\\\n `._// ./`-._\n LGB `-._-_-_.-'\n http://www.ascii-art.de/ascii/t/turtle.txt\n...\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "expected yaml, got a sea turtle" } ] } ] ] tap-parser-7.0.0/test/fixtures/yamlish-that-is-not-yaml--preservewhite--omitversion.json000066400000000000000000000062431320135610000314660ustar00rootroot00000000000000[ [ "line", "not ok 1 - expected yaml, got a sea turtle\n" ], [ "line", " ---\n" ], [ "line", " this is not yaml\n" ], [ "line", " \"In fact, it\": : : :%%% <@!<\n" ], [ "line", " is not \n" ], [ "line", " anything\n" ], [ "line", " but a peaceful\n" ], [ "line", " Sea Turtle\n" ], [ "line", " _,.---.---.---.--.._ \n" ], [ "line", " _.-' `--.`---.`---'-. _,`--.._\n" ], [ "line", " /`--._ .'. `. `,`-.`-._\\\n" ], [ "line", " || \\ `.`---.__`__..-`. ,'`-._/\n" ], [ "line", " _ ,`\\ `-._\\ \\ `. `_.-`-._,``-.\n" ], [ "line", " ,` `-_ \\/ `-.`--.\\ _\\_.-'\\__.-`-.`-._`.\n" ], [ "line", " (_.o> ,--. `._/'--.-`,--` \\_.-' \\`-._ \\\n" ], [ "line", " `---' `._ `---._/__,----` `-. `-\\\n" ], [ "line", " /_, , _..-' `-._\\\n" ], [ "line", " \\_, \\/ ._(\n" ], [ "line", " \\_, \\/ ._\\\n" ], [ "line", " `._,\\/ ._\\\n" ], [ "line", " `._// ./`-._\n" ], [ "line", " LGB `-._-_-_.-'\n" ], [ "line", " http://www.ascii-art.de/ascii/t/turtle.txt\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "expected yaml, got a sea turtle" } ], [ "extra", "---\n this is not yaml\n \"In fact, it\": : : :%%% <@!<\n is not \n anything\n but a peaceful\n Sea Turtle\n _,.---.---.---.--.._ \n _.-' `--.`---.`---'-. _,`--.._\n /`--._ .'. `. `,`-.`-._\\\n || \\ `.`---.__`__..-`. ,'`-._/\n _ ,`\\ `-._\\ \\ `. `_.-`-._,``-.\n ,` `-_ \\/ `-.`--.\\ _\\_.-'\\__.-`-.`-._`.\n (_.o> ,--. `._/'--.-`,--` \\_.-' \\`-._ \\\n `---' `._ `---._/__,----` `-. `-\\\n /_, , _..-' `-._\\\n \\_, \\/ ._(\n \\_, \\/ ._\\\n `._,\\/ ._\\\n `._// ./`-._\n LGB `-._-_-_.-'\n http://www.ascii-art.de/ascii/t/turtle.txt\n...\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "expected yaml, got a sea turtle" } ] } ] ] tap-parser-7.0.0/test/fixtures/yamlish-that-is-not-yaml--preservewhite.json000066400000000000000000000063561320135610000270420ustar00rootroot00000000000000[ [ "line", "TAP Version 13\n" ], [ "version", 13 ], [ "line", "not ok 1 - expected yaml, got a sea turtle\n" ], [ "line", " ---\n" ], [ "line", " this is not yaml\n" ], [ "line", " \"In fact, it\": : : :%%% <@!<\n" ], [ "line", " is not \n" ], [ "line", " anything\n" ], [ "line", " but a peaceful\n" ], [ "line", " Sea Turtle\n" ], [ "line", " _,.---.---.---.--.._ \n" ], [ "line", " _.-' `--.`---.`---'-. _,`--.._\n" ], [ "line", " /`--._ .'. `. `,`-.`-._\\\n" ], [ "line", " || \\ `.`---.__`__..-`. ,'`-._/\n" ], [ "line", " _ ,`\\ `-._\\ \\ `. `_.-`-._,``-.\n" ], [ "line", " ,` `-_ \\/ `-.`--.\\ _\\_.-'\\__.-`-.`-._`.\n" ], [ "line", " (_.o> ,--. `._/'--.-`,--` \\_.-' \\`-._ \\\n" ], [ "line", " `---' `._ `---._/__,----` `-. `-\\\n" ], [ "line", " /_, , _..-' `-._\\\n" ], [ "line", " \\_, \\/ ._(\n" ], [ "line", " \\_, \\/ ._\\\n" ], [ "line", " `._,\\/ ._\\\n" ], [ "line", " `._// ./`-._\n" ], [ "line", " LGB `-._-_-_.-'\n" ], [ "line", " http://www.ascii-art.de/ascii/t/turtle.txt\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "expected yaml, got a sea turtle" } ], [ "extra", "---\n this is not yaml\n \"In fact, it\": : : :%%% <@!<\n is not \n anything\n but a peaceful\n Sea Turtle\n _,.---.---.---.--.._ \n _.-' `--.`---.`---'-. _,`--.._\n /`--._ .'. `. `,`-.`-._\\\n || \\ `.`---.__`__..-`. ,'`-._/\n _ ,`\\ `-._\\ \\ `. `_.-`-._,``-.\n ,` `-_ \\/ `-.`--.\\ _\\_.-'\\__.-`-.`-._`.\n (_.o> ,--. `._/'--.-`,--` \\_.-' \\`-._ \\\n `---' `._ `---._/__,----` `-. `-\\\n /_, , _..-' `-._\\\n \\_, \\/ ._(\n \\_, \\/ ._\\\n `._,\\/ ._\\\n `._// ./`-._\n LGB `-._-_-_.-'\n http://www.ascii-art.de/ascii/t/turtle.txt\n...\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "expected yaml, got a sea turtle" } ] } ] ] tap-parser-7.0.0/test/fixtures/yamlish-that-is-not-yaml.json000066400000000000000000000063561320135610000240730ustar00rootroot00000000000000[ [ "line", "TAP Version 13\n" ], [ "version", 13 ], [ "line", "not ok 1 - expected yaml, got a sea turtle\n" ], [ "line", " ---\n" ], [ "line", " this is not yaml\n" ], [ "line", " \"In fact, it\": : : :%%% <@!<\n" ], [ "line", " is not \n" ], [ "line", " anything\n" ], [ "line", " but a peaceful\n" ], [ "line", " Sea Turtle\n" ], [ "line", " _,.---.---.---.--.._ \n" ], [ "line", " _.-' `--.`---.`---'-. _,`--.._\n" ], [ "line", " /`--._ .'. `. `,`-.`-._\\\n" ], [ "line", " || \\ `.`---.__`__..-`. ,'`-._/\n" ], [ "line", " _ ,`\\ `-._\\ \\ `. `_.-`-._,``-.\n" ], [ "line", " ,` `-_ \\/ `-.`--.\\ _\\_.-'\\__.-`-.`-._`.\n" ], [ "line", " (_.o> ,--. `._/'--.-`,--` \\_.-' \\`-._ \\\n" ], [ "line", " `---' `._ `---._/__,----` `-. `-\\\n" ], [ "line", " /_, , _..-' `-._\\\n" ], [ "line", " \\_, \\/ ._(\n" ], [ "line", " \\_, \\/ ._\\\n" ], [ "line", " `._,\\/ ._\\\n" ], [ "line", " `._// ./`-._\n" ], [ "line", " LGB `-._-_-_.-'\n" ], [ "line", " http://www.ascii-art.de/ascii/t/turtle.txt\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "expected yaml, got a sea turtle" } ], [ "extra", "---\n this is not yaml\n \"In fact, it\": : : :%%% <@!<\n is not \n anything\n but a peaceful\n Sea Turtle\n _,.---.---.---.--.._ \n _.-' `--.`---.`---'-. _,`--.._\n /`--._ .'. `. `,`-.`-._\\\n || \\ `.`---.__`__..-`. ,'`-._/\n _ ,`\\ `-._\\ \\ `. `_.-`-._,``-.\n ,` `-_ \\/ `-.`--.\\ _\\_.-'\\__.-`-.`-._`.\n (_.o> ,--. `._/'--.-`,--` \\_.-' \\`-._ \\\n `---' `._ `---._/__,----` `-. `-\\\n /_, , _..-' `-._\\\n \\_, \\/ ._(\n \\_, \\/ ._\\\n `._,\\/ ._\\\n `._// ./`-._\n LGB `-._-_-_.-'\n http://www.ascii-art.de/ascii/t/turtle.txt\n...\n" ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "expected yaml, got a sea turtle" } ] } ] ] tap-parser-7.0.0/test/fixtures/yamlish-that-is-not-yaml.tap000066400000000000000000000015661320135610000237040ustar00rootroot00000000000000TAP Version 13 not ok 1 - expected yaml, got a sea turtle --- this is not yaml "In fact, it": : : :%%% <@!< is not anything but a peaceful Sea Turtle _,.---.---.---.--.._ _.-' `--.`---.`---'-. _,`--.._ /`--._ .'. `. `,`-.`-._\ || \ `.`---.__`__..-`. ,'`-._/ _ ,`\ `-._\ \ `. `_.-`-._,``-. ,` `-_ \/ `-.`--.\ _\_.-'\__.-`-.`-._`. (_.o> ,--. `._/'--.-`,--` \_.-' \`-._ \ `---' `._ `---._/__,----` `-. `-\ /_, , _..-' `-._\ \_, \/ ._( \_, \/ ._\ `._,\/ ._\ `._// ./`-._ LGB `-._-_-_.-' http://www.ascii-art.de/ascii/t/turtle.txt ... 1..1 tap-parser-7.0.0/test/fixtures/yamlish-without-test--bail--omitversion.json000066400000000000000000000016061320135610000270500ustar00rootroot00000000000000[ [ "line", " ---\n" ], [ "extra", " ---\n" ], [ "line", " this: is yaml\n" ], [ "extra", " this: is yaml\n" ], [ "line", " but: no test here\n" ], [ "extra", " but: no test here\n" ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "line", "ok - this is fine\n" ], [ "assert", { "ok": true, "id": 1, "name": "this is fine" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/yamlish-without-test--bail--preservewhite--omitversion.json000066400000000000000000000016061320135610000320170ustar00rootroot00000000000000[ [ "line", " ---\n" ], [ "extra", " ---\n" ], [ "line", " this: is yaml\n" ], [ "extra", " this: is yaml\n" ], [ "line", " but: no test here\n" ], [ "extra", " but: no test here\n" ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "line", "ok - this is fine\n" ], [ "assert", { "ok": true, "id": 1, "name": "this is fine" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/yamlish-without-test--bail--preservewhite.json000066400000000000000000000017211320135610000273640ustar00rootroot00000000000000[ [ "line", "TAP Version 13\n" ], [ "version", 13 ], [ "line", " ---\n" ], [ "extra", " ---\n" ], [ "line", " this: is yaml\n" ], [ "extra", " this: is yaml\n" ], [ "line", " but: no test here\n" ], [ "extra", " but: no test here\n" ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "line", "ok - this is fine\n" ], [ "assert", { "ok": true, "id": 1, "name": "this is fine" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/yamlish-without-test--bail.json000066400000000000000000000017211320135610000244150ustar00rootroot00000000000000[ [ "line", "TAP Version 13\n" ], [ "version", 13 ], [ "line", " ---\n" ], [ "extra", " ---\n" ], [ "line", " this: is yaml\n" ], [ "extra", " this: is yaml\n" ], [ "line", " but: no test here\n" ], [ "extra", " but: no test here\n" ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "line", "ok - this is fine\n" ], [ "assert", { "ok": true, "id": 1, "name": "this is fine" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/yamlish-without-test--omitversion.json000066400000000000000000000016061320135610000260660ustar00rootroot00000000000000[ [ "line", " ---\n" ], [ "extra", " ---\n" ], [ "line", " this: is yaml\n" ], [ "extra", " this: is yaml\n" ], [ "line", " but: no test here\n" ], [ "extra", " but: no test here\n" ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "line", "ok - this is fine\n" ], [ "assert", { "ok": true, "id": 1, "name": "this is fine" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/yamlish-without-test--preservewhite--omitversion.json000066400000000000000000000016061320135610000310350ustar00rootroot00000000000000[ [ "line", " ---\n" ], [ "extra", " ---\n" ], [ "line", " this: is yaml\n" ], [ "extra", " this: is yaml\n" ], [ "line", " but: no test here\n" ], [ "extra", " but: no test here\n" ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "line", "ok - this is fine\n" ], [ "assert", { "ok": true, "id": 1, "name": "this is fine" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/yamlish-without-test--preservewhite.json000066400000000000000000000017211320135610000264020ustar00rootroot00000000000000[ [ "line", "TAP Version 13\n" ], [ "version", 13 ], [ "line", " ---\n" ], [ "extra", " ---\n" ], [ "line", " this: is yaml\n" ], [ "extra", " this: is yaml\n" ], [ "line", " but: no test here\n" ], [ "extra", " but: no test here\n" ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "line", "ok - this is fine\n" ], [ "assert", { "ok": true, "id": 1, "name": "this is fine" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/yamlish-without-test.json000066400000000000000000000017211320135610000234330ustar00rootroot00000000000000[ [ "line", "TAP Version 13\n" ], [ "version", 13 ], [ "line", " ---\n" ], [ "extra", " ---\n" ], [ "line", " this: is yaml\n" ], [ "extra", " this: is yaml\n" ], [ "line", " but: no test here\n" ], [ "extra", " but: no test here\n" ], [ "line", " ...\n" ], [ "extra", " ...\n" ], [ "line", "ok - this is fine\n" ], [ "assert", { "ok": true, "id": 1, "name": "this is fine" } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ] tap-parser-7.0.0/test/fixtures/yamlish-without-test.tap000066400000000000000000000001261320135610000232440ustar00rootroot00000000000000TAP Version 13 --- this: is yaml but: no test here ... ok - this is fine 1..1 tap-parser-7.0.0/test/fixtures/yamlish.json000066400000000000000000000043361320135610000207620ustar00rootroot00000000000000[ [ "line", "TAP Version 13\n" ], [ "version", 13 ], [ "line", "not ok 1 Resolve address\n" ], [ "line", " ---\n" ], [ "line", " message: \"Failed with error 'hostname peebles.example.com not found'\"\n" ], [ "line", " severity: fail\n" ], [ "line", " data:\n" ], [ "line", " got:\n" ], [ "line", " hostname: 'peebles.example.com'\n" ], [ "line", " address: ~\n" ], [ "line", " expected:\n" ], [ "line", " hostname: 'peebles.example.com'\n" ], [ "line", " address: '85.193.201.85'\n" ], [ "line", " ...\n" ], [ "assert", { "ok": false, "id": 1, "name": "Resolve address", "diag": { "message": "Failed with error 'hostname peebles.example.com not found'", "severity": "fail", "data": { "got": { "hostname": "peebles.example.com", "address": null }, "expected": { "hostname": "peebles.example.com", "address": "85.193.201.85" } } } } ], [ "line", "1..1\n" ], [ "plan", { "start": 1, "end": 1 } ], [ "line", "# failed 1 test\n" ], [ "comment", "# failed 1 test\n" ], [ "complete", { "ok": false, "count": 1, "pass": 0, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 1, "name": "Resolve address", "diag": { "message": "Failed with error 'hostname peebles.example.com not found'", "severity": "fail", "data": { "got": { "hostname": "peebles.example.com", "address": null }, "expected": { "hostname": "peebles.example.com", "address": "85.193.201.85" } } } } ] } ] ] tap-parser-7.0.0/test/fixtures/yamlish.tap000066400000000000000000000004551320135610000205730ustar00rootroot00000000000000TAP Version 13 not ok 1 Resolve address --- message: "Failed with error 'hostname peebles.example.com not found'" severity: fail data: got: hostname: 'peebles.example.com' address: ~ expected: hostname: 'peebles.example.com' address: '85.193.201.85' ... 1..1 tap-parser-7.0.0/test/fixtures/zero_valid--bail--omitversion.json000066400000000000000000000027411320135610000250630ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1 - One\n" ], [ "assert", { "ok": true, "id": 1, "name": "One" } ], [ "line", "ok 2 - Two\n" ], [ "assert", { "ok": true, "id": 2, "name": "Two" } ], [ "line", "ok - Three\n" ], [ "assert", { "ok": true, "id": 3, "name": "Three" } ], [ "line", "ok 0 - Four\n" ], [ "assert", { "ok": true, "id": 0, "name": "Four", "tapError": "id less than plan start", "plan": { "start": 1, "end": 5 } } ], [ "line", "ok 5 - Five\n" ], [ "assert", { "ok": true, "id": 5, "name": "Five" } ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 0, "name": "Four", "tapError": "id less than plan start", "plan": { "start": 1, "end": 5 } } ] } ] ] tap-parser-7.0.0/test/fixtures/zero_valid--bail--preservewhite--omitversion.json000066400000000000000000000027411320135610000300320ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1 - One\n" ], [ "assert", { "ok": true, "id": 1, "name": "One" } ], [ "line", "ok 2 - Two\n" ], [ "assert", { "ok": true, "id": 2, "name": "Two" } ], [ "line", "ok - Three\n" ], [ "assert", { "ok": true, "id": 3, "name": "Three" } ], [ "line", "ok 0 - Four\n" ], [ "assert", { "ok": true, "id": 0, "name": "Four", "tapError": "id less than plan start", "plan": { "start": 1, "end": 5 } } ], [ "line", "ok 5 - Five\n" ], [ "assert", { "ok": true, "id": 5, "name": "Five" } ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 0, "name": "Four", "tapError": "id less than plan start", "plan": { "start": 1, "end": 5 } } ] } ] ] tap-parser-7.0.0/test/fixtures/zero_valid--bail--preservewhite.json000066400000000000000000000027411320135610000254010ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1 - One\n" ], [ "assert", { "ok": true, "id": 1, "name": "One" } ], [ "line", "ok 2 - Two\n" ], [ "assert", { "ok": true, "id": 2, "name": "Two" } ], [ "line", "ok - Three\n" ], [ "assert", { "ok": true, "id": 3, "name": "Three" } ], [ "line", "ok 0 - Four\n" ], [ "assert", { "ok": true, "id": 0, "name": "Four", "tapError": "id less than plan start", "plan": { "start": 1, "end": 5 } } ], [ "line", "ok 5 - Five\n" ], [ "assert", { "ok": true, "id": 5, "name": "Five" } ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 0, "name": "Four", "tapError": "id less than plan start", "plan": { "start": 1, "end": 5 } } ] } ] ] tap-parser-7.0.0/test/fixtures/zero_valid--bail.json000066400000000000000000000027411320135610000224320ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1 - One\n" ], [ "assert", { "ok": true, "id": 1, "name": "One" } ], [ "line", "ok 2 - Two\n" ], [ "assert", { "ok": true, "id": 2, "name": "Two" } ], [ "line", "ok - Three\n" ], [ "assert", { "ok": true, "id": 3, "name": "Three" } ], [ "line", "ok 0 - Four\n" ], [ "assert", { "ok": true, "id": 0, "name": "Four", "tapError": "id less than plan start", "plan": { "start": 1, "end": 5 } } ], [ "line", "ok 5 - Five\n" ], [ "assert", { "ok": true, "id": 5, "name": "Five" } ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 0, "name": "Four", "tapError": "id less than plan start", "plan": { "start": 1, "end": 5 } } ] } ] ] tap-parser-7.0.0/test/fixtures/zero_valid--omitversion.json000066400000000000000000000027411320135610000241010ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1 - One\n" ], [ "assert", { "ok": true, "id": 1, "name": "One" } ], [ "line", "ok 2 - Two\n" ], [ "assert", { "ok": true, "id": 2, "name": "Two" } ], [ "line", "ok - Three\n" ], [ "assert", { "ok": true, "id": 3, "name": "Three" } ], [ "line", "ok 0 - Four\n" ], [ "assert", { "ok": true, "id": 0, "name": "Four", "tapError": "id less than plan start", "plan": { "start": 1, "end": 5 } } ], [ "line", "ok 5 - Five\n" ], [ "assert", { "ok": true, "id": 5, "name": "Five" } ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 0, "name": "Four", "tapError": "id less than plan start", "plan": { "start": 1, "end": 5 } } ] } ] ] tap-parser-7.0.0/test/fixtures/zero_valid--preservewhite--omitversion.json000066400000000000000000000027411320135610000270500ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1 - One\n" ], [ "assert", { "ok": true, "id": 1, "name": "One" } ], [ "line", "ok 2 - Two\n" ], [ "assert", { "ok": true, "id": 2, "name": "Two" } ], [ "line", "ok - Three\n" ], [ "assert", { "ok": true, "id": 3, "name": "Three" } ], [ "line", "ok 0 - Four\n" ], [ "assert", { "ok": true, "id": 0, "name": "Four", "tapError": "id less than plan start", "plan": { "start": 1, "end": 5 } } ], [ "line", "ok 5 - Five\n" ], [ "assert", { "ok": true, "id": 5, "name": "Five" } ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 0, "name": "Four", "tapError": "id less than plan start", "plan": { "start": 1, "end": 5 } } ] } ] ] tap-parser-7.0.0/test/fixtures/zero_valid--preservewhite.json000066400000000000000000000027411320135610000244170ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1 - One\n" ], [ "assert", { "ok": true, "id": 1, "name": "One" } ], [ "line", "ok 2 - Two\n" ], [ "assert", { "ok": true, "id": 2, "name": "Two" } ], [ "line", "ok - Three\n" ], [ "assert", { "ok": true, "id": 3, "name": "Three" } ], [ "line", "ok 0 - Four\n" ], [ "assert", { "ok": true, "id": 0, "name": "Four", "tapError": "id less than plan start", "plan": { "start": 1, "end": 5 } } ], [ "line", "ok 5 - Five\n" ], [ "assert", { "ok": true, "id": 5, "name": "Five" } ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 0, "name": "Four", "tapError": "id less than plan start", "plan": { "start": 1, "end": 5 } } ] } ] ] tap-parser-7.0.0/test/fixtures/zero_valid.json000066400000000000000000000027411320135610000214500ustar00rootroot00000000000000[ [ "line", "1..5\n" ], [ "plan", { "start": 1, "end": 5 } ], [ "line", "ok 1 - One\n" ], [ "assert", { "ok": true, "id": 1, "name": "One" } ], [ "line", "ok 2 - Two\n" ], [ "assert", { "ok": true, "id": 2, "name": "Two" } ], [ "line", "ok - Three\n" ], [ "assert", { "ok": true, "id": 3, "name": "Three" } ], [ "line", "ok 0 - Four\n" ], [ "assert", { "ok": true, "id": 0, "name": "Four", "tapError": "id less than plan start", "plan": { "start": 1, "end": 5 } } ], [ "line", "ok 5 - Five\n" ], [ "assert", { "ok": true, "id": 5, "name": "Five" } ], [ "line", "# failed 1 of 5 tests\n" ], [ "comment", "# failed 1 of 5 tests\n" ], [ "complete", { "ok": false, "count": 5, "pass": 5, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 5, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": true, "id": 0, "name": "Four", "tapError": "id less than plan start", "plan": { "start": 1, "end": 5 } } ] } ] ] tap-parser-7.0.0/test/fixtures/zero_valid.tap000066400000000000000000000000761320135610000212620ustar00rootroot000000000000001..5 ok 1 - One ok 2 - Two ok - Three ok 0 - Four ok 5 - Five tap-parser-7.0.0/test/omit-version.js000066400000000000000000000021201320135610000175260ustar00rootroot00000000000000var t = require('tap') var tapContent = function () {/* TAP version 13 ok 1 - this is fine 1..1 */}.toString().split('\n').slice(1, -1).join('\n') var P = require('../') var etoa = require('events-to-array') var ignore = [ 'pipe', 'unpipe', 'prefinish', 'finish', 'newListener', 'line' ] var p = new P({ omitVersion: true }) var events = etoa(p, ignore) p.on('version', function (v) { t.fail('should not see version event') }) var lines = [] p.on('line', lines.push.bind(lines)) p.end(tapContent) t.same(lines, [ 'ok 1 - this is fine\n', '1..1\n' ], 'saw expected lines') t.same(events, [ [ "assert", { "ok": true, "id": 1, "name": "this is fine" } ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [] } ] ], 'saw expected events') tap-parser-7.0.0/test/parser.js000066400000000000000000000026741320135610000164050ustar00rootroot00000000000000var Parser = require('../') var etoa = require('events-to-array') var ignore = [ 'pipe', 'unpipe', 'prefinish', 'finish', 'newListener' ] var glob = require('glob') var test = require('tap').test var path = require('path') var fs = require('fs') glob.sync(__dirname + '/fixtures/*.tap').forEach(function (tapfile) { test(path.basename(tapfile), function (t) { var bails = [true, false] var white = [true, false] var omitv = [true, false] var tapContent = fs.readFileSync(tapfile, 'utf8') t.plan(bails.length * white.length * omitv.length) bails.forEach(function (bail) { white.forEach(function (white) { omitv.forEach(function (omitv) { var opts = { bail: bail, preserveWhiteSpace: white, omitVersion: omitv } t.test(JSON.stringify(opts), function (t) { var outfile = tapfile.replace(/\.tap$/, '') outfile += opts.bail ? '--bail': '' outfile += opts.preserveWhiteSpace ? '--preservewhite': '' outfile += opts.omitVersion ? '--omitversion' : '' outfile += '.json' var wanted = require(outfile) var parser = new Parser(opts) var found = etoa(parser, ignore) parser.on('complete', function () { t.same(found, wanted) t.end() }) parser.end(tapContent) }) }) }) }) }) }) tap-parser-7.0.0/test/passes.js000066400000000000000000000027771320135610000164130ustar00rootroot00000000000000var t = require('tap') var tapContent = function () {/* TAP version 13 1..2 ok 1 this is fine --- message: 1 passed ... not ok 2 --- message: 2 failed ... */}.toString().split('\n').slice(1, -1).join('\n') var P = require('../') var etoa = require('events-to-array') var ignore = [ 'pipe', 'unpipe', 'prefinish', 'finish', 'newListener', 'line', 'version' ] var p = new P({ passes: true }) var events = etoa(p, ignore) p.end(tapContent) t.same(events, [ [ "plan", { "start": 1, "end": 2 } ], [ "assert", { "ok": true, "id": 1, "name": "this is fine", "diag": { "message": "1 passed" } } ], [ "assert", { "ok": false, "id": 2, "diag": { "message": "2 failed" } } ], [ "comment", "# failed 1 of 2 tests\n" ], [ "complete", { "ok": false, "count": 2, "pass": 1, "fail": 1, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 2, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [ { "ok": false, "id": 2, "diag": { "message": "2 failed" } } ], "passes": [ { "ok": true, "id": 1, "name": "this is fine", "diag": { "message": "1 passed" } } ] } ] ], 'saw expected events') tap-parser-7.0.0/test/strict.js000066400000000000000000000027651320135610000164220ustar00rootroot00000000000000var Parser = require('../') var t = require('tap') t.test('strictness is inherited', function (t) { var data = [ 'TAP version 13', '1..1', '# Subtest: foo', ' ok', ' flerggy blerg', ' 1..1', 'ok 1 foo', '# passed 1 of 1 tests', '' ].join('\n') var p = new Parser({ strict: true }) var expect = [ { tapError: 'Non-TAP data encountered in strict mode', data: 'flerggy blerg\n' } ] p.on('complete', function (res) { t.same(res.failures, expect) t.end() }) p.end(data) }) t.test('strictness is reversible', function (t) { var data = [ 'TAP version 13', '1..1', '# Subtest: foo', ' ok', ' pragma -strict', ' flerggy blerg', ' 1..1', 'ok 1 foo', '# passed 1 of 1 tests', '' ].join('\n') var p = new Parser({ strict: true }) p.on('complete', function (res) { t.same(res.failures, []) t.end() }) p.end(data) }) t.test('unstrict child does not make parent unstrict', function (t) { var data = [ 'TAP version 13', '1..1', '# Subtest: foo', ' pragma -strict', ' ok', ' 1..1', 'flerggy blerg', 'ok 1 foo', '# passed 1 of 1 tests', '' ].join('\n') var p = new Parser({ strict: true }) var expect = [ { tapError: 'Non-TAP data encountered in strict mode', data: 'flerggy blerg\n' } ] p.on('complete', function (res) { t.same(res.failures, expect) t.end() }) p.end(data) }) tap-parser-7.0.0/test/whitespace.js000066400000000000000000000015061320135610000172360ustar00rootroot00000000000000var Parser = require('../') var t = require('tap') var data = [ 'TAP version 13', '', '1..1', '', '# Subtest: foo', ' ', ' ok', ' ', ' 1..1', 'ok 1 foo', '', '# passed 1 of 1 tests', '' ] t.test('preserve whitespace', function (t) { var p = new Parser({ preserveWhitespace: true }) var lines = [] p.on('line', function (l) { lines.push(l) }) p.on('complete', function () { t.same(lines.join('').split('\n'), data) t.end() }) p.end(data.join('\n')) }) t.test('drop whitespace', function (t) { var p = new Parser() var lines = [] p.on('line', function (l) { lines.push(l) }) p.on('complete', function () { t.equal(lines.join(''), data.filter(function (line) { return line.trim() }).join('\n') + '\n') t.end() }) p.end(data.join('\n')) }) tap-parser-7.0.0/test/write-after-bailout.js000066400000000000000000000030561320135610000207720ustar00rootroot00000000000000var t = require('tap') var Parser = require('../') var p = new Parser() var called = false function cb (er) { if (er) throw er called = true } p.write('Bail out! this is fine\nok 2 - this is ok\n') t.notOk(called) t.ok(p.bailedOut) p.write('ok 1 - i am ok with how things are proceeding\n', cb) t.notOk(called) setTimeout(function () { t.ok(called) }) t.test('child calling _parse after bailout', function (t) { var p = new Parser() var etoa = require('events-to-array') var events = etoa(p, [ 'pipe', 'unpipe', 'prefinish', 'finish', 'line' ]) var expect = [ [ 'version', 13 ], [ 'child', [ [ 'comment', '# Subtest\n' ], [ 'plan', { start: 1, end: 1 } ], [ 'bailout', 'child' ], [ 'complete', { ok: false, count: 0, pass: 0, fail: 0, bailout: 'child', todo: 0, skip: 0, plan: { start: 1, end: 1, skipAll: false, skipReason: '', comment: '' }, failures: [] } ] ] ], [ 'bailout', 'child' ], [ 'complete', { ok: false, count: 0, pass: 0, fail: 0, bailout: 'child', todo: 0, skip: 0, plan: { start: null, end: null, skipAll: false, skipReason: '', comment: '' }, failures: [] } ] ] p.on('assert', t.fail) p.on('complete', function () { t.same(events, expect) t.end() }) p.end([ 'TAP version 13', ' # Subtest', ' 1..1', ' Bail out! child', ' ok 1', 'ok 1', '1..1' ].join('\n')) })