pax_global_header00006660000000000000000000000064143332452350014516gustar00rootroot0000000000000052 comment=be006aefcc004e6bc23706ac61de3e6f56af9e73 tap-parser-11.0.2/000077500000000000000000000000001433324523500136555ustar00rootroot00000000000000tap-parser-11.0.2/.github/000077500000000000000000000000001433324523500152155ustar00rootroot00000000000000tap-parser-11.0.2/.github/FUNDING.yml000066400000000000000000000001001433324523500170210ustar00rootroot00000000000000# These are supported funding model platforms github: [isaacs] tap-parser-11.0.2/.github/workflows/000077500000000000000000000000001433324523500172525ustar00rootroot00000000000000tap-parser-11.0.2/.github/workflows/ci.yml000066400000000000000000000015071433324523500203730ustar00rootroot00000000000000name: CI on: [push, pull_request] jobs: build: strategy: matrix: node-version: [12.x, 14.x, 16.x, 17.x] platform: - os: ubuntu-latest shell: bash - os: macos-latest shell: bash - os: windows-latest shell: bash - os: windows-latest shell: powershell fail-fast: false runs-on: ${{ matrix.platform.os }} defaults: run: shell: ${{ matrix.platform.shell }} steps: - name: Checkout Repository uses: actions/checkout@v1.1.0 - name: Use Nodejs ${{ matrix.node-version }} uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - name: Install dependencies run: npm install - name: Run Tests run: npm test -- -c -t0 tap-parser-11.0.2/.github/workflows/commit-if-modified.sh000066400000000000000000000004321433324523500232470ustar00rootroot00000000000000#!/usr/bin/env bash git config --global user.email "$1" shift git config --global user.name "$1" shift message="$1" shift if [ $(git status --porcelain "$@" | egrep '^ M' | wc -l) -gt 0 ]; then git add "$@" git commit -m "$message" git push || git pull --rebase git push fi tap-parser-11.0.2/.github/workflows/copyright-year.sh000066400000000000000000000010011433324523500225440ustar00rootroot00000000000000#!/usr/bin/env bash dir=${1:-$PWD} dates=($(git log --date=format:%Y --pretty=format:'%ad' --reverse | sort | uniq)) if [ "${#dates[@]}" -eq 1 ]; then datestr="${dates}" else datestr="${dates}-${dates[${#dates[@]}-1]}" fi stripDate='s/^((.*)Copyright\b(.*?))((?:,\s*)?(([0-9]{4}\s*-\s*[0-9]{4})|(([0-9]{4},\s*)*[0-9]{4})))(?:,)?\s*(.*)\n$/$1$9\n/g' addDate='s/^.*Copyright(?:\s*\(c\))? /Copyright \(c\) '$datestr' /g' for l in $dir/LICENSE*; do perl -pi -e "$stripDate" $l perl -pi -e "$addDate" $l done tap-parser-11.0.2/.github/workflows/isaacs-makework.yml000066400000000000000000000021461433324523500230610ustar00rootroot00000000000000name: "various tidying up tasks to silence nagging" on: push: branches: - main workflow_dispatch: jobs: makework: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 with: fetch-depth: 0 - name: Use Node.js uses: actions/setup-node@v2.1.4 with: node-version: 16.x - name: put repo in package.json run: node .github/workflows/package-json-repo.js - name: check in package.json if modified run: | bash -x .github/workflows/commit-if-modified.sh \ "package-json-repo-bot@example.com" \ "package.json Repo Bot" \ "chore: add repo to package.json" \ package.json package-lock.json - name: put all dates in license copyright line run: bash .github/workflows/copyright-year.sh - name: check in licenses if modified run: | bash .github/workflows/commit-if-modified.sh \ "license-year-bot@example.com" \ "License Year Bot" \ "chore: add copyright year to license" \ LICENSE* tap-parser-11.0.2/.github/workflows/package-json-repo.js000066400000000000000000000010561433324523500231170ustar00rootroot00000000000000#!/usr/bin/env node const pf = require.resolve(`${process.cwd()}/package.json`) const pj = require(pf) if (!pj.repository && process.env.GITHUB_REPOSITORY) { const fs = require('fs') const server = process.env.GITHUB_SERVER_URL || 'https://github.com' const repo = `${server}/${process.env.GITHUB_REPOSITORY}` pj.repository = repo const json = fs.readFileSync(pf, 'utf8') const match = json.match(/^\s*\{[\r\n]+([ \t]*)"/) const indent = match[1] const output = JSON.stringify(pj, null, indent || 2) + '\n' fs.writeFileSync(pf, output) } tap-parser-11.0.2/.gitignore000066400000000000000000000000451433324523500156440ustar00rootroot00000000000000/.nyc_output /coverage /node_modules tap-parser-11.0.2/LICENSE000066400000000000000000000021771433324523500146710ustar00rootroot00000000000000This software is released under the MIT license: Copyright (c) 2012-2022 James Halliday, Isaac Z. Schlueter, and Contributors 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-11.0.2/bin/000077500000000000000000000000001433324523500144255ustar00rootroot00000000000000tap-parser-11.0.2/bin/cmd.js000077500000000000000000000077211433324523500155400ustar00rootroot00000000000000#!/usr/bin/env node const Parser = require('../') const etoa = require('events-to-array') const util = require('util') const args = process.argv.slice(2) let json = null let flat = false let bail = false let preserveWhitespace = true let omitVersion = false let strict = false function version () { console.log(require('../package.json').version) process.exit(0) } for (let i = 0; i < args.length; i++) { const arg = args[i] if (arg === '-j') { const val = +args[i + 1] if (val >= 0) { json = val i += 1 } else json = 2 continue } else { const m = arg.match(/^--json(?:=([0-9]+))?$/) if (m) { if (+m[1] >= 0) json = +m[1] else if (+args[i + 1] >= 0) { json = +args[i + 1] i += 1 } else json = 2 continue } } 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 === '-B' || arg === '--no-bail') bail = false else if (arg === '-t' || arg === '--tap') json = 'tap' else if (arg === '-l' || arg === '--lines') json = 'lines' else if (arg === '-h' || arg === '--help') usage() else if (arg === '-f' || arg === '--flat') flat = true else if (arg === '-F' || arg === '--no-flat') flat = false else if (arg === '--strict') strict = true else if (arg === '--no-strict') strict = false else if (arg === '-s' || arg === '--silent') json = 'silent' else console.error('Unrecognized arg: %j', arg) } function usage () { console.log(`Usage: tap-parser Parses TAP data from stdin, and outputs the parsed result in the format specified by the options. Default output uses node's \`util.inspect()\` 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 -B | --no-bail Do not bail out at the first failed test point encountered (Default) -f | --flat Flatten all assertions to the top level parser -F | --no-flat Do not flatten all assertions to the top level parser (Default) -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 --strict Run the parser in strict mode --no-strict Do not run the parser in strict mode -s | --silent Do not print output, just exit success/failure based on TAP stream `) // prevent the EPIPE upstream when the data drops on the floor /* istanbul ignore else */ if (!process.stdin.isTTY) process.stdin.resume() process.exit() } const yaml = require('tap-yaml') function format (msg) { if (json === 'tap') return Parser.stringify(msg, options) else if (json !== null) return JSON.stringify(msg, null, +json) else return util.inspect(msg, null, Infinity) } const options = { bail: bail, preserveWhitespace: preserveWhitespace, omitVersion: omitVersion, strict: strict, flat: flat, } if (json === 'lines' || json === 'silent') { const parser = new Parser(options) if (json === 'lines') parser.on('line', l => process.stdout.write(l)) parser.on('complete', () => process.exitCode = parser.ok ? 0 : 1) process.stdin.pipe(parser) } else { const input = [] process.stdin.on('data', c => input.push(c)).on('end', () => { const buf = Buffer.concat(input) const result = Parser.parse(buf, options) const summary = result[ result.length - 1 ] console.log(format(result)) if (summary[0] !== 'complete' || !summary[1].ok) process.exitCode = 1 }) } tap-parser-11.0.2/example/000077500000000000000000000000001433324523500153105ustar00rootroot00000000000000tap-parser-11.0.2/example/parse.js000066400000000000000000000001521433324523500167560ustar00rootroot00000000000000const Parser = require('../') const p = new Parser(results => console.dir(results)) process.stdin.pipe(p) tap-parser-11.0.2/example/test.js000066400000000000000000000004171433324523500166270ustar00rootroot00000000000000var 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-11.0.2/index.js000066400000000000000000001013141433324523500153220ustar00rootroot00000000000000'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') // this isn't for performance or anything, it just confuses vim's // brace-matching to have these in the middle of functions, and // i'm too lazy to dig into vim-javascript to fix it. const OPEN_BRACE_EOL = /\{\s*$/ const SPACE_OPEN_BRACE_EOL = / \{$/ // used by the Parser.parse() method const etoa = require('events-to-array') // used by Parser.stringify() and Parser.parse() in flattening mode const getId = () => { const id = () => id.current++ id.current = 1 return id } const yaml = require('tap-yaml') // 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-zA-Z0-9_-]+)\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 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(OPEN_BRACE_EOL, '').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)(?:\S*)\b(.*)$/i) if (!type) return false return [ type[1].toLowerCase(), type[2].trim() || true, ] } class Result { constructor (parsed, count) { const ok = !parsed[1] const id = +(parsed[2] || 0) let buffered = parsed[4] this.ok = ok if (parsed[2]) this.id = id let rest = parsed[3] || '' let name // We know at this point the parsed result cannot contain \n, // so we can leverage that as a placeholder. // first, replace any PAIR of \ chars with \n // then, split on any # that is not preceeded by \ // the first of these is definitely the description // the rest is the directive, if recognized, otherwise // we just lump it onto the description, but escaped. // then any \n chars in either are turned into \ (just one) // escape \ with \ rest = rest.replace(/(\\\\)/g, '\n') rest = rest.split(/(?<=\s|^)(? { const name = [] if (res.fullname) name.push(res.fullname) if (res.name) name.push(res.name) res.name = name.join(' > ').trim() res.fullname = '' res.id = id() events.push(['assert', res]) }) parser.on('complete', res => { if (!res.bailout) events.push(['plan', { end: id.current - 1, start: 1 }]) events.push(['complete', res]) }) } parser.end(str) return events } static stringify (msg, { flat = false, indent = '', id = getId() } = {}) { const ind = flat ? '' : indent return ind + msg.map(item => { switch (item[0]) { case 'child': const comment = item[1][0] const child = item[1].slice(1) return Parser.stringify([comment], { flat, indent: '', id }) + Parser.stringify(child, { flat, indent: ' ', id }) case 'version': return 'TAP version ' + item[1] + '\n' case 'plan': if (flat) { if (indent !== '') return '' item[1].start = 1 item[1].end = id.current - 1 } return item[1].start + '..' + item[1].end + (item[1].comment ? ' # ' + esc(item[1].comment) : '') + '\n' case 'pragma': return 'pragma ' + (item[2] ? '+' : '-') + item[1] + '\n' case 'bailout': return 'Bail out!' + (item[1] ? (' ' + esc(item[1])) : '') + '\n' case 'assert': const res = item[1] if (flat) { res.id = id() const name = [] if (res.fullname) name.push(res.fullname) if (res.name) name.push(res.name) res.name = name.join(' > ').trim() } return (res.ok ? '' : 'not ') + 'ok' + (res.id !== undefined ? ' ' + res.id : '' ) + (res.name ? ' - ' + esc(res.name).replace(SPACE_OPEN_BRACE_EOL, '') : '') + (res.skip ? ' # SKIP' + (res.skip === true ? '' : ' ' + esc(res.skip)) : '') + (res.todo ? ' # TODO' + (res.todo === true ? '' : ' ' + esc(res.todo)) : '') + (res.time ? ' # time=' + res.time + 'ms' : '') + '\n' + (res.diag ? ' ---\n ' + yaml.stringify(res.diag).split('\n').join('\n ').trim() + '\n ...\n' : '') case 'extra': case 'comment': return item[1] } }).join('').split('\n').join('\n' + ind).trim() + '\n' } constructor (options, onComplete) { if (typeof options === 'function') { onComplete = options options = {} } options = options || {} super(options) this.resume() if (onComplete) this.on('complete', onComplete) this.time = null this.name = options.name || '' this.comments = [] this.results = null this.braceLevel = null this.parent = options.parent || null this.closingTestPoint = this.parent && options.closingTestPoint this.root = options.parent ? this.parent.root : this this.failures = [] if (options.passes) this.passes = [] this.level = options.level || 0 this.pointsSeen = new Map() 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.previousChild = 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 } get fullname () { return ((this.parent ? this.parent.fullname + ' ' : '') + (this.name || '')).trim() } 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) { // need to hold off on this when we have a child so we can // associate the closing test point with the test. if (!this.child) this.emitResult() if (this.bailedOut) return const resId = testPoint[2] const res = new Result(testPoint, this.count) if (resId && 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 (resId && this.pointsSeen.has(res.id)) { res.tapError = 'test point id ' + resId + ' appears multiple times' res.previous = this.pointsSeen.get(res.id) this.tapError(res) } else if (resId) { this.pointsSeen.set(res.id, res) } if (this.child) { if (!this.child.closingTestPoint) this.child.closingTestPoint = res this.emitResult() // can only bail out here in the case of a child with broken diags // anything else would have bailed out already. if (this.bailedOut) return } this.emit('line', line) 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) }) this.emitExtra(data) } emitExtra (data, fromChild) { if (this.parent) this.parent.emitExtra( data.replace(/\n$/, '').replace(/^/gm, ' ') + '\n', true ) else if (!fromChild && (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, 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) { const seen = new Set() for (const [id, res] of this.pointsSeen.entries()) { const tapError = id < start ? 'id less than plan start' : id > end ? 'id greater than plan end' : null if (tapError) { seen.add(tapError) res.tapError = tapError res.plan = { start, end } this.tapError(res) } } 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.parse(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 = Buffer.from(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.substring(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') } this.emitComplete(skipAll) if (cb) process.nextTick(cb) return this } 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)) { if (this.child.closingTestPoint) this.child.time = this.child.closingTestPoint.time || null this.previousChild = this.child 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.emitAssert(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, closingTestPoint: maybeBuffered && this.current, 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.substring(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.substring('# 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.stringify(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() } emitAssert (res) { res.fullname = this.fullname this.emit('assert', res) // see if we need to surface to the top level if (this.child || this.previousChild) { const c = this.child || this.previousChild this.previousChild = null if (res.name === c.name && res.ok === c.results.ok && c.results.count && !res.todo && !res.skip) { // just procedural, ignore it return } } // surface result to the top level parser this.root.emit('result', res) if (res.skip) this.root.emit('skip', res) else if (res.todo) this.root.emit('todo', res) else if (!res.ok) this.root.emit('fail', res) else this.root.emit('pass', res) } 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) const dir = parseDirective(line.replace(/^\s*#\s*/, '').trim()) if (dir[0] === 'time' && typeof dir[1] === 'number') this.time = dir[1] 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.diag && !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(unesc(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], unesc((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.substring(0, 4) === ' ') { line = line.substring(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.substring(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) } } // turn \ into \\ and # into \#, for stringifying back to TAP const esc = str => str .replace(/\\/g, '\\\\') .replace(/#/g, '\\#') .trim() const unesc = str => str .replace(/(\\\\)/g, '\u0000') .replace(/\\#/g, '#') .replace(/\u0000/g, '\\') .trim() 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 this.time = self.time 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-11.0.2/map.js000066400000000000000000000001561433324523500147720ustar00rootroot00000000000000const {basename} = require('path') module.exports = t => basename(t) === 'cmd.js' ? 'bin/cmd.js' : 'index.js' tap-parser-11.0.2/package-lock.json000066400000000000000000006774661433324523500171230ustar00rootroot00000000000000{ "name": "tap-parser", "version": "11.0.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "tap-parser", "version": "11.0.2", "license": "MIT", "dependencies": { "events-to-array": "^1.0.1", "minipass": "^3.1.6", "tap-yaml": "^1.0.0" }, "bin": { "tap-parser": "bin/cmd.js" }, "devDependencies": { "glob": "^7.0.5", "tap": "^16.0.0" }, "engines": { "node": ">= 8" } }, "node_modules/@ampproject/remapping": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.1.2.tgz", "integrity": "sha512-hoyByceqwKirw7w3Z7gnIIZC3Wx3J484Y3L/cMpXFbr7d9ZQj2mODrirNzcJa+SM3UlpWXYvKV4RlRpFXlWgXg==", "dev": true, "dependencies": { "@jridgewell/trace-mapping": "^0.3.0" }, "engines": { "node": ">=6.0.0" } }, "node_modules/@babel/code-frame": { "version": "7.16.7", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", "dev": true, "dependencies": { "@babel/highlight": "^7.16.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/compat-data": { "version": "7.17.0", "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.17.0.tgz", "integrity": "sha512-392byTlpGWXMv4FbyWw3sAZ/FrW/DrwqLGXpy0mbyNe9Taqv1mg9yON5/o0cnr8XYCkFTZbC1eV+c+LAROgrng==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/core": { "version": "7.17.5", "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.17.5.tgz", "integrity": "sha512-/BBMw4EvjmyquN5O+t5eh0+YqB3XXJkYD2cjKpYtWOfFy4lQ4UozNSmxAcWT8r2XtZs0ewG+zrfsqeR15i1ajA==", "dev": true, "dependencies": { "@ampproject/remapping": "^2.1.0", "@babel/code-frame": "^7.16.7", "@babel/generator": "^7.17.3", "@babel/helper-compilation-targets": "^7.16.7", "@babel/helper-module-transforms": "^7.16.7", "@babel/helpers": "^7.17.2", "@babel/parser": "^7.17.3", "@babel/template": "^7.16.7", "@babel/traverse": "^7.17.3", "@babel/types": "^7.17.0", "convert-source-map": "^1.7.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", "json5": "^2.1.2", "semver": "^6.3.0" }, "engines": { "node": ">=6.9.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/babel" } }, "node_modules/@babel/generator": { "version": "7.17.3", "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.17.3.tgz", "integrity": "sha512-+R6Dctil/MgUsZsZAkYgK+ADNSZzJRRy0TvY65T71z/CR854xHQ1EweBYXdfT+HNeN7w0cSJJEzgxZMv40pxsg==", "dev": true, "dependencies": { "@babel/types": "^7.17.0", "jsesc": "^2.5.1", "source-map": "^0.5.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-compilation-targets": { "version": "7.16.7", "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.16.7.tgz", "integrity": "sha512-mGojBwIWcwGD6rfqgRXVlVYmPAv7eOpIemUG3dGnDdCY4Pae70ROij3XmfrH6Fa1h1aiDylpglbZyktfzyo/hA==", "dev": true, "dependencies": { "@babel/compat-data": "^7.16.4", "@babel/helper-validator-option": "^7.16.7", "browserslist": "^4.17.5", "semver": "^6.3.0" }, "engines": { "node": ">=6.9.0" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "node_modules/@babel/helper-environment-visitor": { "version": "7.16.7", "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.16.7.tgz", "integrity": "sha512-SLLb0AAn6PkUeAfKJCCOl9e1R53pQlGAfc4y4XuMRZfqeMYLE0dM1LMhqbGAlGQY0lfw5/ohoYWAe9V1yibRag==", "dev": true, "dependencies": { "@babel/types": "^7.16.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-function-name": { "version": "7.16.7", "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.16.7.tgz", "integrity": "sha512-QfDfEnIUyyBSR3HtrtGECuZ6DAyCkYFp7GHl75vFtTnn6pjKeK0T1DB5lLkFvBea8MdaiUABx3osbgLyInoejA==", "dev": true, "dependencies": { "@babel/helper-get-function-arity": "^7.16.7", "@babel/template": "^7.16.7", "@babel/types": "^7.16.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-get-function-arity": { "version": "7.16.7", "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.16.7.tgz", "integrity": "sha512-flc+RLSOBXzNzVhcLu6ujeHUrD6tANAOU5ojrRx/as+tbzf8+stUCj7+IfRRoAbEZqj/ahXEMsjhOhgeZsrnTw==", "dev": true, "dependencies": { "@babel/types": "^7.16.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-hoist-variables": { "version": "7.16.7", "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.16.7.tgz", "integrity": "sha512-m04d/0Op34H5v7pbZw6pSKP7weA6lsMvfiIAMeIvkY/R4xQtBSMFEigu9QTZ2qB/9l22vsxtM8a+Q8CzD255fg==", "dev": true, "dependencies": { "@babel/types": "^7.16.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-module-imports": { "version": "7.16.7", "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.16.7.tgz", "integrity": "sha512-LVtS6TqjJHFc+nYeITRo6VLXve70xmq7wPhWTqDJusJEgGmkAACWwMiTNrvfoQo6hEhFwAIixNkvB0jPXDL8Wg==", "dev": true, "dependencies": { "@babel/types": "^7.16.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-module-transforms": { "version": "7.17.6", "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.17.6.tgz", "integrity": "sha512-2ULmRdqoOMpdvkbT8jONrZML/XALfzxlb052bldftkicAUy8AxSCkD5trDPQcwHNmolcl7wP6ehNqMlyUw6AaA==", "dev": true, "dependencies": { "@babel/helper-environment-visitor": "^7.16.7", "@babel/helper-module-imports": "^7.16.7", "@babel/helper-simple-access": "^7.16.7", "@babel/helper-split-export-declaration": "^7.16.7", "@babel/helper-validator-identifier": "^7.16.7", "@babel/template": "^7.16.7", "@babel/traverse": "^7.17.3", "@babel/types": "^7.17.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-simple-access": { "version": "7.16.7", "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.16.7.tgz", "integrity": "sha512-ZIzHVyoeLMvXMN/vok/a4LWRy8G2v205mNP0XOuf9XRLyX5/u9CnVulUtDgUTama3lT+bf/UqucuZjqiGuTS1g==", "dev": true, "dependencies": { "@babel/types": "^7.16.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-split-export-declaration": { "version": "7.16.7", "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz", "integrity": "sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==", "dev": true, "dependencies": { "@babel/types": "^7.16.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-identifier": { "version": "7.16.7", "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-option": { "version": "7.16.7", "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.16.7.tgz", "integrity": "sha512-TRtenOuRUVo9oIQGPC5G9DgK4743cdxvtOw0weQNpZXaS16SCBi5MNjZF8vba3ETURjZpTbVn7Vvcf2eAwFozQ==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helpers": { "version": "7.17.2", "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.17.2.tgz", "integrity": "sha512-0Qu7RLR1dILozr/6M0xgj+DFPmi6Bnulgm9M8BVa9ZCWxDqlSnqt3cf8IDPB5m45sVXUZ0kuQAgUrdSFFH79fQ==", "dev": true, "dependencies": { "@babel/template": "^7.16.7", "@babel/traverse": "^7.17.0", "@babel/types": "^7.17.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/highlight": { "version": "7.16.10", "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.16.10.tgz", "integrity": "sha512-5FnTQLSLswEj6IkgVw5KusNUUFY9ZGqe/TRFnP/BKYHYgfh7tc+C7mwiy95/yNP7Dh9x580Vv8r7u7ZfTBFxdw==", "dev": true, "dependencies": { "@babel/helper-validator-identifier": "^7.16.7", "chalk": "^2.0.0", "js-tokens": "^4.0.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/parser": { "version": "7.17.3", "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.17.3.tgz", "integrity": "sha512-7yJPvPV+ESz2IUTPbOL+YkIGyCqOyNIzdguKQuJGnH7bg1WTIifuM21YqokFt/THWh1AkCRn9IgoykTRCBVpzA==", "dev": true, "bin": { "parser": "bin/babel-parser.js" }, "engines": { "node": ">=6.0.0" } }, "node_modules/@babel/template": { "version": "7.16.7", "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz", "integrity": "sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==", "dev": true, "dependencies": { "@babel/code-frame": "^7.16.7", "@babel/parser": "^7.16.7", "@babel/types": "^7.16.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/traverse": { "version": "7.17.3", "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.17.3.tgz", "integrity": "sha512-5irClVky7TxRWIRtxlh2WPUUOLhcPN06AGgaQSB8AEwuyEBgJVuJ5imdHm5zxk8w0QS5T+tDfnDxAlhWjpb7cw==", "dev": true, "dependencies": { "@babel/code-frame": "^7.16.7", "@babel/generator": "^7.17.3", "@babel/helper-environment-visitor": "^7.16.7", "@babel/helper-function-name": "^7.16.7", "@babel/helper-hoist-variables": "^7.16.7", "@babel/helper-split-export-declaration": "^7.16.7", "@babel/parser": "^7.17.3", "@babel/types": "^7.17.0", "debug": "^4.1.0", "globals": "^11.1.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/types": { "version": "7.17.0", "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.0.tgz", "integrity": "sha512-TmKSNO4D5rzhL5bjWFcVHHLETzfQ/AmbKpKPOSjlP0WoHZ6L911fgoOKY4Alp/emzG4cHJdyN49zpgkbXFEHHw==", "dev": true, "dependencies": { "@babel/helper-validator-identifier": "^7.16.7", "to-fast-properties": "^2.0.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@istanbuljs/load-nyc-config": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", "integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==", "dev": true, "dependencies": { "camelcase": "^5.3.1", "find-up": "^4.1.0", "get-package-type": "^0.1.0", "js-yaml": "^3.13.1", "resolve-from": "^5.0.0" }, "engines": { "node": ">=8" } }, "node_modules/@istanbuljs/schema": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz", "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==", "dev": true, "engines": { "node": ">=8" } }, "node_modules/@jridgewell/resolve-uri": { "version": "3.0.5", "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.0.5.tgz", "integrity": "sha512-VPeQ7+wH0itvQxnG+lIzWgkysKIr3L9sslimFW55rHMdGu/qCQ5z5h9zq4gI8uBtqkpHhsF4Z/OwExufUCThew==", "dev": true, "engines": { "node": ">=6.0.0" } }, "node_modules/@jridgewell/sourcemap-codec": { "version": "1.4.11", "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.11.tgz", "integrity": "sha512-Fg32GrJo61m+VqYSdRSjRXMjQ06j8YIYfcTqndLYVAaHmroZHLJZCydsWBOTDqXS2v+mjxohBWEMfg97GXmYQg==", "dev": true }, "node_modules/@jridgewell/trace-mapping": { "version": "0.3.4", "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.4.tgz", "integrity": "sha512-vFv9ttIedivx0ux3QSjhgtCVjPZd5l46ZOMDSCwnH1yUO2e964gO8LZGyv2QkqcgR6TnBU1v+1IFqmeoG+0UJQ==", "dev": true, "dependencies": { "@jridgewell/resolve-uri": "^3.0.3", "@jridgewell/sourcemap-codec": "^1.4.10" } }, "node_modules/aggregate-error": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==", "dev": true, "dependencies": { "clean-stack": "^2.0.0", "indent-string": "^4.0.0" }, "engines": { "node": ">=8" } }, "node_modules/ansi-regex": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", "dev": true, "engines": { "node": ">=8" } }, "node_modules/ansi-styles": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", "dev": true, "dependencies": { "color-convert": "^1.9.0" }, "engines": { "node": ">=4" } }, "node_modules/anymatch": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", "dev": true, "dependencies": { "normalize-path": "^3.0.0", "picomatch": "^2.0.4" }, "engines": { "node": ">= 8" } }, "node_modules/append-transform": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/append-transform/-/append-transform-2.0.0.tgz", "integrity": "sha512-7yeyCEurROLQJFv5Xj4lEGTy0borxepjFv1g22oAdqFu//SrAlDl1O1Nxx15SH1RoliUml6p8dwJW9jvZughhg==", "dev": true, "dependencies": { "default-require-extensions": "^3.0.0" }, "engines": { "node": ">=8" } }, "node_modules/archy": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/archy/-/archy-1.0.0.tgz", "integrity": "sha1-+cjBN1fMHde8N5rHeyxipcKGjEA=", "dev": true }, "node_modules/argparse": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", "dev": true, "dependencies": { "sprintf-js": "~1.0.2" } }, "node_modules/async-hook-domain": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/async-hook-domain/-/async-hook-domain-2.0.4.tgz", "integrity": "sha512-14LjCmlK1PK8eDtTezR6WX8TMaYNIzBIsd2D1sGoGjgx0BuNMMoSdk7i/drlbtamy0AWv9yv2tkB+ASdmeqFIw==", "dev": true, "engines": { "node": ">=10" } }, "node_modules/balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", "dev": true }, "node_modules/binary-extensions": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", "dev": true, "engines": { "node": ">=8" } }, "node_modules/bind-obj-methods": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/bind-obj-methods/-/bind-obj-methods-3.0.0.tgz", "integrity": "sha512-nLEaaz3/sEzNSyPWRsN9HNsqwk1AUyECtGj+XwGdIi3xABnEqecvXtIJ0wehQXuuER5uZ/5fTs2usONgYjG+iw==", "dev": true, "engines": { "node": ">=10" } }, "node_modules/brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dev": true, "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" } }, "node_modules/braces": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", "dev": true, "dependencies": { "fill-range": "^7.0.1" }, "engines": { "node": ">=8" } }, "node_modules/browserslist": { "version": "4.20.0", "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.20.0.tgz", "integrity": "sha512-bnpOoa+DownbciXj0jVGENf8VYQnE2LNWomhYuCsMmmx9Jd9lwq0WXODuwpSsp8AVdKM2/HorrzxAfbKvWTByQ==", "dev": true, "dependencies": { "caniuse-lite": "^1.0.30001313", "electron-to-chromium": "^1.4.76", "escalade": "^3.1.1", "node-releases": "^2.0.2", "picocolors": "^1.0.0" }, "bin": { "browserslist": "cli.js" }, "engines": { "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/browserslist" } }, "node_modules/buffer-from": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", "dev": true }, "node_modules/caching-transform": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/caching-transform/-/caching-transform-4.0.0.tgz", "integrity": "sha512-kpqOvwXnjjN44D89K5ccQC+RUrsy7jB/XLlRrx0D7/2HNcTPqzsb6XgYoErwko6QsV184CA2YgS1fxDiiDZMWA==", "dev": true, "dependencies": { "hasha": "^5.0.0", "make-dir": "^3.0.0", "package-hash": "^4.0.0", "write-file-atomic": "^3.0.0" }, "engines": { "node": ">=8" } }, "node_modules/camelcase": { "version": "5.3.1", "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", "dev": true, "engines": { "node": ">=6" } }, "node_modules/caniuse-lite": { "version": "1.0.30001313", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001313.tgz", "integrity": "sha512-rI1UN0koZUiKINjysQDuRi2VeSCce3bYJNmDcj3PIKREiAmjakugBul1QSkg/fPrlULYl6oWfGg3PbgOSY9X4Q==", "dev": true, "funding": { "type": "opencollective", "url": "https://opencollective.com/browserslist" } }, "node_modules/chalk": { "version": "2.4.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", "dev": true, "dependencies": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", "supports-color": "^5.3.0" }, "engines": { "node": ">=4" } }, "node_modules/chokidar": { "version": "3.5.3", "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", "dev": true, "funding": [ { "type": "individual", "url": "https://paulmillr.com/funding/" } ], "dependencies": { "anymatch": "~3.1.2", "braces": "~3.0.2", "glob-parent": "~5.1.2", "is-binary-path": "~2.1.0", "is-glob": "~4.0.1", "normalize-path": "~3.0.0", "readdirp": "~3.6.0" }, "engines": { "node": ">= 8.10.0" }, "optionalDependencies": { "fsevents": "~2.3.2" } }, "node_modules/clean-stack": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==", "dev": true, "engines": { "node": ">=6" } }, "node_modules/cliui": { "version": "7.0.4", "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", "dev": true, "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.0", "wrap-ansi": "^7.0.0" } }, "node_modules/color-convert": { "version": "1.9.3", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", "dev": true, "dependencies": { "color-name": "1.1.3" } }, "node_modules/color-name": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", "dev": true }, "node_modules/color-support": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz", "integrity": "sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==", "dev": true, "bin": { "color-support": "bin.js" } }, "node_modules/commondir": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", "dev": true }, "node_modules/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 }, "node_modules/convert-source-map": { "version": "1.8.0", "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.8.0.tgz", "integrity": "sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==", "dev": true, "dependencies": { "safe-buffer": "~5.1.1" } }, "node_modules/cross-spawn": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", "dev": true, "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", "which": "^2.0.1" }, "engines": { "node": ">= 8" } }, "node_modules/debug": { "version": "4.3.3", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", "dev": true, "dependencies": { "ms": "2.1.2" }, "engines": { "node": ">=6.0" }, "peerDependenciesMeta": { "supports-color": { "optional": true } } }, "node_modules/decamelize": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", "dev": true, "engines": { "node": ">=0.10.0" } }, "node_modules/default-require-extensions": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/default-require-extensions/-/default-require-extensions-3.0.0.tgz", "integrity": "sha512-ek6DpXq/SCpvjhpFsLFRVtIxJCRw6fUR42lYMVZuUMK7n8eMz4Uh5clckdBjEpLhn/gEBZo7hDJnJcwdKLKQjg==", "dev": true, "dependencies": { "strip-bom": "^4.0.0" }, "engines": { "node": ">=8" } }, "node_modules/diff": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", "dev": true, "engines": { "node": ">=0.3.1" } }, "node_modules/electron-to-chromium": { "version": "1.4.76", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.76.tgz", "integrity": "sha512-3Vftv7cenJtQb+k00McEBZ2vVmZ/x+HEF7pcZONZIkOsESqAqVuACmBxMv0JhzX7u0YltU0vSqRqgBSTAhFUjA==", "dev": true }, "node_modules/emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "dev": true }, "node_modules/es6-error": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/es6-error/-/es6-error-4.1.1.tgz", "integrity": "sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==", "dev": true }, "node_modules/escalade": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", "dev": true, "engines": { "node": ">=6" } }, "node_modules/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, "engines": { "node": ">=0.8.0" } }, "node_modules/esprima": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", "dev": true, "bin": { "esparse": "bin/esparse.js", "esvalidate": "bin/esvalidate.js" }, "engines": { "node": ">=4" } }, "node_modules/events-to-array": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/events-to-array/-/events-to-array-1.1.2.tgz", "integrity": "sha1-LUH1Y+H+QA7Uli/hpNXGp1Od9/Y=" }, "node_modules/fill-range": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", "dev": true, "dependencies": { "to-regex-range": "^5.0.1" }, "engines": { "node": ">=8" } }, "node_modules/find-cache-dir": { "version": "3.3.2", "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.2.tgz", "integrity": "sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==", "dev": true, "dependencies": { "commondir": "^1.0.1", "make-dir": "^3.0.2", "pkg-dir": "^4.1.0" }, "engines": { "node": ">=8" }, "funding": { "url": "https://github.com/avajs/find-cache-dir?sponsor=1" } }, "node_modules/find-up": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", "dev": true, "dependencies": { "locate-path": "^5.0.0", "path-exists": "^4.0.0" }, "engines": { "node": ">=8" } }, "node_modules/findit": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/findit/-/findit-2.0.0.tgz", "integrity": "sha1-ZQnwEmr0wXhVHPqZOU4DLhOk1W4=", "dev": true }, "node_modules/foreground-child": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-2.0.0.tgz", "integrity": "sha512-dCIq9FpEcyQyXKCkyzmlPTFNgrCzPudOe+mhvJU5zAtlBnGVy2yKxtfsxK2tQBThwq225jcvBjpw1Gr40uzZCA==", "dev": true, "dependencies": { "cross-spawn": "^7.0.0", "signal-exit": "^3.0.2" }, "engines": { "node": ">=8.0.0" } }, "node_modules/fromentries": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/fromentries/-/fromentries-1.3.2.tgz", "integrity": "sha512-cHEpEQHUg0f8XdtZCc2ZAhrHzKzT0MrFUTcvx+hfxYu7rGMDc5SKoXFh+n4YigxsHXRzc6OrCshdR1bWH6HHyg==", "dev": true, "funding": [ { "type": "github", "url": "https://github.com/sponsors/feross" }, { "type": "patreon", "url": "https://www.patreon.com/feross" }, { "type": "consulting", "url": "https://feross.org/support" } ] }, "node_modules/fs-exists-cached": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs-exists-cached/-/fs-exists-cached-1.0.0.tgz", "integrity": "sha1-zyVVTKBQ3EmuZla0HeQiWJidy84=", "dev": true }, "node_modules/fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", "dev": true }, "node_modules/fsevents": { "version": "2.3.2", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", "dev": true, "hasInstallScript": true, "optional": true, "os": [ "darwin" ], "engines": { "node": "^8.16.0 || ^10.6.0 || >=11.0.0" } }, "node_modules/function-loop": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/function-loop/-/function-loop-2.0.1.tgz", "integrity": "sha512-ktIR+O6i/4h+j/ZhZJNdzeI4i9lEPeEK6UPR2EVyTVBqOwcU3Za9xYKLH64ZR9HmcROyRrOkizNyjjtWJzDDkQ==", "dev": true }, "node_modules/gensync": { "version": "1.0.0-beta.2", "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/get-caller-file": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", "dev": true, "engines": { "node": "6.* || 8.* || >= 10.*" } }, "node_modules/get-package-type": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", "dev": true, "engines": { "node": ">=8.0.0" } }, "node_modules/glob": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", "dev": true, "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", "inherits": "2", "minimatch": "^3.0.4", "once": "^1.3.0", "path-is-absolute": "^1.0.0" }, "engines": { "node": "*" }, "funding": { "url": "https://github.com/sponsors/isaacs" } }, "node_modules/glob-parent": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", "dev": true, "dependencies": { "is-glob": "^4.0.1" }, "engines": { "node": ">= 6" } }, "node_modules/globals": { "version": "11.12.0", "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", "dev": true, "engines": { "node": ">=4" } }, "node_modules/graceful-fs": { "version": "4.2.9", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.9.tgz", "integrity": "sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ==", "dev": true }, "node_modules/has-flag": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", "dev": true, "engines": { "node": ">=4" } }, "node_modules/hasha": { "version": "5.2.2", "resolved": "https://registry.npmjs.org/hasha/-/hasha-5.2.2.tgz", "integrity": "sha512-Hrp5vIK/xr5SkeN2onO32H0MgNZ0f17HRNH39WfL0SYUNOTZ5Lz1TJ8Pajo/87dYGEFlLMm7mIc/k/s6Bvz9HQ==", "dev": true, "dependencies": { "is-stream": "^2.0.0", "type-fest": "^0.8.0" }, "engines": { "node": ">=8" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/html-escaper": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", "dev": true }, "node_modules/imurmurhash": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", "dev": true, "engines": { "node": ">=0.8.19" } }, "node_modules/indent-string": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", "dev": true, "engines": { "node": ">=8" } }, "node_modules/inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", "dev": true, "dependencies": { "once": "^1.3.0", "wrappy": "1" } }, "node_modules/inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", "dev": true }, "node_modules/is-binary-path": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", "dev": true, "dependencies": { "binary-extensions": "^2.0.0" }, "engines": { "node": ">=8" } }, "node_modules/is-extglob": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", "dev": true, "engines": { "node": ">=0.10.0" } }, "node_modules/is-fullwidth-code-point": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", "dev": true, "engines": { "node": ">=8" } }, "node_modules/is-glob": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", "dev": true, "dependencies": { "is-extglob": "^2.1.1" }, "engines": { "node": ">=0.10.0" } }, "node_modules/is-number": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", "dev": true, "engines": { "node": ">=0.12.0" } }, "node_modules/is-stream": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", "dev": true, "engines": { "node": ">=8" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/is-typedarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", "dev": true }, "node_modules/is-windows": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", "dev": true, "engines": { "node": ">=0.10.0" } }, "node_modules/isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", "dev": true }, "node_modules/istanbul-lib-coverage": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz", "integrity": "sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==", "dev": true, "engines": { "node": ">=8" } }, "node_modules/istanbul-lib-hook": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/istanbul-lib-hook/-/istanbul-lib-hook-3.0.0.tgz", "integrity": "sha512-Pt/uge1Q9s+5VAZ+pCo16TYMWPBIl+oaNIjgLQxcX0itS6ueeaA+pEfThZpH8WxhFgCiEb8sAJY6MdUKgiIWaQ==", "dev": true, "dependencies": { "append-transform": "^2.0.0" }, "engines": { "node": ">=8" } }, "node_modules/istanbul-lib-instrument": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-4.0.3.tgz", "integrity": "sha512-BXgQl9kf4WTCPCCpmFGoJkz/+uhvm7h7PFKUYxh7qarQd3ER33vHG//qaE8eN25l07YqZPpHXU9I09l/RD5aGQ==", "dev": true, "dependencies": { "@babel/core": "^7.7.5", "@istanbuljs/schema": "^0.1.2", "istanbul-lib-coverage": "^3.0.0", "semver": "^6.3.0" }, "engines": { "node": ">=8" } }, "node_modules/istanbul-lib-processinfo": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/istanbul-lib-processinfo/-/istanbul-lib-processinfo-2.0.2.tgz", "integrity": "sha512-kOwpa7z9hme+IBPZMzQ5vdQj8srYgAtaRqeI48NGmAQ+/5yKiHLV0QbYqQpxsdEF0+w14SoB8YbnHKcXE2KnYw==", "dev": true, "dependencies": { "archy": "^1.0.0", "cross-spawn": "^7.0.0", "istanbul-lib-coverage": "^3.0.0-alpha.1", "make-dir": "^3.0.0", "p-map": "^3.0.0", "rimraf": "^3.0.0", "uuid": "^3.3.3" }, "engines": { "node": ">=8" } }, "node_modules/istanbul-lib-report": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", "integrity": "sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw==", "dev": true, "dependencies": { "istanbul-lib-coverage": "^3.0.0", "make-dir": "^3.0.0", "supports-color": "^7.1.0" }, "engines": { "node": ">=8" } }, "node_modules/istanbul-lib-report/node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, "engines": { "node": ">=8" } }, "node_modules/istanbul-lib-report/node_modules/supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, "dependencies": { "has-flag": "^4.0.0" }, "engines": { "node": ">=8" } }, "node_modules/istanbul-lib-source-maps": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz", "integrity": "sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==", "dev": true, "dependencies": { "debug": "^4.1.1", "istanbul-lib-coverage": "^3.0.0", "source-map": "^0.6.1" }, "engines": { "node": ">=10" } }, "node_modules/istanbul-lib-source-maps/node_modules/source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "dev": true, "engines": { "node": ">=0.10.0" } }, "node_modules/istanbul-reports": { "version": "3.1.4", "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.4.tgz", "integrity": "sha512-r1/DshN4KSE7xWEknZLLLLDn5CJybV3nw01VTkp6D5jzLuELlcbudfj/eSQFvrKsJuTVCGnePO7ho82Nw9zzfw==", "dev": true, "dependencies": { "html-escaper": "^2.0.0", "istanbul-lib-report": "^3.0.0" }, "engines": { "node": ">=8" } }, "node_modules/jackspeak": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-1.4.1.tgz", "integrity": "sha512-npN8f+M4+IQ8xD3CcWi3U62VQwKlT3Tj4GxbdT/fYTmeogD9eBF9OFdpoFG/VPNoshRjPUijdkp/p2XrzUHaVg==", "dev": true, "dependencies": { "cliui": "^7.0.4" }, "engines": { "node": ">=8" } }, "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", "dev": true }, "node_modules/js-yaml": { "version": "3.14.1", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", "dev": true, "dependencies": { "argparse": "^1.0.7", "esprima": "^4.0.0" }, "bin": { "js-yaml": "bin/js-yaml.js" } }, "node_modules/jsesc": { "version": "2.5.2", "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", "dev": true, "bin": { "jsesc": "bin/jsesc" }, "engines": { "node": ">=4" } }, "node_modules/json5": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz", "integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==", "dev": true, "dependencies": { "minimist": "^1.2.5" }, "bin": { "json5": "lib/cli.js" }, "engines": { "node": ">=6" } }, "node_modules/libtap": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/libtap/-/libtap-1.3.0.tgz", "integrity": "sha512-yU5uSY987sVwpWiR5h84ZM96bxvmCQFZ/bOEJ1M7+Us8oez25fLmmLNGFRFGWi2PzuLqAzqzESH7HCaZ/b9IZA==", "dev": true, "dependencies": { "async-hook-domain": "^2.0.4", "bind-obj-methods": "^3.0.0", "diff": "^4.0.2", "function-loop": "^2.0.1", "minipass": "^3.1.5", "own-or": "^1.0.0", "own-or-env": "^1.0.2", "signal-exit": "^3.0.4", "stack-utils": "^2.0.4", "tap-parser": "^11.0.0", "tap-yaml": "^1.0.0", "tcompare": "^5.0.6", "trivial-deferred": "^1.0.1" }, "engines": { "node": ">=10" }, "funding": { "url": "https://github.com/sponsors/isaacs" } }, "node_modules/locate-path": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", "dev": true, "dependencies": { "p-locate": "^4.1.0" }, "engines": { "node": ">=8" } }, "node_modules/lodash.flattendeep": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/lodash.flattendeep/-/lodash.flattendeep-4.4.0.tgz", "integrity": "sha1-+wMJF/hqMTTlvJvsDWngAT3f7bI=", "dev": true }, "node_modules/make-dir": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", "dev": true, "dependencies": { "semver": "^6.0.0" }, "engines": { "node": ">=8" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/minimatch": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, "dependencies": { "brace-expansion": "^1.1.7" }, "engines": { "node": "*" } }, "node_modules/minimist": { "version": "1.2.5", "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", "dev": true }, "node_modules/minipass": { "version": "3.1.6", "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.6.tgz", "integrity": "sha512-rty5kpw9/z8SX9dmxblFA6edItUmwJgMeYDZRrwlIVN27i8gysGbznJwUggw2V/FVqFSDdWy040ZPS811DYAqQ==", "dependencies": { "yallist": "^4.0.0" }, "engines": { "node": ">=8" } }, "node_modules/mkdirp": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", "dev": true, "bin": { "mkdirp": "bin/cmd.js" }, "engines": { "node": ">=10" } }, "node_modules/ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", "dev": true }, "node_modules/node-preload": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/node-preload/-/node-preload-0.2.1.tgz", "integrity": "sha512-RM5oyBy45cLEoHqCeh+MNuFAxO0vTFBLskvQbOKnEE7YTTSN4tbN8QWDIPQ6L+WvKsB/qLEGpYe2ZZ9d4W9OIQ==", "dev": true, "dependencies": { "process-on-spawn": "^1.0.0" }, "engines": { "node": ">=8" } }, "node_modules/node-releases": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.2.tgz", "integrity": "sha512-XxYDdcQ6eKqp/YjI+tb2C5WM2LgjnZrfYg4vgQt49EK268b6gYCHsBLrK2qvJo4FmCtqmKezb0WZFK4fkrZNsg==", "dev": true }, "node_modules/normalize-path": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", "dev": true, "engines": { "node": ">=0.10.0" } }, "node_modules/nyc": { "version": "15.1.0", "resolved": "https://registry.npmjs.org/nyc/-/nyc-15.1.0.tgz", "integrity": "sha512-jMW04n9SxKdKi1ZMGhvUTHBN0EICCRkHemEoE5jm6mTYcqcdas0ATzgUgejlQUHMvpnOZqGB5Xxsv9KxJW1j8A==", "dev": true, "dependencies": { "@istanbuljs/load-nyc-config": "^1.0.0", "@istanbuljs/schema": "^0.1.2", "caching-transform": "^4.0.0", "convert-source-map": "^1.7.0", "decamelize": "^1.2.0", "find-cache-dir": "^3.2.0", "find-up": "^4.1.0", "foreground-child": "^2.0.0", "get-package-type": "^0.1.0", "glob": "^7.1.6", "istanbul-lib-coverage": "^3.0.0", "istanbul-lib-hook": "^3.0.0", "istanbul-lib-instrument": "^4.0.0", "istanbul-lib-processinfo": "^2.0.2", "istanbul-lib-report": "^3.0.0", "istanbul-lib-source-maps": "^4.0.0", "istanbul-reports": "^3.0.2", "make-dir": "^3.0.0", "node-preload": "^0.2.1", "p-map": "^3.0.0", "process-on-spawn": "^1.0.0", "resolve-from": "^5.0.0", "rimraf": "^3.0.0", "signal-exit": "^3.0.2", "spawn-wrap": "^2.0.0", "test-exclude": "^6.0.0", "yargs": "^15.0.2" }, "bin": { "nyc": "bin/nyc.js" }, "engines": { "node": ">=8.9" } }, "node_modules/once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", "dev": true, "dependencies": { "wrappy": "1" } }, "node_modules/opener": { "version": "1.5.2", "resolved": "https://registry.npmjs.org/opener/-/opener-1.5.2.tgz", "integrity": "sha512-ur5UIdyw5Y7yEj9wLzhqXiy6GZ3Mwx0yGI+5sMn2r0N0v3cKJvUmFH5yPP+WXh9e0xfyzyJX95D8l088DNFj7A==", "dev": true, "bin": { "opener": "bin/opener-bin.js" } }, "node_modules/own-or": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/own-or/-/own-or-1.0.0.tgz", "integrity": "sha1-Tod/vtqaLsgAD7wLyuOWRe6L+Nw=", "dev": true }, "node_modules/own-or-env": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/own-or-env/-/own-or-env-1.0.2.tgz", "integrity": "sha512-NQ7v0fliWtK7Lkb+WdFqe6ky9XAzYmlkXthQrBbzlYbmFKoAYbDDcwmOm6q8kOuwSRXW8bdL5ORksploUJmWgw==", "dev": true, "dependencies": { "own-or": "^1.0.0" } }, "node_modules/p-limit": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", "dev": true, "dependencies": { "p-try": "^2.0.0" }, "engines": { "node": ">=6" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/p-locate": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", "dev": true, "dependencies": { "p-limit": "^2.2.0" }, "engines": { "node": ">=8" } }, "node_modules/p-map": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/p-map/-/p-map-3.0.0.tgz", "integrity": "sha512-d3qXVTF/s+W+CdJ5A29wywV2n8CQQYahlgz2bFiA+4eVNJbHJodPZ+/gXwPGh0bOqA+j8S+6+ckmvLGPk1QpxQ==", "dev": true, "dependencies": { "aggregate-error": "^3.0.0" }, "engines": { "node": ">=8" } }, "node_modules/p-try": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", "dev": true, "engines": { "node": ">=6" } }, "node_modules/package-hash": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/package-hash/-/package-hash-4.0.0.tgz", "integrity": "sha512-whdkPIooSu/bASggZ96BWVvZTRMOFxnyUG5PnTSGKoJE2gd5mbVNmR2Nj20QFzxYYgAXpoqC+AiXzl+UMRh7zQ==", "dev": true, "dependencies": { "graceful-fs": "^4.1.15", "hasha": "^5.0.0", "lodash.flattendeep": "^4.4.0", "release-zalgo": "^1.0.0" }, "engines": { "node": ">=8" } }, "node_modules/path-exists": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", "dev": true, "engines": { "node": ">=8" } }, "node_modules/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, "engines": { "node": ">=0.10.0" } }, "node_modules/path-key": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", "dev": true, "engines": { "node": ">=8" } }, "node_modules/picocolors": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", "dev": true }, "node_modules/picomatch": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", "dev": true, "engines": { "node": ">=8.6" }, "funding": { "url": "https://github.com/sponsors/jonschlinkert" } }, "node_modules/pkg-dir": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", "dev": true, "dependencies": { "find-up": "^4.0.0" }, "engines": { "node": ">=8" } }, "node_modules/process-on-spawn": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/process-on-spawn/-/process-on-spawn-1.0.0.tgz", "integrity": "sha512-1WsPDsUSMmZH5LeMLegqkPDrsGgsWwk1Exipy2hvB0o/F0ASzbpIctSCcZIK1ykJvtTJULEH+20WOFjMvGnCTg==", "dev": true, "dependencies": { "fromentries": "^1.2.0" }, "engines": { "node": ">=8" } }, "node_modules/punycode": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", "dev": true, "engines": { "node": ">=6" } }, "node_modules/readdirp": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", "dev": true, "dependencies": { "picomatch": "^2.2.1" }, "engines": { "node": ">=8.10.0" } }, "node_modules/release-zalgo": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/release-zalgo/-/release-zalgo-1.0.0.tgz", "integrity": "sha1-CXALflB0Mpc5Mw5TXFqQ+2eFFzA=", "dev": true, "dependencies": { "es6-error": "^4.0.1" }, "engines": { "node": ">=4" } }, "node_modules/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, "engines": { "node": ">=0.10.0" } }, "node_modules/require-main-filename": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==", "dev": true }, "node_modules/resolve-from": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", "dev": true, "engines": { "node": ">=8" } }, "node_modules/rimraf": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", "dev": true, "dependencies": { "glob": "^7.1.3" }, "bin": { "rimraf": "bin.js" }, "funding": { "url": "https://github.com/sponsors/isaacs" } }, "node_modules/safe-buffer": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", "dev": true }, "node_modules/semver": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", "dev": true, "bin": { "semver": "bin/semver.js" } }, "node_modules/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 }, "node_modules/shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", "dev": true, "dependencies": { "shebang-regex": "^3.0.0" }, "engines": { "node": ">=8" } }, "node_modules/shebang-regex": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", "dev": true, "engines": { "node": ">=8" } }, "node_modules/signal-exit": { "version": "3.0.7", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", "dev": true }, "node_modules/source-map": { "version": "0.5.7", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", "dev": true, "engines": { "node": ">=0.10.0" } }, "node_modules/source-map-support": { "version": "0.5.21", "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", "dev": true, "dependencies": { "buffer-from": "^1.0.0", "source-map": "^0.6.0" } }, "node_modules/source-map-support/node_modules/source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "dev": true, "engines": { "node": ">=0.10.0" } }, "node_modules/spawn-wrap": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/spawn-wrap/-/spawn-wrap-2.0.0.tgz", "integrity": "sha512-EeajNjfN9zMnULLwhZZQU3GWBoFNkbngTUPfaawT4RkMiviTxcX0qfhVbGey39mfctfDHkWtuecgQ8NJcyQWHg==", "dev": true, "dependencies": { "foreground-child": "^2.0.0", "is-windows": "^1.0.2", "make-dir": "^3.0.0", "rimraf": "^3.0.0", "signal-exit": "^3.0.2", "which": "^2.0.1" }, "engines": { "node": ">=8" } }, "node_modules/sprintf-js": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", "dev": true }, "node_modules/stack-utils": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.5.tgz", "integrity": "sha512-xrQcmYhOsn/1kX+Vraq+7j4oE2j/6BFscZ0etmYg81xuM8Gq0022Pxb8+IqgOFUIaxHs0KaSb7T1+OegiNrNFA==", "dev": true, "dependencies": { "escape-string-regexp": "^2.0.0" }, "engines": { "node": ">=10" } }, "node_modules/stack-utils/node_modules/escape-string-regexp": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", "dev": true, "engines": { "node": ">=8" } }, "node_modules/string-width": { "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "dev": true, "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", "strip-ansi": "^6.0.1" }, "engines": { "node": ">=8" } }, "node_modules/strip-ansi": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "dev": true, "dependencies": { "ansi-regex": "^5.0.1" }, "engines": { "node": ">=8" } }, "node_modules/strip-bom": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", "dev": true, "engines": { "node": ">=8" } }, "node_modules/supports-color": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "dev": true, "dependencies": { "has-flag": "^3.0.0" }, "engines": { "node": ">=4" } }, "node_modules/tap": { "version": "16.0.0", "resolved": "https://registry.npmjs.org/tap/-/tap-16.0.0.tgz", "integrity": "sha512-EnrFFUIn+/089C051WYPXxNlAnXJ1TkKerh0Osz9lK0Ynb+X5FWBEZxWcZLVKiucdTnV5g97NL8Xaw1CuAkj4Q==", "bundleDependencies": [ "ink", "treport", "@types/react", "@isaacs/import-jsx", "react" ], "dev": true, "dependencies": { "@isaacs/import-jsx": "*", "@types/react": "*", "chokidar": "^3.3.0", "findit": "^2.0.0", "foreground-child": "^2.0.0", "fs-exists-cached": "^1.0.0", "glob": "^7.1.6", "ink": "*", "isexe": "^2.0.0", "istanbul-lib-processinfo": "^2.0.2", "jackspeak": "^1.4.1", "libtap": "^1.3.0", "minipass": "^3.1.1", "mkdirp": "^1.0.4", "nyc": "^15.1.0", "opener": "^1.5.1", "react": "*", "rimraf": "^3.0.0", "signal-exit": "^3.0.6", "source-map-support": "^0.5.16", "tap-mocha-reporter": "^5.0.3", "tap-parser": "^11.0.1", "tap-yaml": "^1.0.0", "tcompare": "^5.0.7", "treport": "*", "which": "^2.0.2" }, "bin": { "tap": "bin/run.js" }, "engines": { "node": ">=12" }, "funding": { "url": "https://github.com/sponsors/isaacs" }, "peerDependencies": { "coveralls": "^3.1.1", "flow-remove-types": ">=2.112.0", "ts-node": ">=8.5.2", "typescript": ">=3.7.2" }, "peerDependenciesMeta": { "coveralls": { "optional": true }, "flow-remove-types": { "optional": true }, "ts-node": { "optional": true }, "typescript": { "optional": true } } }, "node_modules/tap-mocha-reporter": { "version": "5.0.3", "resolved": "https://registry.npmjs.org/tap-mocha-reporter/-/tap-mocha-reporter-5.0.3.tgz", "integrity": "sha512-6zlGkaV4J+XMRFkN0X+yuw6xHbE9jyCZ3WUKfw4KxMyRGOpYSRuuQTRJyWX88WWuLdVTuFbxzwXhXuS2XE6o0g==", "dev": true, "dependencies": { "color-support": "^1.1.0", "debug": "^4.1.1", "diff": "^4.0.1", "escape-string-regexp": "^2.0.0", "glob": "^7.0.5", "tap-parser": "^11.0.0", "tap-yaml": "^1.0.0", "unicode-length": "^2.0.2" }, "bin": { "tap-mocha-reporter": "index.js" }, "engines": { "node": ">= 8" } }, "node_modules/tap-mocha-reporter/node_modules/escape-string-regexp": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", "dev": true, "engines": { "node": ">=8" } }, "node_modules/tap-parser": { "version": "11.0.1", "resolved": "https://registry.npmjs.org/tap-parser/-/tap-parser-11.0.1.tgz", "integrity": "sha512-5ow0oyFOnXVSALYdidMX94u0GEjIlgc/BPFYLx0yRh9hb8+cFGNJqJzDJlUqbLOwx8+NBrIbxCWkIQi7555c0w==", "dev": true, "dependencies": { "events-to-array": "^1.0.1", "minipass": "^3.1.6", "tap-yaml": "^1.0.0" }, "bin": { "tap-parser": "bin/cmd.js" }, "engines": { "node": ">= 8" } }, "node_modules/tap-yaml": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/tap-yaml/-/tap-yaml-1.0.0.tgz", "integrity": "sha512-Rxbx4EnrWkYk0/ztcm5u3/VznbyFJpyXO12dDBHKWiDVxy7O2Qw6MRrwO5H6Ww0U5YhRY/4C/VzWmFPhBQc4qQ==", "dependencies": { "yaml": "^1.5.0" } }, "node_modules/tap/node_modules/@babel/code-frame": { "version": "7.16.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "@babel/highlight": "^7.16.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/tap/node_modules/@babel/compat-data": { "version": "7.16.0", "dev": true, "inBundle": true, "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/tap/node_modules/@babel/core": { "version": "7.16.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "@babel/code-frame": "^7.16.0", "@babel/generator": "^7.16.0", "@babel/helper-compilation-targets": "^7.16.0", "@babel/helper-module-transforms": "^7.16.0", "@babel/helpers": "^7.16.0", "@babel/parser": "^7.16.0", "@babel/template": "^7.16.0", "@babel/traverse": "^7.16.0", "@babel/types": "^7.16.0", "convert-source-map": "^1.7.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", "json5": "^2.1.2", "semver": "^6.3.0", "source-map": "^0.5.0" }, "engines": { "node": ">=6.9.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/babel" } }, "node_modules/tap/node_modules/@babel/generator": { "version": "7.16.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "@babel/types": "^7.16.0", "jsesc": "^2.5.1", "source-map": "^0.5.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/tap/node_modules/@babel/helper-annotate-as-pure": { "version": "7.16.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "@babel/types": "^7.16.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/tap/node_modules/@babel/helper-compilation-targets": { "version": "7.16.3", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "@babel/compat-data": "^7.16.0", "@babel/helper-validator-option": "^7.14.5", "browserslist": "^4.17.5", "semver": "^6.3.0" }, "engines": { "node": ">=6.9.0" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "node_modules/tap/node_modules/@babel/helper-function-name": { "version": "7.16.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "@babel/helper-get-function-arity": "^7.16.0", "@babel/template": "^7.16.0", "@babel/types": "^7.16.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/tap/node_modules/@babel/helper-get-function-arity": { "version": "7.16.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "@babel/types": "^7.16.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/tap/node_modules/@babel/helper-hoist-variables": { "version": "7.16.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "@babel/types": "^7.16.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/tap/node_modules/@babel/helper-member-expression-to-functions": { "version": "7.16.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "@babel/types": "^7.16.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/tap/node_modules/@babel/helper-module-imports": { "version": "7.16.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "@babel/types": "^7.16.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/tap/node_modules/@babel/helper-module-transforms": { "version": "7.16.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "@babel/helper-module-imports": "^7.16.0", "@babel/helper-replace-supers": "^7.16.0", "@babel/helper-simple-access": "^7.16.0", "@babel/helper-split-export-declaration": "^7.16.0", "@babel/helper-validator-identifier": "^7.15.7", "@babel/template": "^7.16.0", "@babel/traverse": "^7.16.0", "@babel/types": "^7.16.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/tap/node_modules/@babel/helper-optimise-call-expression": { "version": "7.16.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "@babel/types": "^7.16.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/tap/node_modules/@babel/helper-plugin-utils": { "version": "7.14.5", "dev": true, "inBundle": true, "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/tap/node_modules/@babel/helper-replace-supers": { "version": "7.16.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "@babel/helper-member-expression-to-functions": "^7.16.0", "@babel/helper-optimise-call-expression": "^7.16.0", "@babel/traverse": "^7.16.0", "@babel/types": "^7.16.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/tap/node_modules/@babel/helper-simple-access": { "version": "7.16.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "@babel/types": "^7.16.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/tap/node_modules/@babel/helper-split-export-declaration": { "version": "7.16.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "@babel/types": "^7.16.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/tap/node_modules/@babel/helper-validator-identifier": { "version": "7.15.7", "dev": true, "inBundle": true, "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/tap/node_modules/@babel/helper-validator-option": { "version": "7.14.5", "dev": true, "inBundle": true, "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/tap/node_modules/@babel/helpers": { "version": "7.16.3", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "@babel/template": "^7.16.0", "@babel/traverse": "^7.16.3", "@babel/types": "^7.16.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/tap/node_modules/@babel/highlight": { "version": "7.16.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.15.7", "chalk": "^2.0.0", "js-tokens": "^4.0.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/tap/node_modules/@babel/parser": { "version": "7.16.3", "dev": true, "inBundle": true, "license": "MIT", "bin": { "parser": "bin/babel-parser.js" }, "engines": { "node": ">=6.0.0" } }, "node_modules/tap/node_modules/@babel/plugin-proposal-object-rest-spread": { "version": "7.16.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "@babel/compat-data": "^7.16.0", "@babel/helper-compilation-targets": "^7.16.0", "@babel/helper-plugin-utils": "^7.14.5", "@babel/plugin-syntax-object-rest-spread": "^7.8.3", "@babel/plugin-transform-parameters": "^7.16.0" }, "engines": { "node": ">=6.9.0" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "node_modules/tap/node_modules/@babel/plugin-syntax-jsx": { "version": "7.16.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.14.5" }, "engines": { "node": ">=6.9.0" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "node_modules/tap/node_modules/@babel/plugin-syntax-object-rest-spread": { "version": "7.8.3", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "node_modules/tap/node_modules/@babel/plugin-transform-destructuring": { "version": "7.16.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.14.5" }, "engines": { "node": ">=6.9.0" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "node_modules/tap/node_modules/@babel/plugin-transform-parameters": { "version": "7.16.3", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.14.5" }, "engines": { "node": ">=6.9.0" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "node_modules/tap/node_modules/@babel/plugin-transform-react-jsx": { "version": "7.16.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "@babel/helper-annotate-as-pure": "^7.16.0", "@babel/helper-module-imports": "^7.16.0", "@babel/helper-plugin-utils": "^7.14.5", "@babel/plugin-syntax-jsx": "^7.16.0", "@babel/types": "^7.16.0" }, "engines": { "node": ">=6.9.0" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "node_modules/tap/node_modules/@babel/template": { "version": "7.16.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "@babel/code-frame": "^7.16.0", "@babel/parser": "^7.16.0", "@babel/types": "^7.16.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/tap/node_modules/@babel/traverse": { "version": "7.16.3", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "@babel/code-frame": "^7.16.0", "@babel/generator": "^7.16.0", "@babel/helper-function-name": "^7.16.0", "@babel/helper-hoist-variables": "^7.16.0", "@babel/helper-split-export-declaration": "^7.16.0", "@babel/parser": "^7.16.3", "@babel/types": "^7.16.0", "debug": "^4.1.0", "globals": "^11.1.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/tap/node_modules/@babel/types": { "version": "7.16.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.15.7", "to-fast-properties": "^2.0.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/tap/node_modules/@isaacs/import-jsx": { "version": "4.0.1", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "@babel/core": "^7.5.5", "@babel/plugin-proposal-object-rest-spread": "^7.5.5", "@babel/plugin-transform-destructuring": "^7.5.0", "@babel/plugin-transform-react-jsx": "^7.3.0", "caller-path": "^3.0.1", "find-cache-dir": "^3.2.0", "make-dir": "^3.0.2", "resolve-from": "^3.0.0", "rimraf": "^3.0.0" }, "engines": { "node": ">=10" } }, "node_modules/tap/node_modules/@isaacs/import-jsx/node_modules/caller-callsite": { "version": "4.1.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "callsites": "^3.1.0" }, "engines": { "node": ">=8" } }, "node_modules/tap/node_modules/@isaacs/import-jsx/node_modules/caller-path": { "version": "3.0.1", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "caller-callsite": "^4.1.0" }, "engines": { "node": ">=8" } }, "node_modules/tap/node_modules/@types/prop-types": { "version": "15.7.4", "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/tap/node_modules/@types/react": { "version": "17.0.34", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "@types/prop-types": "*", "@types/scheduler": "*", "csstype": "^3.0.2" } }, "node_modules/tap/node_modules/@types/scheduler": { "version": "0.16.2", "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/tap/node_modules/@types/yoga-layout": { "version": "1.9.2", "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/tap/node_modules/ansi-escapes": { "version": "4.3.2", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "type-fest": "^0.21.3" }, "engines": { "node": ">=8" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/tap/node_modules/ansi-escapes/node_modules/type-fest": { "version": "0.21.3", "dev": true, "inBundle": true, "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=10" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/tap/node_modules/ansi-regex": { "version": "5.0.1", "dev": true, "inBundle": true, "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/tap/node_modules/ansi-styles": { "version": "3.2.1", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "color-convert": "^1.9.0" }, "engines": { "node": ">=4" } }, "node_modules/tap/node_modules/ansicolors": { "version": "0.3.2", "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/tap/node_modules/astral-regex": { "version": "2.0.0", "dev": true, "inBundle": true, "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/tap/node_modules/auto-bind": { "version": "4.0.0", "dev": true, "inBundle": true, "license": "MIT", "engines": { "node": ">=8" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/tap/node_modules/balanced-match": { "version": "1.0.2", "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/tap/node_modules/brace-expansion": { "version": "1.1.11", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" } }, "node_modules/tap/node_modules/browserslist": { "version": "4.17.6", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "caniuse-lite": "^1.0.30001274", "electron-to-chromium": "^1.3.886", "escalade": "^3.1.1", "node-releases": "^2.0.1", "picocolors": "^1.0.0" }, "bin": { "browserslist": "cli.js" }, "engines": { "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/browserslist" } }, "node_modules/tap/node_modules/callsites": { "version": "3.1.0", "dev": true, "inBundle": true, "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/tap/node_modules/caniuse-lite": { "version": "1.0.30001279", "dev": true, "inBundle": true, "license": "CC-BY-4.0", "funding": { "type": "opencollective", "url": "https://opencollective.com/browserslist" } }, "node_modules/tap/node_modules/cardinal": { "version": "2.1.1", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "ansicolors": "~0.3.2", "redeyed": "~2.1.0" }, "bin": { "cdl": "bin/cdl.js" } }, "node_modules/tap/node_modules/chalk": { "version": "2.4.2", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", "supports-color": "^5.3.0" }, "engines": { "node": ">=4" } }, "node_modules/tap/node_modules/ci-info": { "version": "2.0.0", "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/tap/node_modules/cli-boxes": { "version": "2.2.1", "dev": true, "inBundle": true, "license": "MIT", "engines": { "node": ">=6" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/tap/node_modules/cli-cursor": { "version": "3.1.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "restore-cursor": "^3.1.0" }, "engines": { "node": ">=8" } }, "node_modules/tap/node_modules/cli-truncate": { "version": "2.1.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "slice-ansi": "^3.0.0", "string-width": "^4.2.0" }, "engines": { "node": ">=8" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/tap/node_modules/code-excerpt": { "version": "3.0.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "convert-to-spaces": "^1.0.1" }, "engines": { "node": ">=10" } }, "node_modules/tap/node_modules/color-convert": { "version": "1.9.3", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "color-name": "1.1.3" } }, "node_modules/tap/node_modules/color-name": { "version": "1.1.3", "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/tap/node_modules/commondir": { "version": "1.0.1", "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/tap/node_modules/concat-map": { "version": "0.0.1", "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/tap/node_modules/convert-source-map": { "version": "1.8.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "safe-buffer": "~5.1.1" } }, "node_modules/tap/node_modules/convert-to-spaces": { "version": "1.0.2", "dev": true, "inBundle": true, "license": "MIT", "engines": { "node": ">= 4" } }, "node_modules/tap/node_modules/csstype": { "version": "3.0.9", "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/tap/node_modules/debug": { "version": "4.3.2", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "ms": "2.1.2" }, "engines": { "node": ">=6.0" }, "peerDependenciesMeta": { "supports-color": { "optional": true } } }, "node_modules/tap/node_modules/electron-to-chromium": { "version": "1.3.893", "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/tap/node_modules/emoji-regex": { "version": "8.0.0", "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/tap/node_modules/escalade": { "version": "3.1.1", "dev": true, "inBundle": true, "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/tap/node_modules/escape-string-regexp": { "version": "1.0.5", "dev": true, "inBundle": true, "license": "MIT", "engines": { "node": ">=0.8.0" } }, "node_modules/tap/node_modules/esprima": { "version": "4.0.1", "dev": true, "inBundle": true, "license": "BSD-2-Clause", "bin": { "esparse": "bin/esparse.js", "esvalidate": "bin/esvalidate.js" }, "engines": { "node": ">=4" } }, "node_modules/tap/node_modules/events-to-array": { "version": "1.1.2", "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/tap/node_modules/find-cache-dir": { "version": "3.3.2", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "commondir": "^1.0.1", "make-dir": "^3.0.2", "pkg-dir": "^4.1.0" }, "engines": { "node": ">=8" }, "funding": { "url": "https://github.com/avajs/find-cache-dir?sponsor=1" } }, "node_modules/tap/node_modules/find-up": { "version": "4.1.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "locate-path": "^5.0.0", "path-exists": "^4.0.0" }, "engines": { "node": ">=8" } }, "node_modules/tap/node_modules/fs.realpath": { "version": "1.0.0", "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/tap/node_modules/gensync": { "version": "1.0.0-beta.2", "dev": true, "inBundle": true, "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/tap/node_modules/glob": { "version": "7.2.0", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", "inherits": "2", "minimatch": "^3.0.4", "once": "^1.3.0", "path-is-absolute": "^1.0.0" }, "engines": { "node": "*" }, "funding": { "url": "https://github.com/sponsors/isaacs" } }, "node_modules/tap/node_modules/globals": { "version": "11.12.0", "dev": true, "inBundle": true, "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/tap/node_modules/has-flag": { "version": "3.0.0", "dev": true, "inBundle": true, "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/tap/node_modules/indent-string": { "version": "4.0.0", "dev": true, "inBundle": true, "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/tap/node_modules/inflight": { "version": "1.0.6", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { "once": "^1.3.0", "wrappy": "1" } }, "node_modules/tap/node_modules/inherits": { "version": "2.0.4", "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/tap/node_modules/ink": { "version": "3.2.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "ansi-escapes": "^4.2.1", "auto-bind": "4.0.0", "chalk": "^4.1.0", "cli-boxes": "^2.2.0", "cli-cursor": "^3.1.0", "cli-truncate": "^2.1.0", "code-excerpt": "^3.0.0", "indent-string": "^4.0.0", "is-ci": "^2.0.0", "lodash": "^4.17.20", "patch-console": "^1.0.0", "react-devtools-core": "^4.19.1", "react-reconciler": "^0.26.2", "scheduler": "^0.20.2", "signal-exit": "^3.0.2", "slice-ansi": "^3.0.0", "stack-utils": "^2.0.2", "string-width": "^4.2.2", "type-fest": "^0.12.0", "widest-line": "^3.1.0", "wrap-ansi": "^6.2.0", "ws": "^7.5.5", "yoga-layout-prebuilt": "^1.9.6" }, "engines": { "node": ">=10" }, "peerDependencies": { "@types/react": ">=16.8.0", "react": ">=16.8.0" }, "peerDependenciesMeta": { "@types/react": { "optional": true } } }, "node_modules/tap/node_modules/ink/node_modules/ansi-styles": { "version": "4.3.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, "engines": { "node": ">=8" }, "funding": { "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, "node_modules/tap/node_modules/ink/node_modules/chalk": { "version": "4.1.2", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" }, "engines": { "node": ">=10" }, "funding": { "url": "https://github.com/chalk/chalk?sponsor=1" } }, "node_modules/tap/node_modules/ink/node_modules/color-convert": { "version": "2.0.1", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, "engines": { "node": ">=7.0.0" } }, "node_modules/tap/node_modules/ink/node_modules/color-name": { "version": "1.1.4", "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/tap/node_modules/ink/node_modules/has-flag": { "version": "4.0.0", "dev": true, "inBundle": true, "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/tap/node_modules/ink/node_modules/supports-color": { "version": "7.2.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, "engines": { "node": ">=8" } }, "node_modules/tap/node_modules/is-ci": { "version": "2.0.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "ci-info": "^2.0.0" }, "bin": { "is-ci": "bin.js" } }, "node_modules/tap/node_modules/is-fullwidth-code-point": { "version": "3.0.0", "dev": true, "inBundle": true, "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/tap/node_modules/js-tokens": { "version": "4.0.0", "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/tap/node_modules/jsesc": { "version": "2.5.2", "dev": true, "inBundle": true, "license": "MIT", "bin": { "jsesc": "bin/jsesc" }, "engines": { "node": ">=4" } }, "node_modules/tap/node_modules/json5": { "version": "2.2.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "minimist": "^1.2.5" }, "bin": { "json5": "lib/cli.js" }, "engines": { "node": ">=6" } }, "node_modules/tap/node_modules/locate-path": { "version": "5.0.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "p-locate": "^4.1.0" }, "engines": { "node": ">=8" } }, "node_modules/tap/node_modules/lodash": { "version": "4.17.21", "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/tap/node_modules/loose-envify": { "version": "1.4.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "js-tokens": "^3.0.0 || ^4.0.0" }, "bin": { "loose-envify": "cli.js" } }, "node_modules/tap/node_modules/make-dir": { "version": "3.1.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "semver": "^6.0.0" }, "engines": { "node": ">=8" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/tap/node_modules/mimic-fn": { "version": "2.1.0", "dev": true, "inBundle": true, "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/tap/node_modules/minimatch": { "version": "3.0.4", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" }, "engines": { "node": "*" } }, "node_modules/tap/node_modules/minimist": { "version": "1.2.5", "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/tap/node_modules/minipass": { "version": "3.1.6", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { "yallist": "^4.0.0" }, "engines": { "node": ">=8" } }, "node_modules/tap/node_modules/ms": { "version": "2.1.2", "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/tap/node_modules/node-releases": { "version": "2.0.1", "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/tap/node_modules/object-assign": { "version": "4.1.1", "dev": true, "inBundle": true, "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/tap/node_modules/once": { "version": "1.4.0", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { "wrappy": "1" } }, "node_modules/tap/node_modules/onetime": { "version": "5.1.2", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "mimic-fn": "^2.1.0" }, "engines": { "node": ">=6" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/tap/node_modules/p-limit": { "version": "2.3.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "p-try": "^2.0.0" }, "engines": { "node": ">=6" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/tap/node_modules/p-locate": { "version": "4.1.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "p-limit": "^2.2.0" }, "engines": { "node": ">=8" } }, "node_modules/tap/node_modules/p-try": { "version": "2.2.0", "dev": true, "inBundle": true, "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/tap/node_modules/patch-console": { "version": "1.0.0", "dev": true, "inBundle": true, "license": "MIT", "engines": { "node": ">=10" } }, "node_modules/tap/node_modules/path-exists": { "version": "4.0.0", "dev": true, "inBundle": true, "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/tap/node_modules/path-is-absolute": { "version": "1.0.1", "dev": true, "inBundle": true, "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/tap/node_modules/picocolors": { "version": "1.0.0", "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/tap/node_modules/pkg-dir": { "version": "4.2.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "find-up": "^4.0.0" }, "engines": { "node": ">=8" } }, "node_modules/tap/node_modules/punycode": { "version": "2.1.1", "dev": true, "inBundle": true, "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/tap/node_modules/react": { "version": "17.0.2", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "loose-envify": "^1.1.0", "object-assign": "^4.1.1" }, "engines": { "node": ">=0.10.0" } }, "node_modules/tap/node_modules/react-devtools-core": { "version": "4.21.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "shell-quote": "^1.6.1", "ws": "^7" } }, "node_modules/tap/node_modules/react-reconciler": { "version": "0.26.2", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "loose-envify": "^1.1.0", "object-assign": "^4.1.1", "scheduler": "^0.20.2" }, "engines": { "node": ">=0.10.0" }, "peerDependencies": { "react": "^17.0.2" } }, "node_modules/tap/node_modules/redeyed": { "version": "2.1.1", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "esprima": "~4.0.0" } }, "node_modules/tap/node_modules/resolve-from": { "version": "3.0.0", "dev": true, "inBundle": true, "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/tap/node_modules/restore-cursor": { "version": "3.1.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "onetime": "^5.1.0", "signal-exit": "^3.0.2" }, "engines": { "node": ">=8" } }, "node_modules/tap/node_modules/rimraf": { "version": "3.0.2", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { "glob": "^7.1.3" }, "bin": { "rimraf": "bin.js" }, "funding": { "url": "https://github.com/sponsors/isaacs" } }, "node_modules/tap/node_modules/safe-buffer": { "version": "5.1.2", "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/tap/node_modules/scheduler": { "version": "0.20.2", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "loose-envify": "^1.1.0", "object-assign": "^4.1.1" } }, "node_modules/tap/node_modules/semver": { "version": "6.3.0", "dev": true, "inBundle": true, "license": "ISC", "bin": { "semver": "bin/semver.js" } }, "node_modules/tap/node_modules/shell-quote": { "version": "1.7.3", "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/tap/node_modules/signal-exit": { "version": "3.0.6", "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/tap/node_modules/slice-ansi": { "version": "3.0.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "ansi-styles": "^4.0.0", "astral-regex": "^2.0.0", "is-fullwidth-code-point": "^3.0.0" }, "engines": { "node": ">=8" } }, "node_modules/tap/node_modules/slice-ansi/node_modules/ansi-styles": { "version": "4.3.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, "engines": { "node": ">=8" }, "funding": { "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, "node_modules/tap/node_modules/slice-ansi/node_modules/color-convert": { "version": "2.0.1", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, "engines": { "node": ">=7.0.0" } }, "node_modules/tap/node_modules/slice-ansi/node_modules/color-name": { "version": "1.1.4", "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/tap/node_modules/source-map": { "version": "0.5.7", "dev": true, "inBundle": true, "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" } }, "node_modules/tap/node_modules/stack-utils": { "version": "2.0.5", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "escape-string-regexp": "^2.0.0" }, "engines": { "node": ">=10" } }, "node_modules/tap/node_modules/stack-utils/node_modules/escape-string-regexp": { "version": "2.0.0", "dev": true, "inBundle": true, "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/tap/node_modules/string-width": { "version": "4.2.3", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", "strip-ansi": "^6.0.1" }, "engines": { "node": ">=8" } }, "node_modules/tap/node_modules/strip-ansi": { "version": "6.0.1", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "ansi-regex": "^5.0.1" }, "engines": { "node": ">=8" } }, "node_modules/tap/node_modules/supports-color": { "version": "5.5.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "has-flag": "^3.0.0" }, "engines": { "node": ">=4" } }, "node_modules/tap/node_modules/tap-parser": { "version": "11.0.1", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "events-to-array": "^1.0.1", "minipass": "^3.1.6", "tap-yaml": "^1.0.0" }, "bin": { "tap-parser": "bin/cmd.js" }, "engines": { "node": ">= 8" } }, "node_modules/tap/node_modules/tap-yaml": { "version": "1.0.0", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { "yaml": "^1.5.0" } }, "node_modules/tap/node_modules/to-fast-properties": { "version": "2.0.0", "dev": true, "inBundle": true, "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/tap/node_modules/treport": { "version": "3.0.3", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { "@isaacs/import-jsx": "^4.0.1", "cardinal": "^2.1.1", "chalk": "^3.0.0", "ink": "^3.2.0", "ms": "^2.1.2", "tap-parser": "^11.0.0", "unicode-length": "^2.0.2" }, "peerDependencies": { "react": "^17.0.2" } }, "node_modules/tap/node_modules/treport/node_modules/ansi-styles": { "version": "4.3.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, "engines": { "node": ">=8" }, "funding": { "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, "node_modules/tap/node_modules/treport/node_modules/chalk": { "version": "3.0.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" }, "engines": { "node": ">=8" } }, "node_modules/tap/node_modules/treport/node_modules/color-convert": { "version": "2.0.1", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, "engines": { "node": ">=7.0.0" } }, "node_modules/tap/node_modules/treport/node_modules/color-name": { "version": "1.1.4", "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/tap/node_modules/treport/node_modules/has-flag": { "version": "4.0.0", "dev": true, "inBundle": true, "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/tap/node_modules/treport/node_modules/supports-color": { "version": "7.2.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, "engines": { "node": ">=8" } }, "node_modules/tap/node_modules/type-fest": { "version": "0.12.0", "dev": true, "inBundle": true, "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=10" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/tap/node_modules/unicode-length": { "version": "2.0.2", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "punycode": "^2.0.0", "strip-ansi": "^3.0.1" } }, "node_modules/tap/node_modules/unicode-length/node_modules/ansi-regex": { "version": "2.1.1", "dev": true, "inBundle": true, "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/tap/node_modules/unicode-length/node_modules/strip-ansi": { "version": "3.0.1", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "ansi-regex": "^2.0.0" }, "engines": { "node": ">=0.10.0" } }, "node_modules/tap/node_modules/widest-line": { "version": "3.1.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "string-width": "^4.0.0" }, "engines": { "node": ">=8" } }, "node_modules/tap/node_modules/wrap-ansi": { "version": "6.2.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", "strip-ansi": "^6.0.0" }, "engines": { "node": ">=8" } }, "node_modules/tap/node_modules/wrap-ansi/node_modules/ansi-styles": { "version": "4.3.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, "engines": { "node": ">=8" }, "funding": { "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, "node_modules/tap/node_modules/wrap-ansi/node_modules/color-convert": { "version": "2.0.1", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, "engines": { "node": ">=7.0.0" } }, "node_modules/tap/node_modules/wrap-ansi/node_modules/color-name": { "version": "1.1.4", "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/tap/node_modules/wrappy": { "version": "1.0.2", "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/tap/node_modules/ws": { "version": "7.5.5", "dev": true, "inBundle": true, "license": "MIT", "engines": { "node": ">=8.3.0" }, "peerDependencies": { "bufferutil": "^4.0.1", "utf-8-validate": "^5.0.2" }, "peerDependenciesMeta": { "bufferutil": { "optional": true }, "utf-8-validate": { "optional": true } } }, "node_modules/tap/node_modules/yallist": { "version": "4.0.0", "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/tap/node_modules/yaml": { "version": "1.10.2", "dev": true, "inBundle": true, "license": "ISC", "engines": { "node": ">= 6" } }, "node_modules/tap/node_modules/yoga-layout-prebuilt": { "version": "1.10.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "@types/yoga-layout": "1.9.2" }, "engines": { "node": ">=8" } }, "node_modules/tcompare": { "version": "5.0.7", "resolved": "https://registry.npmjs.org/tcompare/-/tcompare-5.0.7.tgz", "integrity": "sha512-d9iddt6YYGgyxJw5bjsN7UJUO1kGOtjSlNy/4PoGYAjQS5pAT/hzIoLf1bZCw+uUxRmZJh7Yy1aA7xKVRT9B4w==", "dev": true, "dependencies": { "diff": "^4.0.2" }, "engines": { "node": ">=10" } }, "node_modules/test-exclude": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==", "dev": true, "dependencies": { "@istanbuljs/schema": "^0.1.2", "glob": "^7.1.4", "minimatch": "^3.0.4" }, "engines": { "node": ">=8" } }, "node_modules/to-fast-properties": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", "dev": true, "engines": { "node": ">=4" } }, "node_modules/to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", "dev": true, "dependencies": { "is-number": "^7.0.0" }, "engines": { "node": ">=8.0" } }, "node_modules/trivial-deferred": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/trivial-deferred/-/trivial-deferred-1.0.1.tgz", "integrity": "sha1-N21NKdlR1jaKb3oK6FwvTV4GWPM=", "dev": true }, "node_modules/type-fest": { "version": "0.8.1", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", "dev": true, "engines": { "node": ">=8" } }, "node_modules/typedarray-to-buffer": { "version": "3.1.5", "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", "dev": true, "dependencies": { "is-typedarray": "^1.0.0" } }, "node_modules/unicode-length": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/unicode-length/-/unicode-length-2.0.2.tgz", "integrity": "sha512-Ph/j1VbS3/r77nhoY2WU0GWGjVYOHL3xpKp0y/Eq2e5r0mT/6b649vm7KFO6RdAdrZkYLdxphYVgvODxPB+Ebg==", "dev": true, "dependencies": { "punycode": "^2.0.0", "strip-ansi": "^3.0.1" } }, "node_modules/unicode-length/node_modules/ansi-regex": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", "dev": true, "engines": { "node": ">=0.10.0" } }, "node_modules/unicode-length/node_modules/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, "dependencies": { "ansi-regex": "^2.0.0" }, "engines": { "node": ">=0.10.0" } }, "node_modules/uuid": { "version": "3.4.0", "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", "deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.", "dev": true, "bin": { "uuid": "bin/uuid" } }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", "dev": true, "dependencies": { "isexe": "^2.0.0" }, "bin": { "node-which": "bin/node-which" }, "engines": { "node": ">= 8" } }, "node_modules/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 }, "node_modules/wrap-ansi": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", "dev": true, "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", "strip-ansi": "^6.0.0" }, "engines": { "node": ">=10" }, "funding": { "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, "node_modules/wrap-ansi/node_modules/ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, "dependencies": { "color-convert": "^2.0.1" }, "engines": { "node": ">=8" }, "funding": { "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, "node_modules/wrap-ansi/node_modules/color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, "dependencies": { "color-name": "~1.1.4" }, "engines": { "node": ">=7.0.0" } }, "node_modules/wrap-ansi/node_modules/color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", "dev": true }, "node_modules/write-file-atomic": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz", "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==", "dev": true, "dependencies": { "imurmurhash": "^0.1.4", "is-typedarray": "^1.0.0", "signal-exit": "^3.0.2", "typedarray-to-buffer": "^3.1.5" } }, "node_modules/y18n": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz", "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==", "dev": true }, "node_modules/yallist": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" }, "node_modules/yaml": { "version": "1.10.2", "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", "engines": { "node": ">= 6" } }, "node_modules/yargs": { "version": "15.4.1", "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz", "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==", "dev": true, "dependencies": { "cliui": "^6.0.0", "decamelize": "^1.2.0", "find-up": "^4.1.0", "get-caller-file": "^2.0.1", "require-directory": "^2.1.1", "require-main-filename": "^2.0.0", "set-blocking": "^2.0.0", "string-width": "^4.2.0", "which-module": "^2.0.0", "y18n": "^4.0.0", "yargs-parser": "^18.1.2" }, "engines": { "node": ">=8" } }, "node_modules/yargs-parser": { "version": "18.1.3", "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", "dev": true, "dependencies": { "camelcase": "^5.0.0", "decamelize": "^1.2.0" }, "engines": { "node": ">=6" } }, "node_modules/yargs/node_modules/ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, "dependencies": { "color-convert": "^2.0.1" }, "engines": { "node": ">=8" }, "funding": { "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, "node_modules/yargs/node_modules/cliui": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==", "dev": true, "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.0", "wrap-ansi": "^6.2.0" } }, "node_modules/yargs/node_modules/color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, "dependencies": { "color-name": "~1.1.4" }, "engines": { "node": ">=7.0.0" } }, "node_modules/yargs/node_modules/color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, "node_modules/yargs/node_modules/wrap-ansi": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", "dev": true, "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", "strip-ansi": "^6.0.0" }, "engines": { "node": ">=8" } } }, "dependencies": { "@ampproject/remapping": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.1.2.tgz", "integrity": "sha512-hoyByceqwKirw7w3Z7gnIIZC3Wx3J484Y3L/cMpXFbr7d9ZQj2mODrirNzcJa+SM3UlpWXYvKV4RlRpFXlWgXg==", "dev": true, "requires": { "@jridgewell/trace-mapping": "^0.3.0" } }, "@babel/code-frame": { "version": "7.16.7", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", "dev": true, "requires": { "@babel/highlight": "^7.16.7" } }, "@babel/compat-data": { "version": "7.17.0", "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.17.0.tgz", "integrity": "sha512-392byTlpGWXMv4FbyWw3sAZ/FrW/DrwqLGXpy0mbyNe9Taqv1mg9yON5/o0cnr8XYCkFTZbC1eV+c+LAROgrng==", "dev": true }, "@babel/core": { "version": "7.17.5", "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.17.5.tgz", "integrity": "sha512-/BBMw4EvjmyquN5O+t5eh0+YqB3XXJkYD2cjKpYtWOfFy4lQ4UozNSmxAcWT8r2XtZs0ewG+zrfsqeR15i1ajA==", "dev": true, "requires": { "@ampproject/remapping": "^2.1.0", "@babel/code-frame": "^7.16.7", "@babel/generator": "^7.17.3", "@babel/helper-compilation-targets": "^7.16.7", "@babel/helper-module-transforms": "^7.16.7", "@babel/helpers": "^7.17.2", "@babel/parser": "^7.17.3", "@babel/template": "^7.16.7", "@babel/traverse": "^7.17.3", "@babel/types": "^7.17.0", "convert-source-map": "^1.7.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", "json5": "^2.1.2", "semver": "^6.3.0" } }, "@babel/generator": { "version": "7.17.3", "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.17.3.tgz", "integrity": "sha512-+R6Dctil/MgUsZsZAkYgK+ADNSZzJRRy0TvY65T71z/CR854xHQ1EweBYXdfT+HNeN7w0cSJJEzgxZMv40pxsg==", "dev": true, "requires": { "@babel/types": "^7.17.0", "jsesc": "^2.5.1", "source-map": "^0.5.0" } }, "@babel/helper-compilation-targets": { "version": "7.16.7", "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.16.7.tgz", "integrity": "sha512-mGojBwIWcwGD6rfqgRXVlVYmPAv7eOpIemUG3dGnDdCY4Pae70ROij3XmfrH6Fa1h1aiDylpglbZyktfzyo/hA==", "dev": true, "requires": { "@babel/compat-data": "^7.16.4", "@babel/helper-validator-option": "^7.16.7", "browserslist": "^4.17.5", "semver": "^6.3.0" } }, "@babel/helper-environment-visitor": { "version": "7.16.7", "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.16.7.tgz", "integrity": "sha512-SLLb0AAn6PkUeAfKJCCOl9e1R53pQlGAfc4y4XuMRZfqeMYLE0dM1LMhqbGAlGQY0lfw5/ohoYWAe9V1yibRag==", "dev": true, "requires": { "@babel/types": "^7.16.7" } }, "@babel/helper-function-name": { "version": "7.16.7", "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.16.7.tgz", "integrity": "sha512-QfDfEnIUyyBSR3HtrtGECuZ6DAyCkYFp7GHl75vFtTnn6pjKeK0T1DB5lLkFvBea8MdaiUABx3osbgLyInoejA==", "dev": true, "requires": { "@babel/helper-get-function-arity": "^7.16.7", "@babel/template": "^7.16.7", "@babel/types": "^7.16.7" } }, "@babel/helper-get-function-arity": { "version": "7.16.7", "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.16.7.tgz", "integrity": "sha512-flc+RLSOBXzNzVhcLu6ujeHUrD6tANAOU5ojrRx/as+tbzf8+stUCj7+IfRRoAbEZqj/ahXEMsjhOhgeZsrnTw==", "dev": true, "requires": { "@babel/types": "^7.16.7" } }, "@babel/helper-hoist-variables": { "version": "7.16.7", "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.16.7.tgz", "integrity": "sha512-m04d/0Op34H5v7pbZw6pSKP7weA6lsMvfiIAMeIvkY/R4xQtBSMFEigu9QTZ2qB/9l22vsxtM8a+Q8CzD255fg==", "dev": true, "requires": { "@babel/types": "^7.16.7" } }, "@babel/helper-module-imports": { "version": "7.16.7", "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.16.7.tgz", "integrity": "sha512-LVtS6TqjJHFc+nYeITRo6VLXve70xmq7wPhWTqDJusJEgGmkAACWwMiTNrvfoQo6hEhFwAIixNkvB0jPXDL8Wg==", "dev": true, "requires": { "@babel/types": "^7.16.7" } }, "@babel/helper-module-transforms": { "version": "7.17.6", "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.17.6.tgz", "integrity": "sha512-2ULmRdqoOMpdvkbT8jONrZML/XALfzxlb052bldftkicAUy8AxSCkD5trDPQcwHNmolcl7wP6ehNqMlyUw6AaA==", "dev": true, "requires": { "@babel/helper-environment-visitor": "^7.16.7", "@babel/helper-module-imports": "^7.16.7", "@babel/helper-simple-access": "^7.16.7", "@babel/helper-split-export-declaration": "^7.16.7", "@babel/helper-validator-identifier": "^7.16.7", "@babel/template": "^7.16.7", "@babel/traverse": "^7.17.3", "@babel/types": "^7.17.0" } }, "@babel/helper-simple-access": { "version": "7.16.7", "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.16.7.tgz", "integrity": "sha512-ZIzHVyoeLMvXMN/vok/a4LWRy8G2v205mNP0XOuf9XRLyX5/u9CnVulUtDgUTama3lT+bf/UqucuZjqiGuTS1g==", "dev": true, "requires": { "@babel/types": "^7.16.7" } }, "@babel/helper-split-export-declaration": { "version": "7.16.7", "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz", "integrity": "sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==", "dev": true, "requires": { "@babel/types": "^7.16.7" } }, "@babel/helper-validator-identifier": { "version": "7.16.7", "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==", "dev": true }, "@babel/helper-validator-option": { "version": "7.16.7", "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.16.7.tgz", "integrity": "sha512-TRtenOuRUVo9oIQGPC5G9DgK4743cdxvtOw0weQNpZXaS16SCBi5MNjZF8vba3ETURjZpTbVn7Vvcf2eAwFozQ==", "dev": true }, "@babel/helpers": { "version": "7.17.2", "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.17.2.tgz", "integrity": "sha512-0Qu7RLR1dILozr/6M0xgj+DFPmi6Bnulgm9M8BVa9ZCWxDqlSnqt3cf8IDPB5m45sVXUZ0kuQAgUrdSFFH79fQ==", "dev": true, "requires": { "@babel/template": "^7.16.7", "@babel/traverse": "^7.17.0", "@babel/types": "^7.17.0" } }, "@babel/highlight": { "version": "7.16.10", "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.16.10.tgz", "integrity": "sha512-5FnTQLSLswEj6IkgVw5KusNUUFY9ZGqe/TRFnP/BKYHYgfh7tc+C7mwiy95/yNP7Dh9x580Vv8r7u7ZfTBFxdw==", "dev": true, "requires": { "@babel/helper-validator-identifier": "^7.16.7", "chalk": "^2.0.0", "js-tokens": "^4.0.0" } }, "@babel/parser": { "version": "7.17.3", "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.17.3.tgz", "integrity": "sha512-7yJPvPV+ESz2IUTPbOL+YkIGyCqOyNIzdguKQuJGnH7bg1WTIifuM21YqokFt/THWh1AkCRn9IgoykTRCBVpzA==", "dev": true }, "@babel/template": { "version": "7.16.7", "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz", "integrity": "sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==", "dev": true, "requires": { "@babel/code-frame": "^7.16.7", "@babel/parser": "^7.16.7", "@babel/types": "^7.16.7" } }, "@babel/traverse": { "version": "7.17.3", "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.17.3.tgz", "integrity": "sha512-5irClVky7TxRWIRtxlh2WPUUOLhcPN06AGgaQSB8AEwuyEBgJVuJ5imdHm5zxk8w0QS5T+tDfnDxAlhWjpb7cw==", "dev": true, "requires": { "@babel/code-frame": "^7.16.7", "@babel/generator": "^7.17.3", "@babel/helper-environment-visitor": "^7.16.7", "@babel/helper-function-name": "^7.16.7", "@babel/helper-hoist-variables": "^7.16.7", "@babel/helper-split-export-declaration": "^7.16.7", "@babel/parser": "^7.17.3", "@babel/types": "^7.17.0", "debug": "^4.1.0", "globals": "^11.1.0" } }, "@babel/types": { "version": "7.17.0", "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.0.tgz", "integrity": "sha512-TmKSNO4D5rzhL5bjWFcVHHLETzfQ/AmbKpKPOSjlP0WoHZ6L911fgoOKY4Alp/emzG4cHJdyN49zpgkbXFEHHw==", "dev": true, "requires": { "@babel/helper-validator-identifier": "^7.16.7", "to-fast-properties": "^2.0.0" } }, "@istanbuljs/load-nyc-config": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", "integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==", "dev": true, "requires": { "camelcase": "^5.3.1", "find-up": "^4.1.0", "get-package-type": "^0.1.0", "js-yaml": "^3.13.1", "resolve-from": "^5.0.0" } }, "@istanbuljs/schema": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz", "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==", "dev": true }, "@jridgewell/resolve-uri": { "version": "3.0.5", "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.0.5.tgz", "integrity": "sha512-VPeQ7+wH0itvQxnG+lIzWgkysKIr3L9sslimFW55rHMdGu/qCQ5z5h9zq4gI8uBtqkpHhsF4Z/OwExufUCThew==", "dev": true }, "@jridgewell/sourcemap-codec": { "version": "1.4.11", "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.11.tgz", "integrity": "sha512-Fg32GrJo61m+VqYSdRSjRXMjQ06j8YIYfcTqndLYVAaHmroZHLJZCydsWBOTDqXS2v+mjxohBWEMfg97GXmYQg==", "dev": true }, "@jridgewell/trace-mapping": { "version": "0.3.4", "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.4.tgz", "integrity": "sha512-vFv9ttIedivx0ux3QSjhgtCVjPZd5l46ZOMDSCwnH1yUO2e964gO8LZGyv2QkqcgR6TnBU1v+1IFqmeoG+0UJQ==", "dev": true, "requires": { "@jridgewell/resolve-uri": "^3.0.3", "@jridgewell/sourcemap-codec": "^1.4.10" } }, "aggregate-error": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==", "dev": true, "requires": { "clean-stack": "^2.0.0", "indent-string": "^4.0.0" } }, "ansi-regex": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", "dev": true }, "ansi-styles": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", "dev": true, "requires": { "color-convert": "^1.9.0" } }, "anymatch": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", "dev": true, "requires": { "normalize-path": "^3.0.0", "picomatch": "^2.0.4" } }, "append-transform": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/append-transform/-/append-transform-2.0.0.tgz", "integrity": "sha512-7yeyCEurROLQJFv5Xj4lEGTy0borxepjFv1g22oAdqFu//SrAlDl1O1Nxx15SH1RoliUml6p8dwJW9jvZughhg==", "dev": true, "requires": { "default-require-extensions": "^3.0.0" } }, "archy": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/archy/-/archy-1.0.0.tgz", "integrity": "sha1-+cjBN1fMHde8N5rHeyxipcKGjEA=", "dev": true }, "argparse": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", "dev": true, "requires": { "sprintf-js": "~1.0.2" } }, "async-hook-domain": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/async-hook-domain/-/async-hook-domain-2.0.4.tgz", "integrity": "sha512-14LjCmlK1PK8eDtTezR6WX8TMaYNIzBIsd2D1sGoGjgx0BuNMMoSdk7i/drlbtamy0AWv9yv2tkB+ASdmeqFIw==", "dev": true }, "balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", "dev": true }, "binary-extensions": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", "dev": true }, "bind-obj-methods": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/bind-obj-methods/-/bind-obj-methods-3.0.0.tgz", "integrity": "sha512-nLEaaz3/sEzNSyPWRsN9HNsqwk1AUyECtGj+XwGdIi3xABnEqecvXtIJ0wehQXuuER5uZ/5fTs2usONgYjG+iw==", "dev": true }, "brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dev": true, "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" } }, "braces": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", "dev": true, "requires": { "fill-range": "^7.0.1" } }, "browserslist": { "version": "4.20.0", "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.20.0.tgz", "integrity": "sha512-bnpOoa+DownbciXj0jVGENf8VYQnE2LNWomhYuCsMmmx9Jd9lwq0WXODuwpSsp8AVdKM2/HorrzxAfbKvWTByQ==", "dev": true, "requires": { "caniuse-lite": "^1.0.30001313", "electron-to-chromium": "^1.4.76", "escalade": "^3.1.1", "node-releases": "^2.0.2", "picocolors": "^1.0.0" } }, "buffer-from": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", "dev": true }, "caching-transform": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/caching-transform/-/caching-transform-4.0.0.tgz", "integrity": "sha512-kpqOvwXnjjN44D89K5ccQC+RUrsy7jB/XLlRrx0D7/2HNcTPqzsb6XgYoErwko6QsV184CA2YgS1fxDiiDZMWA==", "dev": true, "requires": { "hasha": "^5.0.0", "make-dir": "^3.0.0", "package-hash": "^4.0.0", "write-file-atomic": "^3.0.0" } }, "camelcase": { "version": "5.3.1", "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", "dev": true }, "caniuse-lite": { "version": "1.0.30001313", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001313.tgz", "integrity": "sha512-rI1UN0koZUiKINjysQDuRi2VeSCce3bYJNmDcj3PIKREiAmjakugBul1QSkg/fPrlULYl6oWfGg3PbgOSY9X4Q==", "dev": true }, "chalk": { "version": "2.4.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", "dev": true, "requires": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", "supports-color": "^5.3.0" } }, "chokidar": { "version": "3.5.3", "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", "dev": true, "requires": { "anymatch": "~3.1.2", "braces": "~3.0.2", "fsevents": "~2.3.2", "glob-parent": "~5.1.2", "is-binary-path": "~2.1.0", "is-glob": "~4.0.1", "normalize-path": "~3.0.0", "readdirp": "~3.6.0" } }, "clean-stack": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==", "dev": true }, "cliui": { "version": "7.0.4", "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", "dev": true, "requires": { "string-width": "^4.2.0", "strip-ansi": "^6.0.0", "wrap-ansi": "^7.0.0" } }, "color-convert": { "version": "1.9.3", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", "dev": true, "requires": { "color-name": "1.1.3" } }, "color-name": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", "dev": true }, "color-support": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz", "integrity": "sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==", "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.8.0", "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.8.0.tgz", "integrity": "sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==", "dev": true, "requires": { "safe-buffer": "~5.1.1" } }, "cross-spawn": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", "dev": true, "requires": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", "which": "^2.0.1" } }, "debug": { "version": "4.3.3", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", "dev": true, "requires": { "ms": "2.1.2" } }, "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": "3.0.0", "resolved": "https://registry.npmjs.org/default-require-extensions/-/default-require-extensions-3.0.0.tgz", "integrity": "sha512-ek6DpXq/SCpvjhpFsLFRVtIxJCRw6fUR42lYMVZuUMK7n8eMz4Uh5clckdBjEpLhn/gEBZo7hDJnJcwdKLKQjg==", "dev": true, "requires": { "strip-bom": "^4.0.0" } }, "diff": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", "dev": true }, "electron-to-chromium": { "version": "1.4.76", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.76.tgz", "integrity": "sha512-3Vftv7cenJtQb+k00McEBZ2vVmZ/x+HEF7pcZONZIkOsESqAqVuACmBxMv0JhzX7u0YltU0vSqRqgBSTAhFUjA==", "dev": true }, "emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "dev": true }, "es6-error": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/es6-error/-/es6-error-4.1.1.tgz", "integrity": "sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==", "dev": true }, "escalade": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", "dev": true }, "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 }, "esprima": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", "dev": true }, "events-to-array": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/events-to-array/-/events-to-array-1.1.2.tgz", "integrity": "sha1-LUH1Y+H+QA7Uli/hpNXGp1Od9/Y=" }, "fill-range": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", "dev": true, "requires": { "to-regex-range": "^5.0.1" } }, "find-cache-dir": { "version": "3.3.2", "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.2.tgz", "integrity": "sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==", "dev": true, "requires": { "commondir": "^1.0.1", "make-dir": "^3.0.2", "pkg-dir": "^4.1.0" } }, "find-up": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", "dev": true, "requires": { "locate-path": "^5.0.0", "path-exists": "^4.0.0" } }, "findit": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/findit/-/findit-2.0.0.tgz", "integrity": "sha1-ZQnwEmr0wXhVHPqZOU4DLhOk1W4=", "dev": true }, "foreground-child": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-2.0.0.tgz", "integrity": "sha512-dCIq9FpEcyQyXKCkyzmlPTFNgrCzPudOe+mhvJU5zAtlBnGVy2yKxtfsxK2tQBThwq225jcvBjpw1Gr40uzZCA==", "dev": true, "requires": { "cross-spawn": "^7.0.0", "signal-exit": "^3.0.2" } }, "fromentries": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/fromentries/-/fromentries-1.3.2.tgz", "integrity": "sha512-cHEpEQHUg0f8XdtZCc2ZAhrHzKzT0MrFUTcvx+hfxYu7rGMDc5SKoXFh+n4YigxsHXRzc6OrCshdR1bWH6HHyg==", "dev": true }, "fs-exists-cached": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs-exists-cached/-/fs-exists-cached-1.0.0.tgz", "integrity": "sha1-zyVVTKBQ3EmuZla0HeQiWJidy84=", "dev": true }, "fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", "dev": true }, "fsevents": { "version": "2.3.2", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", "dev": true, "optional": true }, "function-loop": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/function-loop/-/function-loop-2.0.1.tgz", "integrity": "sha512-ktIR+O6i/4h+j/ZhZJNdzeI4i9lEPeEK6UPR2EVyTVBqOwcU3Za9xYKLH64ZR9HmcROyRrOkizNyjjtWJzDDkQ==", "dev": true }, "gensync": { "version": "1.0.0-beta.2", "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", "dev": true }, "get-caller-file": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", "dev": true }, "get-package-type": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", "dev": true }, "glob": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", "dev": true, "requires": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", "inherits": "2", "minimatch": "^3.0.4", "once": "^1.3.0", "path-is-absolute": "^1.0.0" } }, "glob-parent": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", "dev": true, "requires": { "is-glob": "^4.0.1" } }, "globals": { "version": "11.12.0", "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", "dev": true }, "graceful-fs": { "version": "4.2.9", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.9.tgz", "integrity": "sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ==", "dev": true }, "has-flag": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", "dev": true }, "hasha": { "version": "5.2.2", "resolved": "https://registry.npmjs.org/hasha/-/hasha-5.2.2.tgz", "integrity": "sha512-Hrp5vIK/xr5SkeN2onO32H0MgNZ0f17HRNH39WfL0SYUNOTZ5Lz1TJ8Pajo/87dYGEFlLMm7mIc/k/s6Bvz9HQ==", "dev": true, "requires": { "is-stream": "^2.0.0", "type-fest": "^0.8.0" } }, "html-escaper": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", "dev": true }, "imurmurhash": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", "dev": true }, "indent-string": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", "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.3.0", "wrappy": "1" } }, "inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", "dev": true }, "is-binary-path": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", "dev": true, "requires": { "binary-extensions": "^2.0.0" } }, "is-extglob": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", "dev": true }, "is-fullwidth-code-point": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", "dev": true }, "is-glob": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", "dev": true, "requires": { "is-extglob": "^2.1.1" } }, "is-number": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", "dev": true }, "is-stream": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", "dev": true }, "is-typedarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", "dev": true }, "is-windows": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", "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 }, "istanbul-lib-coverage": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz", "integrity": "sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==", "dev": true }, "istanbul-lib-hook": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/istanbul-lib-hook/-/istanbul-lib-hook-3.0.0.tgz", "integrity": "sha512-Pt/uge1Q9s+5VAZ+pCo16TYMWPBIl+oaNIjgLQxcX0itS6ueeaA+pEfThZpH8WxhFgCiEb8sAJY6MdUKgiIWaQ==", "dev": true, "requires": { "append-transform": "^2.0.0" } }, "istanbul-lib-instrument": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-4.0.3.tgz", "integrity": "sha512-BXgQl9kf4WTCPCCpmFGoJkz/+uhvm7h7PFKUYxh7qarQd3ER33vHG//qaE8eN25l07YqZPpHXU9I09l/RD5aGQ==", "dev": true, "requires": { "@babel/core": "^7.7.5", "@istanbuljs/schema": "^0.1.2", "istanbul-lib-coverage": "^3.0.0", "semver": "^6.3.0" } }, "istanbul-lib-processinfo": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/istanbul-lib-processinfo/-/istanbul-lib-processinfo-2.0.2.tgz", "integrity": "sha512-kOwpa7z9hme+IBPZMzQ5vdQj8srYgAtaRqeI48NGmAQ+/5yKiHLV0QbYqQpxsdEF0+w14SoB8YbnHKcXE2KnYw==", "dev": true, "requires": { "archy": "^1.0.0", "cross-spawn": "^7.0.0", "istanbul-lib-coverage": "^3.0.0-alpha.1", "make-dir": "^3.0.0", "p-map": "^3.0.0", "rimraf": "^3.0.0", "uuid": "^3.3.3" } }, "istanbul-lib-report": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", "integrity": "sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw==", "dev": true, "requires": { "istanbul-lib-coverage": "^3.0.0", "make-dir": "^3.0.0", "supports-color": "^7.1.0" }, "dependencies": { "has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true }, "supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, "requires": { "has-flag": "^4.0.0" } } } }, "istanbul-lib-source-maps": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz", "integrity": "sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==", "dev": true, "requires": { "debug": "^4.1.1", "istanbul-lib-coverage": "^3.0.0", "source-map": "^0.6.1" }, "dependencies": { "source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "dev": true } } }, "istanbul-reports": { "version": "3.1.4", "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.4.tgz", "integrity": "sha512-r1/DshN4KSE7xWEknZLLLLDn5CJybV3nw01VTkp6D5jzLuELlcbudfj/eSQFvrKsJuTVCGnePO7ho82Nw9zzfw==", "dev": true, "requires": { "html-escaper": "^2.0.0", "istanbul-lib-report": "^3.0.0" } }, "jackspeak": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-1.4.1.tgz", "integrity": "sha512-npN8f+M4+IQ8xD3CcWi3U62VQwKlT3Tj4GxbdT/fYTmeogD9eBF9OFdpoFG/VPNoshRjPUijdkp/p2XrzUHaVg==", "dev": true, "requires": { "cliui": "^7.0.4" } }, "js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", "dev": true }, "js-yaml": { "version": "3.14.1", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", "dev": true, "requires": { "argparse": "^1.0.7", "esprima": "^4.0.0" } }, "jsesc": { "version": "2.5.2", "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", "dev": true }, "json5": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz", "integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==", "dev": true, "requires": { "minimist": "^1.2.5" } }, "libtap": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/libtap/-/libtap-1.3.0.tgz", "integrity": "sha512-yU5uSY987sVwpWiR5h84ZM96bxvmCQFZ/bOEJ1M7+Us8oez25fLmmLNGFRFGWi2PzuLqAzqzESH7HCaZ/b9IZA==", "dev": true, "requires": { "async-hook-domain": "^2.0.4", "bind-obj-methods": "^3.0.0", "diff": "^4.0.2", "function-loop": "^2.0.1", "minipass": "^3.1.5", "own-or": "^1.0.0", "own-or-env": "^1.0.2", "signal-exit": "^3.0.4", "stack-utils": "^2.0.4", "tap-parser": "^11.0.0", "tap-yaml": "^1.0.0", "tcompare": "^5.0.6", "trivial-deferred": "^1.0.1" } }, "locate-path": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", "dev": true, "requires": { "p-locate": "^4.1.0" } }, "lodash.flattendeep": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/lodash.flattendeep/-/lodash.flattendeep-4.4.0.tgz", "integrity": "sha1-+wMJF/hqMTTlvJvsDWngAT3f7bI=", "dev": true }, "make-dir": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", "dev": true, "requires": { "semver": "^6.0.0" } }, "minimatch": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, "requires": { "brace-expansion": "^1.1.7" } }, "minimist": { "version": "1.2.5", "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", "dev": true }, "minipass": { "version": "3.1.6", "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.6.tgz", "integrity": "sha512-rty5kpw9/z8SX9dmxblFA6edItUmwJgMeYDZRrwlIVN27i8gysGbznJwUggw2V/FVqFSDdWy040ZPS811DYAqQ==", "requires": { "yallist": "^4.0.0" } }, "mkdirp": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", "dev": true }, "ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", "dev": true }, "node-preload": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/node-preload/-/node-preload-0.2.1.tgz", "integrity": "sha512-RM5oyBy45cLEoHqCeh+MNuFAxO0vTFBLskvQbOKnEE7YTTSN4tbN8QWDIPQ6L+WvKsB/qLEGpYe2ZZ9d4W9OIQ==", "dev": true, "requires": { "process-on-spawn": "^1.0.0" } }, "node-releases": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.2.tgz", "integrity": "sha512-XxYDdcQ6eKqp/YjI+tb2C5WM2LgjnZrfYg4vgQt49EK268b6gYCHsBLrK2qvJo4FmCtqmKezb0WZFK4fkrZNsg==", "dev": true }, "normalize-path": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", "dev": true }, "nyc": { "version": "15.1.0", "resolved": "https://registry.npmjs.org/nyc/-/nyc-15.1.0.tgz", "integrity": "sha512-jMW04n9SxKdKi1ZMGhvUTHBN0EICCRkHemEoE5jm6mTYcqcdas0ATzgUgejlQUHMvpnOZqGB5Xxsv9KxJW1j8A==", "dev": true, "requires": { "@istanbuljs/load-nyc-config": "^1.0.0", "@istanbuljs/schema": "^0.1.2", "caching-transform": "^4.0.0", "convert-source-map": "^1.7.0", "decamelize": "^1.2.0", "find-cache-dir": "^3.2.0", "find-up": "^4.1.0", "foreground-child": "^2.0.0", "get-package-type": "^0.1.0", "glob": "^7.1.6", "istanbul-lib-coverage": "^3.0.0", "istanbul-lib-hook": "^3.0.0", "istanbul-lib-instrument": "^4.0.0", "istanbul-lib-processinfo": "^2.0.2", "istanbul-lib-report": "^3.0.0", "istanbul-lib-source-maps": "^4.0.0", "istanbul-reports": "^3.0.2", "make-dir": "^3.0.0", "node-preload": "^0.2.1", "p-map": "^3.0.0", "process-on-spawn": "^1.0.0", "resolve-from": "^5.0.0", "rimraf": "^3.0.0", "signal-exit": "^3.0.2", "spawn-wrap": "^2.0.0", "test-exclude": "^6.0.0", "yargs": "^15.0.2" } }, "once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", "dev": true, "requires": { "wrappy": "1" } }, "opener": { "version": "1.5.2", "resolved": "https://registry.npmjs.org/opener/-/opener-1.5.2.tgz", "integrity": "sha512-ur5UIdyw5Y7yEj9wLzhqXiy6GZ3Mwx0yGI+5sMn2r0N0v3cKJvUmFH5yPP+WXh9e0xfyzyJX95D8l088DNFj7A==", "dev": true }, "own-or": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/own-or/-/own-or-1.0.0.tgz", "integrity": "sha1-Tod/vtqaLsgAD7wLyuOWRe6L+Nw=", "dev": true }, "own-or-env": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/own-or-env/-/own-or-env-1.0.2.tgz", "integrity": "sha512-NQ7v0fliWtK7Lkb+WdFqe6ky9XAzYmlkXthQrBbzlYbmFKoAYbDDcwmOm6q8kOuwSRXW8bdL5ORksploUJmWgw==", "dev": true, "requires": { "own-or": "^1.0.0" } }, "p-limit": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", "dev": true, "requires": { "p-try": "^2.0.0" } }, "p-locate": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", "dev": true, "requires": { "p-limit": "^2.2.0" } }, "p-map": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/p-map/-/p-map-3.0.0.tgz", "integrity": "sha512-d3qXVTF/s+W+CdJ5A29wywV2n8CQQYahlgz2bFiA+4eVNJbHJodPZ+/gXwPGh0bOqA+j8S+6+ckmvLGPk1QpxQ==", "dev": true, "requires": { "aggregate-error": "^3.0.0" } }, "p-try": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", "dev": true }, "package-hash": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/package-hash/-/package-hash-4.0.0.tgz", "integrity": "sha512-whdkPIooSu/bASggZ96BWVvZTRMOFxnyUG5PnTSGKoJE2gd5mbVNmR2Nj20QFzxYYgAXpoqC+AiXzl+UMRh7zQ==", "dev": true, "requires": { "graceful-fs": "^4.1.15", "hasha": "^5.0.0", "lodash.flattendeep": "^4.4.0", "release-zalgo": "^1.0.0" } }, "path-exists": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", "dev": true }, "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": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", "dev": true }, "picocolors": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", "dev": true }, "picomatch": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", "dev": true }, "pkg-dir": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", "dev": true, "requires": { "find-up": "^4.0.0" } }, "process-on-spawn": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/process-on-spawn/-/process-on-spawn-1.0.0.tgz", "integrity": "sha512-1WsPDsUSMmZH5LeMLegqkPDrsGgsWwk1Exipy2hvB0o/F0ASzbpIctSCcZIK1ykJvtTJULEH+20WOFjMvGnCTg==", "dev": true, "requires": { "fromentries": "^1.2.0" } }, "punycode": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", "dev": true }, "readdirp": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", "dev": true, "requires": { "picomatch": "^2.2.1" } }, "release-zalgo": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/release-zalgo/-/release-zalgo-1.0.0.tgz", "integrity": "sha1-CXALflB0Mpc5Mw5TXFqQ+2eFFzA=", "dev": true, "requires": { "es6-error": "^4.0.1" } }, "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": "2.0.0", "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==", "dev": true }, "resolve-from": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", "dev": true }, "rimraf": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", "dev": true, "requires": { "glob": "^7.1.3" } }, "safe-buffer": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", "dev": true }, "semver": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", "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 }, "shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", "dev": true, "requires": { "shebang-regex": "^3.0.0" } }, "shebang-regex": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", "dev": true }, "signal-exit": { "version": "3.0.7", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", "dev": true }, "source-map": { "version": "0.5.7", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", "dev": true }, "source-map-support": { "version": "0.5.21", "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", "dev": true, "requires": { "buffer-from": "^1.0.0", "source-map": "^0.6.0" }, "dependencies": { "source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "dev": true } } }, "spawn-wrap": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/spawn-wrap/-/spawn-wrap-2.0.0.tgz", "integrity": "sha512-EeajNjfN9zMnULLwhZZQU3GWBoFNkbngTUPfaawT4RkMiviTxcX0qfhVbGey39mfctfDHkWtuecgQ8NJcyQWHg==", "dev": true, "requires": { "foreground-child": "^2.0.0", "is-windows": "^1.0.2", "make-dir": "^3.0.0", "rimraf": "^3.0.0", "signal-exit": "^3.0.2", "which": "^2.0.1" } }, "sprintf-js": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", "dev": true }, "stack-utils": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.5.tgz", "integrity": "sha512-xrQcmYhOsn/1kX+Vraq+7j4oE2j/6BFscZ0etmYg81xuM8Gq0022Pxb8+IqgOFUIaxHs0KaSb7T1+OegiNrNFA==", "dev": true, "requires": { "escape-string-regexp": "^2.0.0" }, "dependencies": { "escape-string-regexp": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", "dev": true } } }, "string-width": { "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "dev": true, "requires": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", "strip-ansi": "^6.0.1" } }, "strip-ansi": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "dev": true, "requires": { "ansi-regex": "^5.0.1" } }, "strip-bom": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", "dev": true }, "supports-color": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "dev": true, "requires": { "has-flag": "^3.0.0" } }, "tap": { "version": "16.0.0", "resolved": "https://registry.npmjs.org/tap/-/tap-16.0.0.tgz", "integrity": "sha512-EnrFFUIn+/089C051WYPXxNlAnXJ1TkKerh0Osz9lK0Ynb+X5FWBEZxWcZLVKiucdTnV5g97NL8Xaw1CuAkj4Q==", "dev": true, "requires": { "@isaacs/import-jsx": "*", "@types/react": "*", "chokidar": "^3.3.0", "findit": "^2.0.0", "foreground-child": "^2.0.0", "fs-exists-cached": "^1.0.0", "glob": "^7.1.6", "ink": "*", "isexe": "^2.0.0", "istanbul-lib-processinfo": "^2.0.2", "jackspeak": "^1.4.1", "libtap": "^1.3.0", "minipass": "^3.1.1", "mkdirp": "^1.0.4", "nyc": "^15.1.0", "opener": "^1.5.1", "react": "*", "rimraf": "^3.0.0", "signal-exit": "^3.0.6", "source-map-support": "^0.5.16", "tap-mocha-reporter": "^5.0.3", "tap-parser": "^11.0.1", "tap-yaml": "^1.0.0", "tcompare": "^5.0.7", "treport": "*", "which": "^2.0.2" }, "dependencies": { "@babel/code-frame": { "version": "7.16.0", "bundled": true, "dev": true, "requires": { "@babel/highlight": "^7.16.0" } }, "@babel/compat-data": { "version": "7.16.0", "bundled": true, "dev": true }, "@babel/core": { "version": "7.16.0", "bundled": true, "dev": true, "requires": { "@babel/code-frame": "^7.16.0", "@babel/generator": "^7.16.0", "@babel/helper-compilation-targets": "^7.16.0", "@babel/helper-module-transforms": "^7.16.0", "@babel/helpers": "^7.16.0", "@babel/parser": "^7.16.0", "@babel/template": "^7.16.0", "@babel/traverse": "^7.16.0", "@babel/types": "^7.16.0", "convert-source-map": "^1.7.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", "json5": "^2.1.2", "semver": "^6.3.0", "source-map": "^0.5.0" } }, "@babel/generator": { "version": "7.16.0", "bundled": true, "dev": true, "requires": { "@babel/types": "^7.16.0", "jsesc": "^2.5.1", "source-map": "^0.5.0" } }, "@babel/helper-annotate-as-pure": { "version": "7.16.0", "bundled": true, "dev": true, "requires": { "@babel/types": "^7.16.0" } }, "@babel/helper-compilation-targets": { "version": "7.16.3", "bundled": true, "dev": true, "requires": { "@babel/compat-data": "^7.16.0", "@babel/helper-validator-option": "^7.14.5", "browserslist": "^4.17.5", "semver": "^6.3.0" } }, "@babel/helper-function-name": { "version": "7.16.0", "bundled": true, "dev": true, "requires": { "@babel/helper-get-function-arity": "^7.16.0", "@babel/template": "^7.16.0", "@babel/types": "^7.16.0" } }, "@babel/helper-get-function-arity": { "version": "7.16.0", "bundled": true, "dev": true, "requires": { "@babel/types": "^7.16.0" } }, "@babel/helper-hoist-variables": { "version": "7.16.0", "bundled": true, "dev": true, "requires": { "@babel/types": "^7.16.0" } }, "@babel/helper-member-expression-to-functions": { "version": "7.16.0", "bundled": true, "dev": true, "requires": { "@babel/types": "^7.16.0" } }, "@babel/helper-module-imports": { "version": "7.16.0", "bundled": true, "dev": true, "requires": { "@babel/types": "^7.16.0" } }, "@babel/helper-module-transforms": { "version": "7.16.0", "bundled": true, "dev": true, "requires": { "@babel/helper-module-imports": "^7.16.0", "@babel/helper-replace-supers": "^7.16.0", "@babel/helper-simple-access": "^7.16.0", "@babel/helper-split-export-declaration": "^7.16.0", "@babel/helper-validator-identifier": "^7.15.7", "@babel/template": "^7.16.0", "@babel/traverse": "^7.16.0", "@babel/types": "^7.16.0" } }, "@babel/helper-optimise-call-expression": { "version": "7.16.0", "bundled": true, "dev": true, "requires": { "@babel/types": "^7.16.0" } }, "@babel/helper-plugin-utils": { "version": "7.14.5", "bundled": true, "dev": true }, "@babel/helper-replace-supers": { "version": "7.16.0", "bundled": true, "dev": true, "requires": { "@babel/helper-member-expression-to-functions": "^7.16.0", "@babel/helper-optimise-call-expression": "^7.16.0", "@babel/traverse": "^7.16.0", "@babel/types": "^7.16.0" } }, "@babel/helper-simple-access": { "version": "7.16.0", "bundled": true, "dev": true, "requires": { "@babel/types": "^7.16.0" } }, "@babel/helper-split-export-declaration": { "version": "7.16.0", "bundled": true, "dev": true, "requires": { "@babel/types": "^7.16.0" } }, "@babel/helper-validator-identifier": { "version": "7.15.7", "bundled": true, "dev": true }, "@babel/helper-validator-option": { "version": "7.14.5", "bundled": true, "dev": true }, "@babel/helpers": { "version": "7.16.3", "bundled": true, "dev": true, "requires": { "@babel/template": "^7.16.0", "@babel/traverse": "^7.16.3", "@babel/types": "^7.16.0" } }, "@babel/highlight": { "version": "7.16.0", "bundled": true, "dev": true, "requires": { "@babel/helper-validator-identifier": "^7.15.7", "chalk": "^2.0.0", "js-tokens": "^4.0.0" } }, "@babel/parser": { "version": "7.16.3", "bundled": true, "dev": true }, "@babel/plugin-proposal-object-rest-spread": { "version": "7.16.0", "bundled": true, "dev": true, "requires": { "@babel/compat-data": "^7.16.0", "@babel/helper-compilation-targets": "^7.16.0", "@babel/helper-plugin-utils": "^7.14.5", "@babel/plugin-syntax-object-rest-spread": "^7.8.3", "@babel/plugin-transform-parameters": "^7.16.0" } }, "@babel/plugin-syntax-jsx": { "version": "7.16.0", "bundled": true, "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.14.5" } }, "@babel/plugin-syntax-object-rest-spread": { "version": "7.8.3", "bundled": true, "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.8.0" } }, "@babel/plugin-transform-destructuring": { "version": "7.16.0", "bundled": true, "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.14.5" } }, "@babel/plugin-transform-parameters": { "version": "7.16.3", "bundled": true, "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.14.5" } }, "@babel/plugin-transform-react-jsx": { "version": "7.16.0", "bundled": true, "dev": true, "requires": { "@babel/helper-annotate-as-pure": "^7.16.0", "@babel/helper-module-imports": "^7.16.0", "@babel/helper-plugin-utils": "^7.14.5", "@babel/plugin-syntax-jsx": "^7.16.0", "@babel/types": "^7.16.0" } }, "@babel/template": { "version": "7.16.0", "bundled": true, "dev": true, "requires": { "@babel/code-frame": "^7.16.0", "@babel/parser": "^7.16.0", "@babel/types": "^7.16.0" } }, "@babel/traverse": { "version": "7.16.3", "bundled": true, "dev": true, "requires": { "@babel/code-frame": "^7.16.0", "@babel/generator": "^7.16.0", "@babel/helper-function-name": "^7.16.0", "@babel/helper-hoist-variables": "^7.16.0", "@babel/helper-split-export-declaration": "^7.16.0", "@babel/parser": "^7.16.3", "@babel/types": "^7.16.0", "debug": "^4.1.0", "globals": "^11.1.0" } }, "@babel/types": { "version": "7.16.0", "bundled": true, "dev": true, "requires": { "@babel/helper-validator-identifier": "^7.15.7", "to-fast-properties": "^2.0.0" } }, "@isaacs/import-jsx": { "version": "4.0.1", "bundled": true, "dev": true, "requires": { "@babel/core": "^7.5.5", "@babel/plugin-proposal-object-rest-spread": "^7.5.5", "@babel/plugin-transform-destructuring": "^7.5.0", "@babel/plugin-transform-react-jsx": "^7.3.0", "caller-path": "^3.0.1", "find-cache-dir": "^3.2.0", "make-dir": "^3.0.2", "resolve-from": "^3.0.0", "rimraf": "^3.0.0" }, "dependencies": { "caller-callsite": { "version": "4.1.0", "bundled": true, "dev": true, "requires": { "callsites": "^3.1.0" } }, "caller-path": { "version": "3.0.1", "bundled": true, "dev": true, "requires": { "caller-callsite": "^4.1.0" } } } }, "@types/prop-types": { "version": "15.7.4", "bundled": true, "dev": true }, "@types/react": { "version": "17.0.34", "bundled": true, "dev": true, "requires": { "@types/prop-types": "*", "@types/scheduler": "*", "csstype": "^3.0.2" } }, "@types/scheduler": { "version": "0.16.2", "bundled": true, "dev": true }, "@types/yoga-layout": { "version": "1.9.2", "bundled": true, "dev": true }, "ansi-escapes": { "version": "4.3.2", "bundled": true, "dev": true, "requires": { "type-fest": "^0.21.3" }, "dependencies": { "type-fest": { "version": "0.21.3", "bundled": true, "dev": true } } }, "ansi-regex": { "version": "5.0.1", "bundled": true, "dev": true }, "ansi-styles": { "version": "3.2.1", "bundled": true, "dev": true, "requires": { "color-convert": "^1.9.0" } }, "ansicolors": { "version": "0.3.2", "bundled": true, "dev": true }, "astral-regex": { "version": "2.0.0", "bundled": true, "dev": true }, "auto-bind": { "version": "4.0.0", "bundled": true, "dev": true }, "balanced-match": { "version": "1.0.2", "bundled": true, "dev": true }, "brace-expansion": { "version": "1.1.11", "bundled": true, "dev": true, "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" } }, "browserslist": { "version": "4.17.6", "bundled": true, "dev": true, "requires": { "caniuse-lite": "^1.0.30001274", "electron-to-chromium": "^1.3.886", "escalade": "^3.1.1", "node-releases": "^2.0.1", "picocolors": "^1.0.0" } }, "callsites": { "version": "3.1.0", "bundled": true, "dev": true }, "caniuse-lite": { "version": "1.0.30001279", "bundled": true, "dev": true }, "cardinal": { "version": "2.1.1", "bundled": true, "dev": true, "requires": { "ansicolors": "~0.3.2", "redeyed": "~2.1.0" } }, "chalk": { "version": "2.4.2", "bundled": true, "dev": true, "requires": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", "supports-color": "^5.3.0" } }, "ci-info": { "version": "2.0.0", "bundled": true, "dev": true }, "cli-boxes": { "version": "2.2.1", "bundled": true, "dev": true }, "cli-cursor": { "version": "3.1.0", "bundled": true, "dev": true, "requires": { "restore-cursor": "^3.1.0" } }, "cli-truncate": { "version": "2.1.0", "bundled": true, "dev": true, "requires": { "slice-ansi": "^3.0.0", "string-width": "^4.2.0" } }, "code-excerpt": { "version": "3.0.0", "bundled": true, "dev": true, "requires": { "convert-to-spaces": "^1.0.1" } }, "color-convert": { "version": "1.9.3", "bundled": true, "dev": true, "requires": { "color-name": "1.1.3" } }, "color-name": { "version": "1.1.3", "bundled": true, "dev": true }, "commondir": { "version": "1.0.1", "bundled": true, "dev": true }, "concat-map": { "version": "0.0.1", "bundled": true, "dev": true }, "convert-source-map": { "version": "1.8.0", "bundled": true, "dev": true, "requires": { "safe-buffer": "~5.1.1" } }, "convert-to-spaces": { "version": "1.0.2", "bundled": true, "dev": true }, "csstype": { "version": "3.0.9", "bundled": true, "dev": true }, "debug": { "version": "4.3.2", "bundled": true, "dev": true, "requires": { "ms": "2.1.2" } }, "electron-to-chromium": { "version": "1.3.893", "bundled": true, "dev": true }, "emoji-regex": { "version": "8.0.0", "bundled": true, "dev": true }, "escalade": { "version": "3.1.1", "bundled": true, "dev": true }, "escape-string-regexp": { "version": "1.0.5", "bundled": true, "dev": true }, "esprima": { "version": "4.0.1", "bundled": true, "dev": true }, "events-to-array": { "version": "1.1.2", "bundled": true, "dev": true }, "find-cache-dir": { "version": "3.3.2", "bundled": true, "dev": true, "requires": { "commondir": "^1.0.1", "make-dir": "^3.0.2", "pkg-dir": "^4.1.0" } }, "find-up": { "version": "4.1.0", "bundled": true, "dev": true, "requires": { "locate-path": "^5.0.0", "path-exists": "^4.0.0" } }, "fs.realpath": { "version": "1.0.0", "bundled": true, "dev": true }, "gensync": { "version": "1.0.0-beta.2", "bundled": true, "dev": true }, "glob": { "version": "7.2.0", "bundled": true, "dev": true, "requires": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", "inherits": "2", "minimatch": "^3.0.4", "once": "^1.3.0", "path-is-absolute": "^1.0.0" } }, "globals": { "version": "11.12.0", "bundled": true, "dev": true }, "has-flag": { "version": "3.0.0", "bundled": true, "dev": true }, "indent-string": { "version": "4.0.0", "bundled": true, "dev": true }, "inflight": { "version": "1.0.6", "bundled": true, "dev": true, "requires": { "once": "^1.3.0", "wrappy": "1" } }, "inherits": { "version": "2.0.4", "bundled": true, "dev": true }, "ink": { "version": "3.2.0", "bundled": true, "dev": true, "requires": { "ansi-escapes": "^4.2.1", "auto-bind": "4.0.0", "chalk": "^4.1.0", "cli-boxes": "^2.2.0", "cli-cursor": "^3.1.0", "cli-truncate": "^2.1.0", "code-excerpt": "^3.0.0", "indent-string": "^4.0.0", "is-ci": "^2.0.0", "lodash": "^4.17.20", "patch-console": "^1.0.0", "react-devtools-core": "^4.19.1", "react-reconciler": "^0.26.2", "scheduler": "^0.20.2", "signal-exit": "^3.0.2", "slice-ansi": "^3.0.0", "stack-utils": "^2.0.2", "string-width": "^4.2.2", "type-fest": "^0.12.0", "widest-line": "^3.1.0", "wrap-ansi": "^6.2.0", "ws": "^7.5.5", "yoga-layout-prebuilt": "^1.9.6" }, "dependencies": { "ansi-styles": { "version": "4.3.0", "bundled": true, "dev": true, "requires": { "color-convert": "^2.0.1" } }, "chalk": { "version": "4.1.2", "bundled": true, "dev": true, "requires": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" } }, "color-convert": { "version": "2.0.1", "bundled": true, "dev": true, "requires": { "color-name": "~1.1.4" } }, "color-name": { "version": "1.1.4", "bundled": true, "dev": true }, "has-flag": { "version": "4.0.0", "bundled": true, "dev": true }, "supports-color": { "version": "7.2.0", "bundled": true, "dev": true, "requires": { "has-flag": "^4.0.0" } } } }, "is-ci": { "version": "2.0.0", "bundled": true, "dev": true, "requires": { "ci-info": "^2.0.0" } }, "is-fullwidth-code-point": { "version": "3.0.0", "bundled": true, "dev": true }, "js-tokens": { "version": "4.0.0", "bundled": true, "dev": true }, "jsesc": { "version": "2.5.2", "bundled": true, "dev": true }, "json5": { "version": "2.2.0", "bundled": true, "dev": true, "requires": { "minimist": "^1.2.5" } }, "locate-path": { "version": "5.0.0", "bundled": true, "dev": true, "requires": { "p-locate": "^4.1.0" } }, "lodash": { "version": "4.17.21", "bundled": true, "dev": true }, "loose-envify": { "version": "1.4.0", "bundled": true, "dev": true, "requires": { "js-tokens": "^3.0.0 || ^4.0.0" } }, "make-dir": { "version": "3.1.0", "bundled": true, "dev": true, "requires": { "semver": "^6.0.0" } }, "mimic-fn": { "version": "2.1.0", "bundled": true, "dev": true }, "minimatch": { "version": "3.0.4", "bundled": true, "dev": true, "requires": { "brace-expansion": "^1.1.7" } }, "minimist": { "version": "1.2.5", "bundled": true, "dev": true }, "minipass": { "version": "3.1.6", "bundled": true, "dev": true, "requires": { "yallist": "^4.0.0" } }, "ms": { "version": "2.1.2", "bundled": true, "dev": true }, "node-releases": { "version": "2.0.1", "bundled": true, "dev": true }, "object-assign": { "version": "4.1.1", "bundled": true, "dev": true }, "once": { "version": "1.4.0", "bundled": true, "dev": true, "requires": { "wrappy": "1" } }, "onetime": { "version": "5.1.2", "bundled": true, "dev": true, "requires": { "mimic-fn": "^2.1.0" } }, "p-limit": { "version": "2.3.0", "bundled": true, "dev": true, "requires": { "p-try": "^2.0.0" } }, "p-locate": { "version": "4.1.0", "bundled": true, "dev": true, "requires": { "p-limit": "^2.2.0" } }, "p-try": { "version": "2.2.0", "bundled": true, "dev": true }, "patch-console": { "version": "1.0.0", "bundled": true, "dev": true }, "path-exists": { "version": "4.0.0", "bundled": true, "dev": true }, "path-is-absolute": { "version": "1.0.1", "bundled": true, "dev": true }, "picocolors": { "version": "1.0.0", "bundled": true, "dev": true }, "pkg-dir": { "version": "4.2.0", "bundled": true, "dev": true, "requires": { "find-up": "^4.0.0" } }, "punycode": { "version": "2.1.1", "bundled": true, "dev": true }, "react": { "version": "17.0.2", "bundled": true, "dev": true, "requires": { "loose-envify": "^1.1.0", "object-assign": "^4.1.1" } }, "react-devtools-core": { "version": "4.21.0", "bundled": true, "dev": true, "requires": { "shell-quote": "^1.6.1", "ws": "^7" } }, "react-reconciler": { "version": "0.26.2", "bundled": true, "dev": true, "requires": { "loose-envify": "^1.1.0", "object-assign": "^4.1.1", "scheduler": "^0.20.2" } }, "redeyed": { "version": "2.1.1", "bundled": true, "dev": true, "requires": { "esprima": "~4.0.0" } }, "resolve-from": { "version": "3.0.0", "bundled": true, "dev": true }, "restore-cursor": { "version": "3.1.0", "bundled": true, "dev": true, "requires": { "onetime": "^5.1.0", "signal-exit": "^3.0.2" } }, "rimraf": { "version": "3.0.2", "bundled": true, "dev": true, "requires": { "glob": "^7.1.3" } }, "safe-buffer": { "version": "5.1.2", "bundled": true, "dev": true }, "scheduler": { "version": "0.20.2", "bundled": true, "dev": true, "requires": { "loose-envify": "^1.1.0", "object-assign": "^4.1.1" } }, "semver": { "version": "6.3.0", "bundled": true, "dev": true }, "shell-quote": { "version": "1.7.3", "bundled": true, "dev": true }, "signal-exit": { "version": "3.0.6", "bundled": true, "dev": true }, "slice-ansi": { "version": "3.0.0", "bundled": true, "dev": true, "requires": { "ansi-styles": "^4.0.0", "astral-regex": "^2.0.0", "is-fullwidth-code-point": "^3.0.0" }, "dependencies": { "ansi-styles": { "version": "4.3.0", "bundled": true, "dev": true, "requires": { "color-convert": "^2.0.1" } }, "color-convert": { "version": "2.0.1", "bundled": true, "dev": true, "requires": { "color-name": "~1.1.4" } }, "color-name": { "version": "1.1.4", "bundled": true, "dev": true } } }, "source-map": { "version": "0.5.7", "bundled": true, "dev": true }, "stack-utils": { "version": "2.0.5", "bundled": true, "dev": true, "requires": { "escape-string-regexp": "^2.0.0" }, "dependencies": { "escape-string-regexp": { "version": "2.0.0", "bundled": true, "dev": true } } }, "string-width": { "version": "4.2.3", "bundled": true, "dev": true, "requires": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", "strip-ansi": "^6.0.1" } }, "strip-ansi": { "version": "6.0.1", "bundled": true, "dev": true, "requires": { "ansi-regex": "^5.0.1" } }, "supports-color": { "version": "5.5.0", "bundled": true, "dev": true, "requires": { "has-flag": "^3.0.0" } }, "tap-parser": { "version": "11.0.1", "bundled": true, "dev": true, "requires": { "events-to-array": "^1.0.1", "minipass": "^3.1.6", "tap-yaml": "^1.0.0" } }, "tap-yaml": { "version": "1.0.0", "bundled": true, "dev": true, "requires": { "yaml": "^1.5.0" } }, "to-fast-properties": { "version": "2.0.0", "bundled": true, "dev": true }, "treport": { "version": "3.0.3", "bundled": true, "dev": true, "requires": { "@isaacs/import-jsx": "^4.0.1", "cardinal": "^2.1.1", "chalk": "^3.0.0", "ink": "^3.2.0", "ms": "^2.1.2", "tap-parser": "^11.0.0", "unicode-length": "^2.0.2" }, "dependencies": { "ansi-styles": { "version": "4.3.0", "bundled": true, "dev": true, "requires": { "color-convert": "^2.0.1" } }, "chalk": { "version": "3.0.0", "bundled": true, "dev": true, "requires": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" } }, "color-convert": { "version": "2.0.1", "bundled": true, "dev": true, "requires": { "color-name": "~1.1.4" } }, "color-name": { "version": "1.1.4", "bundled": true, "dev": true }, "has-flag": { "version": "4.0.0", "bundled": true, "dev": true }, "supports-color": { "version": "7.2.0", "bundled": true, "dev": true, "requires": { "has-flag": "^4.0.0" } } } }, "type-fest": { "version": "0.12.0", "bundled": true, "dev": true }, "unicode-length": { "version": "2.0.2", "bundled": true, "dev": true, "requires": { "punycode": "^2.0.0", "strip-ansi": "^3.0.1" }, "dependencies": { "ansi-regex": { "version": "2.1.1", "bundled": true, "dev": true }, "strip-ansi": { "version": "3.0.1", "bundled": true, "dev": true, "requires": { "ansi-regex": "^2.0.0" } } } }, "widest-line": { "version": "3.1.0", "bundled": true, "dev": true, "requires": { "string-width": "^4.0.0" } }, "wrap-ansi": { "version": "6.2.0", "bundled": true, "dev": true, "requires": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", "strip-ansi": "^6.0.0" }, "dependencies": { "ansi-styles": { "version": "4.3.0", "bundled": true, "dev": true, "requires": { "color-convert": "^2.0.1" } }, "color-convert": { "version": "2.0.1", "bundled": true, "dev": true, "requires": { "color-name": "~1.1.4" } }, "color-name": { "version": "1.1.4", "bundled": true, "dev": true } } }, "wrappy": { "version": "1.0.2", "bundled": true, "dev": true }, "ws": { "version": "7.5.5", "bundled": true, "dev": true, "requires": {} }, "yallist": { "version": "4.0.0", "bundled": true, "dev": true }, "yaml": { "version": "1.10.2", "bundled": true, "dev": true }, "yoga-layout-prebuilt": { "version": "1.10.0", "bundled": true, "dev": true, "requires": { "@types/yoga-layout": "1.9.2" } } } }, "tap-mocha-reporter": { "version": "5.0.3", "resolved": "https://registry.npmjs.org/tap-mocha-reporter/-/tap-mocha-reporter-5.0.3.tgz", "integrity": "sha512-6zlGkaV4J+XMRFkN0X+yuw6xHbE9jyCZ3WUKfw4KxMyRGOpYSRuuQTRJyWX88WWuLdVTuFbxzwXhXuS2XE6o0g==", "dev": true, "requires": { "color-support": "^1.1.0", "debug": "^4.1.1", "diff": "^4.0.1", "escape-string-regexp": "^2.0.0", "glob": "^7.0.5", "tap-parser": "^11.0.0", "tap-yaml": "^1.0.0", "unicode-length": "^2.0.2" }, "dependencies": { "escape-string-regexp": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", "dev": true } } }, "tap-parser": { "version": "11.0.1", "resolved": "https://registry.npmjs.org/tap-parser/-/tap-parser-11.0.1.tgz", "integrity": "sha512-5ow0oyFOnXVSALYdidMX94u0GEjIlgc/BPFYLx0yRh9hb8+cFGNJqJzDJlUqbLOwx8+NBrIbxCWkIQi7555c0w==", "dev": true, "requires": { "events-to-array": "^1.0.1", "minipass": "^3.1.6", "tap-yaml": "^1.0.0" } }, "tap-yaml": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/tap-yaml/-/tap-yaml-1.0.0.tgz", "integrity": "sha512-Rxbx4EnrWkYk0/ztcm5u3/VznbyFJpyXO12dDBHKWiDVxy7O2Qw6MRrwO5H6Ww0U5YhRY/4C/VzWmFPhBQc4qQ==", "requires": { "yaml": "^1.5.0" } }, "tcompare": { "version": "5.0.7", "resolved": "https://registry.npmjs.org/tcompare/-/tcompare-5.0.7.tgz", "integrity": "sha512-d9iddt6YYGgyxJw5bjsN7UJUO1kGOtjSlNy/4PoGYAjQS5pAT/hzIoLf1bZCw+uUxRmZJh7Yy1aA7xKVRT9B4w==", "dev": true, "requires": { "diff": "^4.0.2" } }, "test-exclude": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==", "dev": true, "requires": { "@istanbuljs/schema": "^0.1.2", "glob": "^7.1.4", "minimatch": "^3.0.4" } }, "to-fast-properties": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", "dev": true }, "to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", "dev": true, "requires": { "is-number": "^7.0.0" } }, "trivial-deferred": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/trivial-deferred/-/trivial-deferred-1.0.1.tgz", "integrity": "sha1-N21NKdlR1jaKb3oK6FwvTV4GWPM=", "dev": true }, "type-fest": { "version": "0.8.1", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", "dev": true }, "typedarray-to-buffer": { "version": "3.1.5", "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", "dev": true, "requires": { "is-typedarray": "^1.0.0" } }, "unicode-length": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/unicode-length/-/unicode-length-2.0.2.tgz", "integrity": "sha512-Ph/j1VbS3/r77nhoY2WU0GWGjVYOHL3xpKp0y/Eq2e5r0mT/6b649vm7KFO6RdAdrZkYLdxphYVgvODxPB+Ebg==", "dev": true, "requires": { "punycode": "^2.0.0", "strip-ansi": "^3.0.1" }, "dependencies": { "ansi-regex": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", "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.0.0" } } } }, "uuid": { "version": "3.4.0", "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", "dev": true }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", "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 }, "wrap-ansi": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", "dev": true, "requires": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", "strip-ansi": "^6.0.0" }, "dependencies": { "ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, "requires": { "color-convert": "^2.0.1" } }, "color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, "requires": { "color-name": "~1.1.4" } }, "color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true } } }, "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": "3.0.3", "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz", "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==", "dev": true, "requires": { "imurmurhash": "^0.1.4", "is-typedarray": "^1.0.0", "signal-exit": "^3.0.2", "typedarray-to-buffer": "^3.1.5" } }, "y18n": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz", "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==", "dev": true }, "yallist": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" }, "yaml": { "version": "1.10.2", "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==" }, "yargs": { "version": "15.4.1", "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz", "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==", "dev": true, "requires": { "cliui": "^6.0.0", "decamelize": "^1.2.0", "find-up": "^4.1.0", "get-caller-file": "^2.0.1", "require-directory": "^2.1.1", "require-main-filename": "^2.0.0", "set-blocking": "^2.0.0", "string-width": "^4.2.0", "which-module": "^2.0.0", "y18n": "^4.0.0", "yargs-parser": "^18.1.2" }, "dependencies": { "ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, "requires": { "color-convert": "^2.0.1" } }, "cliui": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==", "dev": true, "requires": { "string-width": "^4.2.0", "strip-ansi": "^6.0.0", "wrap-ansi": "^6.2.0" } }, "color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, "requires": { "color-name": "~1.1.4" } }, "color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, "wrap-ansi": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", "dev": true, "requires": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", "strip-ansi": "^6.0.0" } } } }, "yargs-parser": { "version": "18.1.3", "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", "dev": true, "requires": { "camelcase": "^5.0.0", "decamelize": "^1.2.0" } } } } tap-parser-11.0.2/package.json000066400000000000000000000022401433324523500161410ustar00rootroot00000000000000{ "name": "tap-parser", "version": "11.0.2", "description": "parse the test anything protocol", "main": "index.js", "bin": { "tap-parser": "bin/cmd.js" }, "dependencies": { "events-to-array": "^1.0.1", "minipass": "^3.1.6", "tap-yaml": "^1.0.0" }, "devDependencies": { "glob": "^7.0.5", "tap": "^16.0.0" }, "scripts": { "snap": "tap", "test": "tap", "preversion": "npm test", "postversion": "npm publish", "postpublish": "git push origin --follow-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/tapjs/tap-parser.git" }, "homepage": "https://github.com/tapjs/tap-parser", "keywords": [ "tap", "test", "parser" ], "license": "MIT", "files": [ "index.js", "bin/cmd.js" ], "tap": { "check-coverage": true, "coverage-map": "map.js" }, "nyc": { "hookRunInThisContext": true }, "engines": { "node": ">= 8" } } tap-parser-11.0.2/readme.markdown000066400000000000000000000271561433324523500166710ustar00rootroot00000000000000# tap-parser parse the [test anything protocol](http://testanything.org/) # example ``` js // stream style const Parser = require('tap-parser') const p = new Parser(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 } } ``` If you have a string, you can also turn it into an array of parse events, and turn such an array back into a TAP string with `Parser.parse()` and `Parser.stringify()`, respectively. ```js // JSON.parse/stringify style // Note that stringifying arbitrary object types isn't supported, // because TAP is a streaming line-based protocol, not an object // serialization notation like JSON or YAML. const { parse, stringify } = require('tap-parser') const fs = require('fs') const tapData = fs.readFileSync('previous-test-output.tap') const result = parse(tapData) console.dir(result) const reEncodedAsTap = stringify(result) console.log(reEncodedAsTap) ``` # 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 uses node's `util.inspect()` 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 -B | --no-bail Do not bail out at the first failed test point encountered (Default) -f | --flat Flatten all assertions to the top level parser -F | --no-flat Do not flatten all assertions to the top level parser (Default) -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 --strict Run the parser in strict mode --no-strict Do not run the parser in strict mode -s | --silent Do not print output, just exit success/failure based on TAP stream ``` # methods ``` js const Parser = require('tap-parser') ``` ## `const 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('result', function (assert) {})` This is the same as the `assert` event, except that it only emits on the root parser, whenever it or any child parser has an `assert` event that is not merely closing a child test block. ## `p.on('pass', function (assert) {})` ## `p.on('fail', function (assert) {})` ## `p.on('skip', function (assert) {})` ## `p.on('todo', function (assert) {})` Emitted on the root parser object, whenever it or any child parser has an `assert` event that is not merely closing a child test block, if the result is of the appropriate type. ## `p.on('extra', function (extra) {})` All other lines will trigger an `'extra'` event with the line text. # static method: `const results = Parser.parse(string, options = {})` This will return an array of all the events encountered in the parsed TAP string. Any options to the `Parser` constructor may be provided, in addition to the following: * `flat`: Boolean, default false, flatten nested child tests into a single level. Note that this will lose child test information, and will result in a `complete` event that may not match the counts of assertions in the list. This is useful if you are transforming TAP strings for use by a parser that does not support child tests, or just simply don't care about that level of detail. Result `id` values will be coerced to an incrementing numeric values, and a valid `plan` will be generated at the end of the stream. # static method: `const tap = Parser.stringify(results, options = {})` Turn a `results` list of the sort returned by `Parser.parse()` into a TAP string. The following options are supported: * `flat`: Boolean, default false, flatten nested child tests into a single level. Note that this will lose child test information, and will result in a `complete` event that may not match the counts of assertions in the list. This is useful if you are transforming TAP strings for use by a parser that does not support child tests, or just simply don't care about that level of detail. Result `id` values will be coerced to an incrementing numeric values, and a valid `plan` will be generated at the end of the stream. The `indent` and `id` options are used internally, and should not be modified. # 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-11.0.2/tap-snapshots/000077500000000000000000000000001433324523500164615ustar00rootroot00000000000000tap-parser-11.0.2/tap-snapshots/test/000077500000000000000000000000001433324523500174405ustar00rootroot00000000000000tap-parser-11.0.2/tap-snapshots/test/abort.js.test.cjs000066400000000000000000000126011433324523500226410ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/abort.js TAP buffered abort empty diags > lines 1`] = ` Array [ "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", " 1..2\\n", " }\\n", "}\\n", "not ok 2 - nope\\n", "1..2\\n", ] ` exports[`test/abort.js TAP buffered abort empty diags > results 1`] = ` FinalResults { "bailout": false, "count": 2, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 2, "name": "nope", "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, } ` exports[`test/abort.js TAP buffered abort no diags > lines 1`] = ` Array [ "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", " 1..2\\n", " }\\n", "}\\n", "not ok 2 - nope\\n", "1..2\\n", ] ` exports[`test/abort.js TAP buffered abort no diags > results 1`] = ` FinalResults { "bailout": false, "count": 2, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 2, "name": "nope", "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, } ` exports[`test/abort.js TAP buffered abort with diags > lines 1`] = ` Array [ "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", " ---\\n", " some: diags\\n", " ...\\n", " 1..2\\n", " }\\n", "}\\n", "not ok 2 - nope\\n", "1..2\\n", ] ` exports[`test/abort.js TAP buffered abort with diags > results 1`] = ` FinalResults { "bailout": false, "count": 2, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 2, "name": "nope", "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, } ` exports[`test/abort.js TAP unbuffered abort empty diags > lines 1`] = ` Array [ "ok 1 - nesting {\\n", " 1..2\\n", " # Subtest: first\\n", " 1..2\\n", " ok 1 - true is ok\\n", " not ok 2 - nope\\n", " not ok 1 - nope\\n", "}\\n", "not ok 2 - nope\\n", "1..2\\n", ] ` exports[`test/abort.js TAP unbuffered abort empty diags > must match snapshot 1`] = ` FinalResults { "bailout": false, "count": 2, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 2, "name": "nope", "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, } ` exports[`test/abort.js TAP unbuffered abort no diags > lines 1`] = ` Array [ "ok 1 - nesting {\\n", " 1..2\\n", " # Subtest: first\\n", " 1..2\\n", " ok 1 - true is ok\\n", " not ok 2 - nope\\n", " not ok 1 - nope\\n", "}\\n", "not ok 2 - nope\\n", "1..2\\n", ] ` exports[`test/abort.js TAP unbuffered abort no diags > must match snapshot 1`] = ` FinalResults { "bailout": false, "count": 2, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 2, "name": "nope", "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, } ` exports[`test/abort.js TAP unbuffered abort with diags > lines 1`] = ` Array [ "ok 1 - nesting {\\n", " 1..2\\n", " # Subtest: first\\n", " 1..2\\n", " ok 1 - true is ok\\n", " not ok 2 - nope\\n", " ---\\n", " some: diags\\n", " ...\\n", " not ok 1 - nope\\n", "}\\n", "not ok 2 - nope\\n", "1..2\\n", ] ` exports[`test/abort.js TAP unbuffered abort with diags > must match snapshot 1`] = ` FinalResults { "bailout": false, "count": 2, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 2, "name": "nope", "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, } ` tap-parser-11.0.2/tap-snapshots/test/bail-parent-while-child-exists.js.test.cjs000066400000000000000000000027001433324523500274330ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/bail-parent-while-child-exists.js TAP > must match snapshot 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "this is fine", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "this is fine", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "this is fine", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: child\\n", ], Array [ "comment", "# this is a child\\n", ], ], ], Array [ "bailout", "# saw that coming", ], Array [ "complete", FinalResults { "bailout": "# saw that coming", "count": 1, "fail": 0, "failures": Array [], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/bail-while-bailing.js.test.cjs000066400000000000000000000034221433324523500251530ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/bail-while-bailing.js TAP > must match snapshot 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "this is fine", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "this is fine", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "this is fine", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "going to bail", "ok": false, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "going to bail", "ok": false, }, ], Array [ "fail", Result { "fullname": "", "id": 2, "name": "going to bail", "ok": false, }, ], Array [ "bailout", "# saw that coming", ], Array [ "complete", FinalResults { "bailout": "# saw that coming", "count": 2, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 2, "name": "going to bail", "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/cmd.js.test.cjs000066400000000000000000001631401433324523500223020ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/cmd.js TAP basic bail b w > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic bail b w > output 1`] = ` [ [ 'version', 13 ], [ 'assert', Result { ok: true, id: 1, name: "i'm sure this will be fine", fullname: '' } ], [ 'bailout', '' ], [ 'complete', FinalResults { ok: false, count: 1, pass: 1, fail: 0, bailout: true, todo: 0, skip: 0, plan: FinalPlan { start: null, end: null, skipAll: false, skipReason: '', comment: '' }, failures: [], time: null } ] ] ` exports[`test/cmd.js TAP basic bail b w > stderr 1`] = ` ` exports[`test/cmd.js TAP basic bail flat > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic bail flat > output 1`] = ` [ [ 'assert', Result { ok: true, id: 1, name: "i'm sure this will be fine", fullname: '' } ], [ 'bailout', '' ], [ 'complete', FinalResults { ok: false, count: 1, pass: 1, fail: 0, bailout: true, todo: 0, skip: 0, plan: FinalPlan { start: null, end: null, skipAll: false, skipReason: '', comment: '' }, failures: [], time: null } ] ] ` exports[`test/cmd.js TAP basic bail flat > stderr 1`] = ` ` exports[`test/cmd.js TAP basic bail flat tap > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic bail flat tap > output 1`] = ` TAP version 13 ok 1 - i'm sure this will be fine Bail out! ` exports[`test/cmd.js TAP basic bail flat tap > stderr 1`] = ` ` exports[`test/cmd.js TAP basic bail lines > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic bail lines > output 1`] = ` TAP version 13 ok 1 - i'm sure this will be fine Bail out! ` exports[`test/cmd.js TAP basic bail lines > stderr 1`] = ` ` exports[`test/cmd.js TAP basic bail no args > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic bail no args > output 1`] = ` [ [ 'version', 13 ], [ 'assert', Result { ok: true, id: 1, name: "i'm sure this will be fine", fullname: '' } ], [ 'bailout', '' ], [ 'complete', FinalResults { ok: false, count: 1, pass: 1, fail: 0, bailout: true, todo: 0, skip: 0, plan: FinalPlan { start: null, end: null, skipAll: false, skipReason: '', comment: '' }, failures: [], time: null } ] ] ` exports[`test/cmd.js TAP basic bail no args > stderr 1`] = ` ` exports[`test/cmd.js TAP basic bail silent > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic bail silent > output 1`] = ` ` exports[`test/cmd.js TAP basic bail silent > stderr 1`] = ` ` exports[`test/cmd.js TAP basic bail silent strict > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic bail silent strict > output 1`] = ` ` exports[`test/cmd.js TAP basic bail silent strict > stderr 1`] = ` ` exports[`test/cmd.js TAP basic bail strict > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic bail strict > output 1`] = ` [ [ 'version', 13 ], [ 'assert', Result { ok: true, id: 1, name: "i'm sure this will be fine", fullname: '' } ], [ 'bailout', '' ], [ 'complete', FinalResults { ok: false, count: 1, pass: 1, fail: 0, bailout: true, todo: 0, skip: 0, plan: FinalPlan { start: null, end: null, skipAll: false, skipReason: '', comment: '' }, failures: [], time: null } ] ] ` exports[`test/cmd.js TAP basic bail strict > stderr 1`] = ` ` exports[`test/cmd.js TAP basic bail t > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic bail t > output 1`] = ` TAP version 13 ok 1 - i'm sure this will be fine Bail out! ` exports[`test/cmd.js TAP basic bail t > stderr 1`] = ` ` exports[`test/cmd.js TAP basic bail_reason b w > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic bail_reason b w > output 1`] = ` [ [ 'version', 13 ], [ 'bailout', 'i have my reasons' ], [ 'complete', FinalResults { ok: false, count: 0, pass: 0, fail: 0, bailout: 'i have my reasons', todo: 0, skip: 0, plan: FinalPlan { start: null, end: null, skipAll: false, skipReason: '', comment: '' }, failures: [], time: null } ] ] ` exports[`test/cmd.js TAP basic bail_reason b w > stderr 1`] = ` ` exports[`test/cmd.js TAP basic bail_reason flat > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic bail_reason flat > output 1`] = ` [ [ 'bailout', 'i have my reasons' ], [ 'complete', FinalResults { ok: false, count: 0, pass: 0, fail: 0, bailout: 'i have my reasons', todo: 0, skip: 0, plan: FinalPlan { start: null, end: null, skipAll: false, skipReason: '', comment: '' }, failures: [], time: null } ] ] ` exports[`test/cmd.js TAP basic bail_reason flat > stderr 1`] = ` ` exports[`test/cmd.js TAP basic bail_reason flat tap > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic bail_reason flat tap > output 1`] = ` TAP version 13 Bail out! i have my reasons ` exports[`test/cmd.js TAP basic bail_reason flat tap > stderr 1`] = ` ` exports[`test/cmd.js TAP basic bail_reason lines > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic bail_reason lines > output 1`] = ` TAP version 13 Bail out! i have my reasons ` exports[`test/cmd.js TAP basic bail_reason lines > stderr 1`] = ` ` exports[`test/cmd.js TAP basic bail_reason no args > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic bail_reason no args > output 1`] = ` [ [ 'version', 13 ], [ 'bailout', 'i have my reasons' ], [ 'complete', FinalResults { ok: false, count: 0, pass: 0, fail: 0, bailout: 'i have my reasons', todo: 0, skip: 0, plan: FinalPlan { start: null, end: null, skipAll: false, skipReason: '', comment: '' }, failures: [], time: null } ] ] ` exports[`test/cmd.js TAP basic bail_reason no args > stderr 1`] = ` ` exports[`test/cmd.js TAP basic bail_reason silent > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic bail_reason silent > output 1`] = ` ` exports[`test/cmd.js TAP basic bail_reason silent > stderr 1`] = ` ` exports[`test/cmd.js TAP basic bail_reason silent strict > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic bail_reason silent strict > output 1`] = ` ` exports[`test/cmd.js TAP basic bail_reason silent strict > stderr 1`] = ` ` exports[`test/cmd.js TAP basic bail_reason strict > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic bail_reason strict > output 1`] = ` [ [ 'version', 13 ], [ 'bailout', 'i have my reasons' ], [ 'complete', FinalResults { ok: false, count: 0, pass: 0, fail: 0, bailout: 'i have my reasons', todo: 0, skip: 0, plan: FinalPlan { start: null, end: null, skipAll: false, skipReason: '', comment: '' }, failures: [], time: null } ] ] ` exports[`test/cmd.js TAP basic bail_reason strict > stderr 1`] = ` ` exports[`test/cmd.js TAP basic bail_reason t > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic bail_reason t > output 1`] = ` TAP version 13 Bail out! i have my reasons ` exports[`test/cmd.js TAP basic bail_reason t > stderr 1`] = ` ` exports[`test/cmd.js TAP basic fail b w > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic fail b w > output 1`] = ` [ [ 'version', 13 ], [ 'assert', Result { ok: true, id: 1, name: 'this is fine', fullname: '' } ], [ 'child', [ [ 'comment', '# Subtest: child\\n' ], [ 'assert', Result { ok: false, id: 1, name: 'this is fine', diag: { not: 'ok', this: 'is fine' }, fullname: 'child' } ], [ 'bailout', 'this is fine' ], [ 'complete', FinalResults { ok: false, count: 1, pass: 0, fail: 1, bailout: 'this is fine', todo: 0, skip: 0, plan: FinalPlan { start: null, end: null, skipAll: false, skipReason: '', comment: '' }, failures: [ Result { ok: false, id: 1, name: 'this is fine', diag: { not: 'ok', this: 'is fine' }, fullname: 'child' } ], time: null } ] ] ], [ 'extra', ' blearajn9aefnzxrfoas\\n' ], [ 'extra', ' \\n' ], [ 'bailout', 'this is fine' ], [ 'complete', FinalResults { ok: false, count: 1, pass: 1, fail: 0, bailout: 'this is fine', todo: 0, skip: 0, plan: FinalPlan { start: null, end: null, skipAll: false, skipReason: '', comment: '' }, failures: [], time: null } ] ] ` exports[`test/cmd.js TAP basic fail b w > stderr 1`] = ` ` exports[`test/cmd.js TAP basic fail flat > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic fail flat > output 1`] = ` [ [ 'assert', Result { ok: true, id: 1, name: 'this is fine', fullname: '' } ], [ 'extra', ' blearajn9aefnzxrfoas\\n' ], [ 'extra', ' \\n' ], [ 'assert', Result { ok: false, id: 2, name: 'child > this is fine', diag: { not: 'ok', this: 'is fine' }, fullname: '' } ], [ 'assert', Result { ok: true, id: 3, todo: true, name: 'child > also fine', fullname: '' } ], [ 'assert', Result { ok: true, id: 4, todo: 'later is never', name: 'child > do later', fullname: '' } ], [ 'assert', Result { ok: true, id: 5, skip: true, name: 'child > rope', fullname: '' } ], [ 'assert', Result { ok: true, id: 6, skip: 'is piks backward', name: 'child > piks', tapError: 'test point id 1 appears multiple times', previous: Result { ok: false, id: 2, name: 'child > this is fine', diag: { not: 'ok', this: 'is fine' }, fullname: '' }, fullname: '' } ], [ 'comment', '# failed 1 of 2 tests\\n' ], [ 'plan', { end: 6, start: 1 } ], [ 'complete', FinalResults { ok: false, count: 2, pass: 1, fail: 1, bailout: false, todo: 0, skip: 0, plan: FinalPlan { start: 1, end: 2, skipAll: false, skipReason: '', comment: '' }, failures: [ Result { ok: false, id: 2, time: 420, name: 'child', fullname: '' } ], time: null } ] ] ` exports[`test/cmd.js TAP basic fail flat > stderr 1`] = ` ` exports[`test/cmd.js TAP basic fail flat tap > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic fail flat tap > output 1`] = ` TAP version 13 ok 1 - this is fine blearajn9aefnzxrfoas not ok 2 - child > this is fine --- not: ok this: is fine ... ok 3 - child > also fine # TODO ok 4 - child > do later # TODO later is never ok 5 - child > rope # SKIP ok 6 - child > piks # SKIP is piks backward # failed 1 of 2 tests 1..6 ` exports[`test/cmd.js TAP basic fail flat tap > stderr 1`] = ` ` exports[`test/cmd.js TAP basic fail lines > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic fail lines > output 1`] = ` TAP version 13 ok 1 - this is fine # Subtest: child not ok 1 - this is fine --- not: ok this: is fine ... blearajn9aefnzxrfoas pragma +strict pragma -blerg ok 2 - also fine # TODO ok 3 - do later # TODO later is never ok 4 - rope # SKIP ok 1 - piks # SKIP is piks backward # some comment 1..4 # plan comment # test count(5) != plan(4) # failed 2 of 5 tests # todo: 2 # skip: 2 not ok 2 - child # time=420ms 1..2 # failed 1 of 2 tests ` exports[`test/cmd.js TAP basic fail lines > stderr 1`] = ` ` exports[`test/cmd.js TAP basic fail no args > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic fail no args > output 1`] = ` [ [ 'version', 13 ], [ 'assert', Result { ok: true, id: 1, name: 'this is fine', fullname: '' } ], [ 'child', [ [ 'comment', '# Subtest: child\\n' ], [ 'assert', Result { ok: false, id: 1, name: 'this is fine', diag: { not: 'ok', this: 'is fine' }, fullname: 'child' } ], [ 'pragma', 'strict', true ], [ 'pragma', 'blerg', false ], [ 'assert', Result { ok: true, id: 2, todo: true, name: 'also fine', fullname: 'child' } ], [ 'assert', Result { ok: true, id: 3, todo: 'later is never', name: 'do later', fullname: 'child' } ], [ 'assert', Result { ok: true, id: 4, skip: true, name: 'rope', fullname: 'child' } ], [ 'assert', Result { ok: true, id: 1, skip: 'is piks backward', name: 'piks', tapError: 'test point id 1 appears multiple times', previous: Result { ok: false, id: 1, name: 'this is fine', diag: { not: 'ok', this: 'is fine' }, fullname: 'child' }, fullname: 'child' } ], [ 'comment', '# some comment\\n' ], [ 'plan', { start: 1, end: 4, comment: 'plan comment' } ], [ 'comment', '# test count(5) != plan(4)\\n' ], [ 'comment', '# failed 2 of 5 tests\\n' ], [ 'comment', '# todo: 2\\n' ], [ 'comment', '# skip: 2\\n' ], [ 'complete', FinalResults { ok: false, count: 5, pass: 4, fail: 2, bailout: false, todo: 2, skip: 2, plan: FinalPlan { start: 1, end: 4, skipAll: false, skipReason: '', comment: 'plan comment' }, failures: [ Result { ok: false, id: 1, name: 'this is fine', diag: { not: 'ok', this: 'is fine' }, fullname: 'child' }, Result { ok: true, id: 1, skip: 'is piks backward', name: 'piks', tapError: 'test point id 1 appears multiple times', previous: Result { ok: false, id: 1, name: 'this is fine', diag: { not: 'ok', this: 'is fine' }, fullname: 'child' }, fullname: 'child' } ], time: 420 } ] ] ], [ 'extra', ' blearajn9aefnzxrfoas\\n' ], [ 'extra', ' \\n' ], [ 'assert', Result { ok: false, id: 2, time: 420, name: 'child', fullname: '' } ], [ 'plan', { start: 1, end: 2 } ], [ 'comment', '# failed 1 of 2 tests\\n' ], [ 'complete', FinalResults { ok: false, count: 2, pass: 1, fail: 1, bailout: false, todo: 0, skip: 0, plan: FinalPlan { start: 1, end: 2, skipAll: false, skipReason: '', comment: '' }, failures: [ Result { ok: false, id: 2, time: 420, name: 'child', fullname: '' } ], time: null } ] ] ` exports[`test/cmd.js TAP basic fail no args > stderr 1`] = ` ` exports[`test/cmd.js TAP basic fail silent > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic fail silent > output 1`] = ` ` exports[`test/cmd.js TAP basic fail silent > stderr 1`] = ` ` exports[`test/cmd.js TAP basic fail silent strict > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic fail silent strict > output 1`] = ` ` exports[`test/cmd.js TAP basic fail silent strict > stderr 1`] = ` ` exports[`test/cmd.js TAP basic fail strict > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic fail strict > output 1`] = ` [ [ 'version', 13 ], [ 'assert', Result { ok: true, id: 1, name: 'this is fine', fullname: '' } ], [ 'child', [ [ 'comment', '# Subtest: child\\n' ], [ 'assert', Result { ok: false, id: 1, name: 'this is fine', diag: { not: 'ok', this: 'is fine' }, fullname: 'child' } ], [ 'pragma', 'strict', true ], [ 'pragma', 'blerg', false ], [ 'assert', Result { ok: true, id: 2, todo: true, name: 'also fine', fullname: 'child' } ], [ 'assert', Result { ok: true, id: 3, todo: 'later is never', name: 'do later', fullname: 'child' } ], [ 'assert', Result { ok: true, id: 4, skip: true, name: 'rope', fullname: 'child' } ], [ 'assert', Result { ok: true, id: 1, skip: 'is piks backward', name: 'piks', tapError: 'test point id 1 appears multiple times', previous: Result { ok: false, id: 1, name: 'this is fine', diag: { not: 'ok', this: 'is fine' }, fullname: 'child' }, fullname: 'child' } ], [ 'comment', '# some comment\\n' ], [ 'plan', { start: 1, end: 4, comment: 'plan comment' } ], [ 'comment', '# test count(5) != plan(4)\\n' ], [ 'comment', '# failed 4 of 5 tests\\n' ], [ 'comment', '# todo: 2\\n' ], [ 'comment', '# skip: 2\\n' ], [ 'complete', FinalResults { ok: false, count: 5, pass: 4, fail: 4, bailout: false, todo: 2, skip: 2, plan: FinalPlan { start: 1, end: 4, skipAll: false, skipReason: '', comment: 'plan comment' }, failures: [ { tapError: 'Non-TAP data encountered in strict mode', data: 'blearajn9aefnzxrfoas\\n' }, { tapError: 'Non-TAP data encountered in strict mode', data: ' \\n' }, Result { ok: false, id: 1, name: 'this is fine', diag: { not: 'ok', this: 'is fine' }, fullname: 'child' }, Result { ok: true, id: 1, skip: 'is piks backward', name: 'piks', tapError: 'test point id 1 appears multiple times', previous: Result { ok: false, id: 1, name: 'this is fine', diag: { not: 'ok', this: 'is fine' }, fullname: 'child' }, fullname: 'child' } ], time: 420 } ] ] ], [ 'extra', ' blearajn9aefnzxrfoas\\n' ], [ 'extra', ' \\n' ], [ 'assert', Result { ok: false, id: 2, time: 420, name: 'child', fullname: '' } ], [ 'plan', { start: 1, end: 2 } ], [ 'comment', '# failed 3 of 2 tests\\n' ], [ 'complete', FinalResults { ok: false, count: 2, pass: 1, fail: 3, bailout: false, todo: 0, skip: 0, plan: FinalPlan { start: 1, end: 2, skipAll: false, skipReason: '', comment: '' }, failures: [ { tapError: 'Non-TAP data encountered in strict mode', data: 'blearajn9aefnzxrfoas\\n' }, { tapError: 'Non-TAP data encountered in strict mode', data: ' \\n' }, Result { ok: false, id: 2, time: 420, name: 'child', fullname: '' } ], time: null } ] ] ` exports[`test/cmd.js TAP basic fail strict > stderr 1`] = ` ` exports[`test/cmd.js TAP basic fail t > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic fail t > output 1`] = ` TAP version 13 ok 1 - this is fine # Subtest: child not ok 1 - this is fine --- not: ok this: is fine ... pragma +strict pragma -blerg ok 2 - also fine # TODO ok 3 - do later # TODO later is never ok 4 - rope # SKIP ok 1 - piks # SKIP is piks backward # some comment 1..4 # plan comment # test count(5) != plan(4) # failed 2 of 5 tests # todo: 2 # skip: 2 blearajn9aefnzxrfoas not ok 2 - child # time=420ms 1..2 # failed 1 of 2 tests ` exports[`test/cmd.js TAP basic fail t > stderr 1`] = ` ` exports[`test/cmd.js TAP basic failing_child_with_broken_tap b w > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic failing_child_with_broken_tap b w > output 1`] = ` [ [ 'version', 13 ], [ 'pragma', 'strict', true ], [ 'child', [ [ 'comment', '# Subtest: child\\n' ], [ 'assert', Result { ok: false, id: 1, name: 'test point in child', fullname: 'child' } ], [ 'bailout', 'test point in child' ], [ 'complete', FinalResults { ok: false, count: 1, pass: 0, fail: 3, bailout: 'test point in child', todo: 0, skip: 0, plan: FinalPlan { start: null, end: null, skipAll: false, skipReason: '', comment: '' }, failures: [ { tapError: 'Non-TAP data encountered in strict mode', data: ' ...\\n' }, { tapError: 'Non-TAP data encountered in strict mode', data: ' hello: world\\n' }, Result { ok: false, id: 1, name: 'test point in child', fullname: 'child' } ], time: null } ] ] ], [ 'extra', ' ...\\n' ], [ 'extra', ' hello: world\\n' ], [ 'bailout', 'test point in child' ], [ 'complete', FinalResults { ok: false, count: 0, pass: 0, fail: 2, bailout: 'test point in child', todo: 0, skip: 0, plan: FinalPlan { start: null, end: null, skipAll: false, skipReason: '', comment: '' }, failures: [ { tapError: 'Non-TAP data encountered in strict mode', data: ' ...\\n' }, { tapError: 'Non-TAP data encountered in strict mode', data: ' hello: world\\n' } ], time: null } ] ] ` exports[`test/cmd.js TAP basic failing_child_with_broken_tap b w > stderr 1`] = ` ` exports[`test/cmd.js TAP basic failing_child_with_broken_tap flat > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic failing_child_with_broken_tap flat > output 1`] = ` [ [ 'pragma', 'strict', true ], [ 'extra', ' ...\\n' ], [ 'extra', ' hello: world\\n' ], [ 'assert', Result { ok: false, id: 1, name: 'child > test point in child', fullname: '' } ], [ 'comment', '# failed 3 test\\n' ], [ 'plan', { end: 1, start: 1 } ], [ 'complete', FinalResults { ok: false, count: 1, pass: 0, fail: 3, bailout: false, todo: 0, skip: 0, plan: FinalPlan { start: 1, end: 1, skipAll: false, skipReason: '', comment: '' }, failures: [ { tapError: 'Non-TAP data encountered in strict mode', data: ' ...\\n' }, { tapError: 'Non-TAP data encountered in strict mode', data: ' hello: world\\n' }, Result { ok: false, id: 1, name: 'child', fullname: '' } ], time: null } ] ] ` exports[`test/cmd.js TAP basic failing_child_with_broken_tap flat > stderr 1`] = ` ` exports[`test/cmd.js TAP basic failing_child_with_broken_tap flat tap > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic failing_child_with_broken_tap flat tap > output 1`] = ` TAP version 13 pragma +strict ... hello: world not ok 1 - child > test point in child # failed 3 test 1..1 ` exports[`test/cmd.js TAP basic failing_child_with_broken_tap flat tap > stderr 1`] = ` ` exports[`test/cmd.js TAP basic failing_child_with_broken_tap lines > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic failing_child_with_broken_tap lines > output 1`] = ` TAP version 13 pragma +strict # Subtest: child not ok 1 - test point in child ... hello: world # test count(1) != plan(null) # failed 4 test not ok 1 - child 1..1 # failed 3 test ` exports[`test/cmd.js TAP basic failing_child_with_broken_tap lines > stderr 1`] = ` ` exports[`test/cmd.js TAP basic failing_child_with_broken_tap no args > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic failing_child_with_broken_tap no args > output 1`] = ` [ [ 'version', 13 ], [ 'pragma', 'strict', true ], [ 'child', [ [ 'comment', '# Subtest: child\\n' ], [ 'assert', Result { ok: false, id: 1, name: 'test point in child', fullname: 'child' } ], [ 'comment', '# test count(1) != plan(null)\\n' ], [ 'comment', '# failed 4 test\\n' ], [ 'complete', FinalResults { ok: false, count: 1, pass: 0, fail: 4, bailout: false, todo: 0, skip: 0, plan: FinalPlan { start: null, end: null, skipAll: false, skipReason: '', comment: '' }, failures: [ { tapError: 'Non-TAP data encountered in strict mode', data: ' ...\\n' }, { tapError: 'Non-TAP data encountered in strict mode', data: ' hello: world\\n' }, Result { ok: false, id: 1, name: 'test point in child', fullname: 'child' }, { tapError: 'no plan' } ], time: null } ] ] ], [ 'extra', ' ...\\n' ], [ 'extra', ' hello: world\\n' ], [ 'assert', Result { ok: false, id: 1, name: 'child', fullname: '' } ], [ 'plan', { start: 1, end: 1 } ], [ 'comment', '# failed 3 test\\n' ], [ 'complete', FinalResults { ok: false, count: 1, pass: 0, fail: 3, bailout: false, todo: 0, skip: 0, plan: FinalPlan { start: 1, end: 1, skipAll: false, skipReason: '', comment: '' }, failures: [ { tapError: 'Non-TAP data encountered in strict mode', data: ' ...\\n' }, { tapError: 'Non-TAP data encountered in strict mode', data: ' hello: world\\n' }, Result { ok: false, id: 1, name: 'child', fullname: '' } ], time: null } ] ] ` exports[`test/cmd.js TAP basic failing_child_with_broken_tap no args > stderr 1`] = ` ` exports[`test/cmd.js TAP basic failing_child_with_broken_tap silent > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic failing_child_with_broken_tap silent > output 1`] = ` ` exports[`test/cmd.js TAP basic failing_child_with_broken_tap silent > stderr 1`] = ` ` exports[`test/cmd.js TAP basic failing_child_with_broken_tap silent strict > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic failing_child_with_broken_tap silent strict > output 1`] = ` ` exports[`test/cmd.js TAP basic failing_child_with_broken_tap silent strict > stderr 1`] = ` ` exports[`test/cmd.js TAP basic failing_child_with_broken_tap strict > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic failing_child_with_broken_tap strict > output 1`] = ` [ [ 'version', 13 ], [ 'pragma', 'strict', true ], [ 'child', [ [ 'comment', '# Subtest: child\\n' ], [ 'assert', Result { ok: false, id: 1, name: 'test point in child', fullname: 'child' } ], [ 'comment', '# test count(1) != plan(null)\\n' ], [ 'comment', '# failed 4 test\\n' ], [ 'complete', FinalResults { ok: false, count: 1, pass: 0, fail: 4, bailout: false, todo: 0, skip: 0, plan: FinalPlan { start: null, end: null, skipAll: false, skipReason: '', comment: '' }, failures: [ { tapError: 'Non-TAP data encountered in strict mode', data: ' ...\\n' }, { tapError: 'Non-TAP data encountered in strict mode', data: ' hello: world\\n' }, Result { ok: false, id: 1, name: 'test point in child', fullname: 'child' }, { tapError: 'no plan' } ], time: null } ] ] ], [ 'extra', ' ...\\n' ], [ 'extra', ' hello: world\\n' ], [ 'assert', Result { ok: false, id: 1, name: 'child', fullname: '' } ], [ 'plan', { start: 1, end: 1 } ], [ 'comment', '# failed 3 test\\n' ], [ 'complete', FinalResults { ok: false, count: 1, pass: 0, fail: 3, bailout: false, todo: 0, skip: 0, plan: FinalPlan { start: 1, end: 1, skipAll: false, skipReason: '', comment: '' }, failures: [ { tapError: 'Non-TAP data encountered in strict mode', data: ' ...\\n' }, { tapError: 'Non-TAP data encountered in strict mode', data: ' hello: world\\n' }, Result { ok: false, id: 1, name: 'child', fullname: '' } ], time: null } ] ] ` exports[`test/cmd.js TAP basic failing_child_with_broken_tap strict > stderr 1`] = ` ` exports[`test/cmd.js TAP basic failing_child_with_broken_tap t > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic failing_child_with_broken_tap t > output 1`] = ` TAP version 13 pragma +strict # Subtest: child not ok 1 - test point in child # test count(1) != plan(null) # failed 4 test ... hello: world not ok 1 - child 1..1 # failed 3 test ` exports[`test/cmd.js TAP basic failing_child_with_broken_tap t > stderr 1`] = ` ` exports[`test/cmd.js TAP basic pass_mostly b w > error 1`] = ` 0 ` exports[`test/cmd.js TAP basic pass_mostly b w > output 1`] = ` [ [ 'version', 13 ], [ 'assert', Result { ok: true, id: 1, name: 'this is fine', fullname: '' } ], [ 'child', [ [ 'comment', '# Subtest: child\\n' ], [ 'assert', Result { ok: true, id: 1, name: 'this is fine', fullname: 'child' } ], [ 'pragma', 'strict', true ], [ 'assert', Result { ok: true, id: 2, name: 'also fine', fullname: 'child' } ], [ 'assert', Result { ok: true, fullname: 'child' } ], [ 'comment', '# some comment\\n' ], [ 'plan', { start: 1, end: 3 } ], [ 'complete', FinalResults { ok: true, count: 3, pass: 3, fail: 0, bailout: false, todo: 0, skip: 0, plan: FinalPlan { start: 1, end: 3, skipAll: false, skipReason: '', comment: '' }, failures: [], time: null } ] ] ], [ 'extra', ' blearajn9aefnzxrfoas\\n' ], [ 'extra', ' \\n' ], [ 'assert', Result { ok: true, id: 2, buffered: true, name: 'child', fullname: '' } ], [ 'plan', { start: 1, end: 2 } ], [ 'complete', FinalResults { ok: true, count: 2, pass: 2, fail: 0, bailout: false, todo: 0, skip: 0, plan: FinalPlan { start: 1, end: 2, skipAll: false, skipReason: '', comment: '' }, failures: [], time: null } ] ] ` exports[`test/cmd.js TAP basic pass_mostly b w > stderr 1`] = ` ` exports[`test/cmd.js TAP basic pass_mostly flat > error 1`] = ` 0 ` exports[`test/cmd.js TAP basic pass_mostly flat > output 1`] = ` [ [ 'assert', Result { ok: true, id: 1, name: 'this is fine', fullname: '' } ], [ 'extra', ' blearajn9aefnzxrfoas\\n' ], [ 'extra', ' \\n' ], [ 'assert', Result { ok: true, id: 2, name: 'child > this is fine', fullname: '' } ], [ 'assert', Result { ok: true, id: 3, name: 'child > also fine', fullname: '' } ], [ 'assert', Result { ok: true, fullname: '', name: 'child', id: 4 } ], [ 'plan', { end: 4, start: 1 } ], [ 'complete', FinalResults { ok: true, count: 2, pass: 2, fail: 0, bailout: false, todo: 0, skip: 0, plan: FinalPlan { start: 1, end: 2, skipAll: false, skipReason: '', comment: '' }, failures: [], time: null } ] ] ` exports[`test/cmd.js TAP basic pass_mostly flat > stderr 1`] = ` ` exports[`test/cmd.js TAP basic pass_mostly flat tap > error 1`] = ` 0 ` exports[`test/cmd.js TAP basic pass_mostly flat tap > output 1`] = ` TAP version 13 ok 1 - this is fine blearajn9aefnzxrfoas ok 2 - child > this is fine ok 3 - child > also fine ok 4 - child 1..4 ` exports[`test/cmd.js TAP basic pass_mostly flat tap > stderr 1`] = ` ` exports[`test/cmd.js TAP basic pass_mostly lines > error 1`] = ` 0 ` exports[`test/cmd.js TAP basic pass_mostly lines > output 1`] = ` TAP version 13 ok 1 - this is fine ok 2 - child { ok 1 - this is fine blearajn9aefnzxrfoas pragma +strict ok 2 - also fine ok # some comment 1..3 } 1..2 ` exports[`test/cmd.js TAP basic pass_mostly lines > stderr 1`] = ` ` exports[`test/cmd.js TAP basic pass_mostly no args > error 1`] = ` 0 ` exports[`test/cmd.js TAP basic pass_mostly no args > output 1`] = ` [ [ 'version', 13 ], [ 'assert', Result { ok: true, id: 1, name: 'this is fine', fullname: '' } ], [ 'child', [ [ 'comment', '# Subtest: child\\n' ], [ 'assert', Result { ok: true, id: 1, name: 'this is fine', fullname: 'child' } ], [ 'pragma', 'strict', true ], [ 'assert', Result { ok: true, id: 2, name: 'also fine', fullname: 'child' } ], [ 'assert', Result { ok: true, fullname: 'child' } ], [ 'comment', '# some comment\\n' ], [ 'plan', { start: 1, end: 3 } ], [ 'complete', FinalResults { ok: true, count: 3, pass: 3, fail: 0, bailout: false, todo: 0, skip: 0, plan: FinalPlan { start: 1, end: 3, skipAll: false, skipReason: '', comment: '' }, failures: [], time: null } ] ] ], [ 'extra', ' blearajn9aefnzxrfoas\\n' ], [ 'extra', ' \\n' ], [ 'assert', Result { ok: true, id: 2, buffered: true, name: 'child', fullname: '' } ], [ 'plan', { start: 1, end: 2 } ], [ 'complete', FinalResults { ok: true, count: 2, pass: 2, fail: 0, bailout: false, todo: 0, skip: 0, plan: FinalPlan { start: 1, end: 2, skipAll: false, skipReason: '', comment: '' }, failures: [], time: null } ] ] ` exports[`test/cmd.js TAP basic pass_mostly no args > stderr 1`] = ` ` exports[`test/cmd.js TAP basic pass_mostly silent > error 1`] = ` 0 ` exports[`test/cmd.js TAP basic pass_mostly silent > output 1`] = ` ` exports[`test/cmd.js TAP basic pass_mostly silent > stderr 1`] = ` ` exports[`test/cmd.js TAP basic pass_mostly silent strict > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic pass_mostly silent strict > output 1`] = ` ` exports[`test/cmd.js TAP basic pass_mostly silent strict > stderr 1`] = ` ` exports[`test/cmd.js TAP basic pass_mostly strict > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic pass_mostly strict > output 1`] = ` [ [ 'version', 13 ], [ 'assert', Result { ok: true, id: 1, name: 'this is fine', fullname: '' } ], [ 'child', [ [ 'comment', '# Subtest: child\\n' ], [ 'assert', Result { ok: true, id: 1, name: 'this is fine', fullname: 'child' } ], [ 'pragma', 'strict', true ], [ 'assert', Result { ok: true, id: 2, name: 'also fine', fullname: 'child' } ], [ 'assert', Result { ok: true, fullname: 'child' } ], [ 'comment', '# some comment\\n' ], [ 'plan', { start: 1, end: 3 } ], [ 'comment', '# failed 2 of 3 tests\\n' ], [ 'complete', FinalResults { ok: false, count: 3, pass: 3, fail: 2, bailout: false, todo: 0, skip: 0, plan: FinalPlan { start: 1, end: 3, skipAll: false, skipReason: '', comment: '' }, failures: [ { tapError: 'Non-TAP data encountered in strict mode', data: 'blearajn9aefnzxrfoas\\n' }, { tapError: 'Non-TAP data encountered in strict mode', data: ' \\n' } ], time: null } ] ] ], [ 'extra', ' blearajn9aefnzxrfoas\\n' ], [ 'extra', ' \\n' ], [ 'assert', Result { ok: true, id: 2, buffered: true, name: 'child', fullname: '' } ], [ 'plan', { start: 1, end: 2 } ], [ 'comment', '# failed 2 of 2 tests\\n' ], [ 'complete', FinalResults { ok: false, count: 2, pass: 2, fail: 2, bailout: false, todo: 0, skip: 0, plan: FinalPlan { start: 1, end: 2, skipAll: false, skipReason: '', comment: '' }, failures: [ { tapError: 'Non-TAP data encountered in strict mode', data: 'blearajn9aefnzxrfoas\\n' }, { tapError: 'Non-TAP data encountered in strict mode', data: ' \\n' } ], time: null } ] ] ` exports[`test/cmd.js TAP basic pass_mostly strict > stderr 1`] = ` ` exports[`test/cmd.js TAP basic pass_mostly t > error 1`] = ` 0 ` exports[`test/cmd.js TAP basic pass_mostly t > output 1`] = ` TAP version 13 ok 1 - this is fine # Subtest: child ok 1 - this is fine pragma +strict ok 2 - also fine ok # some comment 1..3 blearajn9aefnzxrfoas ok 2 - child 1..2 ` exports[`test/cmd.js TAP basic pass_mostly t > stderr 1`] = ` ` exports[`test/cmd.js TAP basic passing_child_with_broken_tap b w > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic passing_child_with_broken_tap b w > output 1`] = ` [ [ 'version', 13 ], [ 'pragma', 'strict', true ], [ 'child', [ [ 'comment', '# Subtest: child\\n' ], [ 'assert', Result { ok: true, id: 1, name: 'test point in child', fullname: 'child' } ], [ 'comment', '# test count(1) != plan(null)\\n' ], [ 'comment', '# failed 3 test\\n' ], [ 'complete', FinalResults { ok: false, count: 1, pass: 1, fail: 3, bailout: false, todo: 0, skip: 0, plan: FinalPlan { start: null, end: null, skipAll: false, skipReason: '', comment: '' }, failures: [ { tapError: 'Non-TAP data encountered in strict mode', data: ' ...\\n' }, { tapError: 'Non-TAP data encountered in strict mode', data: ' hello: world\\n' }, { tapError: 'no plan' } ], time: null } ] ] ], [ 'extra', ' ...\\n' ], [ 'extra', ' hello: world\\n' ], [ 'assert', Result { ok: true, id: 1, name: 'child', fullname: '' } ], [ 'plan', { start: 1, end: 1 } ], [ 'comment', '# failed 2 test\\n' ], [ 'complete', FinalResults { ok: false, count: 1, pass: 1, fail: 2, bailout: false, todo: 0, skip: 0, plan: FinalPlan { start: 1, end: 1, skipAll: false, skipReason: '', comment: '' }, failures: [ { tapError: 'Non-TAP data encountered in strict mode', data: ' ...\\n' }, { tapError: 'Non-TAP data encountered in strict mode', data: ' hello: world\\n' } ], time: null } ] ] ` exports[`test/cmd.js TAP basic passing_child_with_broken_tap b w > stderr 1`] = ` ` exports[`test/cmd.js TAP basic passing_child_with_broken_tap flat > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic passing_child_with_broken_tap flat > output 1`] = ` [ [ 'pragma', 'strict', true ], [ 'extra', ' ...\\n' ], [ 'extra', ' hello: world\\n' ], [ 'assert', Result { ok: true, id: 1, name: 'child > test point in child', fullname: '' } ], [ 'assert', Result { ok: true, id: 2, name: 'child', fullname: '' } ], [ 'comment', '# failed 2 test\\n' ], [ 'plan', { end: 2, start: 1 } ], [ 'complete', FinalResults { ok: false, count: 1, pass: 1, fail: 2, bailout: false, todo: 0, skip: 0, plan: FinalPlan { start: 1, end: 1, skipAll: false, skipReason: '', comment: '' }, failures: [ { tapError: 'Non-TAP data encountered in strict mode', data: ' ...\\n' }, { tapError: 'Non-TAP data encountered in strict mode', data: ' hello: world\\n' } ], time: null } ] ] ` exports[`test/cmd.js TAP basic passing_child_with_broken_tap flat > stderr 1`] = ` ` exports[`test/cmd.js TAP basic passing_child_with_broken_tap flat tap > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic passing_child_with_broken_tap flat tap > output 1`] = ` TAP version 13 pragma +strict ... hello: world ok 1 - child > test point in child ok 2 - child # failed 2 test 1..2 ` exports[`test/cmd.js TAP basic passing_child_with_broken_tap flat tap > stderr 1`] = ` ` exports[`test/cmd.js TAP basic passing_child_with_broken_tap lines > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic passing_child_with_broken_tap lines > output 1`] = ` TAP version 13 pragma +strict # Subtest: child ok 1 - test point in child ... hello: world # test count(1) != plan(null) # failed 3 test ok 1 - child 1..1 # failed 2 test ` exports[`test/cmd.js TAP basic passing_child_with_broken_tap lines > stderr 1`] = ` ` exports[`test/cmd.js TAP basic passing_child_with_broken_tap no args > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic passing_child_with_broken_tap no args > output 1`] = ` [ [ 'version', 13 ], [ 'pragma', 'strict', true ], [ 'child', [ [ 'comment', '# Subtest: child\\n' ], [ 'assert', Result { ok: true, id: 1, name: 'test point in child', fullname: 'child' } ], [ 'comment', '# test count(1) != plan(null)\\n' ], [ 'comment', '# failed 3 test\\n' ], [ 'complete', FinalResults { ok: false, count: 1, pass: 1, fail: 3, bailout: false, todo: 0, skip: 0, plan: FinalPlan { start: null, end: null, skipAll: false, skipReason: '', comment: '' }, failures: [ { tapError: 'Non-TAP data encountered in strict mode', data: ' ...\\n' }, { tapError: 'Non-TAP data encountered in strict mode', data: ' hello: world\\n' }, { tapError: 'no plan' } ], time: null } ] ] ], [ 'extra', ' ...\\n' ], [ 'extra', ' hello: world\\n' ], [ 'assert', Result { ok: true, id: 1, name: 'child', fullname: '' } ], [ 'plan', { start: 1, end: 1 } ], [ 'comment', '# failed 2 test\\n' ], [ 'complete', FinalResults { ok: false, count: 1, pass: 1, fail: 2, bailout: false, todo: 0, skip: 0, plan: FinalPlan { start: 1, end: 1, skipAll: false, skipReason: '', comment: '' }, failures: [ { tapError: 'Non-TAP data encountered in strict mode', data: ' ...\\n' }, { tapError: 'Non-TAP data encountered in strict mode', data: ' hello: world\\n' } ], time: null } ] ] ` exports[`test/cmd.js TAP basic passing_child_with_broken_tap no args > stderr 1`] = ` ` exports[`test/cmd.js TAP basic passing_child_with_broken_tap silent > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic passing_child_with_broken_tap silent > output 1`] = ` ` exports[`test/cmd.js TAP basic passing_child_with_broken_tap silent > stderr 1`] = ` ` exports[`test/cmd.js TAP basic passing_child_with_broken_tap silent strict > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic passing_child_with_broken_tap silent strict > output 1`] = ` ` exports[`test/cmd.js TAP basic passing_child_with_broken_tap silent strict > stderr 1`] = ` ` exports[`test/cmd.js TAP basic passing_child_with_broken_tap strict > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic passing_child_with_broken_tap strict > output 1`] = ` [ [ 'version', 13 ], [ 'pragma', 'strict', true ], [ 'child', [ [ 'comment', '# Subtest: child\\n' ], [ 'assert', Result { ok: true, id: 1, name: 'test point in child', fullname: 'child' } ], [ 'comment', '# test count(1) != plan(null)\\n' ], [ 'comment', '# failed 3 test\\n' ], [ 'complete', FinalResults { ok: false, count: 1, pass: 1, fail: 3, bailout: false, todo: 0, skip: 0, plan: FinalPlan { start: null, end: null, skipAll: false, skipReason: '', comment: '' }, failures: [ { tapError: 'Non-TAP data encountered in strict mode', data: ' ...\\n' }, { tapError: 'Non-TAP data encountered in strict mode', data: ' hello: world\\n' }, { tapError: 'no plan' } ], time: null } ] ] ], [ 'extra', ' ...\\n' ], [ 'extra', ' hello: world\\n' ], [ 'assert', Result { ok: true, id: 1, name: 'child', fullname: '' } ], [ 'plan', { start: 1, end: 1 } ], [ 'comment', '# failed 2 test\\n' ], [ 'complete', FinalResults { ok: false, count: 1, pass: 1, fail: 2, bailout: false, todo: 0, skip: 0, plan: FinalPlan { start: 1, end: 1, skipAll: false, skipReason: '', comment: '' }, failures: [ { tapError: 'Non-TAP data encountered in strict mode', data: ' ...\\n' }, { tapError: 'Non-TAP data encountered in strict mode', data: ' hello: world\\n' } ], time: null } ] ] ` exports[`test/cmd.js TAP basic passing_child_with_broken_tap strict > stderr 1`] = ` ` exports[`test/cmd.js TAP basic passing_child_with_broken_tap t > error 1`] = ` 1 ` exports[`test/cmd.js TAP basic passing_child_with_broken_tap t > output 1`] = ` TAP version 13 pragma +strict # Subtest: child ok 1 - test point in child # test count(1) != plan(null) # failed 3 test ... hello: world ok 1 - child 1..1 # failed 2 test ` exports[`test/cmd.js TAP basic passing_child_with_broken_tap t > stderr 1`] = ` ` exports[`test/cmd.js TAP help > error 1`] = ` undefined ` exports[`test/cmd.js TAP help > output 1`] = ` Usage: tap-parser Parses TAP data from stdin, and outputs the parsed result in the format specified by the options. Default output uses node's \`util.inspect()\` 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 -B | --no-bail Do not bail out at the first failed test point encountered (Default) -f | --flat Flatten all assertions to the top level parser -F | --no-flat Do not flatten all assertions to the top level parser (Default) -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 --strict Run the parser in strict mode --no-strict Do not run the parser in strict mode -s | --silent Do not print output, just exit success/failure based on TAP stream ` exports[`test/cmd.js TAP help > stderr 1`] = ` ` exports[`test/cmd.js TAP json output formatting --json -f > error 1`] = ` 0 ` exports[`test/cmd.js TAP json output formatting --json -f > output 1`] = ` [ [ "version", 13 ], [ "assert", { "ok": true, "id": 1, "name": "child > this is fine", "fullname": "" } ], [ "plan", { "end": 1, "start": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [], "time": null } ] ] ` exports[`test/cmd.js TAP json output formatting --json -f > stderr 1`] = ` ` exports[`test/cmd.js TAP json output formatting --json 1 > error 1`] = ` 0 ` exports[`test/cmd.js TAP json output formatting --json 1 > output 1`] = ` [ [ "version", 13 ], [ "child", [ [ "comment", "# Subtest: child\\n" ], [ "assert", { "ok": true, "id": 1, "name": "this is fine", "fullname": "child" } ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [], "time": null } ] ] ], [ "assert", { "ok": true, "id": 1, "name": "child", "fullname": "" } ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [], "time": null } ] ] ` exports[`test/cmd.js TAP json output formatting --json 1 > stderr 1`] = ` ` exports[`test/cmd.js TAP json output formatting --json=1 > error 1`] = ` 0 ` exports[`test/cmd.js TAP json output formatting --json=1 > output 1`] = ` [ [ "version", 13 ], [ "child", [ [ "comment", "# Subtest: child\\n" ], [ "assert", { "ok": true, "id": 1, "name": "this is fine", "fullname": "child" } ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [], "time": null } ] ] ], [ "assert", { "ok": true, "id": 1, "name": "child", "fullname": "" } ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [], "time": null } ] ] ` exports[`test/cmd.js TAP json output formatting --json=1 > stderr 1`] = ` ` exports[`test/cmd.js TAP json output formatting -j 1 > error 1`] = ` 0 ` exports[`test/cmd.js TAP json output formatting -j 1 > output 1`] = ` [ [ "version", 13 ], [ "child", [ [ "comment", "# Subtest: child\\n" ], [ "assert", { "ok": true, "id": 1, "name": "this is fine", "fullname": "child" } ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [], "time": null } ] ] ], [ "assert", { "ok": true, "id": 1, "name": "child", "fullname": "" } ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [], "time": null } ] ] ` exports[`test/cmd.js TAP json output formatting -j 1 > stderr 1`] = ` ` exports[`test/cmd.js TAP json output formatting -j > error 1`] = ` 0 ` exports[`test/cmd.js TAP json output formatting -j > output 1`] = ` [ [ "version", 13 ], [ "child", [ [ "comment", "# Subtest: child\\n" ], [ "assert", { "ok": true, "id": 1, "name": "this is fine", "fullname": "child" } ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [], "time": null } ] ] ], [ "assert", { "ok": true, "id": 1, "name": "child", "fullname": "" } ], [ "plan", { "start": 1, "end": 1 } ], [ "complete", { "ok": true, "count": 1, "pass": 1, "fail": 0, "bailout": false, "todo": 0, "skip": 0, "plan": { "start": 1, "end": 1, "skipAll": false, "skipReason": "", "comment": "" }, "failures": [], "time": null } ] ] ` exports[`test/cmd.js TAP json output formatting -j > stderr 1`] = ` ` exports[`test/cmd.js TAP unrecognized arg > error 1`] = ` 0 ` exports[`test/cmd.js TAP unrecognized arg > output 1`] = ` [ [ 'plan', { start: 1, end: 0, comment: 'no tests found' } ], [ 'complete', FinalResults { ok: true, count: 0, pass: 0, fail: 0, bailout: false, todo: 0, skip: 0, plan: FinalPlan { start: 1, end: 0, skipAll: true, skipReason: 'no tests found', comment: 'no tests found' }, failures: [], time: null } ] ] ` exports[`test/cmd.js TAP unrecognized arg > stderr 1`] = ` Unrecognized arg: %j ` tap-parser-11.0.2/tap-snapshots/test/omit-version.js.test.cjs000066400000000000000000000025001433324523500241620ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/omit-version.js TAP > saw expected events 1`] = ` Array [ Array [ "assert", Result { "fullname": "", "id": 1, "name": "this is fine", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "this is fine", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "this is fine", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/omit-version.js TAP > saw expected lines 1`] = ` Array [ "ok 1 - this is fine\\n", "1..1\\n", ] ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/000077500000000000000000000000001433324523500227505ustar00rootroot00000000000000tap-parser-11.0.2/tap-snapshots/test/parser-stringify/bail-escaped.tap.test.cjs000066400000000000000000000112641433324523500275270ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP bail-escaped.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "bailout", "hash # slash \\\\ noesc hash # noesc slash \\\\ done", ], Array [ "complete", FinalResults { "bailout": "hash # slash \\\\ noesc hash # noesc slash \\\\ done", "count": 1, "fail": 0, "failures": Array [], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP bail-escaped.tap bail > stringified 1`] = ` TAP version 13 ok 1 Bail out! hash \\# slash \\\\ noesc hash \\# noesc slash \\\\ done ` exports[`test/parser-stringify.js TAP bail-escaped.tap bail > stringified flat 1`] = ` TAP version 13 ok 1 Bail out! hash \\# slash \\\\ noesc hash \\# noesc slash \\\\ done ` exports[`test/parser-stringify.js TAP bail-escaped.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "bailout", "hash # slash \\\\ noesc hash # noesc slash \\\\ done", ], Array [ "complete", FinalResults { "bailout": "hash # slash \\\\ noesc hash # noesc slash \\\\ done", "count": 1, "fail": 0, "failures": Array [], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP bail-escaped.tap default settings > stringified 1`] = ` TAP version 13 ok 1 Bail out! hash \\# slash \\\\ noesc hash \\# noesc slash \\\\ done ` exports[`test/parser-stringify.js TAP bail-escaped.tap default settings > stringified flat 1`] = ` TAP version 13 ok 1 Bail out! hash \\# slash \\\\ noesc hash \\# noesc slash \\\\ done ` exports[`test/parser-stringify.js TAP bail-escaped.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "bailout", "hash # slash \\\\ noesc hash # noesc slash \\\\ done", ], Array [ "complete", FinalResults { "bailout": "hash # slash \\\\ noesc hash # noesc slash \\\\ done", "count": 1, "fail": 0, "failures": Array [], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP bail-escaped.tap strict > stringified 1`] = ` TAP version 13 ok 1 Bail out! hash \\# slash \\\\ noesc hash \\# noesc slash \\\\ done ` exports[`test/parser-stringify.js TAP bail-escaped.tap strict > stringified flat 1`] = ` TAP version 13 ok 1 Bail out! hash \\# slash \\\\ noesc hash \\# noesc slash \\\\ done ` exports[`test/parser-stringify.js TAP bail-escaped.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "bailout", "hash # slash \\\\ noesc hash # noesc slash \\\\ done", ], Array [ "complete", FinalResults { "bailout": "hash # slash \\\\ noesc hash # noesc slash \\\\ done", "count": 1, "fail": 0, "failures": Array [], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP bail-escaped.tap strictBail > stringified 1`] = ` TAP version 13 ok 1 Bail out! hash \\# slash \\\\ noesc hash \\# noesc slash \\\\ done ` exports[`test/parser-stringify.js TAP bail-escaped.tap strictBail > stringified flat 1`] = ` TAP version 13 ok 1 Bail out! hash \\# slash \\\\ noesc hash \\# noesc slash \\\\ done ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/bailout-no-raison.tap.test.cjs000066400000000000000000000115441433324523500305610ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP bailout-no-raison.tap bail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 3, "fail": 0, "failures": Array [], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP bailout-no-raison.tap bail > stringified 1`] = ` 1..5 ok 1 ok 2 ok 3 Bail out! ` exports[`test/parser-stringify.js TAP bailout-no-raison.tap bail > stringified flat 1`] = ` 1..5 ok 1 ok 2 ok 3 Bail out! ` exports[`test/parser-stringify.js TAP bailout-no-raison.tap default settings > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 3, "fail": 0, "failures": Array [], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP bailout-no-raison.tap default settings > stringified 1`] = ` 1..5 ok 1 ok 2 ok 3 Bail out! ` exports[`test/parser-stringify.js TAP bailout-no-raison.tap default settings > stringified flat 1`] = ` 1..5 ok 1 ok 2 ok 3 Bail out! ` exports[`test/parser-stringify.js TAP bailout-no-raison.tap strict > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 3, "fail": 0, "failures": Array [], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP bailout-no-raison.tap strict > stringified 1`] = ` 1..5 ok 1 ok 2 ok 3 Bail out! ` exports[`test/parser-stringify.js TAP bailout-no-raison.tap strict > stringified flat 1`] = ` 1..5 ok 1 ok 2 ok 3 Bail out! ` exports[`test/parser-stringify.js TAP bailout-no-raison.tap strictBail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 3, "fail": 0, "failures": Array [], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP bailout-no-raison.tap strictBail > stringified 1`] = ` 1..5 ok 1 ok 2 ok 3 Bail out! ` exports[`test/parser-stringify.js TAP bailout-no-raison.tap strictBail > stringified flat 1`] = ` 1..5 ok 1 ok 2 ok 3 Bail out! ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/bailout.tap.test.cjs000066400000000000000000000120141433324523500266470ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP bailout.tap bail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "bailout", "GERONIMMMOOOOOO!!!", ], Array [ "complete", FinalResults { "bailout": "GERONIMMMOOOOOO!!!", "count": 3, "fail": 0, "failures": Array [], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP bailout.tap bail > stringified 1`] = ` 1..5 ok 1 ok 2 ok 3 Bail out! GERONIMMMOOOOOO!!! ` exports[`test/parser-stringify.js TAP bailout.tap bail > stringified flat 1`] = ` 1..5 ok 1 ok 2 ok 3 Bail out! GERONIMMMOOOOOO!!! ` exports[`test/parser-stringify.js TAP bailout.tap default settings > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "bailout", "GERONIMMMOOOOOO!!!", ], Array [ "complete", FinalResults { "bailout": "GERONIMMMOOOOOO!!!", "count": 3, "fail": 0, "failures": Array [], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP bailout.tap default settings > stringified 1`] = ` 1..5 ok 1 ok 2 ok 3 Bail out! GERONIMMMOOOOOO!!! ` exports[`test/parser-stringify.js TAP bailout.tap default settings > stringified flat 1`] = ` 1..5 ok 1 ok 2 ok 3 Bail out! GERONIMMMOOOOOO!!! ` exports[`test/parser-stringify.js TAP bailout.tap strict > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "bailout", "GERONIMMMOOOOOO!!!", ], Array [ "complete", FinalResults { "bailout": "GERONIMMMOOOOOO!!!", "count": 3, "fail": 0, "failures": Array [], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP bailout.tap strict > stringified 1`] = ` 1..5 ok 1 ok 2 ok 3 Bail out! GERONIMMMOOOOOO!!! ` exports[`test/parser-stringify.js TAP bailout.tap strict > stringified flat 1`] = ` 1..5 ok 1 ok 2 ok 3 Bail out! GERONIMMMOOOOOO!!! ` exports[`test/parser-stringify.js TAP bailout.tap strictBail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "bailout", "GERONIMMMOOOOOO!!!", ], Array [ "complete", FinalResults { "bailout": "GERONIMMMOOOOOO!!!", "count": 3, "fail": 0, "failures": Array [], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP bailout.tap strictBail > stringified 1`] = ` 1..5 ok 1 ok 2 ok 3 Bail out! GERONIMMMOOOOOO!!! ` exports[`test/parser-stringify.js TAP bailout.tap strictBail > stringified flat 1`] = ` 1..5 ok 1 ok 2 ok 3 Bail out! GERONIMMMOOOOOO!!! ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/basic.tap.test.cjs000066400000000000000000000125441433324523500263010ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP basic.tap bail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 6, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "ok": false, }, ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 6, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP basic.tap bail > stringified 1`] = ` 1..6 not ok Bail out! ` exports[`test/parser-stringify.js TAP basic.tap bail > stringified flat 1`] = ` 1..6 not ok Bail out! ` exports[`test/parser-stringify.js TAP basic.tap default settings > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 6, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "ok": false, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": false, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "comment", "# test count(5) != plan(6)\\n", ], Array [ "comment", "# failed 2 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 2, "failures": Array [ Result { "fullname": "", "ok": false, }, Result { "fullname": "", "ok": false, }, ], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 6, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP basic.tap default settings > stringified 1`] = ` 1..6 not ok ok not ok ok ok # test count(5) != plan(6) # failed 2 of 5 tests ` exports[`test/parser-stringify.js TAP basic.tap default settings > stringified flat 1`] = ` 1..6 not ok ok not ok ok ok # test count(5) != plan(6) # failed 2 of 5 tests ` exports[`test/parser-stringify.js TAP basic.tap strict > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 6, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "ok": false, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": false, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "comment", "# test count(5) != plan(6)\\n", ], Array [ "comment", "# failed 2 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 2, "failures": Array [ Result { "fullname": "", "ok": false, }, Result { "fullname": "", "ok": false, }, ], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 6, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP basic.tap strict > stringified 1`] = ` 1..6 not ok ok not ok ok ok # test count(5) != plan(6) # failed 2 of 5 tests ` exports[`test/parser-stringify.js TAP basic.tap strict > stringified flat 1`] = ` 1..6 not ok ok not ok ok ok # test count(5) != plan(6) # failed 2 of 5 tests ` exports[`test/parser-stringify.js TAP basic.tap strictBail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 6, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "ok": false, }, ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 6, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP basic.tap strictBail > stringified 1`] = ` 1..6 not ok Bail out! ` exports[`test/parser-stringify.js TAP basic.tap strictBail > stringified flat 1`] = ` 1..6 not ok Bail out! ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/big-last.tap.test.cjs000066400000000000000000000167441433324523500267300ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP big-last.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 6, "ok": true, "plan": Object { "end": 5, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 6, "ok": true, "plan": Object { "end": 5, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP big-last.tap bail > stringified 1`] = ` TAP version 13 1..5 ok 1 ok 2 ok 3 ok 4 ok 6 # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP big-last.tap bail > stringified flat 1`] = ` TAP version 13 1..5 ok 1 ok 2 ok 3 ok 4 ok 6 # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP big-last.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 6, "ok": true, "plan": Object { "end": 5, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 6, "ok": true, "plan": Object { "end": 5, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP big-last.tap default settings > stringified 1`] = ` TAP version 13 1..5 ok 1 ok 2 ok 3 ok 4 ok 6 # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP big-last.tap default settings > stringified flat 1`] = ` TAP version 13 1..5 ok 1 ok 2 ok 3 ok 4 ok 6 # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP big-last.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 6, "ok": true, "plan": Object { "end": 5, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 6, "ok": true, "plan": Object { "end": 5, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP big-last.tap strict > stringified 1`] = ` TAP version 13 1..5 ok 1 ok 2 ok 3 ok 4 ok 6 # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP big-last.tap strict > stringified flat 1`] = ` TAP version 13 1..5 ok 1 ok 2 ok 3 ok 4 ok 6 # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP big-last.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 6, "ok": true, "plan": Object { "end": 5, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 6, "ok": true, "plan": Object { "end": 5, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP big-last.tap strictBail > stringified 1`] = ` TAP version 13 1..5 ok 1 ok 2 ok 3 ok 4 ok 6 # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP big-last.tap strictBail > stringified flat 1`] = ` TAP version 13 1..5 ok 1 ok 2 ok 3 ok 4 ok 6 # failed 1 of 5 tests ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/bignum.tap.test.cjs000066400000000000000000000215041433324523500264750ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP bignum.tap bail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 136211425, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 136211426, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "comment", "# test count(4) != plan(2)\\n", ], Array [ "comment", "# failed 2 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 2, "failures": Array [ Result { "fullname": "", "id": 136211425, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 136211426, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP bignum.tap bail > stringified 1`] = ` 1..2 ok 1 ok 2 ok 136211425 ok 136211426 # test count(4) != plan(2) # failed 2 of 4 tests ` exports[`test/parser-stringify.js TAP bignum.tap bail > stringified flat 1`] = ` 1..2 ok 1 ok 2 ok 136211425 ok 136211426 # test count(4) != plan(2) # failed 2 of 4 tests ` exports[`test/parser-stringify.js TAP bignum.tap default settings > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 136211425, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 136211426, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "comment", "# test count(4) != plan(2)\\n", ], Array [ "comment", "# failed 2 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 2, "failures": Array [ Result { "fullname": "", "id": 136211425, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 136211426, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP bignum.tap default settings > stringified 1`] = ` 1..2 ok 1 ok 2 ok 136211425 ok 136211426 # test count(4) != plan(2) # failed 2 of 4 tests ` exports[`test/parser-stringify.js TAP bignum.tap default settings > stringified flat 1`] = ` 1..2 ok 1 ok 2 ok 136211425 ok 136211426 # test count(4) != plan(2) # failed 2 of 4 tests ` exports[`test/parser-stringify.js TAP bignum.tap strict > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 136211425, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 136211426, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "comment", "# test count(4) != plan(2)\\n", ], Array [ "comment", "# failed 2 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 2, "failures": Array [ Result { "fullname": "", "id": 136211425, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 136211426, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP bignum.tap strict > stringified 1`] = ` 1..2 ok 1 ok 2 ok 136211425 ok 136211426 # test count(4) != plan(2) # failed 2 of 4 tests ` exports[`test/parser-stringify.js TAP bignum.tap strict > stringified flat 1`] = ` 1..2 ok 1 ok 2 ok 136211425 ok 136211426 # test count(4) != plan(2) # failed 2 of 4 tests ` exports[`test/parser-stringify.js TAP bignum.tap strictBail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 136211425, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 136211426, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "comment", "# test count(4) != plan(2)\\n", ], Array [ "comment", "# failed 2 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 2, "failures": Array [ Result { "fullname": "", "id": 136211425, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 136211426, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP bignum.tap strictBail > stringified 1`] = ` 1..2 ok 1 ok 2 ok 136211425 ok 136211426 # test count(4) != plan(2) # failed 2 of 4 tests ` exports[`test/parser-stringify.js TAP bignum.tap strictBail > stringified flat 1`] = ` 1..2 ok 1 ok 2 ok 136211425 ok 136211426 # test count(4) != plan(2) # failed 2 of 4 tests ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/bignum_many.tap.test.cjs000066400000000000000000000536541433324523500275340ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP bignum_many.tap bail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 99997, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 99998, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 99999, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 100000, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 100001, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 100002, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 100003, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 100004, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 100005, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "comment", "# test count(11) != plan(2)\\n", ], Array [ "comment", "# failed 9 of 11 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 11, "fail": 9, "failures": Array [ Result { "fullname": "", "id": 99997, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 99998, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 99999, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 100000, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 100001, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 100002, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 100003, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 100004, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 100005, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 11, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP bignum_many.tap bail > stringified 1`] = ` 1..2 ok 1 ok 2 ok 99997 ok 99998 ok 99999 ok 100000 ok 100001 ok 100002 ok 100003 ok 100004 ok 100005 # test count(11) != plan(2) # failed 9 of 11 tests ` exports[`test/parser-stringify.js TAP bignum_many.tap bail > stringified flat 1`] = ` 1..2 ok 1 ok 2 ok 99997 ok 99998 ok 99999 ok 100000 ok 100001 ok 100002 ok 100003 ok 100004 ok 100005 # test count(11) != plan(2) # failed 9 of 11 tests ` exports[`test/parser-stringify.js TAP bignum_many.tap default settings > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 99997, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 99998, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 99999, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 100000, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 100001, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 100002, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 100003, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 100004, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 100005, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "comment", "# test count(11) != plan(2)\\n", ], Array [ "comment", "# failed 9 of 11 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 11, "fail": 9, "failures": Array [ Result { "fullname": "", "id": 99997, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 99998, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 99999, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 100000, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 100001, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 100002, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 100003, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 100004, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 100005, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 11, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP bignum_many.tap default settings > stringified 1`] = ` 1..2 ok 1 ok 2 ok 99997 ok 99998 ok 99999 ok 100000 ok 100001 ok 100002 ok 100003 ok 100004 ok 100005 # test count(11) != plan(2) # failed 9 of 11 tests ` exports[`test/parser-stringify.js TAP bignum_many.tap default settings > stringified flat 1`] = ` 1..2 ok 1 ok 2 ok 99997 ok 99998 ok 99999 ok 100000 ok 100001 ok 100002 ok 100003 ok 100004 ok 100005 # test count(11) != plan(2) # failed 9 of 11 tests ` exports[`test/parser-stringify.js TAP bignum_many.tap strict > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 99997, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 99998, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 99999, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 100000, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 100001, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 100002, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 100003, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 100004, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 100005, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "comment", "# test count(11) != plan(2)\\n", ], Array [ "comment", "# failed 9 of 11 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 11, "fail": 9, "failures": Array [ Result { "fullname": "", "id": 99997, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 99998, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 99999, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 100000, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 100001, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 100002, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 100003, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 100004, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 100005, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 11, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP bignum_many.tap strict > stringified 1`] = ` 1..2 ok 1 ok 2 ok 99997 ok 99998 ok 99999 ok 100000 ok 100001 ok 100002 ok 100003 ok 100004 ok 100005 # test count(11) != plan(2) # failed 9 of 11 tests ` exports[`test/parser-stringify.js TAP bignum_many.tap strict > stringified flat 1`] = ` 1..2 ok 1 ok 2 ok 99997 ok 99998 ok 99999 ok 100000 ok 100001 ok 100002 ok 100003 ok 100004 ok 100005 # test count(11) != plan(2) # failed 9 of 11 tests ` exports[`test/parser-stringify.js TAP bignum_many.tap strictBail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 99997, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 99998, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 99999, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 100000, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 100001, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 100002, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 100003, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 100004, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 100005, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "comment", "# test count(11) != plan(2)\\n", ], Array [ "comment", "# failed 9 of 11 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 11, "fail": 9, "failures": Array [ Result { "fullname": "", "id": 99997, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 99998, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 99999, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 100000, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 100001, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 100002, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 100003, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 100004, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 100005, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 11, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP bignum_many.tap strictBail > stringified 1`] = ` 1..2 ok 1 ok 2 ok 99997 ok 99998 ok 99999 ok 100000 ok 100001 ok 100002 ok 100003 ok 100004 ok 100005 # test count(11) != plan(2) # failed 9 of 11 tests ` exports[`test/parser-stringify.js TAP bignum_many.tap strictBail > stringified flat 1`] = ` 1..2 ok 1 ok 2 ok 99997 ok 99998 ok 99999 ok 100000 ok 100001 ok 100002 ok 100003 ok 100004 ok 100005 # test count(11) != plan(2) # failed 9 of 11 tests ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/broken-yamlish-looks-like-child.tap.test.cjs000066400000000000000000000212021433324523500332630ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP broken-yamlish-looks-like-child.tap bail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "callback happened", "ok": true, }, ], Array [ "extra", " ok:\\n", ], Array [ "extra", " - I wished for a bailout!\\n", ], Array [ "extra", " - lots of other shapes here can look like valid tap\\n", ], Array [ "extra", " ...\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "child test", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should come last", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP broken-yamlish-looks-like-child.tap bail > stringified 1`] = ` 1..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 ` exports[`test/parser-stringify.js TAP broken-yamlish-looks-like-child.tap bail > stringified flat 1`] = ` 1..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 ` exports[`test/parser-stringify.js TAP broken-yamlish-looks-like-child.tap default settings > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "callback happened", "ok": true, }, ], Array [ "extra", " ok:\\n", ], Array [ "extra", " - I wished for a bailout!\\n", ], Array [ "extra", " - lots of other shapes here can look like valid tap\\n", ], Array [ "extra", " ...\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "child test", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should come last", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP broken-yamlish-looks-like-child.tap default settings > stringified 1`] = ` 1..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 ` exports[`test/parser-stringify.js TAP broken-yamlish-looks-like-child.tap default settings > stringified flat 1`] = ` 1..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 ` exports[`test/parser-stringify.js TAP broken-yamlish-looks-like-child.tap strict > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "callback happened", "ok": true, }, ], Array [ "extra", " ok:\\n", ], Array [ "extra", " - I wished for a bailout!\\n", ], Array [ "extra", " - lots of other shapes here can look like valid tap\\n", ], Array [ "extra", " ...\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "child test", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should come last", "ok": true, }, ], Array [ "comment", "# failed 4 of 3 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 4, "failures": Array [ Object { "data": " ok:\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " - I wished for a bailout!\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " - lots of other shapes here can look like valid tap\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " ...\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP broken-yamlish-looks-like-child.tap strict > stringified 1`] = ` 1..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 # failed 4 of 3 tests ` exports[`test/parser-stringify.js TAP broken-yamlish-looks-like-child.tap strict > stringified flat 1`] = ` 1..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 # failed 4 of 3 tests ` exports[`test/parser-stringify.js TAP broken-yamlish-looks-like-child.tap strictBail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "callback happened", "ok": true, }, ], Array [ "extra", " ok:\\n", ], Array [ "extra", " - I wished for a bailout!\\n", ], Array [ "extra", " - lots of other shapes here can look like valid tap\\n", ], Array [ "extra", " ...\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "child test", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should come last", "ok": true, }, ], Array [ "comment", "# failed 4 of 3 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 4, "failures": Array [ Object { "data": " ok:\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " - I wished for a bailout!\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " - lots of other shapes here can look like valid tap\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " ...\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP broken-yamlish-looks-like-child.tap strictBail > stringified 1`] = ` 1..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 # failed 4 of 3 tests ` exports[`test/parser-stringify.js TAP broken-yamlish-looks-like-child.tap strictBail > stringified flat 1`] = ` 1..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 # failed 4 of 3 tests ` broken-yamlish-with-nonbroken-yamlish.tap.test.cjs000066400000000000000000000234721433324523500344750ustar00rootroot00000000000000tap-parser-11.0.2/tap-snapshots/test/parser-stringify/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP broken-yamlish-with-nonbroken-yamlish.tap bail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "assert", Result { "diag": Object { "ok": "this time I mean it", }, "fullname": "", "id": 1, "name": "callback happened", "ok": true, }, ], Array [ "extra", " ok:\\n", ], Array [ "comment", " # comment here too, why not?\\n", ], Array [ "extra", " - I wished for a bailout!\\n", ], Array [ "extra", " - lots of other shapes here can look like valid tap\\n", ], Array [ "extra", " ...\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "child test", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should come last", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP broken-yamlish-with-nonbroken-yamlish.tap bail > stringified 1`] = ` 1..3 ok 1 - callback happened --- ok: this time I mean it ... ok: # comment here too, why not? - I wished for a bailout! - lots of other shapes here can look like valid tap ... ok 2 - child test ok 3 - should come last ` exports[`test/parser-stringify.js TAP broken-yamlish-with-nonbroken-yamlish.tap bail > stringified flat 1`] = ` 1..3 ok 1 - callback happened --- ok: this time I mean it ... ok: # comment here too, why not? - I wished for a bailout! - lots of other shapes here can look like valid tap ... ok 2 - child test ok 3 - should come last ` exports[`test/parser-stringify.js TAP broken-yamlish-with-nonbroken-yamlish.tap default settings > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "assert", Result { "diag": Object { "ok": "this time I mean it", }, "fullname": "", "id": 1, "name": "callback happened", "ok": true, }, ], Array [ "extra", " ok:\\n", ], Array [ "comment", " # comment here too, why not?\\n", ], Array [ "extra", " - I wished for a bailout!\\n", ], Array [ "extra", " - lots of other shapes here can look like valid tap\\n", ], Array [ "extra", " ...\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "child test", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should come last", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP broken-yamlish-with-nonbroken-yamlish.tap default settings > stringified 1`] = ` 1..3 ok 1 - callback happened --- ok: this time I mean it ... ok: # comment here too, why not? - I wished for a bailout! - lots of other shapes here can look like valid tap ... ok 2 - child test ok 3 - should come last ` exports[`test/parser-stringify.js TAP broken-yamlish-with-nonbroken-yamlish.tap default settings > stringified flat 1`] = ` 1..3 ok 1 - callback happened --- ok: this time I mean it ... ok: # comment here too, why not? - I wished for a bailout! - lots of other shapes here can look like valid tap ... ok 2 - child test ok 3 - should come last ` exports[`test/parser-stringify.js TAP broken-yamlish-with-nonbroken-yamlish.tap strict > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "assert", Result { "diag": Object { "ok": "this time I mean it", }, "fullname": "", "id": 1, "name": "callback happened", "ok": true, }, ], Array [ "extra", " ok:\\n", ], Array [ "comment", " # comment here too, why not?\\n", ], Array [ "extra", " - I wished for a bailout!\\n", ], Array [ "extra", " - lots of other shapes here can look like valid tap\\n", ], Array [ "extra", " ...\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "child test", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should come last", "ok": true, }, ], Array [ "comment", "# failed 4 of 3 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 4, "failures": Array [ Object { "data": " ok:\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " - I wished for a bailout!\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " - lots of other shapes here can look like valid tap\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " ...\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP broken-yamlish-with-nonbroken-yamlish.tap strict > stringified 1`] = ` 1..3 ok 1 - callback happened --- ok: this time I mean it ... ok: # comment here too, why not? - I wished for a bailout! - lots of other shapes here can look like valid tap ... ok 2 - child test ok 3 - should come last # failed 4 of 3 tests ` exports[`test/parser-stringify.js TAP broken-yamlish-with-nonbroken-yamlish.tap strict > stringified flat 1`] = ` 1..3 ok 1 - callback happened --- ok: this time I mean it ... ok: # comment here too, why not? - I wished for a bailout! - lots of other shapes here can look like valid tap ... ok 2 - child test ok 3 - should come last # failed 4 of 3 tests ` exports[`test/parser-stringify.js TAP broken-yamlish-with-nonbroken-yamlish.tap strictBail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "assert", Result { "diag": Object { "ok": "this time I mean it", }, "fullname": "", "id": 1, "name": "callback happened", "ok": true, }, ], Array [ "extra", " ok:\\n", ], Array [ "comment", " # comment here too, why not?\\n", ], Array [ "extra", " - I wished for a bailout!\\n", ], Array [ "extra", " - lots of other shapes here can look like valid tap\\n", ], Array [ "extra", " ...\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "child test", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should come last", "ok": true, }, ], Array [ "comment", "# failed 4 of 3 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 4, "failures": Array [ Object { "data": " ok:\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " - I wished for a bailout!\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " - lots of other shapes here can look like valid tap\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " ...\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP broken-yamlish-with-nonbroken-yamlish.tap strictBail > stringified 1`] = ` 1..3 ok 1 - callback happened --- ok: this time I mean it ... ok: # comment here too, why not? - I wished for a bailout! - lots of other shapes here can look like valid tap ... ok 2 - child test ok 3 - should come last # failed 4 of 3 tests ` exports[`test/parser-stringify.js TAP broken-yamlish-with-nonbroken-yamlish.tap strictBail > stringified flat 1`] = ` 1..3 ok 1 - callback happened --- ok: this time I mean it ... ok: # comment here too, why not? - I wished for a bailout! - lots of other shapes here can look like valid tap ... ok 2 - child test ok 3 - should come last # failed 4 of 3 tests ` buffered-nested-failure-top-ok-diag.tap.test.cjs000066400000000000000000000232241433324523500337360ustar00rootroot00000000000000tap-parser-11.0.2/tap-snapshots/test/parser-stringify/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP buffered-nested-failure-top-ok-diag.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: my kids are fine\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "my kids are fine", "name": "no they aren't", "ok": false, }, ], Array [ "bailout", "no they aren't", ], Array [ "complete", FinalResults { "bailout": "no they aren't", "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "my kids are fine", "name": "no they aren't", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "bailout", "no they aren't", ], Array [ "complete", FinalResults { "bailout": "no they aren't", "count": 0, "fail": 0, "failures": Array [], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP buffered-nested-failure-top-ok-diag.tap bail > stringified 1`] = ` TAP version 13 1..1 # Subtest: my kids are fine 1..1 not ok - no they aren't Bail out! no they aren't Bail out! no they aren't ` exports[`test/parser-stringify.js TAP buffered-nested-failure-top-ok-diag.tap bail > stringified flat 1`] = ` TAP version 13 1..1 # Subtest: my kids are fine 1..1 not ok - no they aren't Bail out! no they aren't Bail out! no they aren't ` exports[`test/parser-stringify.js TAP buffered-nested-failure-top-ok-diag.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: my kids are fine\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "my kids are fine", "name": "no they aren't", "ok": false, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "my kids are fine", "name": "no they aren't", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "diag": Object { "some": "diag", }, "fullname": "", "id": 1, "name": "my kids are fine", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP buffered-nested-failure-top-ok-diag.tap default settings > stringified 1`] = ` TAP version 13 1..1 # Subtest: my kids are fine 1..1 not ok - no they aren't # failed 1 test ok 1 - my kids are fine --- some: diag ... ` exports[`test/parser-stringify.js TAP buffered-nested-failure-top-ok-diag.tap default settings > stringified flat 1`] = ` TAP version 13 1..1 # Subtest: my kids are fine 1..1 not ok - no they aren't # failed 1 test ok 1 - my kids are fine --- some: diag ... ` exports[`test/parser-stringify.js TAP buffered-nested-failure-top-ok-diag.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: my kids are fine\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "my kids are fine", "name": "no they aren't", "ok": false, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "my kids are fine", "name": "no they aren't", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "diag": Object { "some": "diag", }, "fullname": "", "id": 1, "name": "my kids are fine", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP buffered-nested-failure-top-ok-diag.tap strict > stringified 1`] = ` TAP version 13 1..1 # Subtest: my kids are fine 1..1 not ok - no they aren't # failed 1 test ok 1 - my kids are fine --- some: diag ... ` exports[`test/parser-stringify.js TAP buffered-nested-failure-top-ok-diag.tap strict > stringified flat 1`] = ` TAP version 13 1..1 # Subtest: my kids are fine 1..1 not ok - no they aren't # failed 1 test ok 1 - my kids are fine --- some: diag ... ` exports[`test/parser-stringify.js TAP buffered-nested-failure-top-ok-diag.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: my kids are fine\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "my kids are fine", "name": "no they aren't", "ok": false, }, ], Array [ "bailout", "no they aren't", ], Array [ "complete", FinalResults { "bailout": "no they aren't", "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "my kids are fine", "name": "no they aren't", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "bailout", "no they aren't", ], Array [ "complete", FinalResults { "bailout": "no they aren't", "count": 0, "fail": 0, "failures": Array [], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP buffered-nested-failure-top-ok-diag.tap strictBail > stringified 1`] = ` TAP version 13 1..1 # Subtest: my kids are fine 1..1 not ok - no they aren't Bail out! no they aren't Bail out! no they aren't ` exports[`test/parser-stringify.js TAP buffered-nested-failure-top-ok-diag.tap strictBail > stringified flat 1`] = ` TAP version 13 1..1 # Subtest: my kids are fine 1..1 not ok - no they aren't Bail out! no they aren't Bail out! no they aren't ` buffered-nested-failure-top-ok-no-msg.tap.test.cjs000066400000000000000000000215001433324523500342250ustar00rootroot00000000000000tap-parser-11.0.2/tap-snapshots/test/parser-stringify/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP buffered-nested-failure-top-ok-no-msg.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: my kids are fine\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "my kids are fine", "ok": false, }, ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "my kids are fine", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 0, "fail": 0, "failures": Array [], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP buffered-nested-failure-top-ok-no-msg.tap bail > stringified 1`] = ` TAP version 13 1..1 # Subtest: my kids are fine 1..1 not ok Bail out! Bail out! ` exports[`test/parser-stringify.js TAP buffered-nested-failure-top-ok-no-msg.tap bail > stringified flat 1`] = ` TAP version 13 1..1 # Subtest: my kids are fine 1..1 not ok Bail out! Bail out! ` exports[`test/parser-stringify.js TAP buffered-nested-failure-top-ok-no-msg.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: my kids are fine\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "my kids are fine", "ok": false, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "my kids are fine", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "my kids are fine", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP buffered-nested-failure-top-ok-no-msg.tap default settings > stringified 1`] = ` TAP version 13 1..1 # Subtest: my kids are fine 1..1 not ok # failed 1 test ok 1 - my kids are fine ` exports[`test/parser-stringify.js TAP buffered-nested-failure-top-ok-no-msg.tap default settings > stringified flat 1`] = ` TAP version 13 1..1 # Subtest: my kids are fine 1..1 not ok # failed 1 test ok 1 - my kids are fine ` exports[`test/parser-stringify.js TAP buffered-nested-failure-top-ok-no-msg.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: my kids are fine\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "my kids are fine", "ok": false, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "my kids are fine", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "my kids are fine", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP buffered-nested-failure-top-ok-no-msg.tap strict > stringified 1`] = ` TAP version 13 1..1 # Subtest: my kids are fine 1..1 not ok # failed 1 test ok 1 - my kids are fine ` exports[`test/parser-stringify.js TAP buffered-nested-failure-top-ok-no-msg.tap strict > stringified flat 1`] = ` TAP version 13 1..1 # Subtest: my kids are fine 1..1 not ok # failed 1 test ok 1 - my kids are fine ` exports[`test/parser-stringify.js TAP buffered-nested-failure-top-ok-no-msg.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: my kids are fine\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "my kids are fine", "ok": false, }, ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "my kids are fine", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 0, "fail": 0, "failures": Array [], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP buffered-nested-failure-top-ok-no-msg.tap strictBail > stringified 1`] = ` TAP version 13 1..1 # Subtest: my kids are fine 1..1 not ok Bail out! Bail out! ` exports[`test/parser-stringify.js TAP buffered-nested-failure-top-ok-no-msg.tap strictBail > stringified flat 1`] = ` TAP version 13 1..1 # Subtest: my kids are fine 1..1 not ok Bail out! Bail out! ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/buffered-nested-failure-top-ok.tap.test.cjs000066400000000000000000000226041433324523500331140ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP buffered-nested-failure-top-ok.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: my kids are fine\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "my kids are fine", "name": "no they aren't", "ok": false, }, ], Array [ "bailout", "no they aren't", ], Array [ "complete", FinalResults { "bailout": "no they aren't", "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "my kids are fine", "name": "no they aren't", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "bailout", "no they aren't", ], Array [ "complete", FinalResults { "bailout": "no they aren't", "count": 0, "fail": 0, "failures": Array [], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP buffered-nested-failure-top-ok.tap bail > stringified 1`] = ` TAP version 13 1..1 # Subtest: my kids are fine 1..1 not ok - no they aren't Bail out! no they aren't Bail out! no they aren't ` exports[`test/parser-stringify.js TAP buffered-nested-failure-top-ok.tap bail > stringified flat 1`] = ` TAP version 13 1..1 # Subtest: my kids are fine 1..1 not ok - no they aren't Bail out! no they aren't Bail out! no they aren't ` exports[`test/parser-stringify.js TAP buffered-nested-failure-top-ok.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: my kids are fine\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "my kids are fine", "name": "no they aren't", "ok": false, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "my kids are fine", "name": "no they aren't", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "my kids are fine", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP buffered-nested-failure-top-ok.tap default settings > stringified 1`] = ` TAP version 13 1..1 # Subtest: my kids are fine 1..1 not ok - no they aren't # failed 1 test ok 1 - my kids are fine ` exports[`test/parser-stringify.js TAP buffered-nested-failure-top-ok.tap default settings > stringified flat 1`] = ` TAP version 13 1..1 # Subtest: my kids are fine 1..1 not ok - no they aren't # failed 1 test ok 1 - my kids are fine ` exports[`test/parser-stringify.js TAP buffered-nested-failure-top-ok.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: my kids are fine\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "my kids are fine", "name": "no they aren't", "ok": false, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "my kids are fine", "name": "no they aren't", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "my kids are fine", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP buffered-nested-failure-top-ok.tap strict > stringified 1`] = ` TAP version 13 1..1 # Subtest: my kids are fine 1..1 not ok - no they aren't # failed 1 test ok 1 - my kids are fine ` exports[`test/parser-stringify.js TAP buffered-nested-failure-top-ok.tap strict > stringified flat 1`] = ` TAP version 13 1..1 # Subtest: my kids are fine 1..1 not ok - no they aren't # failed 1 test ok 1 - my kids are fine ` exports[`test/parser-stringify.js TAP buffered-nested-failure-top-ok.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: my kids are fine\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "my kids are fine", "name": "no they aren't", "ok": false, }, ], Array [ "bailout", "no they aren't", ], Array [ "complete", FinalResults { "bailout": "no they aren't", "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "my kids are fine", "name": "no they aren't", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "bailout", "no they aren't", ], Array [ "complete", FinalResults { "bailout": "no they aren't", "count": 0, "fail": 0, "failures": Array [], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP buffered-nested-failure-top-ok.tap strictBail > stringified 1`] = ` TAP version 13 1..1 # Subtest: my kids are fine 1..1 not ok - no they aren't Bail out! no they aren't Bail out! no they aren't ` exports[`test/parser-stringify.js TAP buffered-nested-failure-top-ok.tap strictBail > stringified flat 1`] = ` TAP version 13 1..1 # Subtest: my kids are fine 1..1 not ok - no they aren't Bail out! no they aren't Bail out! no they aren't ` buffered-nested-ok-top-failure-diag.tap.test.cjs000066400000000000000000000254421433324523500337420ustar00rootroot00000000000000tap-parser-11.0.2/tap-snapshots/test/parser-stringify/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP buffered-nested-ok-top-failure-diag.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: please sir, my son, he is sick\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "please sir, my son, he is sick", "name": "i got better", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "diag": Object { "some": "diag", }, "fullname": "", "id": 1, "name": "please sir, my son, he is sick", "ok": false, }, ], Array [ "bailout", "please sir, my son, he is sick", ], Array [ "complete", FinalResults { "bailout": "please sir, my son, he is sick", "count": 1, "fail": 1, "failures": Array [ Result { "buffered": true, "diag": Object { "some": "diag", }, "fullname": "", "id": 1, "name": "please sir, my son, he is sick", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP buffered-nested-ok-top-failure-diag.tap bail > stringified 1`] = ` TAP version 13 1..1 # Subtest: please sir, my son, he is sick 1..1 ok - i got better not ok 1 - please sir, my son, he is sick --- some: diag ... Bail out! please sir, my son, he is sick ` exports[`test/parser-stringify.js TAP buffered-nested-ok-top-failure-diag.tap bail > stringified flat 1`] = ` TAP version 13 1..1 # Subtest: please sir, my son, he is sick 1..1 ok - i got better not ok 1 - please sir, my son, he is sick --- some: diag ... Bail out! please sir, my son, he is sick ` exports[`test/parser-stringify.js TAP buffered-nested-ok-top-failure-diag.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: please sir, my son, he is sick\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "please sir, my son, he is sick", "name": "i got better", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "diag": Object { "some": "diag", }, "fullname": "", "id": 1, "name": "please sir, my son, he is sick", "ok": false, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "buffered": true, "diag": Object { "some": "diag", }, "fullname": "", "id": 1, "name": "please sir, my son, he is sick", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP buffered-nested-ok-top-failure-diag.tap default settings > stringified 1`] = ` TAP version 13 1..1 # Subtest: please sir, my son, he is sick 1..1 ok - i got better not ok 1 - please sir, my son, he is sick --- some: diag ... # failed 1 test ` exports[`test/parser-stringify.js TAP buffered-nested-ok-top-failure-diag.tap default settings > stringified flat 1`] = ` TAP version 13 1..1 # Subtest: please sir, my son, he is sick 1..1 ok - i got better not ok 1 - please sir, my son, he is sick --- some: diag ... # failed 1 test ` exports[`test/parser-stringify.js TAP buffered-nested-ok-top-failure-diag.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: please sir, my son, he is sick\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "please sir, my son, he is sick", "name": "i got better", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "diag": Object { "some": "diag", }, "fullname": "", "id": 1, "name": "please sir, my son, he is sick", "ok": false, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "buffered": true, "diag": Object { "some": "diag", }, "fullname": "", "id": 1, "name": "please sir, my son, he is sick", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP buffered-nested-ok-top-failure-diag.tap strict > stringified 1`] = ` TAP version 13 1..1 # Subtest: please sir, my son, he is sick 1..1 ok - i got better not ok 1 - please sir, my son, he is sick --- some: diag ... # failed 1 test ` exports[`test/parser-stringify.js TAP buffered-nested-ok-top-failure-diag.tap strict > stringified flat 1`] = ` TAP version 13 1..1 # Subtest: please sir, my son, he is sick 1..1 ok - i got better not ok 1 - please sir, my son, he is sick --- some: diag ... # failed 1 test ` exports[`test/parser-stringify.js TAP buffered-nested-ok-top-failure-diag.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: please sir, my son, he is sick\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "please sir, my son, he is sick", "name": "i got better", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "diag": Object { "some": "diag", }, "fullname": "", "id": 1, "name": "please sir, my son, he is sick", "ok": false, }, ], Array [ "bailout", "please sir, my son, he is sick", ], Array [ "complete", FinalResults { "bailout": "please sir, my son, he is sick", "count": 1, "fail": 1, "failures": Array [ Result { "buffered": true, "diag": Object { "some": "diag", }, "fullname": "", "id": 1, "name": "please sir, my son, he is sick", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP buffered-nested-ok-top-failure-diag.tap strictBail > stringified 1`] = ` TAP version 13 1..1 # Subtest: please sir, my son, he is sick 1..1 ok - i got better not ok 1 - please sir, my son, he is sick --- some: diag ... Bail out! please sir, my son, he is sick ` exports[`test/parser-stringify.js TAP buffered-nested-ok-top-failure-diag.tap strictBail > stringified flat 1`] = ` TAP version 13 1..1 # Subtest: please sir, my son, he is sick 1..1 ok - i got better not ok 1 - please sir, my son, he is sick --- some: diag ... Bail out! please sir, my son, he is sick ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/buffered-nested-ok-top-failure.tap.test.cjs000066400000000000000000000240561433324523500331170ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP buffered-nested-ok-top-failure.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: please sir, my son, he is sick\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "please sir, my son, he is sick", "name": "i got better", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "please sir, my son, he is sick", "ok": false, }, ], Array [ "bailout", "please sir, my son, he is sick", ], Array [ "complete", FinalResults { "bailout": "please sir, my son, he is sick", "count": 1, "fail": 1, "failures": Array [ Result { "buffered": true, "fullname": "", "id": 1, "name": "please sir, my son, he is sick", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP buffered-nested-ok-top-failure.tap bail > stringified 1`] = ` TAP version 13 1..1 # Subtest: please sir, my son, he is sick 1..1 ok - i got better not ok 1 - please sir, my son, he is sick Bail out! please sir, my son, he is sick ` exports[`test/parser-stringify.js TAP buffered-nested-ok-top-failure.tap bail > stringified flat 1`] = ` TAP version 13 1..1 # Subtest: please sir, my son, he is sick 1..1 ok - i got better not ok 1 - please sir, my son, he is sick Bail out! please sir, my son, he is sick ` exports[`test/parser-stringify.js TAP buffered-nested-ok-top-failure.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: please sir, my son, he is sick\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "please sir, my son, he is sick", "name": "i got better", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "please sir, my son, he is sick", "ok": false, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "buffered": true, "fullname": "", "id": 1, "name": "please sir, my son, he is sick", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP buffered-nested-ok-top-failure.tap default settings > stringified 1`] = ` TAP version 13 1..1 # Subtest: please sir, my son, he is sick 1..1 ok - i got better not ok 1 - please sir, my son, he is sick # failed 1 test ` exports[`test/parser-stringify.js TAP buffered-nested-ok-top-failure.tap default settings > stringified flat 1`] = ` TAP version 13 1..1 # Subtest: please sir, my son, he is sick 1..1 ok - i got better not ok 1 - please sir, my son, he is sick # failed 1 test ` exports[`test/parser-stringify.js TAP buffered-nested-ok-top-failure.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: please sir, my son, he is sick\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "please sir, my son, he is sick", "name": "i got better", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "please sir, my son, he is sick", "ok": false, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "buffered": true, "fullname": "", "id": 1, "name": "please sir, my son, he is sick", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP buffered-nested-ok-top-failure.tap strict > stringified 1`] = ` TAP version 13 1..1 # Subtest: please sir, my son, he is sick 1..1 ok - i got better not ok 1 - please sir, my son, he is sick # failed 1 test ` exports[`test/parser-stringify.js TAP buffered-nested-ok-top-failure.tap strict > stringified flat 1`] = ` TAP version 13 1..1 # Subtest: please sir, my son, he is sick 1..1 ok - i got better not ok 1 - please sir, my son, he is sick # failed 1 test ` exports[`test/parser-stringify.js TAP buffered-nested-ok-top-failure.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: please sir, my son, he is sick\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "please sir, my son, he is sick", "name": "i got better", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "please sir, my son, he is sick", "ok": false, }, ], Array [ "bailout", "please sir, my son, he is sick", ], Array [ "complete", FinalResults { "bailout": "please sir, my son, he is sick", "count": 1, "fail": 1, "failures": Array [ Result { "buffered": true, "fullname": "", "id": 1, "name": "please sir, my son, he is sick", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP buffered-nested-ok-top-failure.tap strictBail > stringified 1`] = ` TAP version 13 1..1 # Subtest: please sir, my son, he is sick 1..1 ok - i got better not ok 1 - please sir, my son, he is sick Bail out! please sir, my son, he is sick ` exports[`test/parser-stringify.js TAP buffered-nested-ok-top-failure.tap strictBail > stringified flat 1`] = ` TAP version 13 1..1 # Subtest: please sir, my son, he is sick 1..1 ok - i got better not ok 1 - please sir, my son, he is sick Bail out! please sir, my son, he is sick ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/buffered-with-diag-not-ok.tap.test.cjs000066400000000000000000000223241433324523500320570ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP buffered-with-diag-not-ok.tap bail > parsed 1`] = ` Array [ Array [ "child", Array [ Array [ "comment", "# Subtest: child\\n", ], Array [ "assert", Result { "fullname": "child", "id": 1, "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "diag": Object { "some": "diagnostics", }, "fullname": "", "id": 1, "name": "child", "ok": false, }, ], Array [ "bailout", "child", ], Array [ "complete", FinalResults { "bailout": "child", "count": 1, "fail": 1, "failures": Array [ Result { "buffered": true, "diag": Object { "some": "diagnostics", }, "fullname": "", "id": 1, "name": "child", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP buffered-with-diag-not-ok.tap bail > stringified 1`] = ` # Subtest: child ok 1 1..1 not ok 1 - child --- some: diagnostics ... Bail out! child ` exports[`test/parser-stringify.js TAP buffered-with-diag-not-ok.tap bail > stringified flat 1`] = ` # Subtest: child ok 1 1..1 not ok 1 - child --- some: diagnostics ... Bail out! child ` exports[`test/parser-stringify.js TAP buffered-with-diag-not-ok.tap default settings > parsed 1`] = ` Array [ Array [ "child", Array [ Array [ "comment", "# Subtest: child\\n", ], Array [ "assert", Result { "fullname": "child", "id": 1, "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "diag": Object { "some": "diagnostics", }, "fullname": "", "id": 1, "name": "child", "ok": false, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "buffered": true, "diag": Object { "some": "diagnostics", }, "fullname": "", "id": 1, "name": "child", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP buffered-with-diag-not-ok.tap default settings > stringified 1`] = ` # Subtest: child ok 1 1..1 not ok 1 - child --- some: diagnostics ... 1..1 # failed 1 test ` exports[`test/parser-stringify.js TAP buffered-with-diag-not-ok.tap default settings > stringified flat 1`] = ` # Subtest: child ok 1 1..1 not ok 1 - child --- some: diagnostics ... 1..1 # failed 1 test ` exports[`test/parser-stringify.js TAP buffered-with-diag-not-ok.tap strict > parsed 1`] = ` Array [ Array [ "child", Array [ Array [ "comment", "# Subtest: child\\n", ], Array [ "assert", Result { "fullname": "child", "id": 1, "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "diag": Object { "some": "diagnostics", }, "fullname": "", "id": 1, "name": "child", "ok": false, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "buffered": true, "diag": Object { "some": "diagnostics", }, "fullname": "", "id": 1, "name": "child", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP buffered-with-diag-not-ok.tap strict > stringified 1`] = ` # Subtest: child ok 1 1..1 not ok 1 - child --- some: diagnostics ... 1..1 # failed 1 test ` exports[`test/parser-stringify.js TAP buffered-with-diag-not-ok.tap strict > stringified flat 1`] = ` # Subtest: child ok 1 1..1 not ok 1 - child --- some: diagnostics ... 1..1 # failed 1 test ` exports[`test/parser-stringify.js TAP buffered-with-diag-not-ok.tap strictBail > parsed 1`] = ` Array [ Array [ "child", Array [ Array [ "comment", "# Subtest: child\\n", ], Array [ "assert", Result { "fullname": "child", "id": 1, "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "diag": Object { "some": "diagnostics", }, "fullname": "", "id": 1, "name": "child", "ok": false, }, ], Array [ "bailout", "child", ], Array [ "complete", FinalResults { "bailout": "child", "count": 1, "fail": 1, "failures": Array [ Result { "buffered": true, "diag": Object { "some": "diagnostics", }, "fullname": "", "id": 1, "name": "child", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP buffered-with-diag-not-ok.tap strictBail > stringified 1`] = ` # Subtest: child ok 1 1..1 not ok 1 - child --- some: diagnostics ... Bail out! child ` exports[`test/parser-stringify.js TAP buffered-with-diag-not-ok.tap strictBail > stringified flat 1`] = ` # Subtest: child ok 1 1..1 not ok 1 - child --- some: diagnostics ... Bail out! child ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/buffered-with-diag-ok.tap.test.cjs000066400000000000000000000200701433324523500312550ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP buffered-with-diag-ok.tap bail > parsed 1`] = ` Array [ Array [ "child", Array [ Array [ "comment", "# Subtest: child\\n", ], Array [ "assert", Result { "fullname": "child", "id": 1, "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "diag": Object { "some": "diagnostics", }, "fullname": "", "id": 1, "name": "child", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP buffered-with-diag-ok.tap bail > stringified 1`] = ` # Subtest: child ok 1 1..1 ok 1 - child --- some: diagnostics ... 1..1 ` exports[`test/parser-stringify.js TAP buffered-with-diag-ok.tap bail > stringified flat 1`] = ` # Subtest: child ok 1 1..1 ok 1 - child --- some: diagnostics ... 1..1 ` exports[`test/parser-stringify.js TAP buffered-with-diag-ok.tap default settings > parsed 1`] = ` Array [ Array [ "child", Array [ Array [ "comment", "# Subtest: child\\n", ], Array [ "assert", Result { "fullname": "child", "id": 1, "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "diag": Object { "some": "diagnostics", }, "fullname": "", "id": 1, "name": "child", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP buffered-with-diag-ok.tap default settings > stringified 1`] = ` # Subtest: child ok 1 1..1 ok 1 - child --- some: diagnostics ... 1..1 ` exports[`test/parser-stringify.js TAP buffered-with-diag-ok.tap default settings > stringified flat 1`] = ` # Subtest: child ok 1 1..1 ok 1 - child --- some: diagnostics ... 1..1 ` exports[`test/parser-stringify.js TAP buffered-with-diag-ok.tap strict > parsed 1`] = ` Array [ Array [ "child", Array [ Array [ "comment", "# Subtest: child\\n", ], Array [ "assert", Result { "fullname": "child", "id": 1, "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "diag": Object { "some": "diagnostics", }, "fullname": "", "id": 1, "name": "child", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP buffered-with-diag-ok.tap strict > stringified 1`] = ` # Subtest: child ok 1 1..1 ok 1 - child --- some: diagnostics ... 1..1 ` exports[`test/parser-stringify.js TAP buffered-with-diag-ok.tap strict > stringified flat 1`] = ` # Subtest: child ok 1 1..1 ok 1 - child --- some: diagnostics ... 1..1 ` exports[`test/parser-stringify.js TAP buffered-with-diag-ok.tap strictBail > parsed 1`] = ` Array [ Array [ "child", Array [ Array [ "comment", "# Subtest: child\\n", ], Array [ "assert", Result { "fullname": "child", "id": 1, "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "diag": Object { "some": "diagnostics", }, "fullname": "", "id": 1, "name": "child", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP buffered-with-diag-ok.tap strictBail > stringified 1`] = ` # Subtest: child ok 1 1..1 ok 1 - child --- some: diagnostics ... 1..1 ` exports[`test/parser-stringify.js TAP buffered-with-diag-ok.tap strictBail > stringified flat 1`] = ` # Subtest: child ok 1 1..1 ok 1 - child --- some: diagnostics ... 1..1 ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/child-after-failure.tap.test.cjs000066400000000000000000000146621433324523500310320ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP child-after-failure.tap bail > parsed 1`] = ` Array [ Array [ "assert", Result { "fullname": "", "name": "1", "ok": false, }, ], Array [ "bailout", "1", ], Array [ "complete", FinalResults { "bailout": "1", "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "", "name": "1", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP child-after-failure.tap bail > stringified 1`] = ` not ok - 1 Bail out! 1 ` exports[`test/parser-stringify.js TAP child-after-failure.tap bail > stringified flat 1`] = ` not ok - 1 Bail out! 1 ` exports[`test/parser-stringify.js TAP child-after-failure.tap default settings > parsed 1`] = ` Array [ Array [ "assert", Result { "fullname": "", "name": "1", "ok": false, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: child\\n", ], Array [ "assert", Result { "fullname": "child", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "child", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# failed 1 of 2 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 1, "failures": Array [ Result { "fullname": "", "name": "1", "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP child-after-failure.tap default settings > stringified 1`] = ` not ok - 1 # Subtest: child ok 1..1 ok 2 - child 1..2 # failed 1 of 2 tests ` exports[`test/parser-stringify.js TAP child-after-failure.tap default settings > stringified flat 1`] = ` not ok - 1 # Subtest: child ok 1..1 ok 2 - child 1..2 # failed 1 of 2 tests ` exports[`test/parser-stringify.js TAP child-after-failure.tap strict > parsed 1`] = ` Array [ Array [ "assert", Result { "fullname": "", "name": "1", "ok": false, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: child\\n", ], Array [ "assert", Result { "fullname": "child", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "child", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# failed 1 of 2 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 1, "failures": Array [ Result { "fullname": "", "name": "1", "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP child-after-failure.tap strict > stringified 1`] = ` not ok - 1 # Subtest: child ok 1..1 ok 2 - child 1..2 # failed 1 of 2 tests ` exports[`test/parser-stringify.js TAP child-after-failure.tap strict > stringified flat 1`] = ` not ok - 1 # Subtest: child ok 1..1 ok 2 - child 1..2 # failed 1 of 2 tests ` exports[`test/parser-stringify.js TAP child-after-failure.tap strictBail > parsed 1`] = ` Array [ Array [ "assert", Result { "fullname": "", "name": "1", "ok": false, }, ], Array [ "bailout", "1", ], Array [ "complete", FinalResults { "bailout": "1", "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "", "name": "1", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP child-after-failure.tap strictBail > stringified 1`] = ` not ok - 1 Bail out! 1 ` exports[`test/parser-stringify.js TAP child-after-failure.tap strictBail > stringified flat 1`] = ` not ok - 1 Bail out! 1 ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/child-extra.tap.test.cjs000066400000000000000000000311301433324523500274140ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP child-extra.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: test/debug-test.js\\n", ], Array [ "comment", "# debug test\\n", ], Array [ "assert", Result { "fullname": "test/debug-test.js", "id": 1, "name": "Should output debugger message", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# tests 1\\n", ], Array [ "comment", "# pass 1\\n", ], Array [ "comment", "# ok\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 537.383, "todo": 0, }, ], ], ], Array [ "extra", "debug test\\n", ], Array [ "extra", "t.plan=1\\n", ], Array [ "extra", "'Debugger listening on port 5858\\\\n'\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "test/debug-test.js", "ok": true, "time": 537.383, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# time=543.783ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 543.783, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP child-extra.tap bail > stringified 1`] = ` TAP version 13 # Subtest: test/debug-test.js # debug test ok 1 - Should output debugger message 1..1 # tests 1 # pass 1 # ok debug test t.plan=1 'Debugger listening on port 5858\\n' ok 1 - test/debug-test.js # time=537.383ms 1..1 # time=543.783ms ` exports[`test/parser-stringify.js TAP child-extra.tap bail > stringified flat 1`] = ` TAP version 13 # Subtest: test/debug-test.js # debug test ok 1 - Should output debugger message 1..1 # tests 1 # pass 1 # ok debug test t.plan=1 'Debugger listening on port 5858\\n' ok 1 - test/debug-test.js # time=537.383ms 1..1 # time=543.783ms ` exports[`test/parser-stringify.js TAP child-extra.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: test/debug-test.js\\n", ], Array [ "comment", "# debug test\\n", ], Array [ "assert", Result { "fullname": "test/debug-test.js", "id": 1, "name": "Should output debugger message", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# tests 1\\n", ], Array [ "comment", "# pass 1\\n", ], Array [ "comment", "# ok\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 537.383, "todo": 0, }, ], ], ], Array [ "extra", "debug test\\n", ], Array [ "extra", "t.plan=1\\n", ], Array [ "extra", "'Debugger listening on port 5858\\\\n'\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "test/debug-test.js", "ok": true, "time": 537.383, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# time=543.783ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 543.783, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP child-extra.tap default settings > stringified 1`] = ` TAP version 13 # Subtest: test/debug-test.js # debug test ok 1 - Should output debugger message 1..1 # tests 1 # pass 1 # ok debug test t.plan=1 'Debugger listening on port 5858\\n' ok 1 - test/debug-test.js # time=537.383ms 1..1 # time=543.783ms ` exports[`test/parser-stringify.js TAP child-extra.tap default settings > stringified flat 1`] = ` TAP version 13 # Subtest: test/debug-test.js # debug test ok 1 - Should output debugger message 1..1 # tests 1 # pass 1 # ok debug test t.plan=1 'Debugger listening on port 5858\\n' ok 1 - test/debug-test.js # time=537.383ms 1..1 # time=543.783ms ` exports[`test/parser-stringify.js TAP child-extra.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: test/debug-test.js\\n", ], Array [ "comment", "# debug test\\n", ], Array [ "assert", Result { "fullname": "test/debug-test.js", "id": 1, "name": "Should output debugger message", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# tests 1\\n", ], Array [ "comment", "# pass 1\\n", ], Array [ "comment", "# ok\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 537.383, "todo": 0, }, ], ], ], Array [ "extra", "debug test\\n", ], Array [ "extra", "t.plan=1\\n", ], Array [ "extra", "'Debugger listening on port 5858\\\\n'\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "test/debug-test.js", "ok": true, "time": 537.383, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# time=543.783ms\\n", ], Array [ "comment", "# failed 3 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 3, "failures": Array [ Object { "data": "debug test\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "t.plan=1\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "'Debugger listening on port 5858\\\\n'\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 543.783, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP child-extra.tap strict > stringified 1`] = ` TAP version 13 # Subtest: test/debug-test.js # debug test ok 1 - Should output debugger message 1..1 # tests 1 # pass 1 # ok debug test t.plan=1 'Debugger listening on port 5858\\n' ok 1 - test/debug-test.js # time=537.383ms 1..1 # time=543.783ms # failed 3 test ` exports[`test/parser-stringify.js TAP child-extra.tap strict > stringified flat 1`] = ` TAP version 13 # Subtest: test/debug-test.js # debug test ok 1 - Should output debugger message 1..1 # tests 1 # pass 1 # ok debug test t.plan=1 'Debugger listening on port 5858\\n' ok 1 - test/debug-test.js # time=537.383ms 1..1 # time=543.783ms # failed 3 test ` exports[`test/parser-stringify.js TAP child-extra.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: test/debug-test.js\\n", ], Array [ "comment", "# debug test\\n", ], Array [ "assert", Result { "fullname": "test/debug-test.js", "id": 1, "name": "Should output debugger message", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# tests 1\\n", ], Array [ "comment", "# pass 1\\n", ], Array [ "comment", "# ok\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 537.383, "todo": 0, }, ], ], ], Array [ "extra", "debug test\\n", ], Array [ "extra", "t.plan=1\\n", ], Array [ "extra", "'Debugger listening on port 5858\\\\n'\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "test/debug-test.js", "ok": true, "time": 537.383, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# time=543.783ms\\n", ], Array [ "comment", "# failed 3 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 3, "failures": Array [ Object { "data": "debug test\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "t.plan=1\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "'Debugger listening on port 5858\\\\n'\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 543.783, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP child-extra.tap strictBail > stringified 1`] = ` TAP version 13 # Subtest: test/debug-test.js # debug test ok 1 - Should output debugger message 1..1 # tests 1 # pass 1 # ok debug test t.plan=1 'Debugger listening on port 5858\\n' ok 1 - test/debug-test.js # time=537.383ms 1..1 # time=543.783ms # failed 3 test ` exports[`test/parser-stringify.js TAP child-extra.tap strictBail > stringified flat 1`] = ` TAP version 13 # Subtest: test/debug-test.js # debug test ok 1 - Should output debugger message 1..1 # tests 1 # pass 1 # ok debug test t.plan=1 'Debugger listening on port 5858\\n' ok 1 - test/debug-test.js # time=537.383ms 1..1 # time=543.783ms # failed 3 test ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/combined.tap.test.cjs000066400000000000000000000231601433324523500267740ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP combined.tap bail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 10, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "basset hounds got long ears", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "all hell broke loose", "ok": false, }, ], Array [ "bailout", "all hell broke loose", ], Array [ "complete", FinalResults { "bailout": "all hell broke loose", "count": 3, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 3, "name": "all hell broke loose", "ok": false, }, ], "ok": false, "pass": 2, "plan": FinalPlan { "comment": "", "end": 10, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP combined.tap bail > stringified 1`] = ` 1..10 ok 1 ok 2 - basset hounds got long ears not ok 3 - all hell broke loose Bail out! all hell broke loose ` exports[`test/parser-stringify.js TAP combined.tap bail > stringified flat 1`] = ` 1..10 ok 1 ok 2 - basset hounds got long ears not ok 3 - all hell broke loose Bail out! all hell broke loose ` exports[`test/parser-stringify.js TAP combined.tap default settings > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 10, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "basset hounds got long ears", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "all hell broke loose", "ok": false, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "", "ok": false, "todo": "if I heard a voice from heaven ...", }, ], Array [ "assert", Result { "fullname": "", "name": "say \\"live without loving\\",", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 6, "name": "I'd beg off.", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 7, "name": "", "ok": true, "skip": "contract negotiations", }, ], Array [ "assert", Result { "fullname": "", "id": 8, "name": "Girls are such exquisite hell", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 9, "name": "Elegy 9B", "ok": true, "todo": true, }, ], Array [ "assert", Result { "fullname": "", "id": 10, "ok": false, }, ], Array [ "comment", "# failed 3 of 10 tests\\n", ], Array [ "comment", "# todo: 2\\n", ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 10, "fail": 3, "failures": Array [ Result { "fullname": "", "id": 3, "name": "all hell broke loose", "ok": false, }, Result { "fullname": "", "id": 10, "ok": false, }, ], "ok": false, "pass": 7, "plan": FinalPlan { "comment": "", "end": 10, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 2, }, ], ] ` exports[`test/parser-stringify.js TAP combined.tap default settings > stringified 1`] = ` 1..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 # failed 3 of 10 tests # todo: 2 # skip: 1 ` exports[`test/parser-stringify.js TAP combined.tap default settings > stringified flat 1`] = ` 1..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 # failed 3 of 10 tests # todo: 2 # skip: 1 ` exports[`test/parser-stringify.js TAP combined.tap strict > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 10, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "basset hounds got long ears", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "all hell broke loose", "ok": false, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "", "ok": false, "todo": "if I heard a voice from heaven ...", }, ], Array [ "assert", Result { "fullname": "", "name": "say \\"live without loving\\",", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 6, "name": "I'd beg off.", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 7, "name": "", "ok": true, "skip": "contract negotiations", }, ], Array [ "assert", Result { "fullname": "", "id": 8, "name": "Girls are such exquisite hell", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 9, "name": "Elegy 9B", "ok": true, "todo": true, }, ], Array [ "assert", Result { "fullname": "", "id": 10, "ok": false, }, ], Array [ "comment", "# failed 3 of 10 tests\\n", ], Array [ "comment", "# todo: 2\\n", ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 10, "fail": 3, "failures": Array [ Result { "fullname": "", "id": 3, "name": "all hell broke loose", "ok": false, }, Result { "fullname": "", "id": 10, "ok": false, }, ], "ok": false, "pass": 7, "plan": FinalPlan { "comment": "", "end": 10, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 2, }, ], ] ` exports[`test/parser-stringify.js TAP combined.tap strict > stringified 1`] = ` 1..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 # failed 3 of 10 tests # todo: 2 # skip: 1 ` exports[`test/parser-stringify.js TAP combined.tap strict > stringified flat 1`] = ` 1..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 # failed 3 of 10 tests # todo: 2 # skip: 1 ` exports[`test/parser-stringify.js TAP combined.tap strictBail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 10, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "basset hounds got long ears", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "all hell broke loose", "ok": false, }, ], Array [ "bailout", "all hell broke loose", ], Array [ "complete", FinalResults { "bailout": "all hell broke loose", "count": 3, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 3, "name": "all hell broke loose", "ok": false, }, ], "ok": false, "pass": 2, "plan": FinalPlan { "comment": "", "end": 10, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP combined.tap strictBail > stringified 1`] = ` 1..10 ok 1 ok 2 - basset hounds got long ears not ok 3 - all hell broke loose Bail out! all hell broke loose ` exports[`test/parser-stringify.js TAP combined.tap strictBail > stringified flat 1`] = ` 1..10 ok 1 ok 2 - basset hounds got long ears not ok 3 - all hell broke loose Bail out! all hell broke loose ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/combined_compat.tap.test.cjs000066400000000000000000000225401433324523500303400ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP combined_compat.tap bail > parsed 1`] = ` Array [ Array [ "extra", "1..10 todo 4 10\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "basset hounds got long ears", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "all hell broke lose", "ok": false, }, ], Array [ "bailout", "all hell broke lose", ], Array [ "complete", FinalResults { "bailout": "all hell broke lose", "count": 3, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 3, "name": "all hell broke lose", "ok": false, }, ], "ok": false, "pass": 2, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP combined_compat.tap bail > stringified 1`] = ` 1..10 todo 4 10 ok 1 ok 2 - basset hounds got long ears not ok 3 - all hell broke lose Bail out! all hell broke lose ` exports[`test/parser-stringify.js TAP combined_compat.tap bail > stringified flat 1`] = ` 1..10 todo 4 10 ok 1 ok 2 - basset hounds got long ears not ok 3 - all hell broke lose Bail out! all hell broke lose ` exports[`test/parser-stringify.js TAP combined_compat.tap default settings > parsed 1`] = ` Array [ Array [ "extra", "1..10 todo 4 10\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "basset hounds got long ears", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "all hell broke lose", "ok": false, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 6, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 7, "name": "", "ok": true, "skip": "contract negociations", }, ], Array [ "assert", Result { "fullname": "", "id": 8, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 9, "ok": false, }, ], Array [ "assert", Result { "fullname": "", "id": 10, "ok": false, }, ], Array [ "comment", "# test count(10) != plan(null)\\n", ], Array [ "comment", "# failed 4 of 10 tests\\n", ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 10, "fail": 4, "failures": Array [ Result { "fullname": "", "id": 3, "name": "all hell broke lose", "ok": false, }, Result { "fullname": "", "id": 9, "ok": false, }, Result { "fullname": "", "id": 10, "ok": false, }, Object { "tapError": "no plan", }, ], "ok": false, "pass": 7, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 1, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP combined_compat.tap default settings > stringified 1`] = ` 1..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 # test count(10) != plan(null) # failed 4 of 10 tests # skip: 1 ` exports[`test/parser-stringify.js TAP combined_compat.tap default settings > stringified flat 1`] = ` 1..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 # test count(10) != plan(null) # failed 4 of 10 tests # skip: 1 ` exports[`test/parser-stringify.js TAP combined_compat.tap strict > parsed 1`] = ` Array [ Array [ "extra", "1..10 todo 4 10\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "basset hounds got long ears", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "all hell broke lose", "ok": false, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 6, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 7, "name": "", "ok": true, "skip": "contract negociations", }, ], Array [ "assert", Result { "fullname": "", "id": 8, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 9, "ok": false, }, ], Array [ "assert", Result { "fullname": "", "id": 10, "ok": false, }, ], Array [ "comment", "# test count(10) != plan(null)\\n", ], Array [ "comment", "# failed 5 of 10 tests\\n", ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 10, "fail": 5, "failures": Array [ Object { "data": "1..10 todo 4 10\\n", "tapError": "Non-TAP data encountered in strict mode", }, Result { "fullname": "", "id": 3, "name": "all hell broke lose", "ok": false, }, Result { "fullname": "", "id": 9, "ok": false, }, Result { "fullname": "", "id": 10, "ok": false, }, Object { "tapError": "no plan", }, ], "ok": false, "pass": 7, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 1, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP combined_compat.tap strict > stringified 1`] = ` 1..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 # test count(10) != plan(null) # failed 5 of 10 tests # skip: 1 ` exports[`test/parser-stringify.js TAP combined_compat.tap strict > stringified flat 1`] = ` 1..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 # test count(10) != plan(null) # failed 5 of 10 tests # skip: 1 ` exports[`test/parser-stringify.js TAP combined_compat.tap strictBail > parsed 1`] = ` Array [ Array [ "extra", "1..10 todo 4 10\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "basset hounds got long ears", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "all hell broke lose", "ok": false, }, ], Array [ "bailout", "all hell broke lose", ], Array [ "complete", FinalResults { "bailout": "all hell broke lose", "count": 3, "fail": 2, "failures": Array [ Object { "data": "1..10 todo 4 10\\n", "tapError": "Non-TAP data encountered in strict mode", }, Result { "fullname": "", "id": 3, "name": "all hell broke lose", "ok": false, }, ], "ok": false, "pass": 2, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP combined_compat.tap strictBail > stringified 1`] = ` 1..10 todo 4 10 ok 1 ok 2 - basset hounds got long ears not ok 3 - all hell broke lose Bail out! all hell broke lose ` exports[`test/parser-stringify.js TAP combined_compat.tap strictBail > stringified flat 1`] = ` 1..10 todo 4 10 ok 1 ok 2 - basset hounds got long ears not ok 3 - all hell broke lose Bail out! all hell broke lose ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/comment-mid-diag-postplan.tap.test.cjs000066400000000000000000000262721433324523500321740ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP comment-mid-diag-postplan.tap bail > parsed 1`] = ` Array [ Array [ "comment", "# before version\\n", ], Array [ "version", 13, ], Array [ "comment", "# after version, before result\\n", ], Array [ "assert", Result { "diag": Object { "after": "comment", }, "fullname": "", "id": 1, "name": "please keep my diags", "ok": false, }, ], Array [ "comment", " # before diag\\n", ], Array [ "comment", "# mid diag\\n", ], Array [ "comment", " # after diag\\n", ], Array [ "bailout", "please keep my diags", ], Array [ "complete", FinalResults { "bailout": "please keep my diags", "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "after": "comment", }, "fullname": "", "id": 1, "name": "please keep my diags", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP comment-mid-diag-postplan.tap bail > stringified 1`] = ` # before version TAP version 13 # after version, before result not ok 1 - please keep my diags --- after: comment ... # before diag # mid diag # after diag Bail out! please keep my diags ` exports[`test/parser-stringify.js TAP comment-mid-diag-postplan.tap bail > stringified flat 1`] = ` # before version TAP version 13 # after version, before result not ok 1 - please keep my diags --- after: comment ... # before diag # mid diag # after diag Bail out! please keep my diags ` exports[`test/parser-stringify.js TAP comment-mid-diag-postplan.tap default settings > parsed 1`] = ` Array [ Array [ "comment", "# before version\\n", ], Array [ "version", 13, ], Array [ "comment", "# after version, before result\\n", ], Array [ "assert", Result { "diag": Object { "after": "comment", }, "fullname": "", "id": 1, "name": "please keep my diags", "ok": false, }, ], Array [ "comment", " # before diag\\n", ], Array [ "comment", "# mid diag\\n", ], Array [ "comment", " # after diag\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: child\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# before 1\\n", ], Array [ "assert", Result { "fullname": "child", "id": 1, "ok": true, }, ], Array [ "comment", "# before 2\\n", ], Array [ "assert", Result { "fullname": "child", "id": 2, "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "comment", "# before 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "child", "ok": true, }, ], Array [ "comment", "# after 2, brefore plan\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# after plan\\n", ], Array [ "comment", "# failed 1 of 2 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 1, "failures": Array [ Result { "diag": Object { "after": "comment", }, "fullname": "", "id": 1, "name": "please keep my diags", "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP comment-mid-diag-postplan.tap default settings > stringified 1`] = ` # before version TAP version 13 # after version, before result not ok 1 - please keep my diags --- after: comment ... # before diag # 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 # failed 1 of 2 tests ` exports[`test/parser-stringify.js TAP comment-mid-diag-postplan.tap default settings > stringified flat 1`] = ` # before version TAP version 13 # after version, before result not ok 1 - please keep my diags --- after: comment ... # before diag # 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 # failed 1 of 2 tests ` exports[`test/parser-stringify.js TAP comment-mid-diag-postplan.tap strict > parsed 1`] = ` Array [ Array [ "comment", "# before version\\n", ], Array [ "version", 13, ], Array [ "comment", "# after version, before result\\n", ], Array [ "assert", Result { "diag": Object { "after": "comment", }, "fullname": "", "id": 1, "name": "please keep my diags", "ok": false, }, ], Array [ "comment", " # before diag\\n", ], Array [ "comment", "# mid diag\\n", ], Array [ "comment", " # after diag\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: child\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# before 1\\n", ], Array [ "assert", Result { "fullname": "child", "id": 1, "ok": true, }, ], Array [ "comment", "# before 2\\n", ], Array [ "assert", Result { "fullname": "child", "id": 2, "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "comment", "# before 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "child", "ok": true, }, ], Array [ "comment", "# after 2, brefore plan\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# after plan\\n", ], Array [ "comment", "# failed 1 of 2 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 1, "failures": Array [ Result { "diag": Object { "after": "comment", }, "fullname": "", "id": 1, "name": "please keep my diags", "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP comment-mid-diag-postplan.tap strict > stringified 1`] = ` # before version TAP version 13 # after version, before result not ok 1 - please keep my diags --- after: comment ... # before diag # 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 # failed 1 of 2 tests ` exports[`test/parser-stringify.js TAP comment-mid-diag-postplan.tap strict > stringified flat 1`] = ` # before version TAP version 13 # after version, before result not ok 1 - please keep my diags --- after: comment ... # before diag # 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 # failed 1 of 2 tests ` exports[`test/parser-stringify.js TAP comment-mid-diag-postplan.tap strictBail > parsed 1`] = ` Array [ Array [ "comment", "# before version\\n", ], Array [ "version", 13, ], Array [ "comment", "# after version, before result\\n", ], Array [ "assert", Result { "diag": Object { "after": "comment", }, "fullname": "", "id": 1, "name": "please keep my diags", "ok": false, }, ], Array [ "comment", " # before diag\\n", ], Array [ "comment", "# mid diag\\n", ], Array [ "comment", " # after diag\\n", ], Array [ "bailout", "please keep my diags", ], Array [ "complete", FinalResults { "bailout": "please keep my diags", "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "after": "comment", }, "fullname": "", "id": 1, "name": "please keep my diags", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP comment-mid-diag-postplan.tap strictBail > stringified 1`] = ` # before version TAP version 13 # after version, before result not ok 1 - please keep my diags --- after: comment ... # before diag # mid diag # after diag Bail out! please keep my diags ` exports[`test/parser-stringify.js TAP comment-mid-diag-postplan.tap strictBail > stringified flat 1`] = ` # before version TAP version 13 # after version, before result not ok 1 - please keep my diags --- after: comment ... # before diag # mid diag # after diag Bail out! please keep my diags ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/comment-mid-diag.tap.test.cjs000066400000000000000000000216761433324523500303410ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP comment-mid-diag.tap bail > parsed 1`] = ` Array [ Array [ "comment", "# before version\\n", ], Array [ "version", 13, ], Array [ "comment", "# after version, before plan\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# before result\\n", ], Array [ "assert", Result { "diag": Object { "after": "comment", }, "fullname": "", "id": 1, "name": "please keep my diags", "ok": false, }, ], Array [ "comment", " # before diag\\n", ], Array [ "comment", "# mid diag\\n", ], Array [ "comment", " # after diag\\n", ], Array [ "comment", "# before 2\\n", ], Array [ "bailout", "please keep my diags", ], Array [ "complete", FinalResults { "bailout": "please keep my diags", "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "after": "comment", }, "fullname": "", "id": 1, "name": "please keep my diags", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP comment-mid-diag.tap bail > stringified 1`] = ` # before version TAP version 13 # after version, before plan 1..2 # before result not ok 1 - please keep my diags --- after: comment ... # before diag # mid diag # after diag # before 2 Bail out! please keep my diags ` exports[`test/parser-stringify.js TAP comment-mid-diag.tap bail > stringified flat 1`] = ` # before version TAP version 13 # after version, before plan 1..2 # before result not ok 1 - please keep my diags --- after: comment ... # before diag # mid diag # after diag # before 2 Bail out! please keep my diags ` exports[`test/parser-stringify.js TAP comment-mid-diag.tap default settings > parsed 1`] = ` Array [ Array [ "comment", "# before version\\n", ], Array [ "version", 13, ], Array [ "comment", "# after version, before plan\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# before result\\n", ], Array [ "assert", Result { "diag": Object { "after": "comment", }, "fullname": "", "id": 1, "name": "please keep my diags", "ok": false, }, ], Array [ "comment", " # before diag\\n", ], Array [ "comment", "# mid diag\\n", ], Array [ "comment", " # after diag\\n", ], Array [ "comment", "# before 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "comment", "# after 2\\n", ], Array [ "comment", "# failed 1 of 2 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 1, "failures": Array [ Result { "diag": Object { "after": "comment", }, "fullname": "", "id": 1, "name": "please keep my diags", "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP comment-mid-diag.tap default settings > stringified 1`] = ` # before version TAP version 13 # after version, before plan 1..2 # before result not ok 1 - please keep my diags --- after: comment ... # before diag # mid diag # after diag # before 2 ok 2 # after 2 # failed 1 of 2 tests ` exports[`test/parser-stringify.js TAP comment-mid-diag.tap default settings > stringified flat 1`] = ` # before version TAP version 13 # after version, before plan 1..2 # before result not ok 1 - please keep my diags --- after: comment ... # before diag # mid diag # after diag # before 2 ok 2 # after 2 # failed 1 of 2 tests ` exports[`test/parser-stringify.js TAP comment-mid-diag.tap strict > parsed 1`] = ` Array [ Array [ "comment", "# before version\\n", ], Array [ "version", 13, ], Array [ "comment", "# after version, before plan\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# before result\\n", ], Array [ "assert", Result { "diag": Object { "after": "comment", }, "fullname": "", "id": 1, "name": "please keep my diags", "ok": false, }, ], Array [ "comment", " # before diag\\n", ], Array [ "comment", "# mid diag\\n", ], Array [ "comment", " # after diag\\n", ], Array [ "comment", "# before 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "comment", "# after 2\\n", ], Array [ "comment", "# failed 1 of 2 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 1, "failures": Array [ Result { "diag": Object { "after": "comment", }, "fullname": "", "id": 1, "name": "please keep my diags", "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP comment-mid-diag.tap strict > stringified 1`] = ` # before version TAP version 13 # after version, before plan 1..2 # before result not ok 1 - please keep my diags --- after: comment ... # before diag # mid diag # after diag # before 2 ok 2 # after 2 # failed 1 of 2 tests ` exports[`test/parser-stringify.js TAP comment-mid-diag.tap strict > stringified flat 1`] = ` # before version TAP version 13 # after version, before plan 1..2 # before result not ok 1 - please keep my diags --- after: comment ... # before diag # mid diag # after diag # before 2 ok 2 # after 2 # failed 1 of 2 tests ` exports[`test/parser-stringify.js TAP comment-mid-diag.tap strictBail > parsed 1`] = ` Array [ Array [ "comment", "# before version\\n", ], Array [ "version", 13, ], Array [ "comment", "# after version, before plan\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# before result\\n", ], Array [ "assert", Result { "diag": Object { "after": "comment", }, "fullname": "", "id": 1, "name": "please keep my diags", "ok": false, }, ], Array [ "comment", " # before diag\\n", ], Array [ "comment", "# mid diag\\n", ], Array [ "comment", " # after diag\\n", ], Array [ "comment", "# before 2\\n", ], Array [ "bailout", "please keep my diags", ], Array [ "complete", FinalResults { "bailout": "please keep my diags", "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "after": "comment", }, "fullname": "", "id": 1, "name": "please keep my diags", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP comment-mid-diag.tap strictBail > stringified 1`] = ` # before version TAP version 13 # after version, before plan 1..2 # before result not ok 1 - please keep my diags --- after: comment ... # before diag # mid diag # after diag # before 2 Bail out! please keep my diags ` exports[`test/parser-stringify.js TAP comment-mid-diag.tap strictBail > stringified flat 1`] = ` # before version TAP version 13 # after version, before plan 1..2 # before result not ok 1 - please keep my diags --- after: comment ... # before diag # mid diag # after diag # before 2 Bail out! please keep my diags ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/common-with-explanation.tap.test.cjs000066400000000000000000000237641433324523500320070ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP common-with-explanation.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 6, "start": 1, }, ], Array [ "comment", "#\\n", ], Array [ "comment", "# Create a new Board and Tile, then place\\n", ], Array [ "comment", "# the Tile onto the board.\\n", ], Array [ "comment", "#\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "The object isa Board", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Board size is zero", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "The object isa Tile", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "Get possible places to put the Tile", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "Placing the tile produces no error", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 6, "name": "Board size is 1", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 6, "fail": 0, "failures": Array [], "ok": true, "pass": 6, "plan": FinalPlan { "comment": "", "end": 6, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP common-with-explanation.tap bail > stringified 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP common-with-explanation.tap bail > stringified flat 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP common-with-explanation.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 6, "start": 1, }, ], Array [ "comment", "#\\n", ], Array [ "comment", "# Create a new Board and Tile, then place\\n", ], Array [ "comment", "# the Tile onto the board.\\n", ], Array [ "comment", "#\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "The object isa Board", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Board size is zero", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "The object isa Tile", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "Get possible places to put the Tile", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "Placing the tile produces no error", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 6, "name": "Board size is 1", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 6, "fail": 0, "failures": Array [], "ok": true, "pass": 6, "plan": FinalPlan { "comment": "", "end": 6, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP common-with-explanation.tap default settings > stringified 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP common-with-explanation.tap default settings > stringified flat 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP common-with-explanation.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 6, "start": 1, }, ], Array [ "comment", "#\\n", ], Array [ "comment", "# Create a new Board and Tile, then place\\n", ], Array [ "comment", "# the Tile onto the board.\\n", ], Array [ "comment", "#\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "The object isa Board", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Board size is zero", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "The object isa Tile", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "Get possible places to put the Tile", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "Placing the tile produces no error", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 6, "name": "Board size is 1", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 6, "fail": 0, "failures": Array [], "ok": true, "pass": 6, "plan": FinalPlan { "comment": "", "end": 6, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP common-with-explanation.tap strict > stringified 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP common-with-explanation.tap strict > stringified flat 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP common-with-explanation.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 6, "start": 1, }, ], Array [ "comment", "#\\n", ], Array [ "comment", "# Create a new Board and Tile, then place\\n", ], Array [ "comment", "# the Tile onto the board.\\n", ], Array [ "comment", "#\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "The object isa Board", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Board size is zero", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "The object isa Tile", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "Get possible places to put the Tile", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "Placing the tile produces no error", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 6, "name": "Board size is 1", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 6, "fail": 0, "failures": Array [], "ok": true, "pass": 6, "plan": FinalPlan { "comment": "", "end": 6, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP common-with-explanation.tap strictBail > stringified 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP common-with-explanation.tap strictBail > stringified flat 1`] = ` TAP 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-11.0.2/tap-snapshots/test/parser-stringify/confusing-json.tap.test.cjs000066400000000000000000000565561433324523500301750ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP confusing-json.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: Test newlines in tap and console.log\\n", ], Array [ "assert", Result { "fullname": "Test newlines in tap and console.log", "id": 1, "name": "Before console.log", "ok": true, }, ], Array [ "assert", Result { "fullname": "Test newlines in tap and console.log", "id": 2, "name": "After console.log", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 4.137, "todo": 0, }, ], ], ], Array [ "extra", "createdMultipleStepsWithWeightAndCapacity={\\n", ], Array [ "extra", " \\"name\\": \\"Multiple Steps with Weight and Capacity\\",\\n", ], Array [ "extra", " \\"usedByModels\\": [\\n", ], Array [ "extra", " {\\n", ], Array [ "extra", " \\"x\\": 1\\n", ], Array [ "extra", " }\\n", ], Array [ "extra", " ],\\n", ], Array [ "extra", " \\"stepsOrdered\\": {\\n", ], Array [ "extra", " \\"y\\": 2,\\n", ], Array [ "extra", " \\"steps\\": [\\n", ], Array [ "extra", " {\\n", ], Array [ "extra", " \\"z\\": 3\\n", ], Array [ "extra", " }\\n", ], Array [ "extra", " ]\\n", ], Array [ "extra", " },\\n", ], Array [ "extra", " \\"a\\": \\"bc\\"\\n", ], Array [ "extra", "}\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Test newlines in tap and console.log", "ok": true, "time": 4.137, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# time=13.316ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 13.316, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP confusing-json.tap bail > stringified 1`] = ` TAP version 13 # Subtest: Test newlines in tap and console.log ok 1 - Before console.log ok 2 - After console.log 1..2 createdMultipleStepsWithWeightAndCapacity={ "name": "Multiple Steps with Weight and Capacity", "usedByModels": [ { "x": 1 } ], "stepsOrdered": { "y": 2, "steps": [ { "z": 3 } ] }, "a": "bc" } ok 1 - Test newlines in tap and console.log # time=4.137ms 1..1 # time=13.316ms ` exports[`test/parser-stringify.js TAP confusing-json.tap bail > stringified flat 1`] = ` TAP version 13 # Subtest: Test newlines in tap and console.log ok 1 - Before console.log ok 2 - After console.log 1..2 createdMultipleStepsWithWeightAndCapacity={ "name": "Multiple Steps with Weight and Capacity", "usedByModels": [ { "x": 1 } ], "stepsOrdered": { "y": 2, "steps": [ { "z": 3 } ] }, "a": "bc" } ok 1 - Test newlines in tap and console.log # time=4.137ms 1..1 # time=13.316ms ` exports[`test/parser-stringify.js TAP confusing-json.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: Test newlines in tap and console.log\\n", ], Array [ "assert", Result { "fullname": "Test newlines in tap and console.log", "id": 1, "name": "Before console.log", "ok": true, }, ], Array [ "assert", Result { "fullname": "Test newlines in tap and console.log", "id": 2, "name": "After console.log", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 4.137, "todo": 0, }, ], ], ], Array [ "extra", "createdMultipleStepsWithWeightAndCapacity={\\n", ], Array [ "extra", " \\"name\\": \\"Multiple Steps with Weight and Capacity\\",\\n", ], Array [ "extra", " \\"usedByModels\\": [\\n", ], Array [ "extra", " {\\n", ], Array [ "extra", " \\"x\\": 1\\n", ], Array [ "extra", " }\\n", ], Array [ "extra", " ],\\n", ], Array [ "extra", " \\"stepsOrdered\\": {\\n", ], Array [ "extra", " \\"y\\": 2,\\n", ], Array [ "extra", " \\"steps\\": [\\n", ], Array [ "extra", " {\\n", ], Array [ "extra", " \\"z\\": 3\\n", ], Array [ "extra", " }\\n", ], Array [ "extra", " ]\\n", ], Array [ "extra", " },\\n", ], Array [ "extra", " \\"a\\": \\"bc\\"\\n", ], Array [ "extra", "}\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Test newlines in tap and console.log", "ok": true, "time": 4.137, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# time=13.316ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 13.316, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP confusing-json.tap default settings > stringified 1`] = ` TAP version 13 # Subtest: Test newlines in tap and console.log ok 1 - Before console.log ok 2 - After console.log 1..2 createdMultipleStepsWithWeightAndCapacity={ "name": "Multiple Steps with Weight and Capacity", "usedByModels": [ { "x": 1 } ], "stepsOrdered": { "y": 2, "steps": [ { "z": 3 } ] }, "a": "bc" } ok 1 - Test newlines in tap and console.log # time=4.137ms 1..1 # time=13.316ms ` exports[`test/parser-stringify.js TAP confusing-json.tap default settings > stringified flat 1`] = ` TAP version 13 # Subtest: Test newlines in tap and console.log ok 1 - Before console.log ok 2 - After console.log 1..2 createdMultipleStepsWithWeightAndCapacity={ "name": "Multiple Steps with Weight and Capacity", "usedByModels": [ { "x": 1 } ], "stepsOrdered": { "y": 2, "steps": [ { "z": 3 } ] }, "a": "bc" } ok 1 - Test newlines in tap and console.log # time=4.137ms 1..1 # time=13.316ms ` exports[`test/parser-stringify.js TAP confusing-json.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: Test newlines in tap and console.log\\n", ], Array [ "assert", Result { "fullname": "Test newlines in tap and console.log", "id": 1, "name": "Before console.log", "ok": true, }, ], Array [ "assert", Result { "fullname": "Test newlines in tap and console.log", "id": 2, "name": "After console.log", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# failed 9 of 2 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 9, "failures": Array [ Object { "data": "{\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " \\"x\\": 1\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "}\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "\\"y\\": 2,\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "\\"steps\\": [\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " {\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " \\"z\\": 3\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " }\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "]\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 4.137, "todo": 0, }, ], ], ], Array [ "extra", "createdMultipleStepsWithWeightAndCapacity={\\n", ], Array [ "extra", " \\"name\\": \\"Multiple Steps with Weight and Capacity\\",\\n", ], Array [ "extra", " \\"usedByModels\\": [\\n", ], Array [ "extra", " {\\n", ], Array [ "extra", " \\"x\\": 1\\n", ], Array [ "extra", " }\\n", ], Array [ "extra", " ],\\n", ], Array [ "extra", " \\"stepsOrdered\\": {\\n", ], Array [ "extra", " \\"y\\": 2,\\n", ], Array [ "extra", " \\"steps\\": [\\n", ], Array [ "extra", " {\\n", ], Array [ "extra", " \\"z\\": 3\\n", ], Array [ "extra", " }\\n", ], Array [ "extra", " ]\\n", ], Array [ "extra", " },\\n", ], Array [ "extra", " \\"a\\": \\"bc\\"\\n", ], Array [ "extra", "}\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Test newlines in tap and console.log", "ok": true, "time": 4.137, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# time=13.316ms\\n", ], Array [ "comment", "# failed 17 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 17, "failures": Array [ Object { "data": "createdMultipleStepsWithWeightAndCapacity={\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " \\"name\\": \\"Multiple Steps with Weight and Capacity\\",\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " \\"usedByModels\\": [\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "{\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " \\"x\\": 1\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "}\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " ],\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " \\"stepsOrdered\\": {\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "\\"y\\": 2,\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "\\"steps\\": [\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " {\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " \\"z\\": 3\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " }\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "]\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " },\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " \\"a\\": \\"bc\\"\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "}\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 13.316, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP confusing-json.tap strict > stringified 1`] = ` TAP version 13 # Subtest: Test newlines in tap and console.log ok 1 - Before console.log ok 2 - After console.log 1..2 # failed 9 of 2 tests createdMultipleStepsWithWeightAndCapacity={ "name": "Multiple Steps with Weight and Capacity", "usedByModels": [ { "x": 1 } ], "stepsOrdered": { "y": 2, "steps": [ { "z": 3 } ] }, "a": "bc" } ok 1 - Test newlines in tap and console.log # time=4.137ms 1..1 # time=13.316ms # failed 17 test ` exports[`test/parser-stringify.js TAP confusing-json.tap strict > stringified flat 1`] = ` TAP version 13 # Subtest: Test newlines in tap and console.log ok 1 - Before console.log ok 2 - After console.log 1..2 # failed 9 of 2 tests createdMultipleStepsWithWeightAndCapacity={ "name": "Multiple Steps with Weight and Capacity", "usedByModels": [ { "x": 1 } ], "stepsOrdered": { "y": 2, "steps": [ { "z": 3 } ] }, "a": "bc" } ok 1 - Test newlines in tap and console.log # time=4.137ms 1..1 # time=13.316ms # failed 17 test ` exports[`test/parser-stringify.js TAP confusing-json.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: Test newlines in tap and console.log\\n", ], Array [ "assert", Result { "fullname": "Test newlines in tap and console.log", "id": 1, "name": "Before console.log", "ok": true, }, ], Array [ "assert", Result { "fullname": "Test newlines in tap and console.log", "id": 2, "name": "After console.log", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# failed 9 of 2 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 9, "failures": Array [ Object { "data": "{\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " \\"x\\": 1\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "}\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "\\"y\\": 2,\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "\\"steps\\": [\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " {\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " \\"z\\": 3\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " }\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "]\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 4.137, "todo": 0, }, ], ], ], Array [ "extra", "createdMultipleStepsWithWeightAndCapacity={\\n", ], Array [ "extra", " \\"name\\": \\"Multiple Steps with Weight and Capacity\\",\\n", ], Array [ "extra", " \\"usedByModels\\": [\\n", ], Array [ "extra", " {\\n", ], Array [ "extra", " \\"x\\": 1\\n", ], Array [ "extra", " }\\n", ], Array [ "extra", " ],\\n", ], Array [ "extra", " \\"stepsOrdered\\": {\\n", ], Array [ "extra", " \\"y\\": 2,\\n", ], Array [ "extra", " \\"steps\\": [\\n", ], Array [ "extra", " {\\n", ], Array [ "extra", " \\"z\\": 3\\n", ], Array [ "extra", " }\\n", ], Array [ "extra", " ]\\n", ], Array [ "extra", " },\\n", ], Array [ "extra", " \\"a\\": \\"bc\\"\\n", ], Array [ "extra", "}\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Test newlines in tap and console.log", "ok": true, "time": 4.137, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# time=13.316ms\\n", ], Array [ "comment", "# failed 17 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 17, "failures": Array [ Object { "data": "createdMultipleStepsWithWeightAndCapacity={\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " \\"name\\": \\"Multiple Steps with Weight and Capacity\\",\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " \\"usedByModels\\": [\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "{\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " \\"x\\": 1\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "}\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " ],\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " \\"stepsOrdered\\": {\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "\\"y\\": 2,\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "\\"steps\\": [\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " {\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " \\"z\\": 3\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " }\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "]\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " },\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " \\"a\\": \\"bc\\"\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "}\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 13.316, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP confusing-json.tap strictBail > stringified 1`] = ` TAP version 13 # Subtest: Test newlines in tap and console.log ok 1 - Before console.log ok 2 - After console.log 1..2 # failed 9 of 2 tests createdMultipleStepsWithWeightAndCapacity={ "name": "Multiple Steps with Weight and Capacity", "usedByModels": [ { "x": 1 } ], "stepsOrdered": { "y": 2, "steps": [ { "z": 3 } ] }, "a": "bc" } ok 1 - Test newlines in tap and console.log # time=4.137ms 1..1 # time=13.316ms # failed 17 test ` exports[`test/parser-stringify.js TAP confusing-json.tap strictBail > stringified flat 1`] = ` TAP version 13 # Subtest: Test newlines in tap and console.log ok 1 - Before console.log ok 2 - After console.log 1..2 # failed 9 of 2 tests createdMultipleStepsWithWeightAndCapacity={ "name": "Multiple Steps with Weight and Capacity", "usedByModels": [ { "x": 1 } ], "stepsOrdered": { "y": 2, "steps": [ { "z": 3 } ] }, "a": "bc" } ok 1 - Test newlines in tap and console.log # time=4.137ms 1..1 # time=13.316ms # failed 17 test ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/creative-liberties.tap.test.cjs000066400000000000000000000324341433324523500310020ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP creative-liberties.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "name": "created Board", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "diag": Object { "dump": Object { "board": Array [ " 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 ", ], }, "message": "Board layout", "severity": "comment", }, "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "name": "board has 7 tiles + starter tile", "ok": true, }, ], Array [ "plan", Object { "end": 9, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 9, "fail": 0, "failures": Array [], "ok": true, "pass": 9, "plan": FinalPlan { "comment": "", "end": 9, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP creative-liberties.tap bail > stringified 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP creative-liberties.tap bail > stringified flat 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP creative-liberties.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "name": "created Board", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "diag": Object { "dump": Object { "board": Array [ " 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 ", ], }, "message": "Board layout", "severity": "comment", }, "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "name": "board has 7 tiles + starter tile", "ok": true, }, ], Array [ "plan", Object { "end": 9, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 9, "fail": 0, "failures": Array [], "ok": true, "pass": 9, "plan": FinalPlan { "comment": "", "end": 9, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP creative-liberties.tap default settings > stringified 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP creative-liberties.tap default settings > stringified flat 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP creative-liberties.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "name": "created Board", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "diag": Object { "dump": Object { "board": Array [ " 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 ", ], }, "message": "Board layout", "severity": "comment", }, "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "name": "board has 7 tiles + starter tile", "ok": true, }, ], Array [ "plan", Object { "end": 9, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 9, "fail": 0, "failures": Array [], "ok": true, "pass": 9, "plan": FinalPlan { "comment": "", "end": 9, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP creative-liberties.tap strict > stringified 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP creative-liberties.tap strict > stringified flat 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP creative-liberties.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "name": "created Board", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "diag": Object { "dump": Object { "board": Array [ " 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 ", ], }, "message": "Board layout", "severity": "comment", }, "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "name": "board has 7 tiles + starter tile", "ok": true, }, ], Array [ "plan", Object { "end": 9, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 9, "fail": 0, "failures": Array [], "ok": true, "pass": 9, "plan": FinalPlan { "comment": "", "end": 9, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP creative-liberties.tap strictBail > stringified 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP creative-liberties.tap strictBail > stringified flat 1`] = ` TAP 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-11.0.2/tap-snapshots/test/parser-stringify/delayed.tap.test.cjs000066400000000000000000000137001433324523500266220ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP delayed.tap bail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "00000", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": false, }, ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 3, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 3, "ok": false, }, ], "ok": false, "pass": 2, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP delayed.tap bail > stringified 1`] = ` 1..5 ok 1 - 00000 ok 2 not ok 3 Bail out! ` exports[`test/parser-stringify.js TAP delayed.tap bail > stringified flat 1`] = ` 1..5 ok 1 - 00000 ok 2 not ok 3 Bail out! ` exports[`test/parser-stringify.js TAP delayed.tap default settings > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "00000", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": false, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "00000", "ok": true, }, ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 3, "ok": false, }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP delayed.tap default settings > stringified 1`] = ` 1..5 ok 1 - 00000 ok 2 not ok 3 ok 4 ok 5 - 00000 # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP delayed.tap default settings > stringified flat 1`] = ` 1..5 ok 1 - 00000 ok 2 not ok 3 ok 4 ok 5 - 00000 # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP delayed.tap strict > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "00000", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": false, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "00000", "ok": true, }, ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 3, "ok": false, }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP delayed.tap strict > stringified 1`] = ` 1..5 ok 1 - 00000 ok 2 not ok 3 ok 4 ok 5 - 00000 # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP delayed.tap strict > stringified flat 1`] = ` 1..5 ok 1 - 00000 ok 2 not ok 3 ok 4 ok 5 - 00000 # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP delayed.tap strictBail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "00000", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": false, }, ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 3, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 3, "ok": false, }, ], "ok": false, "pass": 2, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP delayed.tap strictBail > stringified 1`] = ` 1..5 ok 1 - 00000 ok 2 not ok 3 Bail out! ` exports[`test/parser-stringify.js TAP delayed.tap strictBail > stringified flat 1`] = ` 1..5 ok 1 - 00000 ok 2 not ok 3 Bail out! ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/descriptive.tap.test.cjs000066400000000000000000000156701433324523500275440ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP descriptive.tap bail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Interlock activated", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Megathrusters are go", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "Head formed", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "Blazing sword formed", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "Robeast destroyed", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP descriptive.tap bail > stringified 1`] = ` 1..5 ok 1 - Interlock activated ok 2 - Megathrusters are go ok 3 - Head formed ok 4 - Blazing sword formed ok 5 - Robeast destroyed ` exports[`test/parser-stringify.js TAP descriptive.tap bail > stringified flat 1`] = ` 1..5 ok 1 - Interlock activated ok 2 - Megathrusters are go ok 3 - Head formed ok 4 - Blazing sword formed ok 5 - Robeast destroyed ` exports[`test/parser-stringify.js TAP descriptive.tap default settings > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Interlock activated", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Megathrusters are go", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "Head formed", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "Blazing sword formed", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "Robeast destroyed", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP descriptive.tap default settings > stringified 1`] = ` 1..5 ok 1 - Interlock activated ok 2 - Megathrusters are go ok 3 - Head formed ok 4 - Blazing sword formed ok 5 - Robeast destroyed ` exports[`test/parser-stringify.js TAP descriptive.tap default settings > stringified flat 1`] = ` 1..5 ok 1 - Interlock activated ok 2 - Megathrusters are go ok 3 - Head formed ok 4 - Blazing sword formed ok 5 - Robeast destroyed ` exports[`test/parser-stringify.js TAP descriptive.tap strict > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Interlock activated", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Megathrusters are go", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "Head formed", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "Blazing sword formed", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "Robeast destroyed", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP descriptive.tap strict > stringified 1`] = ` 1..5 ok 1 - Interlock activated ok 2 - Megathrusters are go ok 3 - Head formed ok 4 - Blazing sword formed ok 5 - Robeast destroyed ` exports[`test/parser-stringify.js TAP descriptive.tap strict > stringified flat 1`] = ` 1..5 ok 1 - Interlock activated ok 2 - Megathrusters are go ok 3 - Head formed ok 4 - Blazing sword formed ok 5 - Robeast destroyed ` exports[`test/parser-stringify.js TAP descriptive.tap strictBail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Interlock activated", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Megathrusters are go", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "Head formed", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "Blazing sword formed", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "Robeast destroyed", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP descriptive.tap strictBail > stringified 1`] = ` 1..5 ok 1 - Interlock activated ok 2 - Megathrusters are go ok 3 - Head formed ok 4 - Blazing sword formed ok 5 - Robeast destroyed ` exports[`test/parser-stringify.js TAP descriptive.tap strictBail > stringified flat 1`] = ` 1..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-11.0.2/tap-snapshots/test/parser-stringify/descriptive_trailing.tap.test.cjs000066400000000000000000000160441433324523500314310ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP descriptive_trailing.tap bail > parsed 1`] = ` Array [ Array [ "assert", Result { "fullname": "", "id": 1, "name": "Interlock activated", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Megathrusters are go", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "Head formed", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "Blazing sword formed", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "Robeast destroyed", "ok": true, }, ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP descriptive_trailing.tap bail > stringified 1`] = ` ok 1 - Interlock activated ok 2 - Megathrusters are go ok 3 - Head formed ok 4 - Blazing sword formed ok 5 - Robeast destroyed 1..5 ` exports[`test/parser-stringify.js TAP descriptive_trailing.tap bail > stringified flat 1`] = ` ok 1 - Interlock activated ok 2 - Megathrusters are go ok 3 - Head formed ok 4 - Blazing sword formed ok 5 - Robeast destroyed 1..5 ` exports[`test/parser-stringify.js TAP descriptive_trailing.tap default settings > parsed 1`] = ` Array [ Array [ "assert", Result { "fullname": "", "id": 1, "name": "Interlock activated", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Megathrusters are go", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "Head formed", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "Blazing sword formed", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "Robeast destroyed", "ok": true, }, ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP descriptive_trailing.tap default settings > stringified 1`] = ` ok 1 - Interlock activated ok 2 - Megathrusters are go ok 3 - Head formed ok 4 - Blazing sword formed ok 5 - Robeast destroyed 1..5 ` exports[`test/parser-stringify.js TAP descriptive_trailing.tap default settings > stringified flat 1`] = ` ok 1 - Interlock activated ok 2 - Megathrusters are go ok 3 - Head formed ok 4 - Blazing sword formed ok 5 - Robeast destroyed 1..5 ` exports[`test/parser-stringify.js TAP descriptive_trailing.tap strict > parsed 1`] = ` Array [ Array [ "assert", Result { "fullname": "", "id": 1, "name": "Interlock activated", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Megathrusters are go", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "Head formed", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "Blazing sword formed", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "Robeast destroyed", "ok": true, }, ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP descriptive_trailing.tap strict > stringified 1`] = ` ok 1 - Interlock activated ok 2 - Megathrusters are go ok 3 - Head formed ok 4 - Blazing sword formed ok 5 - Robeast destroyed 1..5 ` exports[`test/parser-stringify.js TAP descriptive_trailing.tap strict > stringified flat 1`] = ` ok 1 - Interlock activated ok 2 - Megathrusters are go ok 3 - Head formed ok 4 - Blazing sword formed ok 5 - Robeast destroyed 1..5 ` exports[`test/parser-stringify.js TAP descriptive_trailing.tap strictBail > parsed 1`] = ` Array [ Array [ "assert", Result { "fullname": "", "id": 1, "name": "Interlock activated", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Megathrusters are go", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "Head formed", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "Blazing sword formed", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "Robeast destroyed", "ok": true, }, ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP descriptive_trailing.tap strictBail > stringified 1`] = ` ok 1 - Interlock activated ok 2 - Megathrusters are go ok 3 - Head formed ok 4 - Blazing sword formed ok 5 - Robeast destroyed 1..5 ` exports[`test/parser-stringify.js TAP descriptive_trailing.tap strictBail > stringified flat 1`] = ` ok 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-11.0.2/tap-snapshots/test/parser-stringify/diag-looks-like-comment.tap.test.cjs000066400000000000000000000411101433324523500316220ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP diag-looks-like-comment.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: -t 0.2\\n", ], Array [ "assert", Result { "diag": Object { "found": String( # 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/", }, "fullname": "-t 0.2", "id": 1, "name": "should match pattern provided", "ok": false, }, ], Array [ "bailout", "should match pattern provided", ], Array [ "complete", FinalResults { "bailout": "should match pattern provided", "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "found": String( # 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/", }, "fullname": "-t 0.2", "id": 1, "name": "should match pattern provided", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "bailout", "should match pattern provided", ], Array [ "complete", FinalResults { "bailout": "should match pattern provided", "count": 0, "fail": 0, "failures": Array [], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP diag-looks-like-comment.tap bail > stringified 1`] = ` TAP 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/ ... Bail out! should match pattern provided Bail out! should match pattern provided ` exports[`test/parser-stringify.js TAP diag-looks-like-comment.tap bail > stringified flat 1`] = ` TAP 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/ ... Bail out! should match pattern provided Bail out! should match pattern provided ` exports[`test/parser-stringify.js TAP diag-looks-like-comment.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: -t 0.2\\n", ], Array [ "assert", Result { "diag": Object { "found": String( # 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/", }, "fullname": "-t 0.2", "id": 1, "name": "should match pattern provided", "ok": false, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "found": String( # 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/", }, "fullname": "-t 0.2", "id": 1, "name": "should match pattern provided", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "-t 0.2", "ok": false, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 1, "name": "-t 0.2", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP diag-looks-like-comment.tap default settings > stringified 1`] = ` TAP 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 # failed 1 test not ok 1 - -t 0.2 1..1 # failed 1 test ` exports[`test/parser-stringify.js TAP diag-looks-like-comment.tap default settings > stringified flat 1`] = ` TAP 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 # failed 1 test not ok 1 - -t 0.2 1..1 # failed 1 test ` exports[`test/parser-stringify.js TAP diag-looks-like-comment.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: -t 0.2\\n", ], Array [ "assert", Result { "diag": Object { "found": String( # 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/", }, "fullname": "-t 0.2", "id": 1, "name": "should match pattern provided", "ok": false, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "found": String( # 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/", }, "fullname": "-t 0.2", "id": 1, "name": "should match pattern provided", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "-t 0.2", "ok": false, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 1, "name": "-t 0.2", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP diag-looks-like-comment.tap strict > stringified 1`] = ` TAP 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 # failed 1 test not ok 1 - -t 0.2 1..1 # failed 1 test ` exports[`test/parser-stringify.js TAP diag-looks-like-comment.tap strict > stringified flat 1`] = ` TAP 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 # failed 1 test not ok 1 - -t 0.2 1..1 # failed 1 test ` exports[`test/parser-stringify.js TAP diag-looks-like-comment.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: -t 0.2\\n", ], Array [ "assert", Result { "diag": Object { "found": String( # 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/", }, "fullname": "-t 0.2", "id": 1, "name": "should match pattern provided", "ok": false, }, ], Array [ "bailout", "should match pattern provided", ], Array [ "complete", FinalResults { "bailout": "should match pattern provided", "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "found": String( # 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/", }, "fullname": "-t 0.2", "id": 1, "name": "should match pattern provided", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "bailout", "should match pattern provided", ], Array [ "complete", FinalResults { "bailout": "should match pattern provided", "count": 0, "fail": 0, "failures": Array [], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP diag-looks-like-comment.tap strictBail > stringified 1`] = ` TAP 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/ ... Bail out! should match pattern provided Bail out! should match pattern provided ` exports[`test/parser-stringify.js TAP diag-looks-like-comment.tap strictBail > stringified flat 1`] = ` TAP 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/ ... Bail out! should match pattern provided Bail out! should match pattern provided ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/die.tap.test.cjs000066400000000000000000000067741433324523500257710ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP die.tap bail > parsed 1`] = ` Array [ Array [ "plan", Object { "comment": "no tests found", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "no tests found", "end": 0, "skipAll": true, "skipReason": "no tests found", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP die.tap bail > stringified 1`] = ` 1..0 # no tests found ` exports[`test/parser-stringify.js TAP die.tap bail > stringified flat 1`] = ` 1..0 # no tests found ` exports[`test/parser-stringify.js TAP die.tap default settings > parsed 1`] = ` Array [ Array [ "plan", Object { "comment": "no tests found", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "no tests found", "end": 0, "skipAll": true, "skipReason": "no tests found", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP die.tap default settings > stringified 1`] = ` 1..0 # no tests found ` exports[`test/parser-stringify.js TAP die.tap default settings > stringified flat 1`] = ` 1..0 # no tests found ` exports[`test/parser-stringify.js TAP die.tap strict > parsed 1`] = ` Array [ Array [ "plan", Object { "comment": "no tests found", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "no tests found", "end": 0, "skipAll": true, "skipReason": "no tests found", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP die.tap strict > stringified 1`] = ` 1..0 # no tests found ` exports[`test/parser-stringify.js TAP die.tap strict > stringified flat 1`] = ` 1..0 # no tests found ` exports[`test/parser-stringify.js TAP die.tap strictBail > parsed 1`] = ` Array [ Array [ "plan", Object { "comment": "no tests found", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "no tests found", "end": 0, "skipAll": true, "skipReason": "no tests found", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP die.tap strictBail > stringified 1`] = ` 1..0 # no tests found ` exports[`test/parser-stringify.js TAP die.tap strictBail > stringified flat 1`] = ` 1..0 # no tests found ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/die_head_end.tap.test.cjs000066400000000000000000000135701433324523500275700ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP die_head_end.tap bail > parsed 1`] = ` Array [ Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "comment", "# test count(4) != plan(null)\\n", ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Object { "tapError": "no plan", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP die_head_end.tap bail > stringified 1`] = ` ok 1 ok 2 ok 3 ok 4 # test count(4) != plan(null) # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP die_head_end.tap bail > stringified flat 1`] = ` ok 1 ok 2 ok 3 ok 4 # test count(4) != plan(null) # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP die_head_end.tap default settings > parsed 1`] = ` Array [ Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "comment", "# test count(4) != plan(null)\\n", ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Object { "tapError": "no plan", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP die_head_end.tap default settings > stringified 1`] = ` ok 1 ok 2 ok 3 ok 4 # test count(4) != plan(null) # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP die_head_end.tap default settings > stringified flat 1`] = ` ok 1 ok 2 ok 3 ok 4 # test count(4) != plan(null) # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP die_head_end.tap strict > parsed 1`] = ` Array [ Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "comment", "# test count(4) != plan(null)\\n", ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Object { "tapError": "no plan", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP die_head_end.tap strict > stringified 1`] = ` ok 1 ok 2 ok 3 ok 4 # test count(4) != plan(null) # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP die_head_end.tap strict > stringified flat 1`] = ` ok 1 ok 2 ok 3 ok 4 # test count(4) != plan(null) # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP die_head_end.tap strictBail > parsed 1`] = ` Array [ Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "comment", "# test count(4) != plan(null)\\n", ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Object { "tapError": "no plan", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP die_head_end.tap strictBail > stringified 1`] = ` ok 1 ok 2 ok 3 ok 4 # test count(4) != plan(null) # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP die_head_end.tap strictBail > stringified flat 1`] = ` ok 1 ok 2 ok 3 ok 4 # test count(4) != plan(null) # failed 1 of 4 tests ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/die_last_minute.tap.test.cjs000066400000000000000000000120541433324523500303610ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP die_last_minute.tap bail > parsed 1`] = ` Array [ Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP die_last_minute.tap bail > stringified 1`] = ` ok 1 ok 2 ok 3 ok 4 1..4 ` exports[`test/parser-stringify.js TAP die_last_minute.tap bail > stringified flat 1`] = ` ok 1 ok 2 ok 3 ok 4 1..4 ` exports[`test/parser-stringify.js TAP die_last_minute.tap default settings > parsed 1`] = ` Array [ Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP die_last_minute.tap default settings > stringified 1`] = ` ok 1 ok 2 ok 3 ok 4 1..4 ` exports[`test/parser-stringify.js TAP die_last_minute.tap default settings > stringified flat 1`] = ` ok 1 ok 2 ok 3 ok 4 1..4 ` exports[`test/parser-stringify.js TAP die_last_minute.tap strict > parsed 1`] = ` Array [ Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP die_last_minute.tap strict > stringified 1`] = ` ok 1 ok 2 ok 3 ok 4 1..4 ` exports[`test/parser-stringify.js TAP die_last_minute.tap strict > stringified flat 1`] = ` ok 1 ok 2 ok 3 ok 4 1..4 ` exports[`test/parser-stringify.js TAP die_last_minute.tap strictBail > parsed 1`] = ` Array [ Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP die_last_minute.tap strictBail > stringified 1`] = ` ok 1 ok 2 ok 3 ok 4 1..4 ` exports[`test/parser-stringify.js TAP die_last_minute.tap strictBail > stringified flat 1`] = ` ok 1 ok 2 ok 3 ok 4 1..4 ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/die_unfinished.tap.test.cjs000066400000000000000000000135001433324523500301660ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP die_unfinished.tap bail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "comment", "# test count(3) != plan(4)\\n", ], Array [ "comment", "# failed 1 of 3 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 1, "failures": Array [ Object { "tapError": "incorrect number of tests", }, ], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP die_unfinished.tap bail > stringified 1`] = ` 1..4 ok 1 ok 2 ok 3 # test count(3) != plan(4) # failed 1 of 3 tests ` exports[`test/parser-stringify.js TAP die_unfinished.tap bail > stringified flat 1`] = ` 1..4 ok 1 ok 2 ok 3 # test count(3) != plan(4) # failed 1 of 3 tests ` exports[`test/parser-stringify.js TAP die_unfinished.tap default settings > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "comment", "# test count(3) != plan(4)\\n", ], Array [ "comment", "# failed 1 of 3 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 1, "failures": Array [ Object { "tapError": "incorrect number of tests", }, ], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP die_unfinished.tap default settings > stringified 1`] = ` 1..4 ok 1 ok 2 ok 3 # test count(3) != plan(4) # failed 1 of 3 tests ` exports[`test/parser-stringify.js TAP die_unfinished.tap default settings > stringified flat 1`] = ` 1..4 ok 1 ok 2 ok 3 # test count(3) != plan(4) # failed 1 of 3 tests ` exports[`test/parser-stringify.js TAP die_unfinished.tap strict > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "comment", "# test count(3) != plan(4)\\n", ], Array [ "comment", "# failed 1 of 3 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 1, "failures": Array [ Object { "tapError": "incorrect number of tests", }, ], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP die_unfinished.tap strict > stringified 1`] = ` 1..4 ok 1 ok 2 ok 3 # test count(3) != plan(4) # failed 1 of 3 tests ` exports[`test/parser-stringify.js TAP die_unfinished.tap strict > stringified flat 1`] = ` 1..4 ok 1 ok 2 ok 3 # test count(3) != plan(4) # failed 1 of 3 tests ` exports[`test/parser-stringify.js TAP die_unfinished.tap strictBail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "comment", "# test count(3) != plan(4)\\n", ], Array [ "comment", "# failed 1 of 3 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 1, "failures": Array [ Object { "tapError": "incorrect number of tests", }, ], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP die_unfinished.tap strictBail > stringified 1`] = ` 1..4 ok 1 ok 2 ok 3 # test count(3) != plan(4) # failed 1 of 3 tests ` exports[`test/parser-stringify.js TAP die_unfinished.tap strictBail > stringified flat 1`] = ` 1..4 ok 1 ok 2 ok 3 # test count(3) != plan(4) # failed 1 of 3 tests ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/duplicates.tap.test.cjs000066400000000000000000000254401433324523500273540ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP duplicates.tap bail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 10, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, "previous": Result { "fullname": "", "id": 4, "ok": true, }, "tapError": "test point id 4 appears multiple times", }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 6, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 7, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 8, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 9, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 10, "ok": true, }, ], Array [ "comment", "# test count(11) != plan(10)\\n", ], Array [ "comment", "# failed 1 of 11 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 11, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 4, "ok": true, "previous": Result { "fullname": "", "id": 4, "ok": true, }, "tapError": "test point id 4 appears multiple times", }, ], "ok": false, "pass": 11, "plan": FinalPlan { "comment": "", "end": 10, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP duplicates.tap bail > stringified 1`] = ` 1..10 ok 1 ok 2 ok 3 ok 4 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 # test count(11) != plan(10) # failed 1 of 11 tests ` exports[`test/parser-stringify.js TAP duplicates.tap bail > stringified flat 1`] = ` 1..10 ok 1 ok 2 ok 3 ok 4 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 # test count(11) != plan(10) # failed 1 of 11 tests ` exports[`test/parser-stringify.js TAP duplicates.tap default settings > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 10, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, "previous": Result { "fullname": "", "id": 4, "ok": true, }, "tapError": "test point id 4 appears multiple times", }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 6, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 7, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 8, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 9, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 10, "ok": true, }, ], Array [ "comment", "# test count(11) != plan(10)\\n", ], Array [ "comment", "# failed 1 of 11 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 11, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 4, "ok": true, "previous": Result { "fullname": "", "id": 4, "ok": true, }, "tapError": "test point id 4 appears multiple times", }, ], "ok": false, "pass": 11, "plan": FinalPlan { "comment": "", "end": 10, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP duplicates.tap default settings > stringified 1`] = ` 1..10 ok 1 ok 2 ok 3 ok 4 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 # test count(11) != plan(10) # failed 1 of 11 tests ` exports[`test/parser-stringify.js TAP duplicates.tap default settings > stringified flat 1`] = ` 1..10 ok 1 ok 2 ok 3 ok 4 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 # test count(11) != plan(10) # failed 1 of 11 tests ` exports[`test/parser-stringify.js TAP duplicates.tap strict > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 10, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, "previous": Result { "fullname": "", "id": 4, "ok": true, }, "tapError": "test point id 4 appears multiple times", }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 6, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 7, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 8, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 9, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 10, "ok": true, }, ], Array [ "comment", "# test count(11) != plan(10)\\n", ], Array [ "comment", "# failed 1 of 11 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 11, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 4, "ok": true, "previous": Result { "fullname": "", "id": 4, "ok": true, }, "tapError": "test point id 4 appears multiple times", }, ], "ok": false, "pass": 11, "plan": FinalPlan { "comment": "", "end": 10, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP duplicates.tap strict > stringified 1`] = ` 1..10 ok 1 ok 2 ok 3 ok 4 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 # test count(11) != plan(10) # failed 1 of 11 tests ` exports[`test/parser-stringify.js TAP duplicates.tap strict > stringified flat 1`] = ` 1..10 ok 1 ok 2 ok 3 ok 4 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 # test count(11) != plan(10) # failed 1 of 11 tests ` exports[`test/parser-stringify.js TAP duplicates.tap strictBail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 10, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, "previous": Result { "fullname": "", "id": 4, "ok": true, }, "tapError": "test point id 4 appears multiple times", }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 6, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 7, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 8, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 9, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 10, "ok": true, }, ], Array [ "comment", "# test count(11) != plan(10)\\n", ], Array [ "comment", "# failed 1 of 11 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 11, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 4, "ok": true, "previous": Result { "fullname": "", "id": 4, "ok": true, }, "tapError": "test point id 4 appears multiple times", }, ], "ok": false, "pass": 11, "plan": FinalPlan { "comment": "", "end": 10, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP duplicates.tap strictBail > stringified 1`] = ` 1..10 ok 1 ok 2 ok 3 ok 4 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 # test count(11) != plan(10) # failed 1 of 11 tests ` exports[`test/parser-stringify.js TAP duplicates.tap strictBail > stringified flat 1`] = ` 1..10 ok 1 ok 2 ok 3 ok 4 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 # test count(11) != plan(10) # failed 1 of 11 tests ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/echo.tap.test.cjs000066400000000000000000000062041433324523500261320ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP echo.tap bail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "", "end": 0, "skipAll": true, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP echo.tap bail > stringified 1`] = ` 1..0 ` exports[`test/parser-stringify.js TAP echo.tap bail > stringified flat 1`] = ` 1..0 ` exports[`test/parser-stringify.js TAP echo.tap default settings > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "", "end": 0, "skipAll": true, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP echo.tap default settings > stringified 1`] = ` 1..0 ` exports[`test/parser-stringify.js TAP echo.tap default settings > stringified flat 1`] = ` 1..0 ` exports[`test/parser-stringify.js TAP echo.tap strict > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "", "end": 0, "skipAll": true, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP echo.tap strict > stringified 1`] = ` 1..0 ` exports[`test/parser-stringify.js TAP echo.tap strict > stringified flat 1`] = ` 1..0 ` exports[`test/parser-stringify.js TAP echo.tap strictBail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "", "end": 0, "skipAll": true, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP echo.tap strictBail > stringified 1`] = ` 1..0 ` exports[`test/parser-stringify.js TAP echo.tap strictBail > stringified flat 1`] = ` 1..0 ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/empty-buffered-child.tap.test.cjs000066400000000000000000000152401433324523500312130ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP empty-buffered-child.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: child\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "", "end": 0, "skipAll": true, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "name": "child", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP empty-buffered-child.tap bail > stringified 1`] = ` TAP version 13 # Subtest: child ok - child 1..1 ` exports[`test/parser-stringify.js TAP empty-buffered-child.tap bail > stringified flat 1`] = ` TAP version 13 # Subtest: child ok - child 1..1 ` exports[`test/parser-stringify.js TAP empty-buffered-child.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: child\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "", "end": 0, "skipAll": true, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "name": "child", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP empty-buffered-child.tap default settings > stringified 1`] = ` TAP version 13 # Subtest: child ok - child 1..1 ` exports[`test/parser-stringify.js TAP empty-buffered-child.tap default settings > stringified flat 1`] = ` TAP version 13 # Subtest: child ok - child 1..1 ` exports[`test/parser-stringify.js TAP empty-buffered-child.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: child\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "", "end": 0, "skipAll": true, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "name": "child", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP empty-buffered-child.tap strict > stringified 1`] = ` TAP version 13 # Subtest: child ok - child 1..1 ` exports[`test/parser-stringify.js TAP empty-buffered-child.tap strict > stringified flat 1`] = ` TAP version 13 # Subtest: child ok - child 1..1 ` exports[`test/parser-stringify.js TAP empty-buffered-child.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: child\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "", "end": 0, "skipAll": true, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "name": "child", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP empty-buffered-child.tap strictBail > stringified 1`] = ` TAP version 13 # Subtest: child ok - child 1..1 ` exports[`test/parser-stringify.js TAP empty-buffered-child.tap strictBail > stringified flat 1`] = ` TAP version 13 # Subtest: child ok - child 1..1 ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/empty-failures.tap.test.cjs000066400000000000000000000077701433324523500301730ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP empty-failures.tap bail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP empty-failures.tap bail > stringified 1`] = ` 1..2 ok ok ` exports[`test/parser-stringify.js TAP empty-failures.tap bail > stringified flat 1`] = ` 1..2 ok ok ` exports[`test/parser-stringify.js TAP empty-failures.tap default settings > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP empty-failures.tap default settings > stringified 1`] = ` 1..2 ok ok ` exports[`test/parser-stringify.js TAP empty-failures.tap default settings > stringified flat 1`] = ` 1..2 ok ok ` exports[`test/parser-stringify.js TAP empty-failures.tap strict > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP empty-failures.tap strict > stringified 1`] = ` 1..2 ok ok ` exports[`test/parser-stringify.js TAP empty-failures.tap strict > stringified flat 1`] = ` 1..2 ok ok ` exports[`test/parser-stringify.js TAP empty-failures.tap strictBail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP empty-failures.tap strictBail > stringified 1`] = ` 1..2 ok ok ` exports[`test/parser-stringify.js TAP empty-failures.tap strictBail > stringified flat 1`] = ` 1..2 ok ok ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/empty.tap.test.cjs000066400000000000000000000070241433324523500263530ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP empty.tap bail > parsed 1`] = ` Array [ Array [ "plan", Object { "comment": "no tests found", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "no tests found", "end": 0, "skipAll": true, "skipReason": "no tests found", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP empty.tap bail > stringified 1`] = ` 1..0 # no tests found ` exports[`test/parser-stringify.js TAP empty.tap bail > stringified flat 1`] = ` 1..0 # no tests found ` exports[`test/parser-stringify.js TAP empty.tap default settings > parsed 1`] = ` Array [ Array [ "plan", Object { "comment": "no tests found", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "no tests found", "end": 0, "skipAll": true, "skipReason": "no tests found", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP empty.tap default settings > stringified 1`] = ` 1..0 # no tests found ` exports[`test/parser-stringify.js TAP empty.tap default settings > stringified flat 1`] = ` 1..0 # no tests found ` exports[`test/parser-stringify.js TAP empty.tap strict > parsed 1`] = ` Array [ Array [ "plan", Object { "comment": "no tests found", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "no tests found", "end": 0, "skipAll": true, "skipReason": "no tests found", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP empty.tap strict > stringified 1`] = ` 1..0 # no tests found ` exports[`test/parser-stringify.js TAP empty.tap strict > stringified flat 1`] = ` 1..0 # no tests found ` exports[`test/parser-stringify.js TAP empty.tap strictBail > parsed 1`] = ` Array [ Array [ "plan", Object { "comment": "no tests found", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "no tests found", "end": 0, "skipAll": true, "skipReason": "no tests found", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP empty.tap strictBail > stringified 1`] = ` 1..0 # no tests found ` exports[`test/parser-stringify.js TAP empty.tap strictBail > stringified flat 1`] = ` 1..0 # no tests found ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/escape_eol.tap.test.cjs000066400000000000000000000120541433324523500273130ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP escape_eol.tap bail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Should parse as literal backslash --> \\\\", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Not a continuation line", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP escape_eol.tap bail > stringified 1`] = ` 1..2 ok 1 - Should parse as literal backslash --> \\\\ ok 2 - Not a continuation line ` exports[`test/parser-stringify.js TAP escape_eol.tap bail > stringified flat 1`] = ` 1..2 ok 1 - Should parse as literal backslash --> \\\\ ok 2 - Not a continuation line ` exports[`test/parser-stringify.js TAP escape_eol.tap default settings > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Should parse as literal backslash --> \\\\", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Not a continuation line", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP escape_eol.tap default settings > stringified 1`] = ` 1..2 ok 1 - Should parse as literal backslash --> \\\\ ok 2 - Not a continuation line ` exports[`test/parser-stringify.js TAP escape_eol.tap default settings > stringified flat 1`] = ` 1..2 ok 1 - Should parse as literal backslash --> \\\\ ok 2 - Not a continuation line ` exports[`test/parser-stringify.js TAP escape_eol.tap strict > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Should parse as literal backslash --> \\\\", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Not a continuation line", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP escape_eol.tap strict > stringified 1`] = ` 1..2 ok 1 - Should parse as literal backslash --> \\\\ ok 2 - Not a continuation line ` exports[`test/parser-stringify.js TAP escape_eol.tap strict > stringified flat 1`] = ` 1..2 ok 1 - Should parse as literal backslash --> \\\\ ok 2 - Not a continuation line ` exports[`test/parser-stringify.js TAP escape_eol.tap strictBail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Should parse as literal backslash --> \\\\", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Not a continuation line", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP escape_eol.tap strictBail > stringified 1`] = ` 1..2 ok 1 - Should parse as literal backslash --> \\\\ ok 2 - Not a continuation line ` exports[`test/parser-stringify.js TAP escape_eol.tap strictBail > stringified flat 1`] = ` 1..2 ok 1 - Should parse as literal backslash --> \\\\ ok 2 - Not a continuation line ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/escape_hash.tap.test.cjs000066400000000000000000000125001433324523500274530ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP escape_hash.tap bail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Not a # TODO", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Not a # SKIP", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "Escaped \\\\#", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP escape_hash.tap bail > stringified 1`] = ` 1..3 ok 1 - Not a \\# TODO ok 2 - Not a \\# SKIP ok 3 - Escaped \\\\\\# ` exports[`test/parser-stringify.js TAP escape_hash.tap bail > stringified flat 1`] = ` 1..3 ok 1 - Not a \\# TODO ok 2 - Not a \\# SKIP ok 3 - Escaped \\\\\\# ` exports[`test/parser-stringify.js TAP escape_hash.tap default settings > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Not a # TODO", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Not a # SKIP", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "Escaped \\\\#", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP escape_hash.tap default settings > stringified 1`] = ` 1..3 ok 1 - Not a \\# TODO ok 2 - Not a \\# SKIP ok 3 - Escaped \\\\\\# ` exports[`test/parser-stringify.js TAP escape_hash.tap default settings > stringified flat 1`] = ` 1..3 ok 1 - Not a \\# TODO ok 2 - Not a \\# SKIP ok 3 - Escaped \\\\\\# ` exports[`test/parser-stringify.js TAP escape_hash.tap strict > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Not a # TODO", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Not a # SKIP", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "Escaped \\\\#", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP escape_hash.tap strict > stringified 1`] = ` 1..3 ok 1 - Not a \\# TODO ok 2 - Not a \\# SKIP ok 3 - Escaped \\\\\\# ` exports[`test/parser-stringify.js TAP escape_hash.tap strict > stringified flat 1`] = ` 1..3 ok 1 - Not a \\# TODO ok 2 - Not a \\# SKIP ok 3 - Escaped \\\\\\# ` exports[`test/parser-stringify.js TAP escape_hash.tap strictBail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Not a # TODO", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Not a # SKIP", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "Escaped \\\\#", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP escape_hash.tap strictBail > stringified 1`] = ` 1..3 ok 1 - Not a \\# TODO ok 2 - Not a \\# SKIP ok 3 - Escaped \\\\\\# ` exports[`test/parser-stringify.js TAP escape_hash.tap strictBail > stringified flat 1`] = ` 1..3 ok 1 - Not a \\# TODO ok 2 - Not a \\# SKIP ok 3 - Escaped \\\\\\# ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/extra-in-child.tap.test.cjs000066400000000000000000001507701433324523500300340ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP extra-in-child.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: test/01c-user-updates.js\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: update profile\\n", ], Array [ "assert", Result { "fullname": "test/01c-user-updates.js update profile", "id": 1, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "test/01c-user-updates.js update profile", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 43.094, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "test/01c-user-updates.js", "id": 1, "name": "update profile", "ok": true, "time": 43.094, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: update email\\n", ], Array [ "assert", Result { "fullname": "test/01c-user-updates.js update email", "id": 1, "name": "should be equivalent", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 24.16, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "test/01c-user-updates.js", "id": 2, "name": "update email", "ok": true, "time": 24.16, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# time=174.236ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 339.14, "todo": 0, }, ], ], ], Array [ "extra", " null { _id: 'org.couchdb.user:user',\\n", ], Array [ "extra", " _rev: '21-3d786fbf7428194ca288abe40c50cd0c',\\n", ], Array [ "extra", " password_scheme: 'pbkdf2',\\n", ], Array [ "extra", " iterations: 10,\\n", ], Array [ "extra", " name: 'user',\\n", ], Array [ "extra", " email: 'new@email.com',\\n", ], Array [ "extra", " type: 'user',\\n", ], Array [ "extra", " roles: [],\\n", ], Array [ "extra", " date: '2015-05-07T18:04:07.589Z',\\n", ], Array [ "extra", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\\n", ], Array [ "extra", " salt: '74e7dea17bfe520bb84dd9642f072549',\\n", ], Array [ "extra", " github: 'user',\\n", ], Array [ "extra", " homepage: 'http://www.user.com' }\\n", ], Array [ "extra", " { _id: 'org.couchdb.user:user',\\n", ], Array [ "extra", " _rev: '22-97703c62ab1f01ea691d40aa8a756cbf',\\n", ], Array [ "extra", " password_scheme: 'pbkdf2',\\n", ], Array [ "extra", " iterations: 10,\\n", ], Array [ "extra", " name: 'user',\\n", ], Array [ "extra", " email: 'new@email.com',\\n", ], Array [ "extra", " type: 'user',\\n", ], Array [ "extra", " roles: [],\\n", ], Array [ "extra", " date: '2015-05-07T18:04:07.589Z',\\n", ], Array [ "extra", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\\n", ], Array [ "extra", " salt: '74e7dea17bfe520bb84dd9642f072549',\\n", ], Array [ "extra", " github: 'user',\\n", ], Array [ "extra", " homepage: 'http://www.user.com' }\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "test/01c-user-updates.js", "ok": true, "time": 339.14, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# time=343.487ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 343.487, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP extra-in-child.tap bail > stringified 1`] = ` TAP version 13 # Subtest: test/01c-user-updates.js # 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 ok 1 - should be equivalent 1..1 ok 2 - update email # time=24.16ms 1..2 # time=174.236ms 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 - test/01c-user-updates.js # time=339.14ms 1..1 # time=343.487ms ` exports[`test/parser-stringify.js TAP extra-in-child.tap bail > stringified flat 1`] = ` TAP version 13 # Subtest: test/01c-user-updates.js # 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 ok 1 - should be equivalent 1..1 ok 2 - update email # time=24.16ms 1..2 # time=174.236ms 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 - test/01c-user-updates.js # time=339.14ms 1..1 # time=343.487ms ` exports[`test/parser-stringify.js TAP extra-in-child.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: test/01c-user-updates.js\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: update profile\\n", ], Array [ "assert", Result { "fullname": "test/01c-user-updates.js update profile", "id": 1, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "test/01c-user-updates.js update profile", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 43.094, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "test/01c-user-updates.js", "id": 1, "name": "update profile", "ok": true, "time": 43.094, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: update email\\n", ], Array [ "assert", Result { "fullname": "test/01c-user-updates.js update email", "id": 1, "name": "should be equivalent", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 24.16, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "test/01c-user-updates.js", "id": 2, "name": "update email", "ok": true, "time": 24.16, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# time=174.236ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 339.14, "todo": 0, }, ], ], ], Array [ "extra", " null { _id: 'org.couchdb.user:user',\\n", ], Array [ "extra", " _rev: '21-3d786fbf7428194ca288abe40c50cd0c',\\n", ], Array [ "extra", " password_scheme: 'pbkdf2',\\n", ], Array [ "extra", " iterations: 10,\\n", ], Array [ "extra", " name: 'user',\\n", ], Array [ "extra", " email: 'new@email.com',\\n", ], Array [ "extra", " type: 'user',\\n", ], Array [ "extra", " roles: [],\\n", ], Array [ "extra", " date: '2015-05-07T18:04:07.589Z',\\n", ], Array [ "extra", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\\n", ], Array [ "extra", " salt: '74e7dea17bfe520bb84dd9642f072549',\\n", ], Array [ "extra", " github: 'user',\\n", ], Array [ "extra", " homepage: 'http://www.user.com' }\\n", ], Array [ "extra", " { _id: 'org.couchdb.user:user',\\n", ], Array [ "extra", " _rev: '22-97703c62ab1f01ea691d40aa8a756cbf',\\n", ], Array [ "extra", " password_scheme: 'pbkdf2',\\n", ], Array [ "extra", " iterations: 10,\\n", ], Array [ "extra", " name: 'user',\\n", ], Array [ "extra", " email: 'new@email.com',\\n", ], Array [ "extra", " type: 'user',\\n", ], Array [ "extra", " roles: [],\\n", ], Array [ "extra", " date: '2015-05-07T18:04:07.589Z',\\n", ], Array [ "extra", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\\n", ], Array [ "extra", " salt: '74e7dea17bfe520bb84dd9642f072549',\\n", ], Array [ "extra", " github: 'user',\\n", ], Array [ "extra", " homepage: 'http://www.user.com' }\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "test/01c-user-updates.js", "ok": true, "time": 339.14, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# time=343.487ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 343.487, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP extra-in-child.tap default settings > stringified 1`] = ` TAP version 13 # Subtest: test/01c-user-updates.js # 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 ok 1 - should be equivalent 1..1 ok 2 - update email # time=24.16ms 1..2 # time=174.236ms 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 - test/01c-user-updates.js # time=339.14ms 1..1 # time=343.487ms ` exports[`test/parser-stringify.js TAP extra-in-child.tap default settings > stringified flat 1`] = ` TAP version 13 # Subtest: test/01c-user-updates.js # 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 ok 1 - should be equivalent 1..1 ok 2 - update email # time=24.16ms 1..2 # time=174.236ms 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 - test/01c-user-updates.js # time=339.14ms 1..1 # time=343.487ms ` exports[`test/parser-stringify.js TAP extra-in-child.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: test/01c-user-updates.js\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: update profile\\n", ], Array [ "assert", Result { "fullname": "test/01c-user-updates.js update profile", "id": 1, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "test/01c-user-updates.js update profile", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 43.094, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "test/01c-user-updates.js", "id": 1, "name": "update profile", "ok": true, "time": 43.094, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: update email\\n", ], Array [ "assert", Result { "fullname": "test/01c-user-updates.js update email", "id": 1, "name": "should be equivalent", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 24.16, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "test/01c-user-updates.js", "id": 2, "name": "update email", "ok": true, "time": 24.16, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# time=174.236ms\\n", ], Array [ "comment", "# failed 26 of 2 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 26, "failures": Array [ Object { "data": "null { _id: 'org.couchdb.user:user',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " _rev: '21-3d786fbf7428194ca288abe40c50cd0c',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " password_scheme: 'pbkdf2',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " iterations: 10,\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " name: 'user',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " email: 'new@email.com',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " type: 'user',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " roles: [],\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " date: '2015-05-07T18:04:07.589Z',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " salt: '74e7dea17bfe520bb84dd9642f072549',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " github: 'user',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " homepage: 'http://www.user.com' }\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "{ _id: 'org.couchdb.user:user',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " _rev: '22-97703c62ab1f01ea691d40aa8a756cbf',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " password_scheme: 'pbkdf2',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " iterations: 10,\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " name: 'user',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " email: 'new@email.com',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " type: 'user',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " roles: [],\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " date: '2015-05-07T18:04:07.589Z',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " salt: '74e7dea17bfe520bb84dd9642f072549',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " github: 'user',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " homepage: 'http://www.user.com' }\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 339.14, "todo": 0, }, ], ], ], Array [ "extra", " null { _id: 'org.couchdb.user:user',\\n", ], Array [ "extra", " _rev: '21-3d786fbf7428194ca288abe40c50cd0c',\\n", ], Array [ "extra", " password_scheme: 'pbkdf2',\\n", ], Array [ "extra", " iterations: 10,\\n", ], Array [ "extra", " name: 'user',\\n", ], Array [ "extra", " email: 'new@email.com',\\n", ], Array [ "extra", " type: 'user',\\n", ], Array [ "extra", " roles: [],\\n", ], Array [ "extra", " date: '2015-05-07T18:04:07.589Z',\\n", ], Array [ "extra", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\\n", ], Array [ "extra", " salt: '74e7dea17bfe520bb84dd9642f072549',\\n", ], Array [ "extra", " github: 'user',\\n", ], Array [ "extra", " homepage: 'http://www.user.com' }\\n", ], Array [ "extra", " { _id: 'org.couchdb.user:user',\\n", ], Array [ "extra", " _rev: '22-97703c62ab1f01ea691d40aa8a756cbf',\\n", ], Array [ "extra", " password_scheme: 'pbkdf2',\\n", ], Array [ "extra", " iterations: 10,\\n", ], Array [ "extra", " name: 'user',\\n", ], Array [ "extra", " email: 'new@email.com',\\n", ], Array [ "extra", " type: 'user',\\n", ], Array [ "extra", " roles: [],\\n", ], Array [ "extra", " date: '2015-05-07T18:04:07.589Z',\\n", ], Array [ "extra", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\\n", ], Array [ "extra", " salt: '74e7dea17bfe520bb84dd9642f072549',\\n", ], Array [ "extra", " github: 'user',\\n", ], Array [ "extra", " homepage: 'http://www.user.com' }\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "test/01c-user-updates.js", "ok": true, "time": 339.14, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# time=343.487ms\\n", ], Array [ "comment", "# failed 26 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 26, "failures": Array [ Object { "data": "null { _id: 'org.couchdb.user:user',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " _rev: '21-3d786fbf7428194ca288abe40c50cd0c',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " password_scheme: 'pbkdf2',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " iterations: 10,\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " name: 'user',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " email: 'new@email.com',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " type: 'user',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " roles: [],\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " date: '2015-05-07T18:04:07.589Z',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " salt: '74e7dea17bfe520bb84dd9642f072549',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " github: 'user',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " homepage: 'http://www.user.com' }\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "{ _id: 'org.couchdb.user:user',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " _rev: '22-97703c62ab1f01ea691d40aa8a756cbf',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " password_scheme: 'pbkdf2',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " iterations: 10,\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " name: 'user',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " email: 'new@email.com',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " type: 'user',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " roles: [],\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " date: '2015-05-07T18:04:07.589Z',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " salt: '74e7dea17bfe520bb84dd9642f072549',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " github: 'user',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " homepage: 'http://www.user.com' }\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 343.487, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP extra-in-child.tap strict > stringified 1`] = ` TAP version 13 # Subtest: test/01c-user-updates.js # 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 ok 1 - should be equivalent 1..1 ok 2 - update email # time=24.16ms 1..2 # time=174.236ms # failed 26 of 2 tests 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 - test/01c-user-updates.js # time=339.14ms 1..1 # time=343.487ms # failed 26 test ` exports[`test/parser-stringify.js TAP extra-in-child.tap strict > stringified flat 1`] = ` TAP version 13 # Subtest: test/01c-user-updates.js # 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 ok 1 - should be equivalent 1..1 ok 2 - update email # time=24.16ms 1..2 # time=174.236ms # failed 26 of 2 tests 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 - test/01c-user-updates.js # time=339.14ms 1..1 # time=343.487ms # failed 26 test ` exports[`test/parser-stringify.js TAP extra-in-child.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: test/01c-user-updates.js\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: update profile\\n", ], Array [ "assert", Result { "fullname": "test/01c-user-updates.js update profile", "id": 1, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "test/01c-user-updates.js update profile", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 43.094, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "test/01c-user-updates.js", "id": 1, "name": "update profile", "ok": true, "time": 43.094, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: update email\\n", ], Array [ "assert", Result { "fullname": "test/01c-user-updates.js update email", "id": 1, "name": "should be equivalent", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 24.16, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "test/01c-user-updates.js", "id": 2, "name": "update email", "ok": true, "time": 24.16, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# time=174.236ms\\n", ], Array [ "comment", "# failed 26 of 2 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 26, "failures": Array [ Object { "data": "null { _id: 'org.couchdb.user:user',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " _rev: '21-3d786fbf7428194ca288abe40c50cd0c',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " password_scheme: 'pbkdf2',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " iterations: 10,\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " name: 'user',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " email: 'new@email.com',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " type: 'user',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " roles: [],\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " date: '2015-05-07T18:04:07.589Z',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " salt: '74e7dea17bfe520bb84dd9642f072549',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " github: 'user',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " homepage: 'http://www.user.com' }\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "{ _id: 'org.couchdb.user:user',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " _rev: '22-97703c62ab1f01ea691d40aa8a756cbf',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " password_scheme: 'pbkdf2',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " iterations: 10,\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " name: 'user',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " email: 'new@email.com',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " type: 'user',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " roles: [],\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " date: '2015-05-07T18:04:07.589Z',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " salt: '74e7dea17bfe520bb84dd9642f072549',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " github: 'user',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " homepage: 'http://www.user.com' }\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 339.14, "todo": 0, }, ], ], ], Array [ "extra", " null { _id: 'org.couchdb.user:user',\\n", ], Array [ "extra", " _rev: '21-3d786fbf7428194ca288abe40c50cd0c',\\n", ], Array [ "extra", " password_scheme: 'pbkdf2',\\n", ], Array [ "extra", " iterations: 10,\\n", ], Array [ "extra", " name: 'user',\\n", ], Array [ "extra", " email: 'new@email.com',\\n", ], Array [ "extra", " type: 'user',\\n", ], Array [ "extra", " roles: [],\\n", ], Array [ "extra", " date: '2015-05-07T18:04:07.589Z',\\n", ], Array [ "extra", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\\n", ], Array [ "extra", " salt: '74e7dea17bfe520bb84dd9642f072549',\\n", ], Array [ "extra", " github: 'user',\\n", ], Array [ "extra", " homepage: 'http://www.user.com' }\\n", ], Array [ "extra", " { _id: 'org.couchdb.user:user',\\n", ], Array [ "extra", " _rev: '22-97703c62ab1f01ea691d40aa8a756cbf',\\n", ], Array [ "extra", " password_scheme: 'pbkdf2',\\n", ], Array [ "extra", " iterations: 10,\\n", ], Array [ "extra", " name: 'user',\\n", ], Array [ "extra", " email: 'new@email.com',\\n", ], Array [ "extra", " type: 'user',\\n", ], Array [ "extra", " roles: [],\\n", ], Array [ "extra", " date: '2015-05-07T18:04:07.589Z',\\n", ], Array [ "extra", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\\n", ], Array [ "extra", " salt: '74e7dea17bfe520bb84dd9642f072549',\\n", ], Array [ "extra", " github: 'user',\\n", ], Array [ "extra", " homepage: 'http://www.user.com' }\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "test/01c-user-updates.js", "ok": true, "time": 339.14, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# time=343.487ms\\n", ], Array [ "comment", "# failed 26 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 26, "failures": Array [ Object { "data": "null { _id: 'org.couchdb.user:user',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " _rev: '21-3d786fbf7428194ca288abe40c50cd0c',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " password_scheme: 'pbkdf2',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " iterations: 10,\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " name: 'user',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " email: 'new@email.com',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " type: 'user',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " roles: [],\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " date: '2015-05-07T18:04:07.589Z',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " salt: '74e7dea17bfe520bb84dd9642f072549',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " github: 'user',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " homepage: 'http://www.user.com' }\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "{ _id: 'org.couchdb.user:user',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " _rev: '22-97703c62ab1f01ea691d40aa8a756cbf',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " password_scheme: 'pbkdf2',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " iterations: 10,\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " name: 'user',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " email: 'new@email.com',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " type: 'user',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " roles: [],\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " date: '2015-05-07T18:04:07.589Z',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " salt: '74e7dea17bfe520bb84dd9642f072549',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " github: 'user',\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " homepage: 'http://www.user.com' }\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 343.487, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP extra-in-child.tap strictBail > stringified 1`] = ` TAP version 13 # Subtest: test/01c-user-updates.js # 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 ok 1 - should be equivalent 1..1 ok 2 - update email # time=24.16ms 1..2 # time=174.236ms # failed 26 of 2 tests 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 - test/01c-user-updates.js # time=339.14ms 1..1 # time=343.487ms # failed 26 test ` exports[`test/parser-stringify.js TAP extra-in-child.tap strictBail > stringified flat 1`] = ` TAP version 13 # Subtest: test/01c-user-updates.js # 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 ok 1 - should be equivalent 1..1 ok 2 - update email # time=24.16ms 1..2 # time=174.236ms # failed 26 of 2 tests 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 - test/01c-user-updates.js # time=339.14ms 1..1 # time=343.487ms # failed 26 test ` fail-right-before-indented-child-diag.tap.test.cjs000066400000000000000000000203571433324523500342030ustar00rootroot00000000000000tap-parser-11.0.2/tap-snapshots/test/parser-stringify/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP fail-right-before-indented-child-diag.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "ok": false, }, ], Array [ "extra", " ...\\n", ], Array [ "extra", " some: diags\\n", ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP fail-right-before-indented-child-diag.tap bail > stringified 1`] = ` TAP version 13 not ok ... some: diags Bail out! ` exports[`test/parser-stringify.js TAP fail-right-before-indented-child-diag.tap bail > stringified flat 1`] = ` TAP version 13 not ok ... some: diags Bail out! ` exports[`test/parser-stringify.js TAP fail-right-before-indented-child-diag.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "ok": false, }, ], Array [ "extra", " ...\\n", ], Array [ "extra", " some: diags\\n", ], Array [ "extra", " ---\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: maybe a child\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "maybe a child", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "name": "maybe a child", "ok": true, }, ], Array [ "comment", "# test count(2) != plan(null)\\n", ], Array [ "comment", "# failed 2 of 2 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 2, "failures": Array [ Result { "fullname": "", "ok": false, }, Object { "tapError": "no plan", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP fail-right-before-indented-child-diag.tap default settings > stringified 1`] = ` TAP version 13 not ok ... some: diags --- # Subtest: maybe a child 1..1 ok ok - maybe a child # test count(2) != plan(null) # failed 2 of 2 tests ` exports[`test/parser-stringify.js TAP fail-right-before-indented-child-diag.tap default settings > stringified flat 1`] = ` TAP version 13 not ok ... some: diags --- # Subtest: maybe a child 1..1 ok ok - maybe a child # test count(2) != plan(null) # failed 2 of 2 tests ` exports[`test/parser-stringify.js TAP fail-right-before-indented-child-diag.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "ok": false, }, ], Array [ "extra", " ...\\n", ], Array [ "extra", " some: diags\\n", ], Array [ "extra", " ---\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: maybe a child\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "maybe a child", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "name": "maybe a child", "ok": true, }, ], Array [ "comment", "# test count(2) != plan(null)\\n", ], Array [ "comment", "# failed 5 of 2 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 5, "failures": Array [ Object { "data": " ...\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " some: diags\\n", "tapError": "Non-TAP data encountered in strict mode", }, Result { "fullname": "", "ok": false, }, Object { "data": " ---\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "tapError": "no plan", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP fail-right-before-indented-child-diag.tap strict > stringified 1`] = ` TAP version 13 not ok ... some: diags --- # Subtest: maybe a child 1..1 ok ok - maybe a child # test count(2) != plan(null) # failed 5 of 2 tests ` exports[`test/parser-stringify.js TAP fail-right-before-indented-child-diag.tap strict > stringified flat 1`] = ` TAP version 13 not ok ... some: diags --- # Subtest: maybe a child 1..1 ok ok - maybe a child # test count(2) != plan(null) # failed 5 of 2 tests ` exports[`test/parser-stringify.js TAP fail-right-before-indented-child-diag.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "ok": false, }, ], Array [ "extra", " ...\\n", ], Array [ "extra", " some: diags\\n", ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 1, "fail": 3, "failures": Array [ Object { "data": " ...\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " some: diags\\n", "tapError": "Non-TAP data encountered in strict mode", }, Result { "fullname": "", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP fail-right-before-indented-child-diag.tap strictBail > stringified 1`] = ` TAP version 13 not ok ... some: diags Bail out! ` exports[`test/parser-stringify.js TAP fail-right-before-indented-child-diag.tap strictBail > stringified flat 1`] = ` TAP version 13 not ok ... some: diags Bail out! ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/fail-right-before-indented-child.tap.test.cjs000066400000000000000000000156541433324523500333640ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP fail-right-before-indented-child.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "ok": false, }, ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP fail-right-before-indented-child.tap bail > stringified 1`] = ` TAP version 13 not ok Bail out! ` exports[`test/parser-stringify.js TAP fail-right-before-indented-child.tap bail > stringified flat 1`] = ` TAP version 13 not ok Bail out! ` exports[`test/parser-stringify.js TAP fail-right-before-indented-child.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "ok": false, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: maybe a child\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "maybe a child", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "name": "maybe a child", "ok": true, }, ], Array [ "comment", "# test count(2) != plan(null)\\n", ], Array [ "comment", "# failed 2 of 2 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 2, "failures": Array [ Result { "fullname": "", "ok": false, }, Object { "tapError": "no plan", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP fail-right-before-indented-child.tap default settings > stringified 1`] = ` TAP version 13 not ok # Subtest: maybe a child 1..1 ok ok - maybe a child # test count(2) != plan(null) # failed 2 of 2 tests ` exports[`test/parser-stringify.js TAP fail-right-before-indented-child.tap default settings > stringified flat 1`] = ` TAP version 13 not ok # Subtest: maybe a child 1..1 ok ok - maybe a child # test count(2) != plan(null) # failed 2 of 2 tests ` exports[`test/parser-stringify.js TAP fail-right-before-indented-child.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "ok": false, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: maybe a child\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "maybe a child", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "name": "maybe a child", "ok": true, }, ], Array [ "comment", "# test count(2) != plan(null)\\n", ], Array [ "comment", "# failed 2 of 2 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 2, "failures": Array [ Result { "fullname": "", "ok": false, }, Object { "tapError": "no plan", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP fail-right-before-indented-child.tap strict > stringified 1`] = ` TAP version 13 not ok # Subtest: maybe a child 1..1 ok ok - maybe a child # test count(2) != plan(null) # failed 2 of 2 tests ` exports[`test/parser-stringify.js TAP fail-right-before-indented-child.tap strict > stringified flat 1`] = ` TAP version 13 not ok # Subtest: maybe a child 1..1 ok ok - maybe a child # test count(2) != plan(null) # failed 2 of 2 tests ` exports[`test/parser-stringify.js TAP fail-right-before-indented-child.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "ok": false, }, ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP fail-right-before-indented-child.tap strictBail > stringified 1`] = ` TAP version 13 not ok Bail out! ` exports[`test/parser-stringify.js TAP fail-right-before-indented-child.tap strictBail > stringified flat 1`] = ` TAP version 13 not ok Bail out! ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/garbage-yamlish.tap.test.cjs000066400000000000000000000241201433324523500302450ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP garbage-yamlish.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "de-indenting the yamlish wrongly.", "ok": false, }, ], Array [ "bailout", "de-indenting the yamlish wrongly.", ], Array [ "extra", " this is not valid yamlish\\n", ], Array [ "complete", FinalResults { "bailout": "de-indenting the yamlish wrongly.", "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 1, "name": "de-indenting the yamlish wrongly.", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP garbage-yamlish.tap bail > stringified 1`] = ` TAP version 13 not ok 1 - de-indenting the yamlish wrongly. Bail out! de-indenting the yamlish wrongly. this is not valid yamlish ` exports[`test/parser-stringify.js TAP garbage-yamlish.tap bail > stringified flat 1`] = ` TAP version 13 not ok 1 - de-indenting the yamlish wrongly. Bail out! de-indenting the yamlish wrongly. this is not valid yamlish ` exports[`test/parser-stringify.js TAP garbage-yamlish.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "de-indenting the yamlish wrongly.", "ok": false, }, ], Array [ "extra", String( --- message: "Failed with error 'hostname peebles.example.com not found'" severity: fail ), ], Array [ "extra", " this is not valid yamlish\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "But this is not garbage", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "truncating the yamlish", "ok": false, }, ], Array [ "extra", String( --- here: is some yaml i: guess ), ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "this is truncated weirdly", "ok": false, }, ], Array [ "extra", " not ok 99 this is not a child test\\n", ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "comment", "# failed 3 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 3, "failures": Array [ Result { "fullname": "", "id": 1, "name": "de-indenting the yamlish wrongly.", "ok": false, }, Result { "fullname": "", "id": 3, "name": "truncating the yamlish", "ok": false, }, Result { "fullname": "", "id": 4, "name": "this is truncated weirdly", "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP garbage-yamlish.tap default settings > stringified 1`] = ` TAP 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 # failed 3 of 4 tests ` exports[`test/parser-stringify.js TAP garbage-yamlish.tap default settings > stringified flat 1`] = ` TAP 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 # failed 3 of 4 tests ` exports[`test/parser-stringify.js TAP garbage-yamlish.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "de-indenting the yamlish wrongly.", "ok": false, }, ], Array [ "extra", String( --- message: "Failed with error 'hostname peebles.example.com not found'" severity: fail ), ], Array [ "extra", " this is not valid yamlish\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "But this is not garbage", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "truncating the yamlish", "ok": false, }, ], Array [ "extra", String( --- here: is some yaml i: guess ), ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "this is truncated weirdly", "ok": false, }, ], Array [ "extra", " not ok 99 this is not a child test\\n", ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "comment", "# failed 7 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 7, "failures": Array [ Result { "fullname": "", "id": 1, "name": "de-indenting the yamlish wrongly.", "ok": false, }, Object { "data": String( --- message: "Failed with error 'hostname peebles.example.com not found'" severity: fail ), "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " this is not valid yamlish\\n", "tapError": "Non-TAP data encountered in strict mode", }, Result { "fullname": "", "id": 3, "name": "truncating the yamlish", "ok": false, }, Object { "data": String( --- here: is some yaml i: guess ), "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " not ok 99 this is not a child test\\n", "tapError": "Non-TAP data encountered in strict mode", }, Result { "fullname": "", "id": 4, "name": "this is truncated weirdly", "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP garbage-yamlish.tap strict > stringified 1`] = ` TAP 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 # failed 7 of 4 tests ` exports[`test/parser-stringify.js TAP garbage-yamlish.tap strict > stringified flat 1`] = ` TAP 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 # failed 7 of 4 tests ` exports[`test/parser-stringify.js TAP garbage-yamlish.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "de-indenting the yamlish wrongly.", "ok": false, }, ], Array [ "bailout", "de-indenting the yamlish wrongly.", ], Array [ "extra", " this is not valid yamlish\\n", ], Array [ "complete", FinalResults { "bailout": "de-indenting the yamlish wrongly.", "count": 1, "fail": 2, "failures": Array [ Result { "fullname": "", "id": 1, "name": "de-indenting the yamlish wrongly.", "ok": false, }, Object { "data": " this is not valid yamlish\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP garbage-yamlish.tap strictBail > stringified 1`] = ` TAP version 13 not ok 1 - de-indenting the yamlish wrongly. Bail out! de-indenting the yamlish wrongly. this is not valid yamlish ` exports[`test/parser-stringify.js TAP garbage-yamlish.tap strictBail > stringified flat 1`] = ` TAP version 13 not ok 1 - de-indenting the yamlish wrongly. Bail out! de-indenting the yamlish wrongly. this is not valid yamlish ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/giving-up.tap.test.cjs000066400000000000000000000127341433324523500271260ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP giving-up.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 573, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "database handle", "ok": false, }, ], Array [ "bailout", "Couldn't connect to database.", ], Array [ "complete", FinalResults { "bailout": "Couldn't connect to database.", "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 1, "name": "database handle", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 573, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP giving-up.tap bail > stringified 1`] = ` TAP version 13 1..573 not ok 1 - database handle Bail out! Couldn't connect to database. ` exports[`test/parser-stringify.js TAP giving-up.tap bail > stringified flat 1`] = ` TAP version 13 1..573 not ok 1 - database handle Bail out! Couldn't connect to database. ` exports[`test/parser-stringify.js TAP giving-up.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 573, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "database handle", "ok": false, }, ], Array [ "bailout", "Couldn't connect to database.", ], Array [ "complete", FinalResults { "bailout": "Couldn't connect to database.", "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 1, "name": "database handle", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 573, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP giving-up.tap default settings > stringified 1`] = ` TAP version 13 1..573 not ok 1 - database handle Bail out! Couldn't connect to database. ` exports[`test/parser-stringify.js TAP giving-up.tap default settings > stringified flat 1`] = ` TAP version 13 1..573 not ok 1 - database handle Bail out! Couldn't connect to database. ` exports[`test/parser-stringify.js TAP giving-up.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 573, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "database handle", "ok": false, }, ], Array [ "bailout", "Couldn't connect to database.", ], Array [ "complete", FinalResults { "bailout": "Couldn't connect to database.", "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 1, "name": "database handle", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 573, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP giving-up.tap strict > stringified 1`] = ` TAP version 13 1..573 not ok 1 - database handle Bail out! Couldn't connect to database. ` exports[`test/parser-stringify.js TAP giving-up.tap strict > stringified flat 1`] = ` TAP version 13 1..573 not ok 1 - database handle Bail out! Couldn't connect to database. ` exports[`test/parser-stringify.js TAP giving-up.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 573, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "database handle", "ok": false, }, ], Array [ "bailout", "Couldn't connect to database.", ], Array [ "complete", FinalResults { "bailout": "Couldn't connect to database.", "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 1, "name": "database handle", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 573, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP giving-up.tap strictBail > stringified 1`] = ` TAP version 13 1..573 not ok 1 - database handle Bail out! Couldn't connect to database. ` exports[`test/parser-stringify.js TAP giving-up.tap strictBail > stringified flat 1`] = ` TAP version 13 1..573 not ok 1 - database handle Bail out! Couldn't connect to database. ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/got-spare-tuits.tap.test.cjs000066400000000000000000000173741433324523500302750ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP got-spare-tuits.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Creating test program", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Test program runs, no error", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "infinite loop", "ok": false, "todo": "halting problem unsolved", }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "infinite loop 2", "ok": false, "todo": "halting problem unsolved", }, ], Array [ "comment", "# todo: 2\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 2, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 2, }, ], ] ` exports[`test/parser-stringify.js TAP got-spare-tuits.tap bail > stringified 1`] = ` TAP 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 # todo: 2 ` exports[`test/parser-stringify.js TAP got-spare-tuits.tap bail > stringified flat 1`] = ` TAP 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 # todo: 2 ` exports[`test/parser-stringify.js TAP got-spare-tuits.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Creating test program", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Test program runs, no error", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "infinite loop", "ok": false, "todo": "halting problem unsolved", }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "infinite loop 2", "ok": false, "todo": "halting problem unsolved", }, ], Array [ "comment", "# todo: 2\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 2, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 2, }, ], ] ` exports[`test/parser-stringify.js TAP got-spare-tuits.tap default settings > stringified 1`] = ` TAP 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 # todo: 2 ` exports[`test/parser-stringify.js TAP got-spare-tuits.tap default settings > stringified flat 1`] = ` TAP 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 # todo: 2 ` exports[`test/parser-stringify.js TAP got-spare-tuits.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Creating test program", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Test program runs, no error", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "infinite loop", "ok": false, "todo": "halting problem unsolved", }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "infinite loop 2", "ok": false, "todo": "halting problem unsolved", }, ], Array [ "comment", "# todo: 2\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 2, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 2, }, ], ] ` exports[`test/parser-stringify.js TAP got-spare-tuits.tap strict > stringified 1`] = ` TAP 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 # todo: 2 ` exports[`test/parser-stringify.js TAP got-spare-tuits.tap strict > stringified flat 1`] = ` TAP 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 # todo: 2 ` exports[`test/parser-stringify.js TAP got-spare-tuits.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Creating test program", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Test program runs, no error", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "infinite loop", "ok": false, "todo": "halting problem unsolved", }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "infinite loop 2", "ok": false, "todo": "halting problem unsolved", }, ], Array [ "comment", "# todo: 2\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 2, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 2, }, ], ] ` exports[`test/parser-stringify.js TAP got-spare-tuits.tap strictBail > stringified 1`] = ` TAP 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 # todo: 2 ` exports[`test/parser-stringify.js TAP got-spare-tuits.tap strictBail > stringified flat 1`] = ` TAP 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 # todo: 2 ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/hashes.tap.test.cjs000066400000000000000000000215001433324523500264630ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP hashes.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "contains # hash", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "directive", "ok": true, "todo": "# x # y", }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "escaped \\\\ slash \\\\", "ok": true, "todo": "true", }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "not todo # hash # todo", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "yes todo", "ok": true, "todo": "# hash", }, ], Array [ "assert", Result { "fullname": "", "id": 6, "name": "not todo # hash # todo", "ok": true, }, ], Array [ "plan", Object { "end": 6, "start": 1, }, ], Array [ "comment", "# todo: 3\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 6, "fail": 0, "failures": Array [], "ok": true, "pass": 6, "plan": FinalPlan { "comment": "", "end": 6, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 3, }, ], ] ` exports[`test/parser-stringify.js TAP hashes.tap bail > stringified 1`] = ` TAP version 13 ok 1 - contains \\# hash ok 2 - directive # TODO \\# x \\# y ok 3 - escaped \\\\ slash \\\\ # TODO true ok 4 - not todo \\# hash \\# todo ok 5 - yes todo # TODO \\# hash ok 6 - not todo \\# hash \\# todo 1..6 # todo: 3 ` exports[`test/parser-stringify.js TAP hashes.tap bail > stringified flat 1`] = ` TAP version 13 ok 1 - contains \\# hash ok 2 - directive # TODO \\# x \\# y ok 3 - escaped \\\\ slash \\\\ # TODO true ok 4 - not todo \\# hash \\# todo ok 5 - yes todo # TODO \\# hash ok 6 - not todo \\# hash \\# todo 1..6 # todo: 3 ` exports[`test/parser-stringify.js TAP hashes.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "contains # hash", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "directive", "ok": true, "todo": "# x # y", }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "escaped \\\\ slash \\\\", "ok": true, "todo": "true", }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "not todo # hash # todo", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "yes todo", "ok": true, "todo": "# hash", }, ], Array [ "assert", Result { "fullname": "", "id": 6, "name": "not todo # hash # todo", "ok": true, }, ], Array [ "plan", Object { "end": 6, "start": 1, }, ], Array [ "comment", "# todo: 3\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 6, "fail": 0, "failures": Array [], "ok": true, "pass": 6, "plan": FinalPlan { "comment": "", "end": 6, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 3, }, ], ] ` exports[`test/parser-stringify.js TAP hashes.tap default settings > stringified 1`] = ` TAP version 13 ok 1 - contains \\# hash ok 2 - directive # TODO \\# x \\# y ok 3 - escaped \\\\ slash \\\\ # TODO true ok 4 - not todo \\# hash \\# todo ok 5 - yes todo # TODO \\# hash ok 6 - not todo \\# hash \\# todo 1..6 # todo: 3 ` exports[`test/parser-stringify.js TAP hashes.tap default settings > stringified flat 1`] = ` TAP version 13 ok 1 - contains \\# hash ok 2 - directive # TODO \\# x \\# y ok 3 - escaped \\\\ slash \\\\ # TODO true ok 4 - not todo \\# hash \\# todo ok 5 - yes todo # TODO \\# hash ok 6 - not todo \\# hash \\# todo 1..6 # todo: 3 ` exports[`test/parser-stringify.js TAP hashes.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "contains # hash", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "directive", "ok": true, "todo": "# x # y", }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "escaped \\\\ slash \\\\", "ok": true, "todo": "true", }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "not todo # hash # todo", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "yes todo", "ok": true, "todo": "# hash", }, ], Array [ "assert", Result { "fullname": "", "id": 6, "name": "not todo # hash # todo", "ok": true, }, ], Array [ "plan", Object { "end": 6, "start": 1, }, ], Array [ "comment", "# todo: 3\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 6, "fail": 0, "failures": Array [], "ok": true, "pass": 6, "plan": FinalPlan { "comment": "", "end": 6, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 3, }, ], ] ` exports[`test/parser-stringify.js TAP hashes.tap strict > stringified 1`] = ` TAP version 13 ok 1 - contains \\# hash ok 2 - directive # TODO \\# x \\# y ok 3 - escaped \\\\ slash \\\\ # TODO true ok 4 - not todo \\# hash \\# todo ok 5 - yes todo # TODO \\# hash ok 6 - not todo \\# hash \\# todo 1..6 # todo: 3 ` exports[`test/parser-stringify.js TAP hashes.tap strict > stringified flat 1`] = ` TAP version 13 ok 1 - contains \\# hash ok 2 - directive # TODO \\# x \\# y ok 3 - escaped \\\\ slash \\\\ # TODO true ok 4 - not todo \\# hash \\# todo ok 5 - yes todo # TODO \\# hash ok 6 - not todo \\# hash \\# todo 1..6 # todo: 3 ` exports[`test/parser-stringify.js TAP hashes.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "contains # hash", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "directive", "ok": true, "todo": "# x # y", }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "escaped \\\\ slash \\\\", "ok": true, "todo": "true", }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "not todo # hash # todo", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "yes todo", "ok": true, "todo": "# hash", }, ], Array [ "assert", Result { "fullname": "", "id": 6, "name": "not todo # hash # todo", "ok": true, }, ], Array [ "plan", Object { "end": 6, "start": 1, }, ], Array [ "comment", "# todo: 3\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 6, "fail": 0, "failures": Array [], "ok": true, "pass": 6, "plan": FinalPlan { "comment": "", "end": 6, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 3, }, ], ] ` exports[`test/parser-stringify.js TAP hashes.tap strictBail > stringified 1`] = ` TAP version 13 ok 1 - contains \\# hash ok 2 - directive # TODO \\# x \\# y ok 3 - escaped \\\\ slash \\\\ # TODO true ok 4 - not todo \\# hash \\# todo ok 5 - yes todo # TODO \\# hash ok 6 - not todo \\# hash \\# todo 1..6 # todo: 3 ` exports[`test/parser-stringify.js TAP hashes.tap strictBail > stringified flat 1`] = ` TAP version 13 ok 1 - contains \\# hash ok 2 - directive # TODO \\# x \\# y ok 3 - escaped \\\\ slash \\\\ # TODO true ok 4 - not todo \\# hash \\# todo ok 5 - yes todo # TODO \\# hash ok 6 - not todo \\# hash \\# todo 1..6 # todo: 3 ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/head_end.tap.test.cjs000066400000000000000000000144041433324523500267440ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP head_end.tap bail > parsed 1`] = ` Array [ Array [ "comment", "# comments\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "comment", "# comment\\n", ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "comment", "# more ignored stuff\\n", ], Array [ "comment", "# and yet more\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP head_end.tap bail > stringified 1`] = ` # comments ok 1 ok 2 ok 3 ok 4 # comment 1..4 # more ignored stuff # and yet more ` exports[`test/parser-stringify.js TAP head_end.tap bail > stringified flat 1`] = ` # comments ok 1 ok 2 ok 3 ok 4 # comment 1..4 # more ignored stuff # and yet more ` exports[`test/parser-stringify.js TAP head_end.tap default settings > parsed 1`] = ` Array [ Array [ "comment", "# comments\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "comment", "# comment\\n", ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "comment", "# more ignored stuff\\n", ], Array [ "comment", "# and yet more\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP head_end.tap default settings > stringified 1`] = ` # comments ok 1 ok 2 ok 3 ok 4 # comment 1..4 # more ignored stuff # and yet more ` exports[`test/parser-stringify.js TAP head_end.tap default settings > stringified flat 1`] = ` # comments ok 1 ok 2 ok 3 ok 4 # comment 1..4 # more ignored stuff # and yet more ` exports[`test/parser-stringify.js TAP head_end.tap strict > parsed 1`] = ` Array [ Array [ "comment", "# comments\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "comment", "# comment\\n", ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "comment", "# more ignored stuff\\n", ], Array [ "comment", "# and yet more\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP head_end.tap strict > stringified 1`] = ` # comments ok 1 ok 2 ok 3 ok 4 # comment 1..4 # more ignored stuff # and yet more ` exports[`test/parser-stringify.js TAP head_end.tap strict > stringified flat 1`] = ` # comments ok 1 ok 2 ok 3 ok 4 # comment 1..4 # more ignored stuff # and yet more ` exports[`test/parser-stringify.js TAP head_end.tap strictBail > parsed 1`] = ` Array [ Array [ "comment", "# comments\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "comment", "# comment\\n", ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "comment", "# more ignored stuff\\n", ], Array [ "comment", "# and yet more\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP head_end.tap strictBail > stringified 1`] = ` # comments ok 1 ok 2 ok 3 ok 4 # comment 1..4 # more ignored stuff # and yet more ` exports[`test/parser-stringify.js TAP head_end.tap strictBail > stringified flat 1`] = ` # comments ok 1 ok 2 ok 3 ok 4 # comment 1..4 # more ignored stuff # and yet more ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/head_fail.tap.test.cjs000066400000000000000000000136441433324523500271160ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP head_fail.tap bail > parsed 1`] = ` Array [ Array [ "comment", "# comments\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": false, }, ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 2, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 2, "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP head_fail.tap bail > stringified 1`] = ` # comments ok 1 not ok 2 Bail out! ` exports[`test/parser-stringify.js TAP head_fail.tap bail > stringified flat 1`] = ` # comments ok 1 not ok 2 Bail out! ` exports[`test/parser-stringify.js TAP head_fail.tap default settings > parsed 1`] = ` Array [ Array [ "comment", "# comments\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": false, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "comment", "# comment\\n", ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "comment", "# more ignored stuff\\n", ], Array [ "comment", "# and yet more\\n", ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 2, "ok": false, }, ], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP head_fail.tap default settings > stringified 1`] = ` # comments ok 1 not ok 2 ok 3 ok 4 # comment 1..4 # more ignored stuff # and yet more # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP head_fail.tap default settings > stringified flat 1`] = ` # comments ok 1 not ok 2 ok 3 ok 4 # comment 1..4 # more ignored stuff # and yet more # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP head_fail.tap strict > parsed 1`] = ` Array [ Array [ "comment", "# comments\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": false, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "comment", "# comment\\n", ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "comment", "# more ignored stuff\\n", ], Array [ "comment", "# and yet more\\n", ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 2, "ok": false, }, ], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP head_fail.tap strict > stringified 1`] = ` # comments ok 1 not ok 2 ok 3 ok 4 # comment 1..4 # more ignored stuff # and yet more # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP head_fail.tap strict > stringified flat 1`] = ` # comments ok 1 not ok 2 ok 3 ok 4 # comment 1..4 # more ignored stuff # and yet more # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP head_fail.tap strictBail > parsed 1`] = ` Array [ Array [ "comment", "# comments\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": false, }, ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 2, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 2, "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP head_fail.tap strictBail > stringified 1`] = ` # comments ok 1 not ok 2 Bail out! ` exports[`test/parser-stringify.js TAP head_fail.tap strictBail > stringified flat 1`] = ` # comments ok 1 not ok 2 Bail out! ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/implicit-counter.tap.test.cjs000066400000000000000000000162701433324523500305070ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP implicit-counter.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# before 1\\n", ], Array [ "assert", Result { "fullname": "", "name": "one", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "name": "two", "ok": true, }, ], Array [ "comment", "# before 3\\n", ], Array [ "assert", Result { "fullname": "", "name": "three", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "name": "four", "ok": true, }, ], Array [ "comment", "# after 4\\n", ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP implicit-counter.tap bail > stringified 1`] = ` TAP version 13 # before 1 ok - one ok - two # before 3 ok - three ok - four # after 4 1..4 # tests 4 # pass 4 # ok ` exports[`test/parser-stringify.js TAP implicit-counter.tap bail > stringified flat 1`] = ` TAP version 13 # before 1 ok - one ok - two # before 3 ok - three ok - four # after 4 1..4 # tests 4 # pass 4 # ok ` exports[`test/parser-stringify.js TAP implicit-counter.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# before 1\\n", ], Array [ "assert", Result { "fullname": "", "name": "one", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "name": "two", "ok": true, }, ], Array [ "comment", "# before 3\\n", ], Array [ "assert", Result { "fullname": "", "name": "three", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "name": "four", "ok": true, }, ], Array [ "comment", "# after 4\\n", ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP implicit-counter.tap default settings > stringified 1`] = ` TAP version 13 # before 1 ok - one ok - two # before 3 ok - three ok - four # after 4 1..4 # tests 4 # pass 4 # ok ` exports[`test/parser-stringify.js TAP implicit-counter.tap default settings > stringified flat 1`] = ` TAP version 13 # before 1 ok - one ok - two # before 3 ok - three ok - four # after 4 1..4 # tests 4 # pass 4 # ok ` exports[`test/parser-stringify.js TAP implicit-counter.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# before 1\\n", ], Array [ "assert", Result { "fullname": "", "name": "one", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "name": "two", "ok": true, }, ], Array [ "comment", "# before 3\\n", ], Array [ "assert", Result { "fullname": "", "name": "three", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "name": "four", "ok": true, }, ], Array [ "comment", "# after 4\\n", ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP implicit-counter.tap strict > stringified 1`] = ` TAP version 13 # before 1 ok - one ok - two # before 3 ok - three ok - four # after 4 1..4 # tests 4 # pass 4 # ok ` exports[`test/parser-stringify.js TAP implicit-counter.tap strict > stringified flat 1`] = ` TAP version 13 # before 1 ok - one ok - two # before 3 ok - three ok - four # after 4 1..4 # tests 4 # pass 4 # ok ` exports[`test/parser-stringify.js TAP implicit-counter.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# before 1\\n", ], Array [ "assert", Result { "fullname": "", "name": "one", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "name": "two", "ok": true, }, ], Array [ "comment", "# before 3\\n", ], Array [ "assert", Result { "fullname": "", "name": "three", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "name": "four", "ok": true, }, ], Array [ "comment", "# after 4\\n", ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP implicit-counter.tap strictBail > stringified 1`] = ` TAP version 13 # before 1 ok - one ok - two # before 3 ok - three ok - four # after 4 1..4 # tests 4 # pass 4 # ok ` exports[`test/parser-stringify.js TAP implicit-counter.tap strictBail > stringified flat 1`] = ` TAP 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-11.0.2/tap-snapshots/test/parser-stringify/indent.tap.test.cjs000066400000000000000000000701721433324523500265020ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP indent.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# nesting\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "first", "id": 1, "name": "true is ok", "ok": true, "time": 1.234, }, ], Array [ "assert", Result { "fullname": "first", "id": 2, "name": "doag is also okay", "ok": true, "time": 1.234, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 2.589, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "first", "ok": true, "time": 2.589, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "assert", Result { "fullname": "second", "id": 1, "name": "no plan", "ok": true, "time": 1.001, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: this passes\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "assert", Result { "fullname": "second this passes", "name": "granddaughter", "ok": false, "skip": "for no raisin", }, ], Array [ "assert", Result { "diag": Object { "it": "is yaml", "ok": 1, "this": "is not tap", }, "fullname": "second this passes", "name": "grandson", "ok": true, "time": 1001, }, ], Array [ "assert", Result { "fullname": "second this passes", "name": "grandchild", "ok": false, "todo": true, }, ], Array [ "comment", "# todo: 1\\n", ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 2, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": 1200, "todo": 1, }, ], ], ], Array [ "assert", Result { "fullname": "second", "id": 2, "name": "this passes", "ok": true, "time": 1200, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 1.2, "todo": 0, }, ], ], ], Array [ "extra", String( --- ok: 1 this: is not tap or yaml it: is garbage ), ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "second", "ok": true, "time": 1.2, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP indent.tap bail > stringified 1`] = ` TAP 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=1001ms --- ok: 1 this: is not tap it: is yaml ... not ok - grandchild # TODO # todo: 1 # skip: 1 ok 2 - this passes # time=1200ms 1..2 --- ok: 1 this: is not tap or yaml it: is garbage ok 2 - second # time=1.2ms ` exports[`test/parser-stringify.js TAP indent.tap bail > stringified flat 1`] = ` TAP 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=1001ms --- ok: 1 this: is not tap it: is yaml ... not ok - grandchild # TODO # todo: 1 # skip: 1 ok 2 - this passes # time=1200ms 1..2 --- ok: 1 this: is not tap or yaml it: is garbage ok 2 - second # time=1.2ms ` exports[`test/parser-stringify.js TAP indent.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# nesting\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "first", "id": 1, "name": "true is ok", "ok": true, "time": 1.234, }, ], Array [ "assert", Result { "fullname": "first", "id": 2, "name": "doag is also okay", "ok": true, "time": 1.234, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 2.589, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "first", "ok": true, "time": 2.589, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "assert", Result { "fullname": "second", "id": 1, "name": "no plan", "ok": true, "time": 1.001, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: this passes\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "assert", Result { "fullname": "second this passes", "name": "granddaughter", "ok": false, "skip": "for no raisin", }, ], Array [ "assert", Result { "diag": Object { "it": "is yaml", "ok": 1, "this": "is not tap", }, "fullname": "second this passes", "name": "grandson", "ok": true, "time": 1001, }, ], Array [ "assert", Result { "fullname": "second this passes", "name": "grandchild", "ok": false, "todo": true, }, ], Array [ "comment", "# todo: 1\\n", ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 2, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": 1200, "todo": 1, }, ], ], ], Array [ "assert", Result { "fullname": "second", "id": 2, "name": "this passes", "ok": true, "time": 1200, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 1.2, "todo": 0, }, ], ], ], Array [ "extra", String( --- ok: 1 this: is not tap or yaml it: is garbage ), ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "second", "ok": true, "time": 1.2, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP indent.tap default settings > stringified 1`] = ` TAP 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=1001ms --- ok: 1 this: is not tap it: is yaml ... not ok - grandchild # TODO # todo: 1 # skip: 1 ok 2 - this passes # time=1200ms 1..2 --- ok: 1 this: is not tap or yaml it: is garbage ok 2 - second # time=1.2ms ` exports[`test/parser-stringify.js TAP indent.tap default settings > stringified flat 1`] = ` TAP 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=1001ms --- ok: 1 this: is not tap it: is yaml ... not ok - grandchild # TODO # todo: 1 # skip: 1 ok 2 - this passes # time=1200ms 1..2 --- ok: 1 this: is not tap or yaml it: is garbage ok 2 - second # time=1.2ms ` exports[`test/parser-stringify.js TAP indent.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# nesting\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "first", "id": 1, "name": "true is ok", "ok": true, "time": 1.234, }, ], Array [ "assert", Result { "fullname": "first", "id": 2, "name": "doag is also okay", "ok": true, "time": 1.234, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 2.589, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "first", "ok": true, "time": 2.589, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "assert", Result { "fullname": "second", "id": 1, "name": "no plan", "ok": true, "time": 1.001, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: this passes\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "assert", Result { "fullname": "second this passes", "name": "granddaughter", "ok": false, "skip": "for no raisin", }, ], Array [ "assert", Result { "diag": Object { "it": "is yaml", "ok": 1, "this": "is not tap", }, "fullname": "second this passes", "name": "grandson", "ok": true, "time": 1001, }, ], Array [ "assert", Result { "fullname": "second this passes", "name": "grandchild", "ok": false, "todo": true, }, ], Array [ "comment", "# failed 3 of 3 tests\\n", ], Array [ "comment", "# todo: 1\\n", ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 3, "failures": Array [ Object { "data": String( --- ok: 1 this: is not tap or yaml it: is garbage ), "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": 1200, "todo": 1, }, ], ], ], Array [ "assert", Result { "fullname": "second", "id": 2, "name": "this passes", "ok": true, "time": 1200, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# failed 1 of 2 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 1, "failures": Array [ Object { "data": String( --- ok: 1 this: is not tap or yaml it: is garbage ), "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 1.2, "todo": 0, }, ], ], ], Array [ "extra", String( --- ok: 1 this: is not tap or yaml it: is garbage ), ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "second", "ok": true, "time": 1.2, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": false, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP indent.tap strict > stringified 1`] = ` TAP 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=1001ms --- ok: 1 this: is not tap it: is yaml ... not ok - grandchild # TODO # failed 3 of 3 tests # todo: 1 # skip: 1 ok 2 - this passes # time=1200ms 1..2 # failed 1 of 2 tests --- ok: 1 this: is not tap or yaml it: is garbage ok 2 - second # time=1.2ms ` exports[`test/parser-stringify.js TAP indent.tap strict > stringified flat 1`] = ` TAP 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=1001ms --- ok: 1 this: is not tap it: is yaml ... not ok - grandchild # TODO # failed 3 of 3 tests # todo: 1 # skip: 1 ok 2 - this passes # time=1200ms 1..2 # failed 1 of 2 tests --- ok: 1 this: is not tap or yaml it: is garbage ok 2 - second # time=1.2ms ` exports[`test/parser-stringify.js TAP indent.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# nesting\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "first", "id": 1, "name": "true is ok", "ok": true, "time": 1.234, }, ], Array [ "assert", Result { "fullname": "first", "id": 2, "name": "doag is also okay", "ok": true, "time": 1.234, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 2.589, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "first", "ok": true, "time": 2.589, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "assert", Result { "fullname": "second", "id": 1, "name": "no plan", "ok": true, "time": 1.001, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: this passes\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "assert", Result { "fullname": "second this passes", "name": "granddaughter", "ok": false, "skip": "for no raisin", }, ], Array [ "assert", Result { "diag": Object { "it": "is yaml", "ok": 1, "this": "is not tap", }, "fullname": "second this passes", "name": "grandson", "ok": true, "time": 1001, }, ], Array [ "assert", Result { "fullname": "second this passes", "name": "grandchild", "ok": false, "todo": true, }, ], Array [ "comment", "# failed 3 of 3 tests\\n", ], Array [ "comment", "# todo: 1\\n", ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 3, "failures": Array [ Object { "data": String( --- ok: 1 this: is not tap or yaml it: is garbage ), "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": 1200, "todo": 1, }, ], ], ], Array [ "assert", Result { "fullname": "second", "id": 2, "name": "this passes", "ok": true, "time": 1200, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# failed 1 of 2 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 1, "failures": Array [ Object { "data": String( --- ok: 1 this: is not tap or yaml it: is garbage ), "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 1.2, "todo": 0, }, ], ], ], Array [ "extra", String( --- ok: 1 this: is not tap or yaml it: is garbage ), ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "second", "ok": true, "time": 1.2, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": false, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP indent.tap strictBail > stringified 1`] = ` TAP 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=1001ms --- ok: 1 this: is not tap it: is yaml ... not ok - grandchild # TODO # failed 3 of 3 tests # todo: 1 # skip: 1 ok 2 - this passes # time=1200ms 1..2 # failed 1 of 2 tests --- ok: 1 this: is not tap or yaml it: is garbage ok 2 - second # time=1.2ms ` exports[`test/parser-stringify.js TAP indent.tap strictBail > stringified flat 1`] = ` TAP 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=1001ms --- ok: 1 this: is not tap it: is yaml ... not ok - grandchild # TODO # failed 3 of 3 tests # todo: 1 # skip: 1 ok 2 - this passes # time=1200ms 1..2 # failed 1 of 2 tests --- ok: 1 this: is not tap or yaml it: is garbage ok 2 - second # time=1.2ms ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/indented-stdout-noise.tap.test.cjs000066400000000000000000002202211433324523500314360ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP indented-stdout-noise.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: index.js\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: boom\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: npm install package line\\n", ], Array [ "plan", Object { "comment": "no tests found", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "no tests found", "end": 0, "skipAll": true, "skipReason": "no tests found", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "plan", Object { "comment": "no tests found", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "no tests found", "end": 0, "skipAll": true, "skipReason": "no tests found", "start": 1, }, "skip": 0, "time": 5.26, "todo": 0, }, ], ], ], Array [ "comment", "# package - Easy package.json exports.\\n", ], Array [ "comment", "## Intro\\n", ], Array [ "comment", "## Installation\\n", ], Array [ "comment", "## Usage\\n", ], Array [ "comment", "## Contribution\\n", ], Array [ "comment", "## Other similar modules\\n", ], Array [ "comment", "## License\\n", ], Array [ "assert", Result { "fullname": "index.js", "id": 1, "name": "boom", "ok": true, "time": 5.26, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# time=12.555ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 201.609, "todo": 0, }, ], ], ], Array [ "extra", " This module provides an easy way to export package.json data.\\n", ], Array [ "extra", " It contains auto-discovery functionality, which means that it will\\n", ], Array [ "extra", " find your package.json file automatically. Cool, ugh?\\n", ], Array [ "extra", " $ npm install package\\n", ], Array [ "extra", " var package = require('package')(); // contains package.json data.\\n", ], Array [ "extra", " var yourAwesomeModule = {};\\n", ], Array [ "extra", " yourAwesomeModule.version = package.version;\\n", ], Array [ "extra", " Bug fixes and features are welcomed.\\n", ], Array [ "extra", " - pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero.\\n", ], Array [ "extra", " - JSON.parse + fs.readFile\\n", ], Array [ "extra", " MIT License\\n", ], Array [ "extra", " Copyright (C) 2011 Veselin Todorov\\n", ], Array [ "extra", " Permission is hereby granted, free of charge, to any person obtaining a copy of\\n", ], Array [ "extra", " this software and associated documentation files (the \\"Software\\"), to deal in\\n", ], Array [ "extra", " the Software without restriction, including without limitation the rights to\\n", ], Array [ "extra", " use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\\n", ], Array [ "extra", " of the Software, and to permit persons to whom the Software is furnished to do\\n", ], Array [ "extra", " so, subject to the following conditions:\\n", ], Array [ "extra", " The above copyright notice and this permission notice shall be included in all\\n", ], Array [ "extra", " copies or substantial portions of the Software.\\n", ], Array [ "extra", " THE SOFTWARE IS PROVIDED \\"AS IS\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\n", ], Array [ "extra", " IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\n", ], Array [ "extra", " FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\n", ], Array [ "extra", " AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\n", ], Array [ "extra", " LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\\n", ], Array [ "extra", " OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\\n", ], Array [ "extra", " SOFTWARE.\\n", ], Array [ "extra", " 1..0\\n", ], Array [ "assert", Result { "diag": Object { "arguments": Array [ "index.js", ], "command": "/usr/local/bin/iojs", "file": "index.js", "results": Object { "count": 1, "ok": false, "pass": 1, "plan": Object { "end": 1, "start": 1, }, }, "timeout": 30000, }, "fullname": "", "id": 1, "name": "index.js", "ok": false, "time": 201.609, }, ], Array [ "bailout", "index.js", ], Array [ "complete", FinalResults { "bailout": "index.js", "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "arguments": Array [ "index.js", ], "command": "/usr/local/bin/iojs", "file": "index.js", "results": Object { "count": 1, "ok": false, "pass": 1, "plan": Object { "end": 1, "start": 1, }, }, "timeout": 30000, }, "fullname": "", "id": 1, "name": "index.js", "ok": false, "time": 201.609, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP indented-stdout-noise.tap bail > stringified 1`] = ` TAP version 13 # Subtest: index.js # Subtest: boom # Subtest: npm install package line 1..0 # no tests found 1..0 # no tests found # package - Easy package.json exports. ## Intro ## Installation ## Usage ## Contribution ## Other similar modules ## License ok 1 - boom # time=5.26ms 1..1 # time=12.555ms 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? $ npm install package var package = require('package')(); // contains package.json data. var yourAwesomeModule = {}; yourAwesomeModule.version = package.version; Bug fixes and features are welcomed. - pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero. - JSON.parse + fs.readFile 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 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 ... Bail out! index.js ` exports[`test/parser-stringify.js TAP indented-stdout-noise.tap bail > stringified flat 1`] = ` TAP version 13 # Subtest: index.js # Subtest: boom # Subtest: npm install package line 1..0 # no tests found 1..0 # no tests found # package - Easy package.json exports. ## Intro ## Installation ## Usage ## Contribution ## Other similar modules ## License ok 1 - boom # time=5.26ms 1..1 # time=12.555ms 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? $ npm install package var package = require('package')(); // contains package.json data. var yourAwesomeModule = {}; yourAwesomeModule.version = package.version; Bug fixes and features are welcomed. - pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero. - JSON.parse + fs.readFile 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 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 ... Bail out! index.js ` exports[`test/parser-stringify.js TAP indented-stdout-noise.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: index.js\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: boom\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: npm install package line\\n", ], Array [ "plan", Object { "comment": "no tests found", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "no tests found", "end": 0, "skipAll": true, "skipReason": "no tests found", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "plan", Object { "comment": "no tests found", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "no tests found", "end": 0, "skipAll": true, "skipReason": "no tests found", "start": 1, }, "skip": 0, "time": 5.26, "todo": 0, }, ], ], ], Array [ "comment", "# package - Easy package.json exports.\\n", ], Array [ "comment", "## Intro\\n", ], Array [ "comment", "## Installation\\n", ], Array [ "comment", "## Usage\\n", ], Array [ "comment", "## Contribution\\n", ], Array [ "comment", "## Other similar modules\\n", ], Array [ "comment", "## License\\n", ], Array [ "assert", Result { "fullname": "index.js", "id": 1, "name": "boom", "ok": true, "time": 5.26, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# time=12.555ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 201.609, "todo": 0, }, ], ], ], Array [ "extra", " This module provides an easy way to export package.json data.\\n", ], Array [ "extra", " It contains auto-discovery functionality, which means that it will\\n", ], Array [ "extra", " find your package.json file automatically. Cool, ugh?\\n", ], Array [ "extra", " $ npm install package\\n", ], Array [ "extra", " var package = require('package')(); // contains package.json data.\\n", ], Array [ "extra", " var yourAwesomeModule = {};\\n", ], Array [ "extra", " yourAwesomeModule.version = package.version;\\n", ], Array [ "extra", " Bug fixes and features are welcomed.\\n", ], Array [ "extra", " - pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero.\\n", ], Array [ "extra", " - JSON.parse + fs.readFile\\n", ], Array [ "extra", " MIT License\\n", ], Array [ "extra", " Copyright (C) 2011 Veselin Todorov\\n", ], Array [ "extra", " Permission is hereby granted, free of charge, to any person obtaining a copy of\\n", ], Array [ "extra", " this software and associated documentation files (the \\"Software\\"), to deal in\\n", ], Array [ "extra", " the Software without restriction, including without limitation the rights to\\n", ], Array [ "extra", " use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\\n", ], Array [ "extra", " of the Software, and to permit persons to whom the Software is furnished to do\\n", ], Array [ "extra", " so, subject to the following conditions:\\n", ], Array [ "extra", " The above copyright notice and this permission notice shall be included in all\\n", ], Array [ "extra", " copies or substantial portions of the Software.\\n", ], Array [ "extra", " THE SOFTWARE IS PROVIDED \\"AS IS\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\n", ], Array [ "extra", " IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\n", ], Array [ "extra", " FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\n", ], Array [ "extra", " AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\n", ], Array [ "extra", " LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\\n", ], Array [ "extra", " OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\\n", ], Array [ "extra", " SOFTWARE.\\n", ], Array [ "extra", " 1..0\\n", ], Array [ "assert", Result { "diag": Object { "arguments": Array [ "index.js", ], "command": "/usr/local/bin/iojs", "file": "index.js", "results": Object { "count": 1, "ok": false, "pass": 1, "plan": Object { "end": 1, "start": 1, }, }, "timeout": 30000, }, "fullname": "", "id": 1, "name": "index.js", "ok": false, "time": 201.609, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# failed 1 of 1 tests\\n", ], Array [ "comment", "# time=209.666ms\\n", ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "arguments": Array [ "index.js", ], "command": "/usr/local/bin/iojs", "file": "index.js", "results": Object { "count": 1, "ok": false, "pass": 1, "plan": Object { "end": 1, "start": 1, }, }, "timeout": 30000, }, "fullname": "", "id": 1, "name": "index.js", "ok": false, "time": 201.609, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 209.666, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP indented-stdout-noise.tap default settings > stringified 1`] = ` TAP version 13 # Subtest: index.js # Subtest: boom # Subtest: npm install package line 1..0 # no tests found 1..0 # no tests found # package - Easy package.json exports. ## Intro ## Installation ## Usage ## Contribution ## Other similar modules ## License ok 1 - boom # time=5.26ms 1..1 # time=12.555ms 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? $ npm install package var package = require('package')(); // contains package.json data. var yourAwesomeModule = {}; yourAwesomeModule.version = package.version; Bug fixes and features are welcomed. - pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero. - JSON.parse + fs.readFile 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 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 # failed 1 test ` exports[`test/parser-stringify.js TAP indented-stdout-noise.tap default settings > stringified flat 1`] = ` TAP version 13 # Subtest: index.js # Subtest: boom # Subtest: npm install package line 1..0 # no tests found 1..0 # no tests found # package - Easy package.json exports. ## Intro ## Installation ## Usage ## Contribution ## Other similar modules ## License ok 1 - boom # time=5.26ms 1..1 # time=12.555ms 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? $ npm install package var package = require('package')(); // contains package.json data. var yourAwesomeModule = {}; yourAwesomeModule.version = package.version; Bug fixes and features are welcomed. - pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero. - JSON.parse + fs.readFile 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 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 # failed 1 test ` exports[`test/parser-stringify.js TAP indented-stdout-noise.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: index.js\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: boom\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: npm install package line\\n", ], Array [ "plan", Object { "comment": "no tests found", "end": 0, "start": 1, }, ], Array [ "comment", "# failed 4 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 4, "failures": Array [ Object { "data": "$ npm install package\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "var package = require('package')(); // contains package.json data.\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "var yourAwesomeModule = {};\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "yourAwesomeModule.version = package.version;\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "no tests found", "end": 0, "skipAll": true, "skipReason": "no tests found", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "plan", Object { "comment": "no tests found", "end": 0, "start": 1, }, ], Array [ "comment", "# failed 5 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 5, "failures": Array [ Object { "data": "$ npm install package\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "var package = require('package')(); // contains package.json data.\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "var yourAwesomeModule = {};\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "yourAwesomeModule.version = package.version;\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "1..0\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "no tests found", "end": 0, "skipAll": true, "skipReason": "no tests found", "start": 1, }, "skip": 0, "time": 5.26, "todo": 0, }, ], ], ], Array [ "comment", "# package - Easy package.json exports.\\n", ], Array [ "comment", "## Intro\\n", ], Array [ "comment", "## Installation\\n", ], Array [ "comment", "## Usage\\n", ], Array [ "comment", "## Contribution\\n", ], Array [ "comment", "## Other similar modules\\n", ], Array [ "comment", "## License\\n", ], Array [ "assert", Result { "fullname": "index.js", "id": 1, "name": "boom", "ok": true, "time": 5.26, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# time=12.555ms\\n", ], Array [ "comment", "# failed 24 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 24, "failures": Array [ Object { "data": "This module provides an easy way to export package.json data.\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "It contains auto-discovery functionality, which means that it will\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "find your package.json file automatically. Cool, ugh?\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "Bug fixes and features are welcomed.\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "- pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero.\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "- JSON.parse + fs.readFile\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "MIT License\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "Copyright (C) 2011 Veselin Todorov\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "Permission is hereby granted, free of charge, to any person obtaining a copy of\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "this software and associated documentation files (the \\"Software\\"), to deal in\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "the Software without restriction, including without limitation the rights to\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "of the Software, and to permit persons to whom the Software is furnished to do\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "so, subject to the following conditions:\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "The above copyright notice and this permission notice shall be included in all\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "copies or substantial portions of the Software.\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "THE SOFTWARE IS PROVIDED \\"AS IS\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "SOFTWARE.\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "1..0\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 201.609, "todo": 0, }, ], ], ], Array [ "extra", " This module provides an easy way to export package.json data.\\n", ], Array [ "extra", " It contains auto-discovery functionality, which means that it will\\n", ], Array [ "extra", " find your package.json file automatically. Cool, ugh?\\n", ], Array [ "extra", " $ npm install package\\n", ], Array [ "extra", " var package = require('package')(); // contains package.json data.\\n", ], Array [ "extra", " var yourAwesomeModule = {};\\n", ], Array [ "extra", " yourAwesomeModule.version = package.version;\\n", ], Array [ "extra", " Bug fixes and features are welcomed.\\n", ], Array [ "extra", " - pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero.\\n", ], Array [ "extra", " - JSON.parse + fs.readFile\\n", ], Array [ "extra", " MIT License\\n", ], Array [ "extra", " Copyright (C) 2011 Veselin Todorov\\n", ], Array [ "extra", " Permission is hereby granted, free of charge, to any person obtaining a copy of\\n", ], Array [ "extra", " this software and associated documentation files (the \\"Software\\"), to deal in\\n", ], Array [ "extra", " the Software without restriction, including without limitation the rights to\\n", ], Array [ "extra", " use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\\n", ], Array [ "extra", " of the Software, and to permit persons to whom the Software is furnished to do\\n", ], Array [ "extra", " so, subject to the following conditions:\\n", ], Array [ "extra", " The above copyright notice and this permission notice shall be included in all\\n", ], Array [ "extra", " copies or substantial portions of the Software.\\n", ], Array [ "extra", " THE SOFTWARE IS PROVIDED \\"AS IS\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\n", ], Array [ "extra", " IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\n", ], Array [ "extra", " FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\n", ], Array [ "extra", " AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\n", ], Array [ "extra", " LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\\n", ], Array [ "extra", " OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\\n", ], Array [ "extra", " SOFTWARE.\\n", ], Array [ "extra", " 1..0\\n", ], Array [ "assert", Result { "diag": Object { "arguments": Array [ "index.js", ], "command": "/usr/local/bin/iojs", "file": "index.js", "results": Object { "count": 1, "ok": false, "pass": 1, "plan": Object { "end": 1, "start": 1, }, }, "timeout": 30000, }, "fullname": "", "id": 1, "name": "index.js", "ok": false, "time": 201.609, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# failed 1 of 1 tests\\n", ], Array [ "comment", "# time=209.666ms\\n", ], Array [ "comment", "# failed 24 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 24, "failures": Array [ Object { "data": "This module provides an easy way to export package.json data.\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "It contains auto-discovery functionality, which means that it will\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "find your package.json file automatically. Cool, ugh?\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "Bug fixes and features are welcomed.\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "- pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero.\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "- JSON.parse + fs.readFile\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "MIT License\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "Copyright (C) 2011 Veselin Todorov\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "Permission is hereby granted, free of charge, to any person obtaining a copy of\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "this software and associated documentation files (the \\"Software\\"), to deal in\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "the Software without restriction, including without limitation the rights to\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "of the Software, and to permit persons to whom the Software is furnished to do\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "so, subject to the following conditions:\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "The above copyright notice and this permission notice shall be included in all\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "copies or substantial portions of the Software.\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "THE SOFTWARE IS PROVIDED \\"AS IS\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "SOFTWARE.\\n", "tapError": "Non-TAP data encountered in strict mode", }, Result { "diag": Object { "arguments": Array [ "index.js", ], "command": "/usr/local/bin/iojs", "file": "index.js", "results": Object { "count": 1, "ok": false, "pass": 1, "plan": Object { "end": 1, "start": 1, }, }, "timeout": 30000, }, "fullname": "", "id": 1, "name": "index.js", "ok": false, "time": 201.609, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 209.666, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP indented-stdout-noise.tap strict > stringified 1`] = ` TAP version 13 # Subtest: index.js # Subtest: boom # Subtest: npm install package line 1..0 # no tests found # failed 4 test 1..0 # no tests found # failed 5 test # package - Easy package.json exports. ## Intro ## Installation ## Usage ## Contribution ## Other similar modules ## License ok 1 - boom # time=5.26ms 1..1 # time=12.555ms # failed 24 test 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? $ npm install package var package = require('package')(); // contains package.json data. var yourAwesomeModule = {}; yourAwesomeModule.version = package.version; Bug fixes and features are welcomed. - pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero. - JSON.parse + fs.readFile 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 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 # failed 24 test ` exports[`test/parser-stringify.js TAP indented-stdout-noise.tap strict > stringified flat 1`] = ` TAP version 13 # Subtest: index.js # Subtest: boom # Subtest: npm install package line 1..0 # no tests found # failed 4 test 1..0 # no tests found # failed 5 test # package - Easy package.json exports. ## Intro ## Installation ## Usage ## Contribution ## Other similar modules ## License ok 1 - boom # time=5.26ms 1..1 # time=12.555ms # failed 24 test 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? $ npm install package var package = require('package')(); // contains package.json data. var yourAwesomeModule = {}; yourAwesomeModule.version = package.version; Bug fixes and features are welcomed. - pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero. - JSON.parse + fs.readFile 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 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 # failed 24 test ` exports[`test/parser-stringify.js TAP indented-stdout-noise.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: index.js\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: boom\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: npm install package line\\n", ], Array [ "plan", Object { "comment": "no tests found", "end": 0, "start": 1, }, ], Array [ "comment", "# failed 4 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 4, "failures": Array [ Object { "data": "$ npm install package\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "var package = require('package')(); // contains package.json data.\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "var yourAwesomeModule = {};\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "yourAwesomeModule.version = package.version;\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "no tests found", "end": 0, "skipAll": true, "skipReason": "no tests found", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "plan", Object { "comment": "no tests found", "end": 0, "start": 1, }, ], Array [ "comment", "# failed 5 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 5, "failures": Array [ Object { "data": "$ npm install package\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "var package = require('package')(); // contains package.json data.\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "var yourAwesomeModule = {};\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "yourAwesomeModule.version = package.version;\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "1..0\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "no tests found", "end": 0, "skipAll": true, "skipReason": "no tests found", "start": 1, }, "skip": 0, "time": 5.26, "todo": 0, }, ], ], ], Array [ "comment", "# package - Easy package.json exports.\\n", ], Array [ "comment", "## Intro\\n", ], Array [ "comment", "## Installation\\n", ], Array [ "comment", "## Usage\\n", ], Array [ "comment", "## Contribution\\n", ], Array [ "comment", "## Other similar modules\\n", ], Array [ "comment", "## License\\n", ], Array [ "assert", Result { "fullname": "index.js", "id": 1, "name": "boom", "ok": true, "time": 5.26, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# time=12.555ms\\n", ], Array [ "comment", "# failed 24 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 24, "failures": Array [ Object { "data": "This module provides an easy way to export package.json data.\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "It contains auto-discovery functionality, which means that it will\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "find your package.json file automatically. Cool, ugh?\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "Bug fixes and features are welcomed.\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "- pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero.\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "- JSON.parse + fs.readFile\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "MIT License\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "Copyright (C) 2011 Veselin Todorov\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "Permission is hereby granted, free of charge, to any person obtaining a copy of\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "this software and associated documentation files (the \\"Software\\"), to deal in\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "the Software without restriction, including without limitation the rights to\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "of the Software, and to permit persons to whom the Software is furnished to do\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "so, subject to the following conditions:\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "The above copyright notice and this permission notice shall be included in all\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "copies or substantial portions of the Software.\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "THE SOFTWARE IS PROVIDED \\"AS IS\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "SOFTWARE.\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "1..0\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 201.609, "todo": 0, }, ], ], ], Array [ "extra", " This module provides an easy way to export package.json data.\\n", ], Array [ "extra", " It contains auto-discovery functionality, which means that it will\\n", ], Array [ "extra", " find your package.json file automatically. Cool, ugh?\\n", ], Array [ "extra", " $ npm install package\\n", ], Array [ "extra", " var package = require('package')(); // contains package.json data.\\n", ], Array [ "extra", " var yourAwesomeModule = {};\\n", ], Array [ "extra", " yourAwesomeModule.version = package.version;\\n", ], Array [ "extra", " Bug fixes and features are welcomed.\\n", ], Array [ "extra", " - pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero.\\n", ], Array [ "extra", " - JSON.parse + fs.readFile\\n", ], Array [ "extra", " MIT License\\n", ], Array [ "extra", " Copyright (C) 2011 Veselin Todorov\\n", ], Array [ "extra", " Permission is hereby granted, free of charge, to any person obtaining a copy of\\n", ], Array [ "extra", " this software and associated documentation files (the \\"Software\\"), to deal in\\n", ], Array [ "extra", " the Software without restriction, including without limitation the rights to\\n", ], Array [ "extra", " use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\\n", ], Array [ "extra", " of the Software, and to permit persons to whom the Software is furnished to do\\n", ], Array [ "extra", " so, subject to the following conditions:\\n", ], Array [ "extra", " The above copyright notice and this permission notice shall be included in all\\n", ], Array [ "extra", " copies or substantial portions of the Software.\\n", ], Array [ "extra", " THE SOFTWARE IS PROVIDED \\"AS IS\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\n", ], Array [ "extra", " IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\n", ], Array [ "extra", " FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\n", ], Array [ "extra", " AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\n", ], Array [ "extra", " LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\\n", ], Array [ "extra", " OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\\n", ], Array [ "extra", " SOFTWARE.\\n", ], Array [ "extra", " 1..0\\n", ], Array [ "assert", Result { "diag": Object { "arguments": Array [ "index.js", ], "command": "/usr/local/bin/iojs", "file": "index.js", "results": Object { "count": 1, "ok": false, "pass": 1, "plan": Object { "end": 1, "start": 1, }, }, "timeout": 30000, }, "fullname": "", "id": 1, "name": "index.js", "ok": false, "time": 201.609, }, ], Array [ "bailout", "index.js", ], Array [ "complete", FinalResults { "bailout": "index.js", "count": 1, "fail": 24, "failures": Array [ Object { "data": "This module provides an easy way to export package.json data.\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "It contains auto-discovery functionality, which means that it will\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "find your package.json file automatically. Cool, ugh?\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "Bug fixes and features are welcomed.\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "- pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero.\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "- JSON.parse + fs.readFile\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "MIT License\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "Copyright (C) 2011 Veselin Todorov\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "Permission is hereby granted, free of charge, to any person obtaining a copy of\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "this software and associated documentation files (the \\"Software\\"), to deal in\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "the Software without restriction, including without limitation the rights to\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "of the Software, and to permit persons to whom the Software is furnished to do\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "so, subject to the following conditions:\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "The above copyright notice and this permission notice shall be included in all\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "copies or substantial portions of the Software.\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "THE SOFTWARE IS PROVIDED \\"AS IS\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "SOFTWARE.\\n", "tapError": "Non-TAP data encountered in strict mode", }, Result { "diag": Object { "arguments": Array [ "index.js", ], "command": "/usr/local/bin/iojs", "file": "index.js", "results": Object { "count": 1, "ok": false, "pass": 1, "plan": Object { "end": 1, "start": 1, }, }, "timeout": 30000, }, "fullname": "", "id": 1, "name": "index.js", "ok": false, "time": 201.609, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP indented-stdout-noise.tap strictBail > stringified 1`] = ` TAP version 13 # Subtest: index.js # Subtest: boom # Subtest: npm install package line 1..0 # no tests found # failed 4 test 1..0 # no tests found # failed 5 test # package - Easy package.json exports. ## Intro ## Installation ## Usage ## Contribution ## Other similar modules ## License ok 1 - boom # time=5.26ms 1..1 # time=12.555ms # failed 24 test 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? $ npm install package var package = require('package')(); // contains package.json data. var yourAwesomeModule = {}; yourAwesomeModule.version = package.version; Bug fixes and features are welcomed. - pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero. - JSON.parse + fs.readFile 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 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 ... Bail out! index.js ` exports[`test/parser-stringify.js TAP indented-stdout-noise.tap strictBail > stringified flat 1`] = ` TAP version 13 # Subtest: index.js # Subtest: boom # Subtest: npm install package line 1..0 # no tests found # failed 4 test 1..0 # no tests found # failed 5 test # package - Easy package.json exports. ## Intro ## Installation ## Usage ## Contribution ## Other similar modules ## License ok 1 - boom # time=5.26ms 1..1 # time=12.555ms # failed 24 test 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? $ npm install package var package = require('package')(); // contains package.json data. var yourAwesomeModule = {}; yourAwesomeModule.version = package.version; Bug fixes and features are welcomed. - pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero. - JSON.parse + fs.readFile 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 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 ... Bail out! index.js ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/junk_before_plan.tap.test.cjs000066400000000000000000000115501433324523500305170ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP junk_before_plan.tap bail > parsed 1`] = ` Array [ Array [ "extra", "this is junk\\n", ], Array [ "comment", "# this is a comment\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP junk_before_plan.tap bail > stringified 1`] = ` this is junk # this is a comment 1..1 ok 1 ` exports[`test/parser-stringify.js TAP junk_before_plan.tap bail > stringified flat 1`] = ` this is junk # this is a comment 1..1 ok 1 ` exports[`test/parser-stringify.js TAP junk_before_plan.tap default settings > parsed 1`] = ` Array [ Array [ "extra", "this is junk\\n", ], Array [ "comment", "# this is a comment\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP junk_before_plan.tap default settings > stringified 1`] = ` this is junk # this is a comment 1..1 ok 1 ` exports[`test/parser-stringify.js TAP junk_before_plan.tap default settings > stringified flat 1`] = ` this is junk # this is a comment 1..1 ok 1 ` exports[`test/parser-stringify.js TAP junk_before_plan.tap strict > parsed 1`] = ` Array [ Array [ "extra", "this is junk\\n", ], Array [ "comment", "# this is a comment\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Object { "data": "this is junk\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP junk_before_plan.tap strict > stringified 1`] = ` this is junk # this is a comment 1..1 ok 1 # failed 1 test ` exports[`test/parser-stringify.js TAP junk_before_plan.tap strict > stringified flat 1`] = ` this is junk # this is a comment 1..1 ok 1 # failed 1 test ` exports[`test/parser-stringify.js TAP junk_before_plan.tap strictBail > parsed 1`] = ` Array [ Array [ "extra", "this is junk\\n", ], Array [ "comment", "# this is a comment\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Object { "data": "this is junk\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP junk_before_plan.tap strictBail > stringified 1`] = ` this is junk # this is a comment 1..1 ok 1 # failed 1 test ` exports[`test/parser-stringify.js TAP junk_before_plan.tap strictBail > stringified flat 1`] = ` this is junk # this is a comment 1..1 ok 1 # failed 1 test ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/line-break.tap.test.cjs000066400000000000000000000511241433324523500272260ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP line-break.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: foo\\n", ], Array [ "assert", Result { "diag": Object { "found": Array [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy", ], "wanted": Array [ String( xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy ), ], }, "fullname": "foo", "id": 1, "name": "should be equivalent", "ok": false, }, ], Array [ "bailout", "should be equivalent", ], Array [ "complete", FinalResults { "bailout": "should be equivalent", "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "found": Array [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy", ], "wanted": Array [ String( xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy ), ], }, "fullname": "foo", "id": 1, "name": "should be equivalent", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "bailout", "should be equivalent", ], Array [ "complete", FinalResults { "bailout": "should be equivalent", "count": 0, "fail": 0, "failures": Array [], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP line-break.tap bail > stringified 1`] = ` TAP version 13 # Subtest: foo not ok 1 - should be equivalent --- found: - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy wanted: - >- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy ... Bail out! should be equivalent Bail out! should be equivalent ` exports[`test/parser-stringify.js TAP line-break.tap bail > stringified flat 1`] = ` TAP version 13 # Subtest: foo not ok 1 - should be equivalent --- found: - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy wanted: - >- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy ... Bail out! should be equivalent Bail out! should be equivalent ` exports[`test/parser-stringify.js TAP line-break.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: foo\\n", ], Array [ "assert", Result { "diag": Object { "found": Array [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy", ], "wanted": Array [ String( xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy ), ], }, "fullname": "foo", "id": 1, "name": "should be equivalent", "ok": false, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# failed 1 of 1 tests\\n", ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "found": Array [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy", ], "wanted": Array [ String( xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy ), ], }, "fullname": "foo", "id": 1, "name": "should be equivalent", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 13.457, "todo": 0, }, ], ], ], Array [ "assert", Result { "diag": Object { "results": Object { "count": 1, "fail": 1, "ok": false, "pass": 0, "plan": Object { "end": 1, "start": 1, }, "time": 13.457, }, }, "fullname": "", "id": 1, "name": "foo", "ok": false, "time": 13.457, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# failed 1 of 1 tests\\n", ], Array [ "comment", "# time=22.566ms\\n", ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "results": Object { "count": 1, "fail": 1, "ok": false, "pass": 0, "plan": Object { "end": 1, "start": 1, }, "time": 13.457, }, }, "fullname": "", "id": 1, "name": "foo", "ok": false, "time": 13.457, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 22.566, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP line-break.tap default settings > stringified 1`] = ` TAP version 13 # Subtest: foo not ok 1 - should be equivalent --- found: - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy wanted: - >- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy ... 1..1 # failed 1 of 1 tests # failed 1 test 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 # failed 1 test ` exports[`test/parser-stringify.js TAP line-break.tap default settings > stringified flat 1`] = ` TAP version 13 # Subtest: foo not ok 1 - should be equivalent --- found: - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy wanted: - >- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy ... 1..1 # failed 1 of 1 tests # failed 1 test 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 # failed 1 test ` exports[`test/parser-stringify.js TAP line-break.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: foo\\n", ], Array [ "assert", Result { "diag": Object { "found": Array [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy", ], "wanted": Array [ String( xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy ), ], }, "fullname": "foo", "id": 1, "name": "should be equivalent", "ok": false, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# failed 1 of 1 tests\\n", ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "found": Array [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy", ], "wanted": Array [ String( xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy ), ], }, "fullname": "foo", "id": 1, "name": "should be equivalent", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 13.457, "todo": 0, }, ], ], ], Array [ "assert", Result { "diag": Object { "results": Object { "count": 1, "fail": 1, "ok": false, "pass": 0, "plan": Object { "end": 1, "start": 1, }, "time": 13.457, }, }, "fullname": "", "id": 1, "name": "foo", "ok": false, "time": 13.457, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# failed 1 of 1 tests\\n", ], Array [ "comment", "# time=22.566ms\\n", ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "results": Object { "count": 1, "fail": 1, "ok": false, "pass": 0, "plan": Object { "end": 1, "start": 1, }, "time": 13.457, }, }, "fullname": "", "id": 1, "name": "foo", "ok": false, "time": 13.457, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 22.566, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP line-break.tap strict > stringified 1`] = ` TAP version 13 # Subtest: foo not ok 1 - should be equivalent --- found: - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy wanted: - >- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy ... 1..1 # failed 1 of 1 tests # failed 1 test 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 # failed 1 test ` exports[`test/parser-stringify.js TAP line-break.tap strict > stringified flat 1`] = ` TAP version 13 # Subtest: foo not ok 1 - should be equivalent --- found: - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy wanted: - >- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy ... 1..1 # failed 1 of 1 tests # failed 1 test 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 # failed 1 test ` exports[`test/parser-stringify.js TAP line-break.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: foo\\n", ], Array [ "assert", Result { "diag": Object { "found": Array [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy", ], "wanted": Array [ String( xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy ), ], }, "fullname": "foo", "id": 1, "name": "should be equivalent", "ok": false, }, ], Array [ "bailout", "should be equivalent", ], Array [ "complete", FinalResults { "bailout": "should be equivalent", "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "found": Array [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy", ], "wanted": Array [ String( xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy ), ], }, "fullname": "foo", "id": 1, "name": "should be equivalent", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "bailout", "should be equivalent", ], Array [ "complete", FinalResults { "bailout": "should be equivalent", "count": 0, "fail": 0, "failures": Array [], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP line-break.tap strictBail > stringified 1`] = ` TAP version 13 # Subtest: foo not ok 1 - should be equivalent --- found: - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy wanted: - >- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy ... Bail out! should be equivalent Bail out! should be equivalent ` exports[`test/parser-stringify.js TAP line-break.tap strictBail > stringified flat 1`] = ` TAP version 13 # Subtest: foo not ok 1 - should be equivalent --- found: - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy wanted: - >- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy ... Bail out! should be equivalent Bail out! should be equivalent ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/lone_not_bug.tap.test.cjs000066400000000000000000000120101433324523500276560ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP lone_not_bug.tap bail > parsed 1`] = ` Array [ Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP lone_not_bug.tap bail > stringified 1`] = ` ok 1 ok 2 ok 3 ok 4 1..4 ` exports[`test/parser-stringify.js TAP lone_not_bug.tap bail > stringified flat 1`] = ` ok 1 ok 2 ok 3 ok 4 1..4 ` exports[`test/parser-stringify.js TAP lone_not_bug.tap default settings > parsed 1`] = ` Array [ Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP lone_not_bug.tap default settings > stringified 1`] = ` ok 1 ok 2 ok 3 ok 4 1..4 ` exports[`test/parser-stringify.js TAP lone_not_bug.tap default settings > stringified flat 1`] = ` ok 1 ok 2 ok 3 ok 4 1..4 ` exports[`test/parser-stringify.js TAP lone_not_bug.tap strict > parsed 1`] = ` Array [ Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP lone_not_bug.tap strict > stringified 1`] = ` ok 1 ok 2 ok 3 ok 4 1..4 ` exports[`test/parser-stringify.js TAP lone_not_bug.tap strict > stringified flat 1`] = ` ok 1 ok 2 ok 3 ok 4 1..4 ` exports[`test/parser-stringify.js TAP lone_not_bug.tap strictBail > parsed 1`] = ` Array [ Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP lone_not_bug.tap strictBail > stringified 1`] = ` ok 1 ok 2 ok 3 ok 4 1..4 ` exports[`test/parser-stringify.js TAP lone_not_bug.tap strictBail > stringified flat 1`] = ` ok 1 ok 2 ok 3 ok 4 1..4 ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/mismatched-child-assert.tap.test.cjs000066400000000000000000000203001433324523500317030ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP mismatched-child-assert.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: some child\\n", ], Array [ "assert", Result { "fullname": "some child", "id": 1, "name": "this is fine", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "different name", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP mismatched-child-assert.tap bail > stringified 1`] = ` TAP version 13 # Subtest: some child ok 1 - this is fine 1..1 ok 1 - different name 1..1 ` exports[`test/parser-stringify.js TAP mismatched-child-assert.tap bail > stringified flat 1`] = ` TAP version 13 # Subtest: some child ok 1 - this is fine 1..1 ok 1 - different name 1..1 ` exports[`test/parser-stringify.js TAP mismatched-child-assert.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: some child\\n", ], Array [ "assert", Result { "fullname": "some child", "id": 1, "name": "this is fine", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "different name", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP mismatched-child-assert.tap default settings > stringified 1`] = ` TAP version 13 # Subtest: some child ok 1 - this is fine 1..1 ok 1 - different name 1..1 ` exports[`test/parser-stringify.js TAP mismatched-child-assert.tap default settings > stringified flat 1`] = ` TAP version 13 # Subtest: some child ok 1 - this is fine 1..1 ok 1 - different name 1..1 ` exports[`test/parser-stringify.js TAP mismatched-child-assert.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: some child\\n", ], Array [ "assert", Result { "fullname": "some child", "id": 1, "name": "this is fine", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "different name", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP mismatched-child-assert.tap strict > stringified 1`] = ` TAP version 13 # Subtest: some child ok 1 - this is fine 1..1 ok 1 - different name 1..1 ` exports[`test/parser-stringify.js TAP mismatched-child-assert.tap strict > stringified flat 1`] = ` TAP version 13 # Subtest: some child ok 1 - this is fine 1..1 ok 1 - different name 1..1 ` exports[`test/parser-stringify.js TAP mismatched-child-assert.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: some child\\n", ], Array [ "assert", Result { "fullname": "some child", "id": 1, "name": "this is fine", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "different name", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP mismatched-child-assert.tap strictBail > stringified 1`] = ` TAP version 13 # Subtest: some child ok 1 - this is fine 1..1 ok 1 - different name 1..1 ` exports[`test/parser-stringify.js TAP mismatched-child-assert.tap strictBail > stringified flat 1`] = ` TAP version 13 # Subtest: some child ok 1 - this is fine 1..1 ok 1 - different name 1..1 ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/missing.tap.test.cjs000066400000000000000000000150201433324523500266610ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP missing.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 6, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "comment", "# test count(5) != plan(6)\\n", ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Object { "tapError": "incorrect number of tests", }, ], "ok": false, "pass": 5, "plan": FinalPlan { "comment": "", "end": 6, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP missing.tap bail > stringified 1`] = ` TAP version 13 1..6 ok ok ok ok ok # test count(5) != plan(6) # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP missing.tap bail > stringified flat 1`] = ` TAP version 13 1..6 ok ok ok ok ok # test count(5) != plan(6) # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP missing.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 6, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "comment", "# test count(5) != plan(6)\\n", ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Object { "tapError": "incorrect number of tests", }, ], "ok": false, "pass": 5, "plan": FinalPlan { "comment": "", "end": 6, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP missing.tap default settings > stringified 1`] = ` TAP version 13 1..6 ok ok ok ok ok # test count(5) != plan(6) # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP missing.tap default settings > stringified flat 1`] = ` TAP version 13 1..6 ok ok ok ok ok # test count(5) != plan(6) # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP missing.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 6, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "comment", "# test count(5) != plan(6)\\n", ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Object { "tapError": "incorrect number of tests", }, ], "ok": false, "pass": 5, "plan": FinalPlan { "comment": "", "end": 6, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP missing.tap strict > stringified 1`] = ` TAP version 13 1..6 ok ok ok ok ok # test count(5) != plan(6) # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP missing.tap strict > stringified flat 1`] = ` TAP version 13 1..6 ok ok ok ok ok # test count(5) != plan(6) # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP missing.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 6, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "comment", "# test count(5) != plan(6)\\n", ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Object { "tapError": "incorrect number of tests", }, ], "ok": false, "pass": 5, "plan": FinalPlan { "comment": "", "end": 6, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP missing.tap strictBail > stringified 1`] = ` TAP version 13 1..6 ok ok ok ok ok # test count(5) != plan(6) # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP missing.tap strictBail > stringified flat 1`] = ` TAP version 13 1..6 ok ok ok ok ok # test count(5) != plan(6) # failed 1 of 5 tests ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/no-numbers.tap.test.cjs000066400000000000000000000133461433324523500273060ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP no-numbers.tap bail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "name": "we are good", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "we are bad", "ok": false, }, ], Array [ "bailout", "we are bad", ], Array [ "complete", FinalResults { "bailout": "we are bad", "count": 2, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 2, "name": "we are bad", "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP no-numbers.tap bail > stringified 1`] = ` 1..3 ok - we are good not ok 2 - we are bad Bail out! we are bad ` exports[`test/parser-stringify.js TAP no-numbers.tap bail > stringified flat 1`] = ` 1..3 ok - we are good not ok 2 - we are bad Bail out! we are bad ` exports[`test/parser-stringify.js TAP no-numbers.tap default settings > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "name": "we are good", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "we are bad", "ok": false, }, ], Array [ "assert", Result { "fullname": "", "name": "we are zesty!", "ok": true, }, ], Array [ "comment", "# failed 1 of 3 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 2, "name": "we are bad", "ok": false, }, ], "ok": false, "pass": 2, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP no-numbers.tap default settings > stringified 1`] = ` 1..3 ok - we are good not ok 2 - we are bad ok - we are zesty! # failed 1 of 3 tests ` exports[`test/parser-stringify.js TAP no-numbers.tap default settings > stringified flat 1`] = ` 1..3 ok - we are good not ok 2 - we are bad ok - we are zesty! # failed 1 of 3 tests ` exports[`test/parser-stringify.js TAP no-numbers.tap strict > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "name": "we are good", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "we are bad", "ok": false, }, ], Array [ "assert", Result { "fullname": "", "name": "we are zesty!", "ok": true, }, ], Array [ "comment", "# failed 1 of 3 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 2, "name": "we are bad", "ok": false, }, ], "ok": false, "pass": 2, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP no-numbers.tap strict > stringified 1`] = ` 1..3 ok - we are good not ok 2 - we are bad ok - we are zesty! # failed 1 of 3 tests ` exports[`test/parser-stringify.js TAP no-numbers.tap strict > stringified flat 1`] = ` 1..3 ok - we are good not ok 2 - we are bad ok - we are zesty! # failed 1 of 3 tests ` exports[`test/parser-stringify.js TAP no-numbers.tap strictBail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "name": "we are good", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "we are bad", "ok": false, }, ], Array [ "bailout", "we are bad", ], Array [ "complete", FinalResults { "bailout": "we are bad", "count": 2, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 2, "name": "we are bad", "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP no-numbers.tap strictBail > stringified 1`] = ` 1..3 ok - we are good not ok 2 - we are bad Bail out! we are bad ` exports[`test/parser-stringify.js TAP no-numbers.tap strictBail > stringified flat 1`] = ` 1..3 ok - we are good not ok 2 - we are bad Bail out! we are bad ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/no-plan.tap.test.cjs000066400000000000000000000174541433324523500265710ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP no-plan.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# before 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# before 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "comment", "# test count(4) != plan(null)\\n", ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Object { "tapError": "no plan", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP no-plan.tap bail > stringified 1`] = ` TAP 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) # test count(4) != plan(null) # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP no-plan.tap bail > stringified flat 1`] = ` TAP 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) # test count(4) != plan(null) # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP no-plan.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# before 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# before 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "comment", "# test count(4) != plan(null)\\n", ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Object { "tapError": "no plan", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP no-plan.tap default settings > stringified 1`] = ` TAP 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) # test count(4) != plan(null) # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP no-plan.tap default settings > stringified flat 1`] = ` TAP 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) # test count(4) != plan(null) # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP no-plan.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# before 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# before 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "comment", "# test count(4) != plan(null)\\n", ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Object { "tapError": "no plan", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP no-plan.tap strict > stringified 1`] = ` TAP 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) # test count(4) != plan(null) # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP no-plan.tap strict > stringified flat 1`] = ` TAP 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) # test count(4) != plan(null) # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP no-plan.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# before 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# before 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "comment", "# test count(4) != plan(null)\\n", ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Object { "tapError": "no plan", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP no-plan.tap strictBail > stringified 1`] = ` TAP 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) # test count(4) != plan(null) # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP no-plan.tap strictBail > stringified flat 1`] = ` TAP 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) # test count(4) != plan(null) # failed 1 of 4 tests ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/no_nums.tap.test.cjs000066400000000000000000000125321433324523500266730ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP no_nums.tap bail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": false, }, ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 3, "fail": 1, "failures": Array [ Result { "fullname": "", "ok": false, }, ], "ok": false, "pass": 2, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP no_nums.tap bail > stringified 1`] = ` 1..5 ok ok not ok Bail out! ` exports[`test/parser-stringify.js TAP no_nums.tap bail > stringified flat 1`] = ` 1..5 ok ok not ok Bail out! ` exports[`test/parser-stringify.js TAP no_nums.tap default settings > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": false, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Result { "fullname": "", "ok": false, }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP no_nums.tap default settings > stringified 1`] = ` 1..5 ok ok not ok ok ok # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP no_nums.tap default settings > stringified flat 1`] = ` 1..5 ok ok not ok ok ok # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP no_nums.tap strict > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": false, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Result { "fullname": "", "ok": false, }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP no_nums.tap strict > stringified 1`] = ` 1..5 ok ok not ok ok ok # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP no_nums.tap strict > stringified flat 1`] = ` 1..5 ok ok not ok ok ok # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP no_nums.tap strictBail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": false, }, ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 3, "fail": 1, "failures": Array [ Result { "fullname": "", "ok": false, }, ], "ok": false, "pass": 2, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP no_nums.tap strictBail > stringified 1`] = ` 1..5 ok ok not ok Bail out! ` exports[`test/parser-stringify.js TAP no_nums.tap strictBail > stringified flat 1`] = ` 1..5 ok ok not ok Bail out! ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/not-enough.tap.test.cjs000066400000000000000000000217241433324523500273030ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP not-enough.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# before 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# before 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "comment", "# test count(4) != plan(5)\\n", ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Object { "tapError": "incorrect number of tests", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP not-enough.tap bail > stringified 1`] = ` TAP 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 # test count(4) != plan(5) # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP not-enough.tap bail > stringified flat 1`] = ` TAP 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 # test count(4) != plan(5) # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP not-enough.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# before 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# before 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "comment", "# test count(4) != plan(5)\\n", ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Object { "tapError": "incorrect number of tests", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP not-enough.tap default settings > stringified 1`] = ` TAP 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 # test count(4) != plan(5) # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP not-enough.tap default settings > stringified flat 1`] = ` TAP 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 # test count(4) != plan(5) # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP not-enough.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# before 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# before 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "comment", "# test count(4) != plan(5)\\n", ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Object { "tapError": "incorrect number of tests", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP not-enough.tap strict > stringified 1`] = ` TAP 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 # test count(4) != plan(5) # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP not-enough.tap strict > stringified flat 1`] = ` TAP 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 # test count(4) != plan(5) # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP not-enough.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# before 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# before 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "comment", "# test count(4) != plan(5)\\n", ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Object { "tapError": "incorrect number of tests", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP not-enough.tap strictBail > stringified 1`] = ` TAP 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 # test count(4) != plan(5) # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP not-enough.tap strictBail > stringified flat 1`] = ` TAP 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 # test count(4) != plan(5) # failed 1 of 4 tests ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/not-ok-todo.tap.test.cjs000066400000000000000000000203641433324523500273710ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP not-ok-todo.tap bail > parsed 1`] = ` Array [ Array [ "comment", "# TAP emitted by Test::More 0.98\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": false, "todo": "but we will fix it later", }, ], Array [ "comment", "# boop\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "comment", "# Looks like you failed 1 test of 4.\\n", ], Array [ "comment", "# todo: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 1, }, ], ] ` exports[`test/parser-stringify.js TAP not-ok-todo.tap bail > stringified 1`] = ` # 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. # todo: 1 ` exports[`test/parser-stringify.js TAP not-ok-todo.tap bail > stringified flat 1`] = ` # 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. # todo: 1 ` exports[`test/parser-stringify.js TAP not-ok-todo.tap default settings > parsed 1`] = ` Array [ Array [ "comment", "# TAP emitted by Test::More 0.98\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": false, "todo": "but we will fix it later", }, ], Array [ "comment", "# boop\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "comment", "# Looks like you failed 1 test of 4.\\n", ], Array [ "comment", "# todo: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 1, }, ], ] ` exports[`test/parser-stringify.js TAP not-ok-todo.tap default settings > stringified 1`] = ` # 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. # todo: 1 ` exports[`test/parser-stringify.js TAP not-ok-todo.tap default settings > stringified flat 1`] = ` # 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. # todo: 1 ` exports[`test/parser-stringify.js TAP not-ok-todo.tap strict > parsed 1`] = ` Array [ Array [ "comment", "# TAP emitted by Test::More 0.98\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": false, "todo": "but we will fix it later", }, ], Array [ "comment", "# boop\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "comment", "# Looks like you failed 1 test of 4.\\n", ], Array [ "comment", "# todo: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 1, }, ], ] ` exports[`test/parser-stringify.js TAP not-ok-todo.tap strict > stringified 1`] = ` # 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. # todo: 1 ` exports[`test/parser-stringify.js TAP not-ok-todo.tap strict > stringified flat 1`] = ` # 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. # todo: 1 ` exports[`test/parser-stringify.js TAP not-ok-todo.tap strictBail > parsed 1`] = ` Array [ Array [ "comment", "# TAP emitted by Test::More 0.98\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": false, "todo": "but we will fix it later", }, ], Array [ "comment", "# boop\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "comment", "# Looks like you failed 1 test of 4.\\n", ], Array [ "comment", "# todo: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 1, }, ], ] ` exports[`test/parser-stringify.js TAP not-ok-todo.tap strictBail > stringified 1`] = ` # 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. # todo: 1 ` exports[`test/parser-stringify.js TAP not-ok-todo.tap strictBail > stringified flat 1`] = ` # 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. # todo: 1 ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/not-ok-with-trailing-comment.tap.test.cjs000066400000000000000000000173021433324523500326440ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP not-ok-with-trailing-comment.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# beep\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": false, }, ], Array [ "comment", "# boop\\n", ], Array [ "bailout", "should be equivalent", ], Array [ "complete", FinalResults { "bailout": "should be equivalent", "count": 2, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP not-ok-with-trailing-comment.tap bail > stringified 1`] = ` TAP version 13 # beep ok 1 - should be equal not ok 2 - should be equivalent # boop Bail out! should be equivalent ` exports[`test/parser-stringify.js TAP not-ok-with-trailing-comment.tap bail > stringified flat 1`] = ` TAP version 13 # beep ok 1 - should be equal not ok 2 - should be equivalent # boop Bail out! should be equivalent ` exports[`test/parser-stringify.js TAP not-ok-with-trailing-comment.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# beep\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": false, }, ], Array [ "comment", "# boop\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# fail 1\\n", ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": false, }, ], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP not-ok-with-trailing-comment.tap default settings > stringified 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP not-ok-with-trailing-comment.tap default settings > stringified flat 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP not-ok-with-trailing-comment.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# beep\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": false, }, ], Array [ "comment", "# boop\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# fail 1\\n", ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": false, }, ], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP not-ok-with-trailing-comment.tap strict > stringified 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP not-ok-with-trailing-comment.tap strict > stringified flat 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP not-ok-with-trailing-comment.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# beep\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": false, }, ], Array [ "comment", "# boop\\n", ], Array [ "bailout", "should be equivalent", ], Array [ "complete", FinalResults { "bailout": "should be equivalent", "count": 2, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP not-ok-with-trailing-comment.tap strictBail > stringified 1`] = ` TAP version 13 # beep ok 1 - should be equal not ok 2 - should be equivalent # boop Bail out! should be equivalent ` exports[`test/parser-stringify.js TAP not-ok-with-trailing-comment.tap strictBail > stringified flat 1`] = ` TAP version 13 # beep ok 1 - should be equal not ok 2 - should be equivalent # boop Bail out! should be equivalent ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/not-ok.tap.test.cjs000066400000000000000000000166721433324523500264350ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP not-ok.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# beep\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": false, }, ], Array [ "comment", "# boop\\n", ], Array [ "bailout", "should be equivalent", ], Array [ "complete", FinalResults { "bailout": "should be equivalent", "count": 2, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP not-ok.tap bail > stringified 1`] = ` TAP version 13 # beep ok 1 - should be equal not ok 2 - should be equivalent # boop Bail out! should be equivalent ` exports[`test/parser-stringify.js TAP not-ok.tap bail > stringified flat 1`] = ` TAP version 13 # beep ok 1 - should be equal not ok 2 - should be equivalent # boop Bail out! should be equivalent ` exports[`test/parser-stringify.js TAP not-ok.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# beep\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": false, }, ], Array [ "comment", "# boop\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# fail 1\\n", ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": false, }, ], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP not-ok.tap default settings > stringified 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP not-ok.tap default settings > stringified flat 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP not-ok.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# beep\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": false, }, ], Array [ "comment", "# boop\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# fail 1\\n", ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": false, }, ], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP not-ok.tap strict > stringified 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP not-ok.tap strict > stringified flat 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP not-ok.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# beep\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": false, }, ], Array [ "comment", "# boop\\n", ], Array [ "bailout", "should be equivalent", ], Array [ "complete", FinalResults { "bailout": "should be equivalent", "count": 2, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP not-ok.tap strictBail > stringified 1`] = ` TAP version 13 # beep ok 1 - should be equal not ok 2 - should be equivalent # boop Bail out! should be equivalent ` exports[`test/parser-stringify.js TAP not-ok.tap strictBail > stringified flat 1`] = ` TAP version 13 # beep ok 1 - should be equal not ok 2 - should be equivalent # boop Bail out! should be equivalent ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/offset-mismatch.tap.test.cjs000066400000000000000000000343101433324523500303040ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP offset-mismatch.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# beep\\n", ], Array [ "assert", Result { "fullname": "", "id": 8, "name": "should be equal", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "comment", "# boop\\n", ], Array [ "assert", Result { "fullname": "", "id": 10, "name": "should be equal", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 11, "name": "(unnamed assert)", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "comment", "# failed 4 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 4, "failures": Array [ Result { "fullname": "", "id": 8, "name": "should be equal", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 10, "name": "should be equal", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 11, "name": "(unnamed assert)", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP offset-mismatch.tap bail > stringified 1`] = ` TAP 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 # failed 4 of 4 tests ` exports[`test/parser-stringify.js TAP offset-mismatch.tap bail > stringified flat 1`] = ` TAP 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 # failed 4 of 4 tests ` exports[`test/parser-stringify.js TAP offset-mismatch.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# beep\\n", ], Array [ "assert", Result { "fullname": "", "id": 8, "name": "should be equal", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "comment", "# boop\\n", ], Array [ "assert", Result { "fullname": "", "id": 10, "name": "should be equal", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 11, "name": "(unnamed assert)", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "comment", "# failed 4 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 4, "failures": Array [ Result { "fullname": "", "id": 8, "name": "should be equal", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 10, "name": "should be equal", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 11, "name": "(unnamed assert)", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP offset-mismatch.tap default settings > stringified 1`] = ` TAP 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 # failed 4 of 4 tests ` exports[`test/parser-stringify.js TAP offset-mismatch.tap default settings > stringified flat 1`] = ` TAP 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 # failed 4 of 4 tests ` exports[`test/parser-stringify.js TAP offset-mismatch.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# beep\\n", ], Array [ "assert", Result { "fullname": "", "id": 8, "name": "should be equal", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "comment", "# boop\\n", ], Array [ "assert", Result { "fullname": "", "id": 10, "name": "should be equal", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 11, "name": "(unnamed assert)", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "comment", "# failed 4 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 4, "failures": Array [ Result { "fullname": "", "id": 8, "name": "should be equal", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 10, "name": "should be equal", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 11, "name": "(unnamed assert)", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP offset-mismatch.tap strict > stringified 1`] = ` TAP 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 # failed 4 of 4 tests ` exports[`test/parser-stringify.js TAP offset-mismatch.tap strict > stringified flat 1`] = ` TAP 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 # failed 4 of 4 tests ` exports[`test/parser-stringify.js TAP offset-mismatch.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# beep\\n", ], Array [ "assert", Result { "fullname": "", "id": 8, "name": "should be equal", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "comment", "# boop\\n", ], Array [ "assert", Result { "fullname": "", "id": 10, "name": "should be equal", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 11, "name": "(unnamed assert)", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "comment", "# failed 4 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 4, "failures": Array [ Result { "fullname": "", "id": 8, "name": "should be equal", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 10, "name": "should be equal", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 11, "name": "(unnamed assert)", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP offset-mismatch.tap strictBail > stringified 1`] = ` TAP 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 # failed 4 of 4 tests ` exports[`test/parser-stringify.js TAP offset-mismatch.tap strictBail > stringified flat 1`] = ` TAP 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 # failed 4 of 4 tests ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/offset.tap.test.cjs000066400000000000000000000201641433324523500265030ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP offset.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# beep\\n", ], Array [ "assert", Result { "fullname": "", "id": 8, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# boop\\n", ], Array [ "assert", Result { "fullname": "", "id": 10, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 11, "name": "(unnamed assert)", "ok": true, }, ], Array [ "plan", Object { "end": 11, "start": 8, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "comment", "# test count(4) != plan(11)\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 11, "skipAll": false, "skipReason": "", "start": 8, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP offset.tap bail > stringified 1`] = ` TAP 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 # test count(4) != plan(11) ` exports[`test/parser-stringify.js TAP offset.tap bail > stringified flat 1`] = ` TAP 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 # test count(4) != plan(11) ` exports[`test/parser-stringify.js TAP offset.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# beep\\n", ], Array [ "assert", Result { "fullname": "", "id": 8, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# boop\\n", ], Array [ "assert", Result { "fullname": "", "id": 10, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 11, "name": "(unnamed assert)", "ok": true, }, ], Array [ "plan", Object { "end": 11, "start": 8, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "comment", "# test count(4) != plan(11)\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 11, "skipAll": false, "skipReason": "", "start": 8, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP offset.tap default settings > stringified 1`] = ` TAP 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 # test count(4) != plan(11) ` exports[`test/parser-stringify.js TAP offset.tap default settings > stringified flat 1`] = ` TAP 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 # test count(4) != plan(11) ` exports[`test/parser-stringify.js TAP offset.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# beep\\n", ], Array [ "assert", Result { "fullname": "", "id": 8, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# boop\\n", ], Array [ "assert", Result { "fullname": "", "id": 10, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 11, "name": "(unnamed assert)", "ok": true, }, ], Array [ "plan", Object { "end": 11, "start": 8, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "comment", "# test count(4) != plan(11)\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 11, "skipAll": false, "skipReason": "", "start": 8, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP offset.tap strict > stringified 1`] = ` TAP 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 # test count(4) != plan(11) ` exports[`test/parser-stringify.js TAP offset.tap strict > stringified flat 1`] = ` TAP 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 # test count(4) != plan(11) ` exports[`test/parser-stringify.js TAP offset.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# beep\\n", ], Array [ "assert", Result { "fullname": "", "id": 8, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# boop\\n", ], Array [ "assert", Result { "fullname": "", "id": 10, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 11, "name": "(unnamed assert)", "ok": true, }, ], Array [ "plan", Object { "end": 11, "start": 8, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "comment", "# test count(4) != plan(11)\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 11, "skipAll": false, "skipReason": "", "start": 8, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP offset.tap strictBail > stringified 1`] = ` TAP 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 # test count(4) != plan(11) ` exports[`test/parser-stringify.js TAP offset.tap strictBail > stringified flat 1`] = ` TAP 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 # test count(4) != plan(11) ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/ok.tap.test.cjs000066400000000000000000000177701433324523500256370ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP ok.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# beep\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# boop\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "plan", Object { "comment": "just some plan comment", "end": 4, "start": 1, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "just some plan comment", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP ok.tap bail > stringified 1`] = ` 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 # just some plan comment # tests 4 # pass 4 # ok ` exports[`test/parser-stringify.js TAP ok.tap bail > stringified flat 1`] = ` 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 # just some plan comment # tests 4 # pass 4 # ok ` exports[`test/parser-stringify.js TAP ok.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# beep\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# boop\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "plan", Object { "comment": "just some plan comment", "end": 4, "start": 1, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "just some plan comment", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP ok.tap default settings > stringified 1`] = ` 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 # just some plan comment # tests 4 # pass 4 # ok ` exports[`test/parser-stringify.js TAP ok.tap default settings > stringified flat 1`] = ` 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 # just some plan comment # tests 4 # pass 4 # ok ` exports[`test/parser-stringify.js TAP ok.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# beep\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# boop\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "plan", Object { "comment": "just some plan comment", "end": 4, "start": 1, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "just some plan comment", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP ok.tap strict > stringified 1`] = ` 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 # just some plan comment # tests 4 # pass 4 # ok ` exports[`test/parser-stringify.js TAP ok.tap strict > stringified flat 1`] = ` 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 # just some plan comment # tests 4 # pass 4 # ok ` exports[`test/parser-stringify.js TAP ok.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# beep\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# boop\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "plan", Object { "comment": "just some plan comment", "end": 4, "start": 1, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "just some plan comment", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP ok.tap strictBail > stringified 1`] = ` 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 # just some plan comment # tests 4 # pass 4 # ok ` exports[`test/parser-stringify.js TAP ok.tap strictBail > stringified flat 1`] = ` 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 # just some plan comment # tests 4 # pass 4 # ok ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/one-ok.tap.test.cjs000066400000000000000000000075701433324523500264130ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP one-ok.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP one-ok.tap bail > stringified 1`] = ` TAP version 13 ok 1 1..1 ` exports[`test/parser-stringify.js TAP one-ok.tap bail > stringified flat 1`] = ` TAP version 13 ok 1 1..1 ` exports[`test/parser-stringify.js TAP one-ok.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP one-ok.tap default settings > stringified 1`] = ` TAP version 13 ok 1 1..1 ` exports[`test/parser-stringify.js TAP one-ok.tap default settings > stringified flat 1`] = ` TAP version 13 ok 1 1..1 ` exports[`test/parser-stringify.js TAP one-ok.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP one-ok.tap strict > stringified 1`] = ` TAP version 13 ok 1 1..1 ` exports[`test/parser-stringify.js TAP one-ok.tap strict > stringified flat 1`] = ` TAP version 13 ok 1 1..1 ` exports[`test/parser-stringify.js TAP one-ok.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP one-ok.tap strictBail > stringified 1`] = ` TAP version 13 ok 1 1..1 ` exports[`test/parser-stringify.js TAP one-ok.tap strictBail > stringified flat 1`] = ` TAP version 13 ok 1 1..1 ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/out-of-order.tap.test.cjs000066400000000000000000000172441433324523500275440ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP out-of-order.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# beep\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# boop\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP out-of-order.tap bail > stringified 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP out-of-order.tap bail > stringified flat 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP out-of-order.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# beep\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# boop\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP out-of-order.tap default settings > stringified 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP out-of-order.tap default settings > stringified flat 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP out-of-order.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# beep\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# boop\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP out-of-order.tap strict > stringified 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP out-of-order.tap strict > stringified flat 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP out-of-order.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# beep\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# boop\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP out-of-order.tap strictBail > stringified 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP out-of-order.tap strictBail > stringified flat 1`] = ` TAP 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-11.0.2/tap-snapshots/test/parser-stringify/out_err_mix.tap.test.cjs000066400000000000000000000112541433324523500275510ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP out_err_mix.tap bail > parsed 1`] = ` Array [ Array [ "extra", "one\\n", ], Array [ "extra", "three\\n", ], Array [ "plan", Object { "comment": "no tests found", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "no tests found", "end": 0, "skipAll": true, "skipReason": "no tests found", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP out_err_mix.tap bail > stringified 1`] = ` one three 1..0 # no tests found ` exports[`test/parser-stringify.js TAP out_err_mix.tap bail > stringified flat 1`] = ` one three 1..0 # no tests found ` exports[`test/parser-stringify.js TAP out_err_mix.tap default settings > parsed 1`] = ` Array [ Array [ "extra", "one\\n", ], Array [ "extra", "three\\n", ], Array [ "plan", Object { "comment": "no tests found", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "no tests found", "end": 0, "skipAll": true, "skipReason": "no tests found", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP out_err_mix.tap default settings > stringified 1`] = ` one three 1..0 # no tests found ` exports[`test/parser-stringify.js TAP out_err_mix.tap default settings > stringified flat 1`] = ` one three 1..0 # no tests found ` exports[`test/parser-stringify.js TAP out_err_mix.tap strict > parsed 1`] = ` Array [ Array [ "extra", "one\\n", ], Array [ "extra", "three\\n", ], Array [ "plan", Object { "comment": "no tests found", "end": 0, "start": 1, }, ], Array [ "comment", "# failed 2 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 2, "failures": Array [ Object { "data": "one\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "three\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "no tests found", "end": 0, "skipAll": true, "skipReason": "no tests found", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP out_err_mix.tap strict > stringified 1`] = ` one three 1..0 # no tests found # failed 2 test ` exports[`test/parser-stringify.js TAP out_err_mix.tap strict > stringified flat 1`] = ` one three 1..0 # no tests found # failed 2 test ` exports[`test/parser-stringify.js TAP out_err_mix.tap strictBail > parsed 1`] = ` Array [ Array [ "extra", "one\\n", ], Array [ "extra", "three\\n", ], Array [ "plan", Object { "comment": "no tests found", "end": 0, "start": 1, }, ], Array [ "comment", "# failed 2 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 2, "failures": Array [ Object { "data": "one\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "three\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "no tests found", "end": 0, "skipAll": true, "skipReason": "no tests found", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP out_err_mix.tap strictBail > stringified 1`] = ` one three 1..0 # no tests found # failed 2 test ` exports[`test/parser-stringify.js TAP out_err_mix.tap strictBail > stringified flat 1`] = ` one three 1..0 # no tests found # failed 2 test ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/out_of_order.tap.test.cjs000066400000000000000000000411001433324523500276740ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP out_of_order.tap bail > parsed 1`] = ` Array [ Array [ "assert", Result { "fullname": "", "id": 2, "name": "Test that argument passing works", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "Test that passing arguments as references work", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "Test a normal sub", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 6, "name": "Detach test", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 8, "name": "Nested thread test", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 9, "name": "Nested thread test", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 10, "name": "Wanted 7, got 7", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 11, "name": "Wanted 7, got 7", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 12, "name": "Wanted 8, got 8", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 13, "name": "Wanted 8, got 8", "ok": true, }, ], Array [ "plan", Object { "end": 15, "start": 1, }, ], Array [ "extra", "ok 1\\n", ], Array [ "extra", "ok 5 - Check that Config::threads is true\\n", ], Array [ "extra", "ok 7 - Detach test\\n", ], Array [ "extra", "ok 14 - Check so that tid for threads work for main thread\\n", ], Array [ "extra", "ok 15 - Check so that tid for threads work for main thread\\n", ], Array [ "comment", "# test count(10) != plan(15)\\n", ], Array [ "comment", "# failed 1 of 10 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 10, "fail": 1, "failures": Array [ Object { "tapError": "incorrect number of tests", }, ], "ok": false, "pass": 10, "plan": FinalPlan { "comment": "", "end": 15, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP out_of_order.tap bail > stringified 1`] = ` ok 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 # test count(10) != plan(15) # failed 1 of 10 tests ` exports[`test/parser-stringify.js TAP out_of_order.tap bail > stringified flat 1`] = ` ok 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 # test count(10) != plan(15) # failed 1 of 10 tests ` exports[`test/parser-stringify.js TAP out_of_order.tap default settings > parsed 1`] = ` Array [ Array [ "assert", Result { "fullname": "", "id": 2, "name": "Test that argument passing works", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "Test that passing arguments as references work", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "Test a normal sub", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 6, "name": "Detach test", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 8, "name": "Nested thread test", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 9, "name": "Nested thread test", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 10, "name": "Wanted 7, got 7", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 11, "name": "Wanted 7, got 7", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 12, "name": "Wanted 8, got 8", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 13, "name": "Wanted 8, got 8", "ok": true, }, ], Array [ "plan", Object { "end": 15, "start": 1, }, ], Array [ "extra", "ok 1\\n", ], Array [ "extra", "ok 5 - Check that Config::threads is true\\n", ], Array [ "extra", "ok 7 - Detach test\\n", ], Array [ "extra", "ok 14 - Check so that tid for threads work for main thread\\n", ], Array [ "extra", "ok 15 - Check so that tid for threads work for main thread\\n", ], Array [ "comment", "# test count(10) != plan(15)\\n", ], Array [ "comment", "# failed 1 of 10 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 10, "fail": 1, "failures": Array [ Object { "tapError": "incorrect number of tests", }, ], "ok": false, "pass": 10, "plan": FinalPlan { "comment": "", "end": 15, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP out_of_order.tap default settings > stringified 1`] = ` ok 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 # test count(10) != plan(15) # failed 1 of 10 tests ` exports[`test/parser-stringify.js TAP out_of_order.tap default settings > stringified flat 1`] = ` ok 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 # test count(10) != plan(15) # failed 1 of 10 tests ` exports[`test/parser-stringify.js TAP out_of_order.tap strict > parsed 1`] = ` Array [ Array [ "assert", Result { "fullname": "", "id": 2, "name": "Test that argument passing works", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "Test that passing arguments as references work", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "Test a normal sub", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 6, "name": "Detach test", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 8, "name": "Nested thread test", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 9, "name": "Nested thread test", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 10, "name": "Wanted 7, got 7", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 11, "name": "Wanted 7, got 7", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 12, "name": "Wanted 8, got 8", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 13, "name": "Wanted 8, got 8", "ok": true, }, ], Array [ "plan", Object { "end": 15, "start": 1, }, ], Array [ "extra", "ok 1\\n", ], Array [ "extra", "ok 5 - Check that Config::threads is true\\n", ], Array [ "extra", "ok 7 - Detach test\\n", ], Array [ "extra", "ok 14 - Check so that tid for threads work for main thread\\n", ], Array [ "extra", "ok 15 - Check so that tid for threads work for main thread\\n", ], Array [ "comment", "# test count(10) != plan(15)\\n", ], Array [ "comment", "# failed 5 of 10 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 10, "fail": 5, "failures": Array [ Object { "data": "ok 1\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "ok 5 - Check that Config::threads is true\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "ok 7 - Detach test\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "ok 14 - Check so that tid for threads work for main thread\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "ok 15 - Check so that tid for threads work for main thread\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 10, "plan": FinalPlan { "comment": "", "end": 15, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP out_of_order.tap strict > stringified 1`] = ` ok 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 # test count(10) != plan(15) # failed 5 of 10 tests ` exports[`test/parser-stringify.js TAP out_of_order.tap strict > stringified flat 1`] = ` ok 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 # test count(10) != plan(15) # failed 5 of 10 tests ` exports[`test/parser-stringify.js TAP out_of_order.tap strictBail > parsed 1`] = ` Array [ Array [ "assert", Result { "fullname": "", "id": 2, "name": "Test that argument passing works", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "Test that passing arguments as references work", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "Test a normal sub", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 6, "name": "Detach test", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 8, "name": "Nested thread test", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 9, "name": "Nested thread test", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 10, "name": "Wanted 7, got 7", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 11, "name": "Wanted 7, got 7", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 12, "name": "Wanted 8, got 8", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 13, "name": "Wanted 8, got 8", "ok": true, }, ], Array [ "plan", Object { "end": 15, "start": 1, }, ], Array [ "extra", "ok 1\\n", ], Array [ "extra", "ok 5 - Check that Config::threads is true\\n", ], Array [ "extra", "ok 7 - Detach test\\n", ], Array [ "extra", "ok 14 - Check so that tid for threads work for main thread\\n", ], Array [ "extra", "ok 15 - Check so that tid for threads work for main thread\\n", ], Array [ "comment", "# test count(10) != plan(15)\\n", ], Array [ "comment", "# failed 5 of 10 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 10, "fail": 5, "failures": Array [ Object { "data": "ok 1\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "ok 5 - Check that Config::threads is true\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "ok 7 - Detach test\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "ok 14 - Check so that tid for threads work for main thread\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "ok 15 - Check so that tid for threads work for main thread\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 10, "plan": FinalPlan { "comment": "", "end": 15, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP out_of_order.tap strictBail > stringified 1`] = ` ok 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 # test count(10) != plan(15) # failed 5 of 10 tests ` exports[`test/parser-stringify.js TAP out_of_order.tap strictBail > stringified flat 1`] = ` ok 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 # test count(10) != plan(15) # failed 5 of 10 tests ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/outside-plan-end-many.tap.test.cjs000066400000000000000000000207701433324523500313320ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP outside-plan-end-many.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 420, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "comment", "# failed 2 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 2, "failures": Array [ Result { "fullname": "", "id": 420, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP outside-plan-end-many.tap bail > stringified 1`] = ` TAP version 13 ok 1 ok 420 ok 5 ok 1..4 # failed 2 of 4 tests ` exports[`test/parser-stringify.js TAP outside-plan-end-many.tap bail > stringified flat 1`] = ` TAP version 13 ok 1 ok 420 ok 5 ok 1..4 # failed 2 of 4 tests ` exports[`test/parser-stringify.js TAP outside-plan-end-many.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 420, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "comment", "# failed 2 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 2, "failures": Array [ Result { "fullname": "", "id": 420, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP outside-plan-end-many.tap default settings > stringified 1`] = ` TAP version 13 ok 1 ok 420 ok 5 ok 1..4 # failed 2 of 4 tests ` exports[`test/parser-stringify.js TAP outside-plan-end-many.tap default settings > stringified flat 1`] = ` TAP version 13 ok 1 ok 420 ok 5 ok 1..4 # failed 2 of 4 tests ` exports[`test/parser-stringify.js TAP outside-plan-end-many.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 420, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "comment", "# failed 2 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 2, "failures": Array [ Result { "fullname": "", "id": 420, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP outside-plan-end-many.tap strict > stringified 1`] = ` TAP version 13 ok 1 ok 420 ok 5 ok 1..4 # failed 2 of 4 tests ` exports[`test/parser-stringify.js TAP outside-plan-end-many.tap strict > stringified flat 1`] = ` TAP version 13 ok 1 ok 420 ok 5 ok 1..4 # failed 2 of 4 tests ` exports[`test/parser-stringify.js TAP outside-plan-end-many.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 420, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "comment", "# failed 2 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 2, "failures": Array [ Result { "fullname": "", "id": 420, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP outside-plan-end-many.tap strictBail > stringified 1`] = ` TAP version 13 ok 1 ok 420 ok 5 ok 1..4 # failed 2 of 4 tests ` exports[`test/parser-stringify.js TAP outside-plan-end-many.tap strictBail > stringified flat 1`] = ` TAP version 13 ok 1 ok 420 ok 5 ok 1..4 # failed 2 of 4 tests ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/outside-plan-end.tap.test.cjs000066400000000000000000000157441433324523500303750ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP outside-plan-end.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP outside-plan-end.tap bail > stringified 1`] = ` TAP version 13 ok 1 ok ok 5 ok 1..4 # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP outside-plan-end.tap bail > stringified flat 1`] = ` TAP version 13 ok 1 ok ok 5 ok 1..4 # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP outside-plan-end.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP outside-plan-end.tap default settings > stringified 1`] = ` TAP version 13 ok 1 ok ok 5 ok 1..4 # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP outside-plan-end.tap default settings > stringified flat 1`] = ` TAP version 13 ok 1 ok ok 5 ok 1..4 # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP outside-plan-end.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP outside-plan-end.tap strict > stringified 1`] = ` TAP version 13 ok 1 ok ok 5 ok 1..4 # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP outside-plan-end.tap strict > stringified flat 1`] = ` TAP version 13 ok 1 ok ok 5 ok 1..4 # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP outside-plan-end.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP outside-plan-end.tap strictBail > stringified 1`] = ` TAP version 13 ok 1 ok ok 5 ok 1..4 # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP outside-plan-end.tap strictBail > stringified flat 1`] = ` TAP version 13 ok 1 ok ok 5 ok 1..4 # failed 1 of 4 tests ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/outside-plan-start.tap.test.cjs000066400000000000000000000167301433324523500307600ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP outside-plan-start.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, "plan": Object { "end": 5, "start": 2, }, "tapError": "id less than plan start", }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "plan", Object { "end": 5, "start": 2, }, ], Array [ "comment", "# test count(4) != plan(5)\\n", ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 1, "ok": true, "plan": Object { "end": 5, "start": 2, }, "tapError": "id less than plan start", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 2, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP outside-plan-start.tap bail > stringified 1`] = ` TAP version 13 ok 1 ok ok 5 ok 2..5 # test count(4) != plan(5) # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP outside-plan-start.tap bail > stringified flat 1`] = ` TAP version 13 ok 1 ok ok 5 ok 2..5 # test count(4) != plan(5) # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP outside-plan-start.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, "plan": Object { "end": 5, "start": 2, }, "tapError": "id less than plan start", }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "plan", Object { "end": 5, "start": 2, }, ], Array [ "comment", "# test count(4) != plan(5)\\n", ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 1, "ok": true, "plan": Object { "end": 5, "start": 2, }, "tapError": "id less than plan start", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 2, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP outside-plan-start.tap default settings > stringified 1`] = ` TAP version 13 ok 1 ok ok 5 ok 2..5 # test count(4) != plan(5) # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP outside-plan-start.tap default settings > stringified flat 1`] = ` TAP version 13 ok 1 ok ok 5 ok 2..5 # test count(4) != plan(5) # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP outside-plan-start.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, "plan": Object { "end": 5, "start": 2, }, "tapError": "id less than plan start", }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "plan", Object { "end": 5, "start": 2, }, ], Array [ "comment", "# test count(4) != plan(5)\\n", ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 1, "ok": true, "plan": Object { "end": 5, "start": 2, }, "tapError": "id less than plan start", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 2, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP outside-plan-start.tap strict > stringified 1`] = ` TAP version 13 ok 1 ok ok 5 ok 2..5 # test count(4) != plan(5) # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP outside-plan-start.tap strict > stringified flat 1`] = ` TAP version 13 ok 1 ok ok 5 ok 2..5 # test count(4) != plan(5) # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP outside-plan-start.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, "plan": Object { "end": 5, "start": 2, }, "tapError": "id less than plan start", }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "plan", Object { "end": 5, "start": 2, }, ], Array [ "comment", "# test count(4) != plan(5)\\n", ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 1, "ok": true, "plan": Object { "end": 5, "start": 2, }, "tapError": "id less than plan start", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 2, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP outside-plan-start.tap strictBail > stringified 1`] = ` TAP version 13 ok 1 ok ok 5 ok 2..5 # test count(4) != plan(5) # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP outside-plan-start.tap strictBail > stringified flat 1`] = ` TAP version 13 ok 1 ok ok 5 ok 2..5 # test count(4) != plan(5) # failed 1 of 4 tests ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/outside-plan.tap.test.cjs000066400000000000000000000214741433324523500276260ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP outside-plan.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 234, "name": "pretty big", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "less big", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "three", "ok": true, }, ], Array [ "comment", "# failed 2 of 3 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 2, "failures": Array [ Result { "fullname": "", "id": 234, "name": "pretty big", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 5, "name": "less big", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP outside-plan.tap bail > stringified 1`] = ` TAP version 13 1..3 ok 234 - pretty big ok 5 - less big ok 3 - three # failed 2 of 3 tests ` exports[`test/parser-stringify.js TAP outside-plan.tap bail > stringified flat 1`] = ` TAP version 13 1..3 ok 234 - pretty big ok 5 - less big ok 3 - three # failed 2 of 3 tests ` exports[`test/parser-stringify.js TAP outside-plan.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 234, "name": "pretty big", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "less big", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "three", "ok": true, }, ], Array [ "comment", "# failed 2 of 3 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 2, "failures": Array [ Result { "fullname": "", "id": 234, "name": "pretty big", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 5, "name": "less big", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP outside-plan.tap default settings > stringified 1`] = ` TAP version 13 1..3 ok 234 - pretty big ok 5 - less big ok 3 - three # failed 2 of 3 tests ` exports[`test/parser-stringify.js TAP outside-plan.tap default settings > stringified flat 1`] = ` TAP version 13 1..3 ok 234 - pretty big ok 5 - less big ok 3 - three # failed 2 of 3 tests ` exports[`test/parser-stringify.js TAP outside-plan.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 234, "name": "pretty big", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "less big", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "three", "ok": true, }, ], Array [ "comment", "# failed 2 of 3 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 2, "failures": Array [ Result { "fullname": "", "id": 234, "name": "pretty big", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 5, "name": "less big", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP outside-plan.tap strict > stringified 1`] = ` TAP version 13 1..3 ok 234 - pretty big ok 5 - less big ok 3 - three # failed 2 of 3 tests ` exports[`test/parser-stringify.js TAP outside-plan.tap strict > stringified flat 1`] = ` TAP version 13 1..3 ok 234 - pretty big ok 5 - less big ok 3 - three # failed 2 of 3 tests ` exports[`test/parser-stringify.js TAP outside-plan.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 234, "name": "pretty big", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "less big", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "three", "ok": true, }, ], Array [ "comment", "# failed 2 of 3 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 2, "failures": Array [ Result { "fullname": "", "id": 234, "name": "pretty big", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 5, "name": "less big", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP outside-plan.tap strictBail > stringified 1`] = ` TAP version 13 1..3 ok 234 - pretty big ok 5 - less big ok 3 - three # failed 2 of 3 tests ` exports[`test/parser-stringify.js TAP outside-plan.tap strictBail > stringified flat 1`] = ` TAP version 13 1..3 ok 234 - pretty big ok 5 - less big ok 3 - three # failed 2 of 3 tests ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/perl-test2-buffered.tap.test.cjs000066400000000000000000000476501433324523500310070ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP perl-test2-buffered.tap bail > parsed 1`] = ` Array [ Array [ "comment", "# Seeded srand with seed '20160810' from local date.\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: empty\\n", ], Array [ "plan", Object { "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "", "end": 0, "skipAll": true, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "empty", "ok": false, }, ], Array [ "bailout", "empty", ], Array [ "complete", FinalResults { "bailout": "empty", "count": 1, "fail": 1, "failures": Array [ Result { "buffered": true, "fullname": "", "id": 1, "name": "empty", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP perl-test2-buffered.tap bail > stringified 1`] = ` # Seeded srand with seed '20160810' from local date. # Subtest: empty 1..0 not ok 1 - empty Bail out! empty ` exports[`test/parser-stringify.js TAP perl-test2-buffered.tap bail > stringified flat 1`] = ` # Seeded srand with seed '20160810' from local date. # Subtest: empty 1..0 not ok 1 - empty Bail out! empty ` exports[`test/parser-stringify.js TAP perl-test2-buffered.tap default settings > parsed 1`] = ` Array [ Array [ "comment", "# Seeded srand with seed '20160810' from local date.\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: empty\\n", ], Array [ "plan", Object { "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "", "end": 0, "skipAll": true, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "empty", "ok": false, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: my_test\\n", ], Array [ "assert", Result { "fullname": "my_test", "id": 1, "name": "subtest event A", "ok": true, }, ], Array [ "assert", Result { "fullname": "my_test", "id": 2, "name": "subtest event B", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 2, "name": "my_test", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: my_test_plan\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "my_test_plan", "id": 1, "name": "subtest event A", "ok": true, }, ], Array [ "assert", Result { "fullname": "my_test_plan", "id": 2, "name": "subtest event B", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 3, "name": "my_test_plan", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: my_streamy_test\\n", ], Array [ "assert", Result { "fullname": "my_streamy_test", "id": 1, "name": "subtest event A", "ok": true, }, ], Array [ "assert", Result { "fullname": "my_streamy_test", "id": 2, "name": "subtest event B", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "Subtest: my_streamy_test", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: my_streamy_test_plan\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "my_streamy_test_plan", "id": 1, "name": "subtest event A", "ok": true, }, ], Array [ "assert", Result { "fullname": "my_streamy_test_plan", "id": 2, "name": "subtest event B", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "Subtest: my_streamy_test_plan", "ok": true, }, ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Result { "buffered": true, "fullname": "", "id": 1, "name": "empty", "ok": false, }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP perl-test2-buffered.tap default settings > stringified 1`] = ` # Seeded srand with seed '20160810' from local date. # Subtest: empty 1..0 not ok 1 - empty # Subtest: my_test ok 1 - subtest event A ok 2 - subtest event B 1..2 ok 2 - my_test # Subtest: my_test_plan 1..2 ok 1 - subtest event A ok 2 - subtest event B ok 3 - my_test_plan # 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 # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP perl-test2-buffered.tap default settings > stringified flat 1`] = ` # Seeded srand with seed '20160810' from local date. # Subtest: empty 1..0 not ok 1 - empty # Subtest: my_test ok 1 - subtest event A ok 2 - subtest event B 1..2 ok 2 - my_test # Subtest: my_test_plan 1..2 ok 1 - subtest event A ok 2 - subtest event B ok 3 - my_test_plan # 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 # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP perl-test2-buffered.tap strict > parsed 1`] = ` Array [ Array [ "comment", "# Seeded srand with seed '20160810' from local date.\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: empty\\n", ], Array [ "plan", Object { "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "", "end": 0, "skipAll": true, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "empty", "ok": false, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: my_test\\n", ], Array [ "assert", Result { "fullname": "my_test", "id": 1, "name": "subtest event A", "ok": true, }, ], Array [ "assert", Result { "fullname": "my_test", "id": 2, "name": "subtest event B", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 2, "name": "my_test", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: my_test_plan\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "my_test_plan", "id": 1, "name": "subtest event A", "ok": true, }, ], Array [ "assert", Result { "fullname": "my_test_plan", "id": 2, "name": "subtest event B", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 3, "name": "my_test_plan", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: my_streamy_test\\n", ], Array [ "assert", Result { "fullname": "my_streamy_test", "id": 1, "name": "subtest event A", "ok": true, }, ], Array [ "assert", Result { "fullname": "my_streamy_test", "id": 2, "name": "subtest event B", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "Subtest: my_streamy_test", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: my_streamy_test_plan\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "my_streamy_test_plan", "id": 1, "name": "subtest event A", "ok": true, }, ], Array [ "assert", Result { "fullname": "my_streamy_test_plan", "id": 2, "name": "subtest event B", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "Subtest: my_streamy_test_plan", "ok": true, }, ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Result { "buffered": true, "fullname": "", "id": 1, "name": "empty", "ok": false, }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP perl-test2-buffered.tap strict > stringified 1`] = ` # Seeded srand with seed '20160810' from local date. # Subtest: empty 1..0 not ok 1 - empty # Subtest: my_test ok 1 - subtest event A ok 2 - subtest event B 1..2 ok 2 - my_test # Subtest: my_test_plan 1..2 ok 1 - subtest event A ok 2 - subtest event B ok 3 - my_test_plan # 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 # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP perl-test2-buffered.tap strict > stringified flat 1`] = ` # Seeded srand with seed '20160810' from local date. # Subtest: empty 1..0 not ok 1 - empty # Subtest: my_test ok 1 - subtest event A ok 2 - subtest event B 1..2 ok 2 - my_test # Subtest: my_test_plan 1..2 ok 1 - subtest event A ok 2 - subtest event B ok 3 - my_test_plan # 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 # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP perl-test2-buffered.tap strictBail > parsed 1`] = ` Array [ Array [ "comment", "# Seeded srand with seed '20160810' from local date.\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: empty\\n", ], Array [ "plan", Object { "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "", "end": 0, "skipAll": true, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "empty", "ok": false, }, ], Array [ "bailout", "empty", ], Array [ "complete", FinalResults { "bailout": "empty", "count": 1, "fail": 1, "failures": Array [ Result { "buffered": true, "fullname": "", "id": 1, "name": "empty", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP perl-test2-buffered.tap strictBail > stringified 1`] = ` # Seeded srand with seed '20160810' from local date. # Subtest: empty 1..0 not ok 1 - empty Bail out! empty ` exports[`test/parser-stringify.js TAP perl-test2-buffered.tap strictBail > stringified flat 1`] = ` # Seeded srand with seed '20160810' from local date. # Subtest: empty 1..0 not ok 1 - empty Bail out! empty ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/perl-test2-streamed.tap.test.cjs000066400000000000000000000373501433324523500310250ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP perl-test2-streamed.tap bail > parsed 1`] = ` Array [ Array [ "comment", "# Seeded srand with seed '20160809' from local date.\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: my_streamy_test\\n", ], Array [ "assert", Result { "fullname": "my_streamy_test", "id": 1, "name": "subtest event A", "ok": true, }, ], Array [ "assert", Result { "fullname": "my_streamy_test", "id": 2, "name": "subtest event B", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Subtest: my_streamy_test", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: my_streamy_test_plan\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "my_streamy_test_plan", "id": 1, "name": "subtest event A", "ok": true, }, ], Array [ "assert", Result { "fullname": "my_streamy_test_plan", "id": 2, "name": "subtest event B", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Subtest: my_streamy_test_plan", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP perl-test2-streamed.tap bail > stringified 1`] = ` # 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 ` exports[`test/parser-stringify.js TAP perl-test2-streamed.tap bail > stringified flat 1`] = ` # 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 ` exports[`test/parser-stringify.js TAP perl-test2-streamed.tap default settings > parsed 1`] = ` Array [ Array [ "comment", "# Seeded srand with seed '20160809' from local date.\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: my_streamy_test\\n", ], Array [ "assert", Result { "fullname": "my_streamy_test", "id": 1, "name": "subtest event A", "ok": true, }, ], Array [ "assert", Result { "fullname": "my_streamy_test", "id": 2, "name": "subtest event B", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Subtest: my_streamy_test", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: my_streamy_test_plan\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "my_streamy_test_plan", "id": 1, "name": "subtest event A", "ok": true, }, ], Array [ "assert", Result { "fullname": "my_streamy_test_plan", "id": 2, "name": "subtest event B", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Subtest: my_streamy_test_plan", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP perl-test2-streamed.tap default settings > stringified 1`] = ` # 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 ` exports[`test/parser-stringify.js TAP perl-test2-streamed.tap default settings > stringified flat 1`] = ` # 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 ` exports[`test/parser-stringify.js TAP perl-test2-streamed.tap strict > parsed 1`] = ` Array [ Array [ "comment", "# Seeded srand with seed '20160809' from local date.\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: my_streamy_test\\n", ], Array [ "assert", Result { "fullname": "my_streamy_test", "id": 1, "name": "subtest event A", "ok": true, }, ], Array [ "assert", Result { "fullname": "my_streamy_test", "id": 2, "name": "subtest event B", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Subtest: my_streamy_test", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: my_streamy_test_plan\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "my_streamy_test_plan", "id": 1, "name": "subtest event A", "ok": true, }, ], Array [ "assert", Result { "fullname": "my_streamy_test_plan", "id": 2, "name": "subtest event B", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Subtest: my_streamy_test_plan", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP perl-test2-streamed.tap strict > stringified 1`] = ` # 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 ` exports[`test/parser-stringify.js TAP perl-test2-streamed.tap strict > stringified flat 1`] = ` # 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 ` exports[`test/parser-stringify.js TAP perl-test2-streamed.tap strictBail > parsed 1`] = ` Array [ Array [ "comment", "# Seeded srand with seed '20160809' from local date.\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: my_streamy_test\\n", ], Array [ "assert", Result { "fullname": "my_streamy_test", "id": 1, "name": "subtest event A", "ok": true, }, ], Array [ "assert", Result { "fullname": "my_streamy_test", "id": 2, "name": "subtest event B", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Subtest: my_streamy_test", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: my_streamy_test_plan\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "my_streamy_test_plan", "id": 1, "name": "subtest event A", "ok": true, }, ], Array [ "assert", Result { "fullname": "my_streamy_test_plan", "id": 2, "name": "subtest event B", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Subtest: my_streamy_test_plan", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP perl-test2-streamed.tap strictBail > stringified 1`] = ` # 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 ` exports[`test/parser-stringify.js TAP perl-test2-streamed.tap strictBail > stringified flat 1`] = ` # 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-11.0.2/tap-snapshots/test/parser-stringify/plan-escape.tap.test.cjs000066400000000000000000000110401433324523500273760ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP plan-escape.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "comment": "hash # slash \\\\ noesc hash # noesc slash \\\\", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "hash # slash \\\\ noesc hash # noesc slash \\\\", "end": 0, "skipAll": true, "skipReason": "hash # slash \\\\ noesc hash # noesc slash \\\\", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP plan-escape.tap bail > stringified 1`] = ` TAP version 13 1..0 # hash \\# slash \\\\ noesc hash \\# noesc slash \\\\ ` exports[`test/parser-stringify.js TAP plan-escape.tap bail > stringified flat 1`] = ` TAP version 13 1..0 # hash \\# slash \\\\ noesc hash \\# noesc slash \\\\ ` exports[`test/parser-stringify.js TAP plan-escape.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "comment": "hash # slash \\\\ noesc hash # noesc slash \\\\", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "hash # slash \\\\ noesc hash # noesc slash \\\\", "end": 0, "skipAll": true, "skipReason": "hash # slash \\\\ noesc hash # noesc slash \\\\", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP plan-escape.tap default settings > stringified 1`] = ` TAP version 13 1..0 # hash \\# slash \\\\ noesc hash \\# noesc slash \\\\ ` exports[`test/parser-stringify.js TAP plan-escape.tap default settings > stringified flat 1`] = ` TAP version 13 1..0 # hash \\# slash \\\\ noesc hash \\# noesc slash \\\\ ` exports[`test/parser-stringify.js TAP plan-escape.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "comment": "hash # slash \\\\ noesc hash # noesc slash \\\\", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "hash # slash \\\\ noesc hash # noesc slash \\\\", "end": 0, "skipAll": true, "skipReason": "hash # slash \\\\ noesc hash # noesc slash \\\\", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP plan-escape.tap strict > stringified 1`] = ` TAP version 13 1..0 # hash \\# slash \\\\ noesc hash \\# noesc slash \\\\ ` exports[`test/parser-stringify.js TAP plan-escape.tap strict > stringified flat 1`] = ` TAP version 13 1..0 # hash \\# slash \\\\ noesc hash \\# noesc slash \\\\ ` exports[`test/parser-stringify.js TAP plan-escape.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "comment": "hash # slash \\\\ noesc hash # noesc slash \\\\", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "hash # slash \\\\ noesc hash # noesc slash \\\\", "end": 0, "skipAll": true, "skipReason": "hash # slash \\\\ noesc hash # noesc slash \\\\", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP plan-escape.tap strictBail > stringified 1`] = ` TAP version 13 1..0 # hash \\# slash \\\\ noesc hash \\# noesc slash \\\\ ` exports[`test/parser-stringify.js TAP plan-escape.tap strictBail > stringified flat 1`] = ` TAP version 13 1..0 # hash \\# slash \\\\ noesc hash \\# noesc slash \\\\ ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/plan-in-bad-places-post.tap.test.cjs000066400000000000000000000277521433324523500315410ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP plan-in-bad-places-post.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: subtest\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "subtest", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "name": "subtest", "ok": true, }, ], Array [ "extra", "1..99\\n", ], Array [ "assert", Result { "fullname": "", "name": "yaml", "ok": true, }, ], Array [ "extra", String( --- ok: lamy ), ], Array [ "plan", Object { "end": 99, "start": 1, }, ], Array [ "extra", " ...\\n", ], Array [ "extra", "1..2\\n", ], Array [ "extra", "1..2\\n", ], Array [ "comment", "# test count(2) != plan(99)\\n", ], Array [ "comment", "# failed 1 of 2 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 1, "failures": Array [ Object { "tapError": "incorrect number of tests", }, ], "ok": false, "pass": 2, "plan": FinalPlan { "comment": "", "end": 99, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP plan-in-bad-places-post.tap bail > stringified 1`] = ` TAP version 13 # Subtest: subtest 1..1 ok ok - subtest 1..99 ok - yaml --- ok: lamy 1..99 ... 1..2 1..2 # test count(2) != plan(99) # failed 1 of 2 tests ` exports[`test/parser-stringify.js TAP plan-in-bad-places-post.tap bail > stringified flat 1`] = ` TAP version 13 # Subtest: subtest 1..1 ok ok - subtest 1..99 ok - yaml --- ok: lamy 1..99 ... 1..2 1..2 # test count(2) != plan(99) # failed 1 of 2 tests ` exports[`test/parser-stringify.js TAP plan-in-bad-places-post.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: subtest\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "subtest", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "name": "subtest", "ok": true, }, ], Array [ "extra", "1..99\\n", ], Array [ "assert", Result { "fullname": "", "name": "yaml", "ok": true, }, ], Array [ "extra", String( --- ok: lamy ), ], Array [ "plan", Object { "end": 99, "start": 1, }, ], Array [ "extra", " ...\\n", ], Array [ "extra", "1..2\\n", ], Array [ "extra", "1..2\\n", ], Array [ "comment", "# test count(2) != plan(99)\\n", ], Array [ "comment", "# failed 1 of 2 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 1, "failures": Array [ Object { "tapError": "incorrect number of tests", }, ], "ok": false, "pass": 2, "plan": FinalPlan { "comment": "", "end": 99, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP plan-in-bad-places-post.tap default settings > stringified 1`] = ` TAP version 13 # Subtest: subtest 1..1 ok ok - subtest 1..99 ok - yaml --- ok: lamy 1..99 ... 1..2 1..2 # test count(2) != plan(99) # failed 1 of 2 tests ` exports[`test/parser-stringify.js TAP plan-in-bad-places-post.tap default settings > stringified flat 1`] = ` TAP version 13 # Subtest: subtest 1..1 ok ok - subtest 1..99 ok - yaml --- ok: lamy 1..99 ... 1..2 1..2 # test count(2) != plan(99) # failed 1 of 2 tests ` exports[`test/parser-stringify.js TAP plan-in-bad-places-post.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: subtest\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "subtest", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "name": "subtest", "ok": true, }, ], Array [ "extra", "1..99\\n", ], Array [ "assert", Result { "fullname": "", "name": "yaml", "ok": true, }, ], Array [ "extra", String( --- ok: lamy ), ], Array [ "plan", Object { "end": 99, "start": 1, }, ], Array [ "extra", " ...\\n", ], Array [ "extra", "1..2\\n", ], Array [ "extra", "1..2\\n", ], Array [ "comment", "# test count(2) != plan(99)\\n", ], Array [ "comment", "# failed 5 of 2 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 5, "failures": Array [ Object { "data": "1..99\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": String( --- ok: lamy ), "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " ...\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "1..2\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "1..2\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 2, "plan": FinalPlan { "comment": "", "end": 99, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP plan-in-bad-places-post.tap strict > stringified 1`] = ` TAP version 13 # Subtest: subtest 1..1 ok ok - subtest 1..99 ok - yaml --- ok: lamy 1..99 ... 1..2 1..2 # test count(2) != plan(99) # failed 5 of 2 tests ` exports[`test/parser-stringify.js TAP plan-in-bad-places-post.tap strict > stringified flat 1`] = ` TAP version 13 # Subtest: subtest 1..1 ok ok - subtest 1..99 ok - yaml --- ok: lamy 1..99 ... 1..2 1..2 # test count(2) != plan(99) # failed 5 of 2 tests ` exports[`test/parser-stringify.js TAP plan-in-bad-places-post.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: subtest\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "subtest", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "name": "subtest", "ok": true, }, ], Array [ "extra", "1..99\\n", ], Array [ "assert", Result { "fullname": "", "name": "yaml", "ok": true, }, ], Array [ "extra", String( --- ok: lamy ), ], Array [ "plan", Object { "end": 99, "start": 1, }, ], Array [ "extra", " ...\\n", ], Array [ "extra", "1..2\\n", ], Array [ "extra", "1..2\\n", ], Array [ "comment", "# test count(2) != plan(99)\\n", ], Array [ "comment", "# failed 5 of 2 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 5, "failures": Array [ Object { "data": "1..99\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": String( --- ok: lamy ), "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " ...\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "1..2\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "1..2\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 2, "plan": FinalPlan { "comment": "", "end": 99, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP plan-in-bad-places-post.tap strictBail > stringified 1`] = ` TAP version 13 # Subtest: subtest 1..1 ok ok - subtest 1..99 ok - yaml --- ok: lamy 1..99 ... 1..2 1..2 # test count(2) != plan(99) # failed 5 of 2 tests ` exports[`test/parser-stringify.js TAP plan-in-bad-places-post.tap strictBail > stringified flat 1`] = ` TAP version 13 # Subtest: subtest 1..1 ok ok - subtest 1..99 ok - yaml --- ok: lamy 1..99 ... 1..2 1..2 # test count(2) != plan(99) # failed 5 of 2 tests ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/plan-in-bad-places-pre.tap.test.cjs000066400000000000000000000261521433324523500313330ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP plan-in-bad-places-pre.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "extra", "1..2\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: subtest\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "subtest", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "name": "subtest", "ok": true, }, ], Array [ "extra", "1..99\\n", ], Array [ "assert", Result { "fullname": "", "name": "yaml", "ok": true, }, ], Array [ "extra", String( --- ok: lamy ), ], Array [ "extra", "1..99\\n", ], Array [ "extra", " ...\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP plan-in-bad-places-pre.tap bail > stringified 1`] = ` TAP version 13 1..2 1..2 # Subtest: subtest 1..1 ok ok - subtest 1..99 ok - yaml --- ok: lamy 1..99 ... ` exports[`test/parser-stringify.js TAP plan-in-bad-places-pre.tap bail > stringified flat 1`] = ` TAP version 13 1..2 1..2 # Subtest: subtest 1..1 ok ok - subtest 1..99 ok - yaml --- ok: lamy 1..99 ... ` exports[`test/parser-stringify.js TAP plan-in-bad-places-pre.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "extra", "1..2\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: subtest\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "subtest", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "name": "subtest", "ok": true, }, ], Array [ "extra", "1..99\\n", ], Array [ "assert", Result { "fullname": "", "name": "yaml", "ok": true, }, ], Array [ "extra", String( --- ok: lamy ), ], Array [ "extra", "1..99\\n", ], Array [ "extra", " ...\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP plan-in-bad-places-pre.tap default settings > stringified 1`] = ` TAP version 13 1..2 1..2 # Subtest: subtest 1..1 ok ok - subtest 1..99 ok - yaml --- ok: lamy 1..99 ... ` exports[`test/parser-stringify.js TAP plan-in-bad-places-pre.tap default settings > stringified flat 1`] = ` TAP version 13 1..2 1..2 # Subtest: subtest 1..1 ok ok - subtest 1..99 ok - yaml --- ok: lamy 1..99 ... ` exports[`test/parser-stringify.js TAP plan-in-bad-places-pre.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "extra", "1..2\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: subtest\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "subtest", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "name": "subtest", "ok": true, }, ], Array [ "extra", "1..99\\n", ], Array [ "assert", Result { "fullname": "", "name": "yaml", "ok": true, }, ], Array [ "extra", String( --- ok: lamy ), ], Array [ "extra", "1..99\\n", ], Array [ "extra", " ...\\n", ], Array [ "comment", "# failed 5 of 2 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 5, "failures": Array [ Object { "data": "1..2\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "1..99\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": String( --- ok: lamy ), "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "1..99\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " ...\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP plan-in-bad-places-pre.tap strict > stringified 1`] = ` TAP version 13 1..2 1..2 # Subtest: subtest 1..1 ok ok - subtest 1..99 ok - yaml --- ok: lamy 1..99 ... # failed 5 of 2 tests ` exports[`test/parser-stringify.js TAP plan-in-bad-places-pre.tap strict > stringified flat 1`] = ` TAP version 13 1..2 1..2 # Subtest: subtest 1..1 ok ok - subtest 1..99 ok - yaml --- ok: lamy 1..99 ... # failed 5 of 2 tests ` exports[`test/parser-stringify.js TAP plan-in-bad-places-pre.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "extra", "1..2\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: subtest\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "subtest", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "name": "subtest", "ok": true, }, ], Array [ "extra", "1..99\\n", ], Array [ "assert", Result { "fullname": "", "name": "yaml", "ok": true, }, ], Array [ "extra", String( --- ok: lamy ), ], Array [ "extra", "1..99\\n", ], Array [ "extra", " ...\\n", ], Array [ "comment", "# failed 5 of 2 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 5, "failures": Array [ Object { "data": "1..2\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "1..99\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": String( --- ok: lamy ), "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "1..99\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " ...\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP plan-in-bad-places-pre.tap strictBail > stringified 1`] = ` TAP version 13 1..2 1..2 # Subtest: subtest 1..1 ok ok - subtest 1..99 ok - yaml --- ok: lamy 1..99 ... # failed 5 of 2 tests ` exports[`test/parser-stringify.js TAP plan-in-bad-places-pre.tap strictBail > stringified flat 1`] = ` TAP version 13 1..2 1..2 # Subtest: subtest 1..1 ok ok - subtest 1..99 ok - yaml --- ok: lamy 1..99 ... # failed 5 of 2 tests ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/plan-invalid-strict.tap.test.cjs000066400000000000000000000122441433324523500311010ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP plan-invalid-strict.tap bail > parsed 1`] = ` Array [ Array [ "pragma", "strict", true, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Object { "plan": Object { "end": 1, "start": 100, }, "tapError": "plan end cannot be less than plan start", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP plan-invalid-strict.tap bail > stringified 1`] = ` pragma +strict ok 1 1..1 # failed 1 test ` exports[`test/parser-stringify.js TAP plan-invalid-strict.tap bail > stringified flat 1`] = ` pragma +strict ok 1 1..1 # failed 1 test ` exports[`test/parser-stringify.js TAP plan-invalid-strict.tap default settings > parsed 1`] = ` Array [ Array [ "pragma", "strict", true, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Object { "plan": Object { "end": 1, "start": 100, }, "tapError": "plan end cannot be less than plan start", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP plan-invalid-strict.tap default settings > stringified 1`] = ` pragma +strict ok 1 1..1 # failed 1 test ` exports[`test/parser-stringify.js TAP plan-invalid-strict.tap default settings > stringified flat 1`] = ` pragma +strict ok 1 1..1 # failed 1 test ` exports[`test/parser-stringify.js TAP plan-invalid-strict.tap strict > parsed 1`] = ` Array [ Array [ "pragma", "strict", true, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Object { "plan": Object { "end": 1, "start": 100, }, "tapError": "plan end cannot be less than plan start", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP plan-invalid-strict.tap strict > stringified 1`] = ` pragma +strict ok 1 1..1 # failed 1 test ` exports[`test/parser-stringify.js TAP plan-invalid-strict.tap strict > stringified flat 1`] = ` pragma +strict ok 1 1..1 # failed 1 test ` exports[`test/parser-stringify.js TAP plan-invalid-strict.tap strictBail > parsed 1`] = ` Array [ Array [ "pragma", "strict", true, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Object { "plan": Object { "end": 1, "start": 100, }, "tapError": "plan end cannot be less than plan start", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP plan-invalid-strict.tap strictBail > stringified 1`] = ` pragma +strict ok 1 1..1 # failed 1 test ` exports[`test/parser-stringify.js TAP plan-invalid-strict.tap strictBail > stringified flat 1`] = ` pragma +strict ok 1 1..1 # failed 1 test ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/plan-invalid.tap.test.cjs000066400000000000000000000105201433324523500275660ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP plan-invalid.tap bail > parsed 1`] = ` Array [ Array [ "extra", "100..1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP plan-invalid.tap bail > stringified 1`] = ` 100..1 ok 1 1..1 ` exports[`test/parser-stringify.js TAP plan-invalid.tap bail > stringified flat 1`] = ` 100..1 ok 1 1..1 ` exports[`test/parser-stringify.js TAP plan-invalid.tap default settings > parsed 1`] = ` Array [ Array [ "extra", "100..1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP plan-invalid.tap default settings > stringified 1`] = ` 100..1 ok 1 1..1 ` exports[`test/parser-stringify.js TAP plan-invalid.tap default settings > stringified flat 1`] = ` 100..1 ok 1 1..1 ` exports[`test/parser-stringify.js TAP plan-invalid.tap strict > parsed 1`] = ` Array [ Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Object { "plan": Object { "end": 1, "start": 100, }, "tapError": "plan end cannot be less than plan start", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP plan-invalid.tap strict > stringified 1`] = ` ok 1 1..1 # failed 1 test ` exports[`test/parser-stringify.js TAP plan-invalid.tap strict > stringified flat 1`] = ` ok 1 1..1 # failed 1 test ` exports[`test/parser-stringify.js TAP plan-invalid.tap strictBail > parsed 1`] = ` Array [ Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Object { "plan": Object { "end": 1, "start": 100, }, "tapError": "plan end cannot be less than plan start", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP plan-invalid.tap strictBail > stringified 1`] = ` ok 1 1..1 # failed 1 test ` exports[`test/parser-stringify.js TAP plan-invalid.tap strictBail > stringified flat 1`] = ` ok 1 1..1 # failed 1 test ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/pragma-after-failure.tap.test.cjs000066400000000000000000000110741433324523500312100ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP pragma-after-failure.tap bail > parsed 1`] = ` Array [ Array [ "assert", Result { "fullname": "", "ok": false, }, ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP pragma-after-failure.tap bail > stringified 1`] = ` not ok Bail out! ` exports[`test/parser-stringify.js TAP pragma-after-failure.tap bail > stringified flat 1`] = ` not ok Bail out! ` exports[`test/parser-stringify.js TAP pragma-after-failure.tap default settings > parsed 1`] = ` Array [ Array [ "assert", Result { "fullname": "", "ok": false, }, ], Array [ "pragma", "custom", true, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# failed 1 of 2 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 1, "failures": Array [ Result { "fullname": "", "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP pragma-after-failure.tap default settings > stringified 1`] = ` not ok pragma +custom ok 1..2 # failed 1 of 2 tests ` exports[`test/parser-stringify.js TAP pragma-after-failure.tap default settings > stringified flat 1`] = ` not ok pragma +custom ok 1..2 # failed 1 of 2 tests ` exports[`test/parser-stringify.js TAP pragma-after-failure.tap strict > parsed 1`] = ` Array [ Array [ "assert", Result { "fullname": "", "ok": false, }, ], Array [ "pragma", "custom", true, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# failed 1 of 2 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 1, "failures": Array [ Result { "fullname": "", "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP pragma-after-failure.tap strict > stringified 1`] = ` not ok pragma +custom ok 1..2 # failed 1 of 2 tests ` exports[`test/parser-stringify.js TAP pragma-after-failure.tap strict > stringified flat 1`] = ` not ok pragma +custom ok 1..2 # failed 1 of 2 tests ` exports[`test/parser-stringify.js TAP pragma-after-failure.tap strictBail > parsed 1`] = ` Array [ Array [ "assert", Result { "fullname": "", "ok": false, }, ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP pragma-after-failure.tap strictBail > stringified 1`] = ` not ok Bail out! ` exports[`test/parser-stringify.js TAP pragma-after-failure.tap strictBail > stringified flat 1`] = ` not ok Bail out! ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/pragma-invalid.tap.test.cjs000066400000000000000000000143721433324523500301140ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP pragma-invalid.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "extra", "pragma +this is not a valid pragma\\n", ], Array [ "extra", "pragma -neither # is this\\n", ], Array [ "pragma", "thisISfineTHO_420-69_lolyolo", true, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP pragma-invalid.tap bail > stringified 1`] = ` TAP version 13 1..1 pragma +this is not a valid pragma pragma -neither # is this pragma +thisISfineTHO_420-69_lolyolo ok ` exports[`test/parser-stringify.js TAP pragma-invalid.tap bail > stringified flat 1`] = ` TAP version 13 1..1 pragma +this is not a valid pragma pragma -neither # is this pragma +thisISfineTHO_420-69_lolyolo ok ` exports[`test/parser-stringify.js TAP pragma-invalid.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "extra", "pragma +this is not a valid pragma\\n", ], Array [ "extra", "pragma -neither # is this\\n", ], Array [ "pragma", "thisISfineTHO_420-69_lolyolo", true, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP pragma-invalid.tap default settings > stringified 1`] = ` TAP version 13 1..1 pragma +this is not a valid pragma pragma -neither # is this pragma +thisISfineTHO_420-69_lolyolo ok ` exports[`test/parser-stringify.js TAP pragma-invalid.tap default settings > stringified flat 1`] = ` TAP version 13 1..1 pragma +this is not a valid pragma pragma -neither # is this pragma +thisISfineTHO_420-69_lolyolo ok ` exports[`test/parser-stringify.js TAP pragma-invalid.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "extra", "pragma +this is not a valid pragma\\n", ], Array [ "extra", "pragma -neither # is this\\n", ], Array [ "pragma", "thisISfineTHO_420-69_lolyolo", true, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "comment", "# failed 2 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 2, "failures": Array [ Object { "data": "pragma +this is not a valid pragma\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "pragma -neither # is this\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP pragma-invalid.tap strict > stringified 1`] = ` TAP version 13 1..1 pragma +this is not a valid pragma pragma -neither # is this pragma +thisISfineTHO_420-69_lolyolo ok # failed 2 test ` exports[`test/parser-stringify.js TAP pragma-invalid.tap strict > stringified flat 1`] = ` TAP version 13 1..1 pragma +this is not a valid pragma pragma -neither # is this pragma +thisISfineTHO_420-69_lolyolo ok # failed 2 test ` exports[`test/parser-stringify.js TAP pragma-invalid.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "extra", "pragma +this is not a valid pragma\\n", ], Array [ "extra", "pragma -neither # is this\\n", ], Array [ "pragma", "thisISfineTHO_420-69_lolyolo", true, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "comment", "# failed 2 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 2, "failures": Array [ Object { "data": "pragma +this is not a valid pragma\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "pragma -neither # is this\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP pragma-invalid.tap strictBail > stringified 1`] = ` TAP version 13 1..1 pragma +this is not a valid pragma pragma -neither # is this pragma +thisISfineTHO_420-69_lolyolo ok # failed 2 test ` exports[`test/parser-stringify.js TAP pragma-invalid.tap strictBail > stringified flat 1`] = ` TAP version 13 1..1 pragma +this is not a valid pragma pragma -neither # is this pragma +thisISfineTHO_420-69_lolyolo ok # failed 2 test ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/pragma-mid-child-strict.tap.test.cjs000066400000000000000000000216001433324523500316160ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP pragma-mid-child-strict.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "pragma", "strict", true, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "extra", "pragma +strict\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Object { "data": "pragma +strict\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP pragma-mid-child-strict.tap bail > stringified 1`] = ` TAP version 13 pragma +strict 1..1 # Subtest 1..1 ok pragma +strict ok # failed 1 test ` exports[`test/parser-stringify.js TAP pragma-mid-child-strict.tap bail > stringified flat 1`] = ` TAP version 13 pragma +strict 1..1 # Subtest 1..1 ok pragma +strict ok # failed 1 test ` exports[`test/parser-stringify.js TAP pragma-mid-child-strict.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "pragma", "strict", true, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "extra", "pragma +strict\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Object { "data": "pragma +strict\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP pragma-mid-child-strict.tap default settings > stringified 1`] = ` TAP version 13 pragma +strict 1..1 # Subtest 1..1 ok pragma +strict ok # failed 1 test ` exports[`test/parser-stringify.js TAP pragma-mid-child-strict.tap default settings > stringified flat 1`] = ` TAP version 13 pragma +strict 1..1 # Subtest 1..1 ok pragma +strict ok # failed 1 test ` exports[`test/parser-stringify.js TAP pragma-mid-child-strict.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "pragma", "strict", true, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "extra", "pragma +strict\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Object { "data": "pragma +strict\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP pragma-mid-child-strict.tap strict > stringified 1`] = ` TAP version 13 pragma +strict 1..1 # Subtest 1..1 ok pragma +strict ok # failed 1 test ` exports[`test/parser-stringify.js TAP pragma-mid-child-strict.tap strict > stringified flat 1`] = ` TAP version 13 pragma +strict 1..1 # Subtest 1..1 ok pragma +strict ok # failed 1 test ` exports[`test/parser-stringify.js TAP pragma-mid-child-strict.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "pragma", "strict", true, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "extra", "pragma +strict\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Object { "data": "pragma +strict\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP pragma-mid-child-strict.tap strictBail > stringified 1`] = ` TAP version 13 pragma +strict 1..1 # Subtest 1..1 ok pragma +strict ok # failed 1 test ` exports[`test/parser-stringify.js TAP pragma-mid-child-strict.tap strictBail > stringified flat 1`] = ` TAP version 13 pragma +strict 1..1 # Subtest 1..1 ok pragma +strict ok # failed 1 test ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/pragma-mid-child.tap.test.cjs000066400000000000000000000200061433324523500303070ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP pragma-mid-child.tap bail > parsed 1`] = ` Array [ Array [ "pragma", "foo", true, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "extra", "pragma +foo\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP pragma-mid-child.tap bail > stringified 1`] = ` pragma +foo 1..1 # Subtest 1..1 ok pragma +foo ok ` exports[`test/parser-stringify.js TAP pragma-mid-child.tap bail > stringified flat 1`] = ` pragma +foo 1..1 # Subtest 1..1 ok pragma +foo ok ` exports[`test/parser-stringify.js TAP pragma-mid-child.tap default settings > parsed 1`] = ` Array [ Array [ "pragma", "foo", true, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "extra", "pragma +foo\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP pragma-mid-child.tap default settings > stringified 1`] = ` pragma +foo 1..1 # Subtest 1..1 ok pragma +foo ok ` exports[`test/parser-stringify.js TAP pragma-mid-child.tap default settings > stringified flat 1`] = ` pragma +foo 1..1 # Subtest 1..1 ok pragma +foo ok ` exports[`test/parser-stringify.js TAP pragma-mid-child.tap strict > parsed 1`] = ` Array [ Array [ "pragma", "foo", true, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "extra", "pragma +foo\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Object { "data": "pragma +foo\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP pragma-mid-child.tap strict > stringified 1`] = ` pragma +foo 1..1 # Subtest 1..1 ok pragma +foo ok # failed 1 test ` exports[`test/parser-stringify.js TAP pragma-mid-child.tap strict > stringified flat 1`] = ` pragma +foo 1..1 # Subtest 1..1 ok pragma +foo ok # failed 1 test ` exports[`test/parser-stringify.js TAP pragma-mid-child.tap strictBail > parsed 1`] = ` Array [ Array [ "pragma", "foo", true, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "extra", "pragma +foo\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Object { "data": "pragma +foo\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP pragma-mid-child.tap strictBail > stringified 1`] = ` pragma +foo 1..1 # Subtest 1..1 ok pragma +foo ok # failed 1 test ` exports[`test/parser-stringify.js TAP pragma-mid-child.tap strictBail > stringified flat 1`] = ` pragma +foo 1..1 # Subtest 1..1 ok pragma +foo ok # failed 1 test ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/pragma-mid-yaml.tap.test.cjs000066400000000000000000000151141433324523500301720ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP pragma-mid-yaml.tap bail > parsed 1`] = ` Array [ Array [ "pragma", "foo", true, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "some yaml", "ok": true, }, ], Array [ "extra", String( --- ok: true ), ], Array [ "pragma", "foo", true, ], Array [ "extra", " name: some yaml\\n", ], Array [ "extra", " ...\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP pragma-mid-yaml.tap bail > stringified 1`] = ` pragma +foo 1..1 ok 1 - some yaml --- ok: true pragma +foo name: some yaml ... ` exports[`test/parser-stringify.js TAP pragma-mid-yaml.tap bail > stringified flat 1`] = ` pragma +foo 1..1 ok 1 - some yaml --- ok: true pragma +foo name: some yaml ... ` exports[`test/parser-stringify.js TAP pragma-mid-yaml.tap default settings > parsed 1`] = ` Array [ Array [ "pragma", "foo", true, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "some yaml", "ok": true, }, ], Array [ "extra", String( --- ok: true ), ], Array [ "pragma", "foo", true, ], Array [ "extra", " name: some yaml\\n", ], Array [ "extra", " ...\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP pragma-mid-yaml.tap default settings > stringified 1`] = ` pragma +foo 1..1 ok 1 - some yaml --- ok: true pragma +foo name: some yaml ... ` exports[`test/parser-stringify.js TAP pragma-mid-yaml.tap default settings > stringified flat 1`] = ` pragma +foo 1..1 ok 1 - some yaml --- ok: true pragma +foo name: some yaml ... ` exports[`test/parser-stringify.js TAP pragma-mid-yaml.tap strict > parsed 1`] = ` Array [ Array [ "pragma", "foo", true, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "some yaml", "ok": true, }, ], Array [ "extra", String( --- ok: true ), ], Array [ "pragma", "foo", true, ], Array [ "extra", " name: some yaml\\n", ], Array [ "extra", " ...\\n", ], Array [ "comment", "# failed 3 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 3, "failures": Array [ Object { "data": String( --- ok: true ), "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " name: some yaml\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " ...\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP pragma-mid-yaml.tap strict > stringified 1`] = ` pragma +foo 1..1 ok 1 - some yaml --- ok: true pragma +foo name: some yaml ... # failed 3 test ` exports[`test/parser-stringify.js TAP pragma-mid-yaml.tap strict > stringified flat 1`] = ` pragma +foo 1..1 ok 1 - some yaml --- ok: true pragma +foo name: some yaml ... # failed 3 test ` exports[`test/parser-stringify.js TAP pragma-mid-yaml.tap strictBail > parsed 1`] = ` Array [ Array [ "pragma", "foo", true, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "some yaml", "ok": true, }, ], Array [ "extra", String( --- ok: true ), ], Array [ "pragma", "foo", true, ], Array [ "extra", " name: some yaml\\n", ], Array [ "extra", " ...\\n", ], Array [ "comment", "# failed 3 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 3, "failures": Array [ Object { "data": String( --- ok: true ), "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " name: some yaml\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " ...\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP pragma-mid-yaml.tap strictBail > stringified 1`] = ` pragma +foo 1..1 ok 1 - some yaml --- ok: true pragma +foo name: some yaml ... # failed 3 test ` exports[`test/parser-stringify.js TAP pragma-mid-yaml.tap strictBail > stringified flat 1`] = ` pragma +foo 1..1 ok 1 - some yaml --- ok: true pragma +foo name: some yaml ... # failed 3 test ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/repeat-test-point-id.tap.test.cjs000066400000000000000000000214001433324523500311650ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP repeat-test-point-id.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, "previous": Result { "fullname": "", "id": 1, "ok": true, }, "tapError": "test point id 1 appears multiple times", }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, "previous": Result { "fullname": "", "id": 1, "ok": true, }, "tapError": "test point id 1 appears multiple times", }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "comment", "# failed 2 of 3 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 2, "failures": Array [ Result { "fullname": "", "id": 1, "ok": true, "previous": Result { "fullname": "", "id": 1, "ok": true, }, "tapError": "test point id 1 appears multiple times", }, Result { "fullname": "", "id": 1, "ok": true, "previous": Result { "fullname": "", "id": 1, "ok": true, }, "tapError": "test point id 1 appears multiple times", }, ], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP repeat-test-point-id.tap bail > stringified 1`] = ` TAP version 13 ok 1 ok 1 ok 1 1..3 # failed 2 of 3 tests ` exports[`test/parser-stringify.js TAP repeat-test-point-id.tap bail > stringified flat 1`] = ` TAP version 13 ok 1 ok 1 ok 1 1..3 # failed 2 of 3 tests ` exports[`test/parser-stringify.js TAP repeat-test-point-id.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, "previous": Result { "fullname": "", "id": 1, "ok": true, }, "tapError": "test point id 1 appears multiple times", }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, "previous": Result { "fullname": "", "id": 1, "ok": true, }, "tapError": "test point id 1 appears multiple times", }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "comment", "# failed 2 of 3 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 2, "failures": Array [ Result { "fullname": "", "id": 1, "ok": true, "previous": Result { "fullname": "", "id": 1, "ok": true, }, "tapError": "test point id 1 appears multiple times", }, Result { "fullname": "", "id": 1, "ok": true, "previous": Result { "fullname": "", "id": 1, "ok": true, }, "tapError": "test point id 1 appears multiple times", }, ], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP repeat-test-point-id.tap default settings > stringified 1`] = ` TAP version 13 ok 1 ok 1 ok 1 1..3 # failed 2 of 3 tests ` exports[`test/parser-stringify.js TAP repeat-test-point-id.tap default settings > stringified flat 1`] = ` TAP version 13 ok 1 ok 1 ok 1 1..3 # failed 2 of 3 tests ` exports[`test/parser-stringify.js TAP repeat-test-point-id.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, "previous": Result { "fullname": "", "id": 1, "ok": true, }, "tapError": "test point id 1 appears multiple times", }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, "previous": Result { "fullname": "", "id": 1, "ok": true, }, "tapError": "test point id 1 appears multiple times", }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "comment", "# failed 2 of 3 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 2, "failures": Array [ Result { "fullname": "", "id": 1, "ok": true, "previous": Result { "fullname": "", "id": 1, "ok": true, }, "tapError": "test point id 1 appears multiple times", }, Result { "fullname": "", "id": 1, "ok": true, "previous": Result { "fullname": "", "id": 1, "ok": true, }, "tapError": "test point id 1 appears multiple times", }, ], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP repeat-test-point-id.tap strict > stringified 1`] = ` TAP version 13 ok 1 ok 1 ok 1 1..3 # failed 2 of 3 tests ` exports[`test/parser-stringify.js TAP repeat-test-point-id.tap strict > stringified flat 1`] = ` TAP version 13 ok 1 ok 1 ok 1 1..3 # failed 2 of 3 tests ` exports[`test/parser-stringify.js TAP repeat-test-point-id.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, "previous": Result { "fullname": "", "id": 1, "ok": true, }, "tapError": "test point id 1 appears multiple times", }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, "previous": Result { "fullname": "", "id": 1, "ok": true, }, "tapError": "test point id 1 appears multiple times", }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "comment", "# failed 2 of 3 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 2, "failures": Array [ Result { "fullname": "", "id": 1, "ok": true, "previous": Result { "fullname": "", "id": 1, "ok": true, }, "tapError": "test point id 1 appears multiple times", }, Result { "fullname": "", "id": 1, "ok": true, "previous": Result { "fullname": "", "id": 1, "ok": true, }, "tapError": "test point id 1 appears multiple times", }, ], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP repeat-test-point-id.tap strictBail > stringified 1`] = ` TAP version 13 ok 1 ok 1 ok 1 1..3 # failed 2 of 3 tests ` exports[`test/parser-stringify.js TAP repeat-test-point-id.tap strictBail > stringified flat 1`] = ` TAP version 13 ok 1 ok 1 ok 1 1..3 # failed 2 of 3 tests ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/schwern-todo-quiet.tap.test.cjs000066400000000000000000000205341433324523500307570ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP schwern-todo-quiet.tap bail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": false, }, ], Array [ "comment", "# Failed test at ../../andy/schwern.pl line 17.\\n", ], Array [ "comment", "# got: '23'\\n", ], Array [ "comment", "# expected: '42'\\n", ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 2, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 2, "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP schwern-todo-quiet.tap bail > stringified 1`] = ` 1..3 ok 1 not ok 2 # Failed test at ../../andy/schwern.pl line 17. # got: '23' # expected: '42' Bail out! ` exports[`test/parser-stringify.js TAP schwern-todo-quiet.tap bail > stringified flat 1`] = ` 1..3 ok 1 not ok 2 # Failed test at ../../andy/schwern.pl line 17. # got: '23' # expected: '42' Bail out! ` exports[`test/parser-stringify.js TAP schwern-todo-quiet.tap default settings > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": false, }, ], Array [ "comment", "# Failed test at ../../andy/schwern.pl line 17.\\n", ], Array [ "comment", "# got: '23'\\n", ], Array [ "comment", "# expected: '42'\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "", "ok": false, "todo": "Roman numerials still not a built in type", }, ], Array [ "comment", "# Failed (TODO) test at ../../andy/schwern.pl line 20.\\n", ], Array [ "comment", "# got: 'XXIII'\\n", ], Array [ "comment", "# expected: '23'\\n", ], Array [ "comment", "# Looks like you failed 1 test of 3.\\n", ], Array [ "comment", "# failed 2 of 3 tests\\n", ], Array [ "comment", "# todo: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 2, "failures": Array [ Result { "fullname": "", "id": 2, "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 1, }, ], ] ` exports[`test/parser-stringify.js TAP schwern-todo-quiet.tap default settings > stringified 1`] = ` 1..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. # failed 2 of 3 tests # todo: 1 ` exports[`test/parser-stringify.js TAP schwern-todo-quiet.tap default settings > stringified flat 1`] = ` 1..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. # failed 2 of 3 tests # todo: 1 ` exports[`test/parser-stringify.js TAP schwern-todo-quiet.tap strict > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": false, }, ], Array [ "comment", "# Failed test at ../../andy/schwern.pl line 17.\\n", ], Array [ "comment", "# got: '23'\\n", ], Array [ "comment", "# expected: '42'\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "", "ok": false, "todo": "Roman numerials still not a built in type", }, ], Array [ "comment", "# Failed (TODO) test at ../../andy/schwern.pl line 20.\\n", ], Array [ "comment", "# got: 'XXIII'\\n", ], Array [ "comment", "# expected: '23'\\n", ], Array [ "comment", "# Looks like you failed 1 test of 3.\\n", ], Array [ "comment", "# failed 2 of 3 tests\\n", ], Array [ "comment", "# todo: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 2, "failures": Array [ Result { "fullname": "", "id": 2, "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 1, }, ], ] ` exports[`test/parser-stringify.js TAP schwern-todo-quiet.tap strict > stringified 1`] = ` 1..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. # failed 2 of 3 tests # todo: 1 ` exports[`test/parser-stringify.js TAP schwern-todo-quiet.tap strict > stringified flat 1`] = ` 1..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. # failed 2 of 3 tests # todo: 1 ` exports[`test/parser-stringify.js TAP schwern-todo-quiet.tap strictBail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": false, }, ], Array [ "comment", "# Failed test at ../../andy/schwern.pl line 17.\\n", ], Array [ "comment", "# got: '23'\\n", ], Array [ "comment", "# expected: '42'\\n", ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 2, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 2, "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP schwern-todo-quiet.tap strictBail > stringified 1`] = ` 1..3 ok 1 not ok 2 # Failed test at ../../andy/schwern.pl line 17. # got: '23' # expected: '42' Bail out! ` exports[`test/parser-stringify.js TAP schwern-todo-quiet.tap strictBail > stringified flat 1`] = ` 1..3 ok 1 not ok 2 # Failed test at ../../andy/schwern.pl line 17. # got: '23' # expected: '42' Bail out! ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/schwern.tap.test.cjs000066400000000000000000000073541433324523500266740ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP schwern.tap bail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "42", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP schwern.tap bail > stringified 1`] = ` 1..1 ok 1 - 42 ` exports[`test/parser-stringify.js TAP schwern.tap bail > stringified flat 1`] = ` 1..1 ok 1 - 42 ` exports[`test/parser-stringify.js TAP schwern.tap default settings > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "42", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP schwern.tap default settings > stringified 1`] = ` 1..1 ok 1 - 42 ` exports[`test/parser-stringify.js TAP schwern.tap default settings > stringified flat 1`] = ` 1..1 ok 1 - 42 ` exports[`test/parser-stringify.js TAP schwern.tap strict > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "42", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP schwern.tap strict > stringified 1`] = ` 1..1 ok 1 - 42 ` exports[`test/parser-stringify.js TAP schwern.tap strict > stringified flat 1`] = ` 1..1 ok 1 - 42 ` exports[`test/parser-stringify.js TAP schwern.tap strictBail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "42", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP schwern.tap strictBail > stringified 1`] = ` 1..1 ok 1 - 42 ` exports[`test/parser-stringify.js TAP schwern.tap strictBail > stringified flat 1`] = ` 1..1 ok 1 - 42 ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/sequence_misparse.tap.test.cjs000066400000000000000000000167741433324523500307440ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP sequence_misparse.tap bail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "", "ok": true, "skip": "on foobar system", }, ], Array [ "comment", "# 1234567890123456789012345678901234567890\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "comment", "# 1234567890123456789012345678901234567890\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP sequence_misparse.tap bail > stringified 1`] = ` 1..5 ok 1 ok 2 ok 3 # SKIP on foobar system # 1234567890123456789012345678901234567890 ok 4 # 1234567890123456789012345678901234567890 ok 5 # skip: 1 ` exports[`test/parser-stringify.js TAP sequence_misparse.tap bail > stringified flat 1`] = ` 1..5 ok 1 ok 2 ok 3 # SKIP on foobar system # 1234567890123456789012345678901234567890 ok 4 # 1234567890123456789012345678901234567890 ok 5 # skip: 1 ` exports[`test/parser-stringify.js TAP sequence_misparse.tap default settings > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "", "ok": true, "skip": "on foobar system", }, ], Array [ "comment", "# 1234567890123456789012345678901234567890\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "comment", "# 1234567890123456789012345678901234567890\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP sequence_misparse.tap default settings > stringified 1`] = ` 1..5 ok 1 ok 2 ok 3 # SKIP on foobar system # 1234567890123456789012345678901234567890 ok 4 # 1234567890123456789012345678901234567890 ok 5 # skip: 1 ` exports[`test/parser-stringify.js TAP sequence_misparse.tap default settings > stringified flat 1`] = ` 1..5 ok 1 ok 2 ok 3 # SKIP on foobar system # 1234567890123456789012345678901234567890 ok 4 # 1234567890123456789012345678901234567890 ok 5 # skip: 1 ` exports[`test/parser-stringify.js TAP sequence_misparse.tap strict > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "", "ok": true, "skip": "on foobar system", }, ], Array [ "comment", "# 1234567890123456789012345678901234567890\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "comment", "# 1234567890123456789012345678901234567890\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP sequence_misparse.tap strict > stringified 1`] = ` 1..5 ok 1 ok 2 ok 3 # SKIP on foobar system # 1234567890123456789012345678901234567890 ok 4 # 1234567890123456789012345678901234567890 ok 5 # skip: 1 ` exports[`test/parser-stringify.js TAP sequence_misparse.tap strict > stringified flat 1`] = ` 1..5 ok 1 ok 2 ok 3 # SKIP on foobar system # 1234567890123456789012345678901234567890 ok 4 # 1234567890123456789012345678901234567890 ok 5 # skip: 1 ` exports[`test/parser-stringify.js TAP sequence_misparse.tap strictBail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "", "ok": true, "skip": "on foobar system", }, ], Array [ "comment", "# 1234567890123456789012345678901234567890\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "comment", "# 1234567890123456789012345678901234567890\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP sequence_misparse.tap strictBail > stringified 1`] = ` 1..5 ok 1 ok 2 ok 3 # SKIP on foobar system # 1234567890123456789012345678901234567890 ok 4 # 1234567890123456789012345678901234567890 ok 5 # skip: 1 ` exports[`test/parser-stringify.js TAP sequence_misparse.tap strictBail > stringified flat 1`] = ` 1..5 ok 1 ok 2 ok 3 # SKIP on foobar system # 1234567890123456789012345678901234567890 ok 4 # 1234567890123456789012345678901234567890 ok 5 # skip: 1 ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/simple.tap.test.cjs000066400000000000000000000126101433324523500265030ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP simple.tap bail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP simple.tap bail > stringified 1`] = ` 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 ` exports[`test/parser-stringify.js TAP simple.tap bail > stringified flat 1`] = ` 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 ` exports[`test/parser-stringify.js TAP simple.tap default settings > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP simple.tap default settings > stringified 1`] = ` 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 ` exports[`test/parser-stringify.js TAP simple.tap default settings > stringified flat 1`] = ` 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 ` exports[`test/parser-stringify.js TAP simple.tap strict > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP simple.tap strict > stringified 1`] = ` 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 ` exports[`test/parser-stringify.js TAP simple.tap strict > stringified flat 1`] = ` 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 ` exports[`test/parser-stringify.js TAP simple.tap strictBail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP simple.tap strictBail > stringified 1`] = ` 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 ` exports[`test/parser-stringify.js TAP simple.tap strictBail > stringified flat 1`] = ` 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/simple_fail.tap.test.cjs000066400000000000000000000133641433324523500275050ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP simple_fail.tap bail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": false, }, ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 2, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 2, "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP simple_fail.tap bail > stringified 1`] = ` 1..5 ok 1 not ok 2 Bail out! ` exports[`test/parser-stringify.js TAP simple_fail.tap bail > stringified flat 1`] = ` 1..5 ok 1 not ok 2 Bail out! ` exports[`test/parser-stringify.js TAP simple_fail.tap default settings > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": false, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": false, }, ], Array [ "comment", "# failed 2 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 2, "failures": Array [ Result { "fullname": "", "id": 2, "ok": false, }, Result { "fullname": "", "id": 5, "ok": false, }, ], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP simple_fail.tap default settings > stringified 1`] = ` 1..5 ok 1 not ok 2 ok 3 ok 4 not ok 5 # failed 2 of 5 tests ` exports[`test/parser-stringify.js TAP simple_fail.tap default settings > stringified flat 1`] = ` 1..5 ok 1 not ok 2 ok 3 ok 4 not ok 5 # failed 2 of 5 tests ` exports[`test/parser-stringify.js TAP simple_fail.tap strict > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": false, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": false, }, ], Array [ "comment", "# failed 2 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 2, "failures": Array [ Result { "fullname": "", "id": 2, "ok": false, }, Result { "fullname": "", "id": 5, "ok": false, }, ], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP simple_fail.tap strict > stringified 1`] = ` 1..5 ok 1 not ok 2 ok 3 ok 4 not ok 5 # failed 2 of 5 tests ` exports[`test/parser-stringify.js TAP simple_fail.tap strict > stringified flat 1`] = ` 1..5 ok 1 not ok 2 ok 3 ok 4 not ok 5 # failed 2 of 5 tests ` exports[`test/parser-stringify.js TAP simple_fail.tap strictBail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": false, }, ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 2, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 2, "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP simple_fail.tap strictBail > stringified 1`] = ` 1..5 ok 1 not ok 2 Bail out! ` exports[`test/parser-stringify.js TAP simple_fail.tap strictBail > stringified flat 1`] = ` 1..5 ok 1 not ok 2 Bail out! ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/simple_yaml.tap.test.cjs000066400000000000000000000206341433324523500275320ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP simple_yaml.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "diag": Array [ Object { "fnurk": "skib", "ponk": "gleeb", }, Object { "bar": "krup", "foo": "plink", }, ], "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "diag": Object { "expected": Array [ 1, 2, 4, ], "got": Array [ 1, "pong", 4, ], }, "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP simple_yaml.tap bail > stringified 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP simple_yaml.tap bail > stringified flat 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP simple_yaml.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "diag": Array [ Object { "fnurk": "skib", "ponk": "gleeb", }, Object { "bar": "krup", "foo": "plink", }, ], "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "diag": Object { "expected": Array [ 1, 2, 4, ], "got": Array [ 1, "pong", 4, ], }, "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP simple_yaml.tap default settings > stringified 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP simple_yaml.tap default settings > stringified flat 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP simple_yaml.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "diag": Array [ Object { "fnurk": "skib", "ponk": "gleeb", }, Object { "bar": "krup", "foo": "plink", }, ], "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "diag": Object { "expected": Array [ 1, 2, 4, ], "got": Array [ 1, "pong", 4, ], }, "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP simple_yaml.tap strict > stringified 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP simple_yaml.tap strict > stringified flat 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP simple_yaml.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "diag": Array [ Object { "fnurk": "skib", "ponk": "gleeb", }, Object { "bar": "krup", "foo": "plink", }, ], "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "diag": Object { "expected": Array [ 1, 2, 4, ], "got": Array [ 1, "pong", 4, ], }, "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP simple_yaml.tap strictBail > stringified 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP simple_yaml.tap strictBail > stringified flat 1`] = ` TAP 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-11.0.2/tap-snapshots/test/parser-stringify/simple_yaml_missing_version13.tap.test.cjs000066400000000000000000000205441433324523500331740ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP simple_yaml_missing_version13.tap bail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "diag": Array [ Object { "fnurk": "skib", "ponk": "gleeb", }, Object { "bar": "krup", "foo": "plink", }, ], "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "diag": Object { "expected": Array [ 1, 2, 4, ], "got": Array [ 1, "pong", 4, ], }, "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP simple_yaml_missing_version13.tap bail > stringified 1`] = ` 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 ` exports[`test/parser-stringify.js TAP simple_yaml_missing_version13.tap bail > stringified flat 1`] = ` 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 ` exports[`test/parser-stringify.js TAP simple_yaml_missing_version13.tap default settings > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "diag": Array [ Object { "fnurk": "skib", "ponk": "gleeb", }, Object { "bar": "krup", "foo": "plink", }, ], "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "diag": Object { "expected": Array [ 1, 2, 4, ], "got": Array [ 1, "pong", 4, ], }, "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP simple_yaml_missing_version13.tap default settings > stringified 1`] = ` 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 ` exports[`test/parser-stringify.js TAP simple_yaml_missing_version13.tap default settings > stringified flat 1`] = ` 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 ` exports[`test/parser-stringify.js TAP simple_yaml_missing_version13.tap strict > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "diag": Array [ Object { "fnurk": "skib", "ponk": "gleeb", }, Object { "bar": "krup", "foo": "plink", }, ], "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "diag": Object { "expected": Array [ 1, 2, 4, ], "got": Array [ 1, "pong", 4, ], }, "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP simple_yaml_missing_version13.tap strict > stringified 1`] = ` 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 ` exports[`test/parser-stringify.js TAP simple_yaml_missing_version13.tap strict > stringified flat 1`] = ` 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 ` exports[`test/parser-stringify.js TAP simple_yaml_missing_version13.tap strictBail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "diag": Array [ Object { "fnurk": "skib", "ponk": "gleeb", }, Object { "bar": "krup", "foo": "plink", }, ], "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "diag": Object { "expected": Array [ 1, 2, 4, ], "got": Array [ 1, "pong", 4, ], }, "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP simple_yaml_missing_version13.tap strictBail > stringified 1`] = ` 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 ` exports[`test/parser-stringify.js TAP simple_yaml_missing_version13.tap strictBail > stringified flat 1`] = ` 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-11.0.2/tap-snapshots/test/parser-stringify/skip-all-nonempty.tap.test.cjs000066400000000000000000000126341433324523500306030ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP skip-all-nonempty.tap bail > parsed 1`] = ` Array [ Array [ "comment", "# TAP emitted by Test::More 0.98\\n", ], Array [ "plan", Object { "comment": "SKIP Insufficient positron flux", "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "found some spare flux in bottom drawer", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "SKIP Insufficient positron flux", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skip-all-nonempty.tap bail > stringified 1`] = ` # TAP emitted by Test::More 0.98 1..1 # SKIP Insufficient positron flux ok 1 - found some spare flux in bottom drawer ` exports[`test/parser-stringify.js TAP skip-all-nonempty.tap bail > stringified flat 1`] = ` # TAP emitted by Test::More 0.98 1..1 # SKIP Insufficient positron flux ok 1 - found some spare flux in bottom drawer ` exports[`test/parser-stringify.js TAP skip-all-nonempty.tap default settings > parsed 1`] = ` Array [ Array [ "comment", "# TAP emitted by Test::More 0.98\\n", ], Array [ "plan", Object { "comment": "SKIP Insufficient positron flux", "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "found some spare flux in bottom drawer", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "SKIP Insufficient positron flux", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skip-all-nonempty.tap default settings > stringified 1`] = ` # TAP emitted by Test::More 0.98 1..1 # SKIP Insufficient positron flux ok 1 - found some spare flux in bottom drawer ` exports[`test/parser-stringify.js TAP skip-all-nonempty.tap default settings > stringified flat 1`] = ` # TAP emitted by Test::More 0.98 1..1 # SKIP Insufficient positron flux ok 1 - found some spare flux in bottom drawer ` exports[`test/parser-stringify.js TAP skip-all-nonempty.tap strict > parsed 1`] = ` Array [ Array [ "comment", "# TAP emitted by Test::More 0.98\\n", ], Array [ "plan", Object { "comment": "SKIP Insufficient positron flux", "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "found some spare flux in bottom drawer", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "SKIP Insufficient positron flux", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skip-all-nonempty.tap strict > stringified 1`] = ` # TAP emitted by Test::More 0.98 1..1 # SKIP Insufficient positron flux ok 1 - found some spare flux in bottom drawer ` exports[`test/parser-stringify.js TAP skip-all-nonempty.tap strict > stringified flat 1`] = ` # TAP emitted by Test::More 0.98 1..1 # SKIP Insufficient positron flux ok 1 - found some spare flux in bottom drawer ` exports[`test/parser-stringify.js TAP skip-all-nonempty.tap strictBail > parsed 1`] = ` Array [ Array [ "comment", "# TAP emitted by Test::More 0.98\\n", ], Array [ "plan", Object { "comment": "SKIP Insufficient positron flux", "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "found some spare flux in bottom drawer", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "SKIP Insufficient positron flux", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skip-all-nonempty.tap strictBail > stringified 1`] = ` # TAP emitted by Test::More 0.98 1..1 # SKIP Insufficient positron flux ok 1 - found some spare flux in bottom drawer ` exports[`test/parser-stringify.js TAP skip-all-nonempty.tap strictBail > stringified flat 1`] = ` # TAP emitted by Test::More 0.98 1..1 # SKIP Insufficient positron flux ok 1 - found some spare flux in bottom drawer ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/skip-all-with-assert.tap.test.cjs000066400000000000000000000124461433324523500312050ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP skip-all-with-assert.tap bail > parsed 1`] = ` Array [ Array [ "comment", "# TAP emitted by Test::More 0.98\\n", ], Array [ "plan", Object { "comment": "SKIP Insufficient skipping", "end": 0, "start": 1, }, ], Array [ "extra", "ok 1 - should not be asserting\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "SKIP Insufficient skipping", "end": 0, "skipAll": true, "skipReason": "SKIP Insufficient skipping", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skip-all-with-assert.tap bail > stringified 1`] = ` # TAP emitted by Test::More 0.98 1..0 # SKIP Insufficient skipping ok 1 - should not be asserting ` exports[`test/parser-stringify.js TAP skip-all-with-assert.tap bail > stringified flat 1`] = ` # TAP emitted by Test::More 0.98 1..0 # SKIP Insufficient skipping ok 1 - should not be asserting ` exports[`test/parser-stringify.js TAP skip-all-with-assert.tap default settings > parsed 1`] = ` Array [ Array [ "comment", "# TAP emitted by Test::More 0.98\\n", ], Array [ "plan", Object { "comment": "SKIP Insufficient skipping", "end": 0, "start": 1, }, ], Array [ "extra", "ok 1 - should not be asserting\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "SKIP Insufficient skipping", "end": 0, "skipAll": true, "skipReason": "SKIP Insufficient skipping", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skip-all-with-assert.tap default settings > stringified 1`] = ` # TAP emitted by Test::More 0.98 1..0 # SKIP Insufficient skipping ok 1 - should not be asserting ` exports[`test/parser-stringify.js TAP skip-all-with-assert.tap default settings > stringified flat 1`] = ` # TAP emitted by Test::More 0.98 1..0 # SKIP Insufficient skipping ok 1 - should not be asserting ` exports[`test/parser-stringify.js TAP skip-all-with-assert.tap strict > parsed 1`] = ` Array [ Array [ "comment", "# TAP emitted by Test::More 0.98\\n", ], Array [ "plan", Object { "comment": "SKIP Insufficient skipping", "end": 0, "start": 1, }, ], Array [ "extra", "ok 1 - should not be asserting\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 1, "failures": Array [ Object { "data": "ok 1 - should not be asserting\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "SKIP Insufficient skipping", "end": 0, "skipAll": true, "skipReason": "SKIP Insufficient skipping", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skip-all-with-assert.tap strict > stringified 1`] = ` # TAP emitted by Test::More 0.98 1..0 # SKIP Insufficient skipping ok 1 - should not be asserting ` exports[`test/parser-stringify.js TAP skip-all-with-assert.tap strict > stringified flat 1`] = ` # TAP emitted by Test::More 0.98 1..0 # SKIP Insufficient skipping ok 1 - should not be asserting ` exports[`test/parser-stringify.js TAP skip-all-with-assert.tap strictBail > parsed 1`] = ` Array [ Array [ "comment", "# TAP emitted by Test::More 0.98\\n", ], Array [ "plan", Object { "comment": "SKIP Insufficient skipping", "end": 0, "start": 1, }, ], Array [ "extra", "ok 1 - should not be asserting\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 1, "failures": Array [ Object { "data": "ok 1 - should not be asserting\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "SKIP Insufficient skipping", "end": 0, "skipAll": true, "skipReason": "SKIP Insufficient skipping", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skip-all-with-assert.tap strictBail > stringified 1`] = ` # TAP emitted by Test::More 0.98 1..0 # SKIP Insufficient skipping ok 1 - should not be asserting ` exports[`test/parser-stringify.js TAP skip-all-with-assert.tap strictBail > stringified flat 1`] = ` # TAP emitted by Test::More 0.98 1..0 # SKIP Insufficient skipping ok 1 - should not be asserting ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/skip-all-with-test.tap.test.cjs000066400000000000000000000126601433324523500306610ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP skip-all-with-test.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "plan", Object { "end": 0, "start": 1, }, ], Array [ "comment", "# test count(1) != plan(0)\\n", ], Array [ "comment", "# failed 1 test\\n", ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Object { "tapError": "Plan of 1..0, but test points encountered", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 0, "skipAll": true, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skip-all-with-test.tap bail > stringified 1`] = ` TAP version 13 ok 1..0 # test count(1) != plan(0) # failed 1 test # skip: 1 ` exports[`test/parser-stringify.js TAP skip-all-with-test.tap bail > stringified flat 1`] = ` TAP version 13 ok 1..0 # test count(1) != plan(0) # failed 1 test # skip: 1 ` exports[`test/parser-stringify.js TAP skip-all-with-test.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "plan", Object { "end": 0, "start": 1, }, ], Array [ "comment", "# test count(1) != plan(0)\\n", ], Array [ "comment", "# failed 1 test\\n", ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Object { "tapError": "Plan of 1..0, but test points encountered", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 0, "skipAll": true, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skip-all-with-test.tap default settings > stringified 1`] = ` TAP version 13 ok 1..0 # test count(1) != plan(0) # failed 1 test # skip: 1 ` exports[`test/parser-stringify.js TAP skip-all-with-test.tap default settings > stringified flat 1`] = ` TAP version 13 ok 1..0 # test count(1) != plan(0) # failed 1 test # skip: 1 ` exports[`test/parser-stringify.js TAP skip-all-with-test.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "plan", Object { "end": 0, "start": 1, }, ], Array [ "comment", "# test count(1) != plan(0)\\n", ], Array [ "comment", "# failed 1 test\\n", ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Object { "tapError": "Plan of 1..0, but test points encountered", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 0, "skipAll": true, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skip-all-with-test.tap strict > stringified 1`] = ` TAP version 13 ok 1..0 # test count(1) != plan(0) # failed 1 test # skip: 1 ` exports[`test/parser-stringify.js TAP skip-all-with-test.tap strict > stringified flat 1`] = ` TAP version 13 ok 1..0 # test count(1) != plan(0) # failed 1 test # skip: 1 ` exports[`test/parser-stringify.js TAP skip-all-with-test.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "plan", Object { "end": 0, "start": 1, }, ], Array [ "comment", "# test count(1) != plan(0)\\n", ], Array [ "comment", "# failed 1 test\\n", ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Object { "tapError": "Plan of 1..0, but test points encountered", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 0, "skipAll": true, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skip-all-with-test.tap strictBail > stringified 1`] = ` TAP version 13 ok 1..0 # test count(1) != plan(0) # failed 1 test # skip: 1 ` exports[`test/parser-stringify.js TAP skip-all-with-test.tap strictBail > stringified flat 1`] = ` TAP version 13 ok 1..0 # test count(1) != plan(0) # failed 1 test # skip: 1 ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/skip-all.tap.test.cjs000066400000000000000000000106701433324523500267320ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP skip-all.tap bail > parsed 1`] = ` Array [ Array [ "comment", "# TAP emitted by Test::More 0.98\\n", ], Array [ "plan", Object { "comment": "SKIP Insufficient positron flux", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "SKIP Insufficient positron flux", "end": 0, "skipAll": true, "skipReason": "SKIP Insufficient positron flux", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skip-all.tap bail > stringified 1`] = ` # TAP emitted by Test::More 0.98 1..0 # SKIP Insufficient positron flux ` exports[`test/parser-stringify.js TAP skip-all.tap bail > stringified flat 1`] = ` # TAP emitted by Test::More 0.98 1..0 # SKIP Insufficient positron flux ` exports[`test/parser-stringify.js TAP skip-all.tap default settings > parsed 1`] = ` Array [ Array [ "comment", "# TAP emitted by Test::More 0.98\\n", ], Array [ "plan", Object { "comment": "SKIP Insufficient positron flux", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "SKIP Insufficient positron flux", "end": 0, "skipAll": true, "skipReason": "SKIP Insufficient positron flux", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skip-all.tap default settings > stringified 1`] = ` # TAP emitted by Test::More 0.98 1..0 # SKIP Insufficient positron flux ` exports[`test/parser-stringify.js TAP skip-all.tap default settings > stringified flat 1`] = ` # TAP emitted by Test::More 0.98 1..0 # SKIP Insufficient positron flux ` exports[`test/parser-stringify.js TAP skip-all.tap strict > parsed 1`] = ` Array [ Array [ "comment", "# TAP emitted by Test::More 0.98\\n", ], Array [ "plan", Object { "comment": "SKIP Insufficient positron flux", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "SKIP Insufficient positron flux", "end": 0, "skipAll": true, "skipReason": "SKIP Insufficient positron flux", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skip-all.tap strict > stringified 1`] = ` # TAP emitted by Test::More 0.98 1..0 # SKIP Insufficient positron flux ` exports[`test/parser-stringify.js TAP skip-all.tap strict > stringified flat 1`] = ` # TAP emitted by Test::More 0.98 1..0 # SKIP Insufficient positron flux ` exports[`test/parser-stringify.js TAP skip-all.tap strictBail > parsed 1`] = ` Array [ Array [ "comment", "# TAP emitted by Test::More 0.98\\n", ], Array [ "plan", Object { "comment": "SKIP Insufficient positron flux", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "SKIP Insufficient positron flux", "end": 0, "skipAll": true, "skipReason": "SKIP Insufficient positron flux", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skip-all.tap strictBail > stringified 1`] = ` # TAP emitted by Test::More 0.98 1..0 # SKIP Insufficient positron flux ` exports[`test/parser-stringify.js TAP skip-all.tap strictBail > stringified flat 1`] = ` # TAP emitted by Test::More 0.98 1..0 # SKIP Insufficient positron flux ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/skip-one-fail.tap.test.cjs000066400000000000000000000114341433324523500276530ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP skip-one-fail.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "does not count as failure", "ok": false, "skip": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skip-one-fail.tap bail > stringified 1`] = ` TAP version 13 not ok 1 - does not count as failure # SKIP 1..1 # skip: 1 ` exports[`test/parser-stringify.js TAP skip-one-fail.tap bail > stringified flat 1`] = ` TAP version 13 not ok 1 - does not count as failure # SKIP 1..1 # skip: 1 ` exports[`test/parser-stringify.js TAP skip-one-fail.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "does not count as failure", "ok": false, "skip": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skip-one-fail.tap default settings > stringified 1`] = ` TAP version 13 not ok 1 - does not count as failure # SKIP 1..1 # skip: 1 ` exports[`test/parser-stringify.js TAP skip-one-fail.tap default settings > stringified flat 1`] = ` TAP version 13 not ok 1 - does not count as failure # SKIP 1..1 # skip: 1 ` exports[`test/parser-stringify.js TAP skip-one-fail.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "does not count as failure", "ok": false, "skip": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skip-one-fail.tap strict > stringified 1`] = ` TAP version 13 not ok 1 - does not count as failure # SKIP 1..1 # skip: 1 ` exports[`test/parser-stringify.js TAP skip-one-fail.tap strict > stringified flat 1`] = ` TAP version 13 not ok 1 - does not count as failure # SKIP 1..1 # skip: 1 ` exports[`test/parser-stringify.js TAP skip-one-fail.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "does not count as failure", "ok": false, "skip": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skip-one-fail.tap strictBail > stringified 1`] = ` TAP version 13 not ok 1 - does not count as failure # SKIP 1..1 # skip: 1 ` exports[`test/parser-stringify.js TAP skip-one-fail.tap strictBail > stringified flat 1`] = ` TAP version 13 not ok 1 - does not count as failure # SKIP 1..1 # skip: 1 ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/skip-one-ok.tap.test.cjs000066400000000000000000000111041433324523500273430ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP skip-one-ok.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "totally fine", "ok": true, "skip": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skip-one-ok.tap bail > stringified 1`] = ` TAP version 13 ok 1 - totally fine # SKIP 1..1 # skip: 1 ` exports[`test/parser-stringify.js TAP skip-one-ok.tap bail > stringified flat 1`] = ` TAP version 13 ok 1 - totally fine # SKIP 1..1 # skip: 1 ` exports[`test/parser-stringify.js TAP skip-one-ok.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "totally fine", "ok": true, "skip": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skip-one-ok.tap default settings > stringified 1`] = ` TAP version 13 ok 1 - totally fine # SKIP 1..1 # skip: 1 ` exports[`test/parser-stringify.js TAP skip-one-ok.tap default settings > stringified flat 1`] = ` TAP version 13 ok 1 - totally fine # SKIP 1..1 # skip: 1 ` exports[`test/parser-stringify.js TAP skip-one-ok.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "totally fine", "ok": true, "skip": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skip-one-ok.tap strict > stringified 1`] = ` TAP version 13 ok 1 - totally fine # SKIP 1..1 # skip: 1 ` exports[`test/parser-stringify.js TAP skip-one-ok.tap strict > stringified flat 1`] = ` TAP version 13 ok 1 - totally fine # SKIP 1..1 # skip: 1 ` exports[`test/parser-stringify.js TAP skip-one-ok.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "totally fine", "ok": true, "skip": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skip-one-ok.tap strictBail > stringified 1`] = ` TAP version 13 ok 1 - totally fine # SKIP 1..1 # skip: 1 ` exports[`test/parser-stringify.js TAP skip-one-ok.tap strictBail > stringified flat 1`] = ` TAP version 13 ok 1 - totally fine # SKIP 1..1 # skip: 1 ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/skip.tap.test.cjs000066400000000000000000000173741433324523500261740ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP skip.tap bail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "", "ok": true, "skip": "rain delay", }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "#skip should not skip because escaped", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "notskip, because testTitle#skip is not a directive", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "", "ok": true, "skip": "weird spelling but ok, skip it", }, ], Array [ "comment", "# skip: 2\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 2, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skip.tap bail > stringified 1`] = ` 1..5 ok 1 ok 2 # SKIP rain delay ok 3 - \\#skip should not skip because escaped ok 4 - notskip, because testTitle\\#skip is not a directive ok 5 # SKIP weird spelling but ok, skip it # skip: 2 ` exports[`test/parser-stringify.js TAP skip.tap bail > stringified flat 1`] = ` 1..5 ok 1 ok 2 # SKIP rain delay ok 3 - \\#skip should not skip because escaped ok 4 - notskip, because testTitle\\#skip is not a directive ok 5 # SKIP weird spelling but ok, skip it # skip: 2 ` exports[`test/parser-stringify.js TAP skip.tap default settings > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "", "ok": true, "skip": "rain delay", }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "#skip should not skip because escaped", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "notskip, because testTitle#skip is not a directive", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "", "ok": true, "skip": "weird spelling but ok, skip it", }, ], Array [ "comment", "# skip: 2\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 2, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skip.tap default settings > stringified 1`] = ` 1..5 ok 1 ok 2 # SKIP rain delay ok 3 - \\#skip should not skip because escaped ok 4 - notskip, because testTitle\\#skip is not a directive ok 5 # SKIP weird spelling but ok, skip it # skip: 2 ` exports[`test/parser-stringify.js TAP skip.tap default settings > stringified flat 1`] = ` 1..5 ok 1 ok 2 # SKIP rain delay ok 3 - \\#skip should not skip because escaped ok 4 - notskip, because testTitle\\#skip is not a directive ok 5 # SKIP weird spelling but ok, skip it # skip: 2 ` exports[`test/parser-stringify.js TAP skip.tap strict > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "", "ok": true, "skip": "rain delay", }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "#skip should not skip because escaped", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "notskip, because testTitle#skip is not a directive", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "", "ok": true, "skip": "weird spelling but ok, skip it", }, ], Array [ "comment", "# skip: 2\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 2, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skip.tap strict > stringified 1`] = ` 1..5 ok 1 ok 2 # SKIP rain delay ok 3 - \\#skip should not skip because escaped ok 4 - notskip, because testTitle\\#skip is not a directive ok 5 # SKIP weird spelling but ok, skip it # skip: 2 ` exports[`test/parser-stringify.js TAP skip.tap strict > stringified flat 1`] = ` 1..5 ok 1 ok 2 # SKIP rain delay ok 3 - \\#skip should not skip because escaped ok 4 - notskip, because testTitle\\#skip is not a directive ok 5 # SKIP weird spelling but ok, skip it # skip: 2 ` exports[`test/parser-stringify.js TAP skip.tap strictBail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "", "ok": true, "skip": "rain delay", }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "#skip should not skip because escaped", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "notskip, because testTitle#skip is not a directive", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "", "ok": true, "skip": "weird spelling but ok, skip it", }, ], Array [ "comment", "# skip: 2\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 2, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skip.tap strictBail > stringified 1`] = ` 1..5 ok 1 ok 2 # SKIP rain delay ok 3 - \\#skip should not skip because escaped ok 4 - notskip, because testTitle\\#skip is not a directive ok 5 # SKIP weird spelling but ok, skip it # skip: 2 ` exports[`test/parser-stringify.js TAP skip.tap strictBail > stringified flat 1`] = ` 1..5 ok 1 ok 2 # SKIP rain delay ok 3 - \\#skip should not skip because escaped ok 4 - notskip, because testTitle\\#skip is not a directive ok 5 # SKIP weird spelling but ok, skip it # skip: 2 ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/skip_nomsg.tap.test.cjs000066400000000000000000000102001433324523500273540ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP skip_nomsg.tap bail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "", "ok": true, "skip": true, }, ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skip_nomsg.tap bail > stringified 1`] = ` 1..1 ok 1 # SKIP # skip: 1 ` exports[`test/parser-stringify.js TAP skip_nomsg.tap bail > stringified flat 1`] = ` 1..1 ok 1 # SKIP # skip: 1 ` exports[`test/parser-stringify.js TAP skip_nomsg.tap default settings > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "", "ok": true, "skip": true, }, ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skip_nomsg.tap default settings > stringified 1`] = ` 1..1 ok 1 # SKIP # skip: 1 ` exports[`test/parser-stringify.js TAP skip_nomsg.tap default settings > stringified flat 1`] = ` 1..1 ok 1 # SKIP # skip: 1 ` exports[`test/parser-stringify.js TAP skip_nomsg.tap strict > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "", "ok": true, "skip": true, }, ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skip_nomsg.tap strict > stringified 1`] = ` 1..1 ok 1 # SKIP # skip: 1 ` exports[`test/parser-stringify.js TAP skip_nomsg.tap strict > stringified flat 1`] = ` 1..1 ok 1 # SKIP # skip: 1 ` exports[`test/parser-stringify.js TAP skip_nomsg.tap strictBail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "", "ok": true, "skip": true, }, ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skip_nomsg.tap strictBail > stringified 1`] = ` 1..1 ok 1 # SKIP # skip: 1 ` exports[`test/parser-stringify.js TAP skip_nomsg.tap strictBail > stringified flat 1`] = ` 1..1 ok 1 # SKIP # skip: 1 ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/skipall.tap.test.cjs000066400000000000000000000070541433324523500266570ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP skipall.tap bail > parsed 1`] = ` Array [ Array [ "plan", Object { "comment": "skipping: rope", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "skipping: rope", "end": 0, "skipAll": true, "skipReason": "skipping: rope", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skipall.tap bail > stringified 1`] = ` 1..0 # skipping: rope ` exports[`test/parser-stringify.js TAP skipall.tap bail > stringified flat 1`] = ` 1..0 # skipping: rope ` exports[`test/parser-stringify.js TAP skipall.tap default settings > parsed 1`] = ` Array [ Array [ "plan", Object { "comment": "skipping: rope", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "skipping: rope", "end": 0, "skipAll": true, "skipReason": "skipping: rope", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skipall.tap default settings > stringified 1`] = ` 1..0 # skipping: rope ` exports[`test/parser-stringify.js TAP skipall.tap default settings > stringified flat 1`] = ` 1..0 # skipping: rope ` exports[`test/parser-stringify.js TAP skipall.tap strict > parsed 1`] = ` Array [ Array [ "plan", Object { "comment": "skipping: rope", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "skipping: rope", "end": 0, "skipAll": true, "skipReason": "skipping: rope", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skipall.tap strict > stringified 1`] = ` 1..0 # skipping: rope ` exports[`test/parser-stringify.js TAP skipall.tap strict > stringified flat 1`] = ` 1..0 # skipping: rope ` exports[`test/parser-stringify.js TAP skipall.tap strictBail > parsed 1`] = ` Array [ Array [ "plan", Object { "comment": "skipping: rope", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "skipping: rope", "end": 0, "skipAll": true, "skipReason": "skipping: rope", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skipall.tap strictBail > stringified 1`] = ` 1..0 # skipping: rope ` exports[`test/parser-stringify.js TAP skipall.tap strictBail > stringified flat 1`] = ` 1..0 # skipping: rope ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/skipall_nomsg.tap.test.cjs000066400000000000000000000063601433324523500300610ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP skipall_nomsg.tap bail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "", "end": 0, "skipAll": true, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skipall_nomsg.tap bail > stringified 1`] = ` 1..0 ` exports[`test/parser-stringify.js TAP skipall_nomsg.tap bail > stringified flat 1`] = ` 1..0 ` exports[`test/parser-stringify.js TAP skipall_nomsg.tap default settings > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "", "end": 0, "skipAll": true, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skipall_nomsg.tap default settings > stringified 1`] = ` 1..0 ` exports[`test/parser-stringify.js TAP skipall_nomsg.tap default settings > stringified flat 1`] = ` 1..0 ` exports[`test/parser-stringify.js TAP skipall_nomsg.tap strict > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "", "end": 0, "skipAll": true, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skipall_nomsg.tap strict > stringified 1`] = ` 1..0 ` exports[`test/parser-stringify.js TAP skipall_nomsg.tap strict > stringified flat 1`] = ` 1..0 ` exports[`test/parser-stringify.js TAP skipall_nomsg.tap strictBail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "", "end": 0, "skipAll": true, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skipall_nomsg.tap strictBail > stringified 1`] = ` 1..0 ` exports[`test/parser-stringify.js TAP skipall_nomsg.tap strictBail > stringified flat 1`] = ` 1..0 ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/skipall_v13.tap.test.cjs000066400000000000000000000075541433324523500273550ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP skipall_v13.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "comment": "skipping: rope", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "skipping: rope", "end": 0, "skipAll": true, "skipReason": "skipping: rope", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skipall_v13.tap bail > stringified 1`] = ` TAP version 13 1..0 # skipping: rope ` exports[`test/parser-stringify.js TAP skipall_v13.tap bail > stringified flat 1`] = ` TAP version 13 1..0 # skipping: rope ` exports[`test/parser-stringify.js TAP skipall_v13.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "comment": "skipping: rope", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "skipping: rope", "end": 0, "skipAll": true, "skipReason": "skipping: rope", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skipall_v13.tap default settings > stringified 1`] = ` TAP version 13 1..0 # skipping: rope ` exports[`test/parser-stringify.js TAP skipall_v13.tap default settings > stringified flat 1`] = ` TAP version 13 1..0 # skipping: rope ` exports[`test/parser-stringify.js TAP skipall_v13.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "comment": "skipping: rope", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "skipping: rope", "end": 0, "skipAll": true, "skipReason": "skipping: rope", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skipall_v13.tap strict > stringified 1`] = ` TAP version 13 1..0 # skipping: rope ` exports[`test/parser-stringify.js TAP skipall_v13.tap strict > stringified flat 1`] = ` TAP version 13 1..0 # skipping: rope ` exports[`test/parser-stringify.js TAP skipall_v13.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "comment": "skipping: rope", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "skipping: rope", "end": 0, "skipAll": true, "skipReason": "skipping: rope", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skipall_v13.tap strictBail > stringified 1`] = ` TAP version 13 1..0 # skipping: rope ` exports[`test/parser-stringify.js TAP skipall_v13.tap strictBail > stringified flat 1`] = ` TAP version 13 1..0 # skipping: rope ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/skippidy-doo-dah.tap.test.cjs000066400000000000000000000111201433324523500303520ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP skippidy-doo-dah.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "x", "ok": true, "skip": "doo dah", }, ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skippidy-doo-dah.tap bail > stringified 1`] = ` TAP version 13 1..1 ok 1 - x # SKIP doo dah # skip: 1 ` exports[`test/parser-stringify.js TAP skippidy-doo-dah.tap bail > stringified flat 1`] = ` TAP version 13 1..1 ok 1 - x # SKIP doo dah # skip: 1 ` exports[`test/parser-stringify.js TAP skippidy-doo-dah.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "x", "ok": true, "skip": "doo dah", }, ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skippidy-doo-dah.tap default settings > stringified 1`] = ` TAP version 13 1..1 ok 1 - x # SKIP doo dah # skip: 1 ` exports[`test/parser-stringify.js TAP skippidy-doo-dah.tap default settings > stringified flat 1`] = ` TAP version 13 1..1 ok 1 - x # SKIP doo dah # skip: 1 ` exports[`test/parser-stringify.js TAP skippidy-doo-dah.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "x", "ok": true, "skip": "doo dah", }, ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skippidy-doo-dah.tap strict > stringified 1`] = ` TAP version 13 1..1 ok 1 - x # SKIP doo dah # skip: 1 ` exports[`test/parser-stringify.js TAP skippidy-doo-dah.tap strict > stringified flat 1`] = ` TAP version 13 1..1 ok 1 - x # SKIP doo dah # skip: 1 ` exports[`test/parser-stringify.js TAP skippidy-doo-dah.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "x", "ok": true, "skip": "doo dah", }, ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skippidy-doo-dah.tap strictBail > stringified 1`] = ` TAP version 13 1..1 ok 1 - x # SKIP doo dah # skip: 1 ` exports[`test/parser-stringify.js TAP skippidy-doo-dah.tap strictBail > stringified flat 1`] = ` TAP version 13 1..1 ok 1 - x # SKIP doo dah # skip: 1 ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/skipping-a-few.tap.test.cjs000066400000000000000000000205701433324523500300370ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP skipping-a-few.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "approved operating system", "ok": true, }, ], Array [ "comment", "# $^0 is solaris\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "", "ok": true, "skip": "no /sys directory", }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "", "ok": true, "skip": "no /sys directory", }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "", "ok": true, "skip": "no /sys directory", }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "", "ok": true, "skip": "no /sys directory", }, ], Array [ "comment", "# skip: 4\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 4, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skipping-a-few.tap bail > stringified 1`] = ` TAP 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 # skip: 4 ` exports[`test/parser-stringify.js TAP skipping-a-few.tap bail > stringified flat 1`] = ` TAP 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 # skip: 4 ` exports[`test/parser-stringify.js TAP skipping-a-few.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "approved operating system", "ok": true, }, ], Array [ "comment", "# $^0 is solaris\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "", "ok": true, "skip": "no /sys directory", }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "", "ok": true, "skip": "no /sys directory", }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "", "ok": true, "skip": "no /sys directory", }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "", "ok": true, "skip": "no /sys directory", }, ], Array [ "comment", "# skip: 4\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 4, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skipping-a-few.tap default settings > stringified 1`] = ` TAP 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 # skip: 4 ` exports[`test/parser-stringify.js TAP skipping-a-few.tap default settings > stringified flat 1`] = ` TAP 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 # skip: 4 ` exports[`test/parser-stringify.js TAP skipping-a-few.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "approved operating system", "ok": true, }, ], Array [ "comment", "# $^0 is solaris\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "", "ok": true, "skip": "no /sys directory", }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "", "ok": true, "skip": "no /sys directory", }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "", "ok": true, "skip": "no /sys directory", }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "", "ok": true, "skip": "no /sys directory", }, ], Array [ "comment", "# skip: 4\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 4, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skipping-a-few.tap strict > stringified 1`] = ` TAP 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 # skip: 4 ` exports[`test/parser-stringify.js TAP skipping-a-few.tap strict > stringified flat 1`] = ` TAP 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 # skip: 4 ` exports[`test/parser-stringify.js TAP skipping-a-few.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "approved operating system", "ok": true, }, ], Array [ "comment", "# $^0 is solaris\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "", "ok": true, "skip": "no /sys directory", }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "", "ok": true, "skip": "no /sys directory", }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "", "ok": true, "skip": "no /sys directory", }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "", "ok": true, "skip": "no /sys directory", }, ], Array [ "comment", "# skip: 4\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 4, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP skipping-a-few.tap strictBail > stringified 1`] = ` TAP 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 # skip: 4 ` exports[`test/parser-stringify.js TAP skipping-a-few.tap strictBail > stringified flat 1`] = ` TAP 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 # skip: 4 ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/space_after_plan.tap.test.cjs000066400000000000000000000162561433324523500305120ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP space_after_plan.tap bail > parsed 1`] = ` Array [ Array [ "extra", "1..5 \\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "", "ok": true, }, ], Array [ "comment", "# test count(5) != plan(null)\\n", ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Object { "tapError": "no plan", }, ], "ok": false, "pass": 5, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP space_after_plan.tap bail > stringified 1`] = ` 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 # test count(5) != plan(null) # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP space_after_plan.tap bail > stringified flat 1`] = ` 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 # test count(5) != plan(null) # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP space_after_plan.tap default settings > parsed 1`] = ` Array [ Array [ "extra", "1..5 \\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "", "ok": true, }, ], Array [ "comment", "# test count(5) != plan(null)\\n", ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Object { "tapError": "no plan", }, ], "ok": false, "pass": 5, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP space_after_plan.tap default settings > stringified 1`] = ` 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 # test count(5) != plan(null) # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP space_after_plan.tap default settings > stringified flat 1`] = ` 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 # test count(5) != plan(null) # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP space_after_plan.tap strict > parsed 1`] = ` Array [ Array [ "extra", "1..5 \\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "", "ok": true, }, ], Array [ "comment", "# test count(5) != plan(null)\\n", ], Array [ "comment", "# failed 2 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 2, "failures": Array [ Object { "data": "1..5 \\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "tapError": "no plan", }, ], "ok": false, "pass": 5, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP space_after_plan.tap strict > stringified 1`] = ` 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 # test count(5) != plan(null) # failed 2 of 5 tests ` exports[`test/parser-stringify.js TAP space_after_plan.tap strict > stringified flat 1`] = ` 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 # test count(5) != plan(null) # failed 2 of 5 tests ` exports[`test/parser-stringify.js TAP space_after_plan.tap strictBail > parsed 1`] = ` Array [ Array [ "extra", "1..5 \\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "", "ok": true, }, ], Array [ "comment", "# test count(5) != plan(null)\\n", ], Array [ "comment", "# failed 2 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 2, "failures": Array [ Object { "data": "1..5 \\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "tapError": "no plan", }, ], "ok": false, "pass": 5, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP space_after_plan.tap strictBail > stringified 1`] = ` 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 # test count(5) != plan(null) # failed 2 of 5 tests ` exports[`test/parser-stringify.js TAP space_after_plan.tap strictBail > stringified flat 1`] = ` 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 # test count(5) != plan(null) # failed 2 of 5 tests ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/stdout_stderr.tap.test.cjs000066400000000000000000000120241433324523500301160ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP stdout_stderr.tap bail > parsed 1`] = ` Array [ Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP stdout_stderr.tap bail > stringified 1`] = ` ok 1 ok 2 ok 3 ok 4 1..4 ` exports[`test/parser-stringify.js TAP stdout_stderr.tap bail > stringified flat 1`] = ` ok 1 ok 2 ok 3 ok 4 1..4 ` exports[`test/parser-stringify.js TAP stdout_stderr.tap default settings > parsed 1`] = ` Array [ Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP stdout_stderr.tap default settings > stringified 1`] = ` ok 1 ok 2 ok 3 ok 4 1..4 ` exports[`test/parser-stringify.js TAP stdout_stderr.tap default settings > stringified flat 1`] = ` ok 1 ok 2 ok 3 ok 4 1..4 ` exports[`test/parser-stringify.js TAP stdout_stderr.tap strict > parsed 1`] = ` Array [ Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP stdout_stderr.tap strict > stringified 1`] = ` ok 1 ok 2 ok 3 ok 4 1..4 ` exports[`test/parser-stringify.js TAP stdout_stderr.tap strict > stringified flat 1`] = ` ok 1 ok 2 ok 3 ok 4 1..4 ` exports[`test/parser-stringify.js TAP stdout_stderr.tap strictBail > parsed 1`] = ` Array [ Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP stdout_stderr.tap strictBail > stringified 1`] = ` ok 1 ok 2 ok 3 ok 4 1..4 ` exports[`test/parser-stringify.js TAP stdout_stderr.tap strictBail > stringified flat 1`] = ` ok 1 ok 2 ok 3 ok 4 1..4 ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/strict-pragma-child-broken-diags.tap.test.cjs000066400000000000000000000314021433324523500334130ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP strict-pragma-child-broken-diags.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "pragma", "strict", true, ], Array [ "child", Array [ Array [ "comment", "# Subtest: child\\n", ], Array [ "assert", Result { "fullname": "child", "id": 1, "name": "test point in child", "ok": false, }, ], Array [ "bailout", "test point in child", ], Array [ "complete", FinalResults { "bailout": "test point in child", "count": 1, "fail": 3, "failures": Array [ Object { "data": " ...\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " hello: world\\n", "tapError": "Non-TAP data encountered in strict mode", }, Result { "fullname": "child", "id": 1, "name": "test point in child", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "extra", " ...\\n", ], Array [ "extra", " hello: world\\n", ], Array [ "bailout", "test point in child", ], Array [ "complete", FinalResults { "bailout": "test point in child", "count": 0, "fail": 2, "failures": Array [ Object { "data": " ...\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " hello: world\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP strict-pragma-child-broken-diags.tap bail > stringified 1`] = ` TAP version 13 pragma +strict # Subtest: child not ok 1 - test point in child Bail out! test point in child ... hello: world Bail out! test point in child ` exports[`test/parser-stringify.js TAP strict-pragma-child-broken-diags.tap bail > stringified flat 1`] = ` TAP version 13 pragma +strict # Subtest: child not ok 1 - test point in child Bail out! test point in child ... hello: world Bail out! test point in child ` exports[`test/parser-stringify.js TAP strict-pragma-child-broken-diags.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "pragma", "strict", true, ], Array [ "child", Array [ Array [ "comment", "# Subtest: child\\n", ], Array [ "assert", Result { "fullname": "child", "id": 1, "name": "test point in child", "ok": false, }, ], Array [ "comment", "# test count(1) != plan(null)\\n", ], Array [ "comment", "# failed 4 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 4, "failures": Array [ Object { "data": " ...\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " hello: world\\n", "tapError": "Non-TAP data encountered in strict mode", }, Result { "fullname": "child", "id": 1, "name": "test point in child", "ok": false, }, Object { "tapError": "no plan", }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "extra", " ...\\n", ], Array [ "extra", " hello: world\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "child", "ok": false, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# failed 3 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 3, "failures": Array [ Object { "data": " ...\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " hello: world\\n", "tapError": "Non-TAP data encountered in strict mode", }, Result { "fullname": "", "id": 1, "name": "child", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP strict-pragma-child-broken-diags.tap default settings > stringified 1`] = ` TAP version 13 pragma +strict # Subtest: child not ok 1 - test point in child # test count(1) != plan(null) # failed 4 test ... hello: world not ok 1 - child 1..1 # failed 3 test ` exports[`test/parser-stringify.js TAP strict-pragma-child-broken-diags.tap default settings > stringified flat 1`] = ` TAP version 13 pragma +strict # Subtest: child not ok 1 - test point in child # test count(1) != plan(null) # failed 4 test ... hello: world not ok 1 - child 1..1 # failed 3 test ` exports[`test/parser-stringify.js TAP strict-pragma-child-broken-diags.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "pragma", "strict", true, ], Array [ "child", Array [ Array [ "comment", "# Subtest: child\\n", ], Array [ "assert", Result { "fullname": "child", "id": 1, "name": "test point in child", "ok": false, }, ], Array [ "comment", "# test count(1) != plan(null)\\n", ], Array [ "comment", "# failed 4 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 4, "failures": Array [ Object { "data": " ...\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " hello: world\\n", "tapError": "Non-TAP data encountered in strict mode", }, Result { "fullname": "child", "id": 1, "name": "test point in child", "ok": false, }, Object { "tapError": "no plan", }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "extra", " ...\\n", ], Array [ "extra", " hello: world\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "child", "ok": false, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# failed 3 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 3, "failures": Array [ Object { "data": " ...\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " hello: world\\n", "tapError": "Non-TAP data encountered in strict mode", }, Result { "fullname": "", "id": 1, "name": "child", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP strict-pragma-child-broken-diags.tap strict > stringified 1`] = ` TAP version 13 pragma +strict # Subtest: child not ok 1 - test point in child # test count(1) != plan(null) # failed 4 test ... hello: world not ok 1 - child 1..1 # failed 3 test ` exports[`test/parser-stringify.js TAP strict-pragma-child-broken-diags.tap strict > stringified flat 1`] = ` TAP version 13 pragma +strict # Subtest: child not ok 1 - test point in child # test count(1) != plan(null) # failed 4 test ... hello: world not ok 1 - child 1..1 # failed 3 test ` exports[`test/parser-stringify.js TAP strict-pragma-child-broken-diags.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "pragma", "strict", true, ], Array [ "child", Array [ Array [ "comment", "# Subtest: child\\n", ], Array [ "assert", Result { "fullname": "child", "id": 1, "name": "test point in child", "ok": false, }, ], Array [ "bailout", "test point in child", ], Array [ "complete", FinalResults { "bailout": "test point in child", "count": 1, "fail": 3, "failures": Array [ Object { "data": " ...\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " hello: world\\n", "tapError": "Non-TAP data encountered in strict mode", }, Result { "fullname": "child", "id": 1, "name": "test point in child", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "extra", " ...\\n", ], Array [ "extra", " hello: world\\n", ], Array [ "bailout", "test point in child", ], Array [ "complete", FinalResults { "bailout": "test point in child", "count": 0, "fail": 2, "failures": Array [ Object { "data": " ...\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " hello: world\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP strict-pragma-child-broken-diags.tap strictBail > stringified 1`] = ` TAP version 13 pragma +strict # Subtest: child not ok 1 - test point in child Bail out! test point in child ... hello: world Bail out! test point in child ` exports[`test/parser-stringify.js TAP strict-pragma-child-broken-diags.tap strictBail > stringified flat 1`] = ` TAP version 13 pragma +strict # Subtest: child not ok 1 - test point in child Bail out! test point in child ... hello: world Bail out! test point in child ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/strict.tap.test.cjs000066400000000000000000000142401433324523500265230ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP strict.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "pragma", "strict", true, ], Array [ "extra", "Nonsense!\\n", ], Array [ "pragma", "strict", false, ], Array [ "extra", "Doesn't matter.\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "All OK", "ok": true, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Object { "data": "Nonsense!\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP strict.tap bail > stringified 1`] = ` TAP version 13 1..1 pragma +strict Nonsense! pragma -strict Doesn't matter. ok 1 - All OK # failed 1 test ` exports[`test/parser-stringify.js TAP strict.tap bail > stringified flat 1`] = ` TAP version 13 1..1 pragma +strict Nonsense! pragma -strict Doesn't matter. ok 1 - All OK # failed 1 test ` exports[`test/parser-stringify.js TAP strict.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "pragma", "strict", true, ], Array [ "extra", "Nonsense!\\n", ], Array [ "pragma", "strict", false, ], Array [ "extra", "Doesn't matter.\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "All OK", "ok": true, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Object { "data": "Nonsense!\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP strict.tap default settings > stringified 1`] = ` TAP version 13 1..1 pragma +strict Nonsense! pragma -strict Doesn't matter. ok 1 - All OK # failed 1 test ` exports[`test/parser-stringify.js TAP strict.tap default settings > stringified flat 1`] = ` TAP version 13 1..1 pragma +strict Nonsense! pragma -strict Doesn't matter. ok 1 - All OK # failed 1 test ` exports[`test/parser-stringify.js TAP strict.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "pragma", "strict", true, ], Array [ "extra", "Nonsense!\\n", ], Array [ "pragma", "strict", false, ], Array [ "extra", "Doesn't matter.\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "All OK", "ok": true, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Object { "data": "Nonsense!\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP strict.tap strict > stringified 1`] = ` TAP version 13 1..1 pragma +strict Nonsense! pragma -strict Doesn't matter. ok 1 - All OK # failed 1 test ` exports[`test/parser-stringify.js TAP strict.tap strict > stringified flat 1`] = ` TAP version 13 1..1 pragma +strict Nonsense! pragma -strict Doesn't matter. ok 1 - All OK # failed 1 test ` exports[`test/parser-stringify.js TAP strict.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "pragma", "strict", true, ], Array [ "extra", "Nonsense!\\n", ], Array [ "pragma", "strict", false, ], Array [ "extra", "Doesn't matter.\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "All OK", "ok": true, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Object { "data": "Nonsense!\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP strict.tap strictBail > stringified 1`] = ` TAP version 13 1..1 pragma +strict Nonsense! pragma -strict Doesn't matter. ok 1 - All OK # failed 1 test ` exports[`test/parser-stringify.js TAP strict.tap strictBail > stringified flat 1`] = ` TAP version 13 1..1 pragma +strict Nonsense! pragma -strict Doesn't matter. ok 1 - All OK # failed 1 test ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/subtest-buffer-diags-time.tap.test.cjs000066400000000000000000000424301433324523500321760ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP subtest-buffer-diags-time.tap bail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "assert", Result { "fullname": "first", "name": "x", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 12.34, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "first", "ok": true, "time": 12.34, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "assert", Result { "fullname": "second", "name": "x", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 12.34, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 2, "name": "second", "ok": true, "time": 12.34, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: third\\n", ], Array [ "assert", Result { "fullname": "third", "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 43.21, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "diag": Object { "some": "diagnostic", }, "fullname": "", "id": 3, "name": "third", "ok": true, "time": 43.21, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-buffer-diags-time.tap bail > stringified 1`] = ` 1..3 # Subtest: first ok - x 1..1 ok 1 - first # time=12.34ms # Subtest: second ok - x 1..1 ok 2 - second # time=12.34ms # Subtest: third ok - y 1..1 ok 3 - third # time=43.21ms --- some: diagnostic ... ` exports[`test/parser-stringify.js TAP subtest-buffer-diags-time.tap bail > stringified flat 1`] = ` 1..3 # Subtest: first ok - x 1..1 ok 1 - first # time=12.34ms # Subtest: second ok - x 1..1 ok 2 - second # time=12.34ms # Subtest: third ok - y 1..1 ok 3 - third # time=43.21ms --- some: diagnostic ... ` exports[`test/parser-stringify.js TAP subtest-buffer-diags-time.tap default settings > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "assert", Result { "fullname": "first", "name": "x", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 12.34, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "first", "ok": true, "time": 12.34, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "assert", Result { "fullname": "second", "name": "x", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 12.34, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 2, "name": "second", "ok": true, "time": 12.34, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: third\\n", ], Array [ "assert", Result { "fullname": "third", "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 43.21, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "diag": Object { "some": "diagnostic", }, "fullname": "", "id": 3, "name": "third", "ok": true, "time": 43.21, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-buffer-diags-time.tap default settings > stringified 1`] = ` 1..3 # Subtest: first ok - x 1..1 ok 1 - first # time=12.34ms # Subtest: second ok - x 1..1 ok 2 - second # time=12.34ms # Subtest: third ok - y 1..1 ok 3 - third # time=43.21ms --- some: diagnostic ... ` exports[`test/parser-stringify.js TAP subtest-buffer-diags-time.tap default settings > stringified flat 1`] = ` 1..3 # Subtest: first ok - x 1..1 ok 1 - first # time=12.34ms # Subtest: second ok - x 1..1 ok 2 - second # time=12.34ms # Subtest: third ok - y 1..1 ok 3 - third # time=43.21ms --- some: diagnostic ... ` exports[`test/parser-stringify.js TAP subtest-buffer-diags-time.tap strict > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "assert", Result { "fullname": "first", "name": "x", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 12.34, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "first", "ok": true, "time": 12.34, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "assert", Result { "fullname": "second", "name": "x", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 12.34, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 2, "name": "second", "ok": true, "time": 12.34, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: third\\n", ], Array [ "assert", Result { "fullname": "third", "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 43.21, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "diag": Object { "some": "diagnostic", }, "fullname": "", "id": 3, "name": "third", "ok": true, "time": 43.21, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-buffer-diags-time.tap strict > stringified 1`] = ` 1..3 # Subtest: first ok - x 1..1 ok 1 - first # time=12.34ms # Subtest: second ok - x 1..1 ok 2 - second # time=12.34ms # Subtest: third ok - y 1..1 ok 3 - third # time=43.21ms --- some: diagnostic ... ` exports[`test/parser-stringify.js TAP subtest-buffer-diags-time.tap strict > stringified flat 1`] = ` 1..3 # Subtest: first ok - x 1..1 ok 1 - first # time=12.34ms # Subtest: second ok - x 1..1 ok 2 - second # time=12.34ms # Subtest: third ok - y 1..1 ok 3 - third # time=43.21ms --- some: diagnostic ... ` exports[`test/parser-stringify.js TAP subtest-buffer-diags-time.tap strictBail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "assert", Result { "fullname": "first", "name": "x", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 12.34, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "first", "ok": true, "time": 12.34, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "assert", Result { "fullname": "second", "name": "x", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 12.34, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 2, "name": "second", "ok": true, "time": 12.34, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: third\\n", ], Array [ "assert", Result { "fullname": "third", "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 43.21, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "diag": Object { "some": "diagnostic", }, "fullname": "", "id": 3, "name": "third", "ok": true, "time": 43.21, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-buffer-diags-time.tap strictBail > stringified 1`] = ` 1..3 # Subtest: first ok - x 1..1 ok 1 - first # time=12.34ms # Subtest: second ok - x 1..1 ok 2 - second # time=12.34ms # Subtest: third ok - y 1..1 ok 3 - third # time=43.21ms --- some: diagnostic ... ` exports[`test/parser-stringify.js TAP subtest-buffer-diags-time.tap strictBail > stringified flat 1`] = ` 1..3 # Subtest: first ok - x 1..1 ok 1 - first # time=12.34ms # Subtest: second ok - x 1..1 ok 2 - second # time=12.34ms # Subtest: third ok - y 1..1 ok 3 - third # time=43.21ms --- some: diagnostic ... ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/subtest-buffer-todo.tap.test.cjs000066400000000000000000000315441433324523500311240ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP subtest-buffer-todo.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: tbd\\n", ], Array [ "assert", Result { "fullname": "tbd", "id": 1, "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "tbd", "ok": true, "todo": "foo", }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: skippy\\n", ], Array [ "assert", Result { "fullname": "skippy", "id": 1, "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 2, "name": "skippy", "ok": true, "skip": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# todo: 1\\n", ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 1, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-buffer-todo.tap bail > stringified 1`] = ` TAP version 13 # Subtest: tbd ok 1 1..1 ok 1 - tbd # TODO foo # Subtest: skippy ok 1 1..1 ok 2 - skippy # SKIP 1..2 # todo: 1 # skip: 1 ` exports[`test/parser-stringify.js TAP subtest-buffer-todo.tap bail > stringified flat 1`] = ` TAP version 13 # Subtest: tbd ok 1 1..1 ok 1 - tbd # TODO foo # Subtest: skippy ok 1 1..1 ok 2 - skippy # SKIP 1..2 # todo: 1 # skip: 1 ` exports[`test/parser-stringify.js TAP subtest-buffer-todo.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: tbd\\n", ], Array [ "assert", Result { "fullname": "tbd", "id": 1, "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "tbd", "ok": true, "todo": "foo", }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: skippy\\n", ], Array [ "assert", Result { "fullname": "skippy", "id": 1, "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 2, "name": "skippy", "ok": true, "skip": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# todo: 1\\n", ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 1, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-buffer-todo.tap default settings > stringified 1`] = ` TAP version 13 # Subtest: tbd ok 1 1..1 ok 1 - tbd # TODO foo # Subtest: skippy ok 1 1..1 ok 2 - skippy # SKIP 1..2 # todo: 1 # skip: 1 ` exports[`test/parser-stringify.js TAP subtest-buffer-todo.tap default settings > stringified flat 1`] = ` TAP version 13 # Subtest: tbd ok 1 1..1 ok 1 - tbd # TODO foo # Subtest: skippy ok 1 1..1 ok 2 - skippy # SKIP 1..2 # todo: 1 # skip: 1 ` exports[`test/parser-stringify.js TAP subtest-buffer-todo.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: tbd\\n", ], Array [ "assert", Result { "fullname": "tbd", "id": 1, "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "tbd", "ok": true, "todo": "foo", }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: skippy\\n", ], Array [ "assert", Result { "fullname": "skippy", "id": 1, "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 2, "name": "skippy", "ok": true, "skip": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# todo: 1\\n", ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 1, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-buffer-todo.tap strict > stringified 1`] = ` TAP version 13 # Subtest: tbd ok 1 1..1 ok 1 - tbd # TODO foo # Subtest: skippy ok 1 1..1 ok 2 - skippy # SKIP 1..2 # todo: 1 # skip: 1 ` exports[`test/parser-stringify.js TAP subtest-buffer-todo.tap strict > stringified flat 1`] = ` TAP version 13 # Subtest: tbd ok 1 1..1 ok 1 - tbd # TODO foo # Subtest: skippy ok 1 1..1 ok 2 - skippy # SKIP 1..2 # todo: 1 # skip: 1 ` exports[`test/parser-stringify.js TAP subtest-buffer-todo.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: tbd\\n", ], Array [ "assert", Result { "fullname": "tbd", "id": 1, "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "tbd", "ok": true, "todo": "foo", }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: skippy\\n", ], Array [ "assert", Result { "fullname": "skippy", "id": 1, "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 2, "name": "skippy", "ok": true, "skip": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# todo: 1\\n", ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 1, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-buffer-todo.tap strictBail > stringified 1`] = ` TAP version 13 # Subtest: tbd ok 1 1..1 ok 1 - tbd # TODO foo # Subtest: skippy ok 1 1..1 ok 2 - skippy # SKIP 1..2 # todo: 1 # skip: 1 ` exports[`test/parser-stringify.js TAP subtest-buffer-todo.tap strictBail > stringified flat 1`] = ` TAP version 13 # Subtest: tbd ok 1 1..1 ok 1 - tbd # TODO foo # Subtest: skippy ok 1 1..1 ok 2 - skippy # SKIP 1..2 # todo: 1 # skip: 1 ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/subtest-buffer.tap.test.cjs000066400000000000000000000550341433324523500301610ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP subtest-buffer.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "nesting", "id": 1, "name": "first", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "assert", Result { "fullname": "nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "nesting", "id": 2, "name": "second", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "nesting", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# time=66.857ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 66.857, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-buffer.tap bail > stringified 1`] = ` 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 # Subtest: second ok 1 - but that is ok ok 2 - this passes ok 3 - nested ok 1..3 ok 2 - second ok 1 - nesting ok 2 - this passes 1..2 # time=66.857ms ` exports[`test/parser-stringify.js TAP subtest-buffer.tap bail > stringified flat 1`] = ` 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 # Subtest: second ok 1 - but that is ok ok 2 - this passes ok 3 - nested ok 1..3 ok 2 - second ok 1 - nesting ok 2 - this passes 1..2 # time=66.857ms ` exports[`test/parser-stringify.js TAP subtest-buffer.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "nesting", "id": 1, "name": "first", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "assert", Result { "fullname": "nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "nesting", "id": 2, "name": "second", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "nesting", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# time=66.857ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 66.857, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-buffer.tap default settings > stringified 1`] = ` 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 # Subtest: second ok 1 - but that is ok ok 2 - this passes ok 3 - nested ok 1..3 ok 2 - second ok 1 - nesting ok 2 - this passes 1..2 # time=66.857ms ` exports[`test/parser-stringify.js TAP subtest-buffer.tap default settings > stringified flat 1`] = ` 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 # Subtest: second ok 1 - but that is ok ok 2 - this passes ok 3 - nested ok 1..3 ok 2 - second ok 1 - nesting ok 2 - this passes 1..2 # time=66.857ms ` exports[`test/parser-stringify.js TAP subtest-buffer.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "nesting", "id": 1, "name": "first", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "assert", Result { "fullname": "nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "nesting", "id": 2, "name": "second", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "nesting", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# time=66.857ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 66.857, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-buffer.tap strict > stringified 1`] = ` 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 # Subtest: second ok 1 - but that is ok ok 2 - this passes ok 3 - nested ok 1..3 ok 2 - second ok 1 - nesting ok 2 - this passes 1..2 # time=66.857ms ` exports[`test/parser-stringify.js TAP subtest-buffer.tap strict > stringified flat 1`] = ` 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 # Subtest: second ok 1 - but that is ok ok 2 - this passes ok 3 - nested ok 1..3 ok 2 - second ok 1 - nesting ok 2 - this passes 1..2 # time=66.857ms ` exports[`test/parser-stringify.js TAP subtest-buffer.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "nesting", "id": 1, "name": "first", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "assert", Result { "fullname": "nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "nesting", "id": 2, "name": "second", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "nesting", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# time=66.857ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 66.857, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-buffer.tap strictBail > stringified 1`] = ` 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 # Subtest: second ok 1 - but that is ok ok 2 - this passes ok 3 - nested ok 1..3 ok 2 - second ok 1 - nesting ok 2 - this passes 1..2 # time=66.857ms ` exports[`test/parser-stringify.js TAP subtest-buffer.tap strictBail > stringified flat 1`] = ` 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 # Subtest: second ok 1 - but that is ok ok 2 - this passes ok 3 - nested ok 1..3 ok 2 - second ok 1 - nesting ok 2 - this passes 1..2 # time=66.857ms ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/subtest-comment-indent.tap.test.cjs000066400000000000000000000776041433324523500316400ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP subtest-comment-indent.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: ../tap/test/test/ok.js\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# time=55.292ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 205.826, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# time=223.468ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 223.468, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-comment-indent.tap bail > stringified 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP subtest-comment-indent.tap bail > stringified flat 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP subtest-comment-indent.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: ../tap/test/test/ok.js\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# time=55.292ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 205.826, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# time=223.468ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 223.468, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-comment-indent.tap default settings > stringified 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP subtest-comment-indent.tap default settings > stringified flat 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP subtest-comment-indent.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: ../tap/test/test/ok.js\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# time=55.292ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 205.826, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# time=223.468ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 223.468, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-comment-indent.tap strict > stringified 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP subtest-comment-indent.tap strict > stringified flat 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP subtest-comment-indent.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: ../tap/test/test/ok.js\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# time=55.292ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 205.826, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# time=223.468ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 223.468, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-comment-indent.tap strictBail > stringified 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP subtest-comment-indent.tap strictBail > stringified flat 1`] = ` TAP 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-11.0.2/tap-snapshots/test/parser-stringify/subtest-comment-leading.tap.test.cjs000066400000000000000000000567141433324523500317610ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP subtest-comment-leading.tap bail > parsed 1`] = ` Array [ Array [ "comment", "# Subtest: test/test/ok.js\\n", ], Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "nesting", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "assert", Result { "fullname": "nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "nesting", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# time=55.292ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 55.292, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-comment-leading.tap bail > stringified 1`] = ` # 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 ` exports[`test/parser-stringify.js TAP subtest-comment-leading.tap bail > stringified flat 1`] = ` # 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 ` exports[`test/parser-stringify.js TAP subtest-comment-leading.tap default settings > parsed 1`] = ` Array [ Array [ "comment", "# Subtest: test/test/ok.js\\n", ], Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "nesting", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "assert", Result { "fullname": "nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "nesting", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# time=55.292ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 55.292, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-comment-leading.tap default settings > stringified 1`] = ` # 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 ` exports[`test/parser-stringify.js TAP subtest-comment-leading.tap default settings > stringified flat 1`] = ` # 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 ` exports[`test/parser-stringify.js TAP subtest-comment-leading.tap strict > parsed 1`] = ` Array [ Array [ "comment", "# Subtest: test/test/ok.js\\n", ], Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "nesting", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "assert", Result { "fullname": "nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "nesting", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# time=55.292ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 55.292, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-comment-leading.tap strict > stringified 1`] = ` # 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 ` exports[`test/parser-stringify.js TAP subtest-comment-leading.tap strict > stringified flat 1`] = ` # 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 ` exports[`test/parser-stringify.js TAP subtest-comment-leading.tap strictBail > parsed 1`] = ` Array [ Array [ "comment", "# Subtest: test/test/ok.js\\n", ], Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "nesting", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "assert", Result { "fullname": "nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "nesting", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# time=55.292ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 55.292, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-comment-leading.tap strictBail > stringified 1`] = ` # 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 ` exports[`test/parser-stringify.js TAP subtest-comment-leading.tap strictBail > stringified flat 1`] = ` # 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-11.0.2/tap-snapshots/test/parser-stringify/subtest-comment-mixed-indent.tap.test.cjs000066400000000000000000000777141433324523500327460ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP subtest-comment-mixed-indent.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: ../tap/test/test/ok.js\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# time=55.292ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 205.826, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# time=223.468ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 223.468, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-comment-mixed-indent.tap bail > stringified 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP subtest-comment-mixed-indent.tap bail > stringified flat 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP subtest-comment-mixed-indent.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: ../tap/test/test/ok.js\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# time=55.292ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 205.826, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# time=223.468ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 223.468, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-comment-mixed-indent.tap default settings > stringified 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP subtest-comment-mixed-indent.tap default settings > stringified flat 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP subtest-comment-mixed-indent.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: ../tap/test/test/ok.js\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# time=55.292ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 205.826, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# time=223.468ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 223.468, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-comment-mixed-indent.tap strict > stringified 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP subtest-comment-mixed-indent.tap strict > stringified flat 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP subtest-comment-mixed-indent.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: ../tap/test/test/ok.js\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# time=55.292ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 205.826, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# time=223.468ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 223.468, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-comment-mixed-indent.tap strictBail > stringified 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP subtest-comment-mixed-indent.tap strictBail > stringified flat 1`] = ` TAP 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-11.0.2/tap-snapshots/test/parser-stringify/subtest-comment-noindent.tap.test.cjs000066400000000000000000000776341433324523500322000ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP subtest-comment-noindent.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: ../tap/test/test/ok.js\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# time=55.292ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 205.826, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# time=223.468ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 223.468, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-comment-noindent.tap bail > stringified 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP subtest-comment-noindent.tap bail > stringified flat 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP subtest-comment-noindent.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: ../tap/test/test/ok.js\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# time=55.292ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 205.826, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# time=223.468ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 223.468, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-comment-noindent.tap default settings > stringified 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP subtest-comment-noindent.tap default settings > stringified flat 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP subtest-comment-noindent.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: ../tap/test/test/ok.js\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# time=55.292ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 205.826, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# time=223.468ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 223.468, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-comment-noindent.tap strict > stringified 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP subtest-comment-noindent.tap strict > stringified flat 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP subtest-comment-noindent.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: ../tap/test/test/ok.js\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# time=55.292ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 205.826, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# time=223.468ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 223.468, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-comment-noindent.tap strictBail > stringified 1`] = ` TAP 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 ` exports[`test/parser-stringify.js TAP subtest-comment-noindent.tap strictBail > stringified flat 1`] = ` TAP 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-11.0.2/tap-snapshots/test/parser-stringify/subtest-confusing.tap.test.cjs000066400000000000000000000337741433324523500307120ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP subtest-confusing.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: a brace looks like this\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: x\\n", ], Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "a brace looks like this x", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "a brace looks like this", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "a brace looks like this", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "x", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-confusing.tap bail > stringified 1`] = ` TAP version 13 # Subtest: a brace looks like this # Subtest: x # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 1..1 ok 1 - a brace looks like this ok 2 - x 1..2 ` exports[`test/parser-stringify.js TAP subtest-confusing.tap bail > stringified flat 1`] = ` TAP version 13 # Subtest: a brace looks like this # Subtest: x # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 1..1 ok 1 - a brace looks like this ok 2 - x 1..2 ` exports[`test/parser-stringify.js TAP subtest-confusing.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: a brace looks like this\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: x\\n", ], Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "a brace looks like this x", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "a brace looks like this", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "a brace looks like this", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "x", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-confusing.tap default settings > stringified 1`] = ` TAP version 13 # Subtest: a brace looks like this # Subtest: x # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 1..1 ok 1 - a brace looks like this ok 2 - x 1..2 ` exports[`test/parser-stringify.js TAP subtest-confusing.tap default settings > stringified flat 1`] = ` TAP version 13 # Subtest: a brace looks like this # Subtest: x # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 1..1 ok 1 - a brace looks like this ok 2 - x 1..2 ` exports[`test/parser-stringify.js TAP subtest-confusing.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: a brace looks like this\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: x\\n", ], Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "a brace looks like this x", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "a brace looks like this", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "a brace looks like this", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "x", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-confusing.tap strict > stringified 1`] = ` TAP version 13 # Subtest: a brace looks like this # Subtest: x # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 1..1 ok 1 - a brace looks like this ok 2 - x 1..2 ` exports[`test/parser-stringify.js TAP subtest-confusing.tap strict > stringified flat 1`] = ` TAP version 13 # Subtest: a brace looks like this # Subtest: x # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 1..1 ok 1 - a brace looks like this ok 2 - x 1..2 ` exports[`test/parser-stringify.js TAP subtest-confusing.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: a brace looks like this\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: x\\n", ], Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "a brace looks like this x", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "a brace looks like this", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "a brace looks like this", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "x", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-confusing.tap strictBail > stringified 1`] = ` TAP version 13 # Subtest: a brace looks like this # Subtest: x # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 1..1 ok 1 - a brace looks like this ok 2 - x 1..2 ` exports[`test/parser-stringify.js TAP subtest-confusing.tap strictBail > stringified flat 1`] = ` TAP version 13 # Subtest: a brace looks like this # Subtest: x # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 1..1 ok 1 - a brace looks like this ok 2 - x 1..2 ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/subtest-heading.tap.test.cjs000066400000000000000000000310741433324523500303050ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP subtest-heading.tap bail > parsed 1`] = ` Array [ Array [ "comment", "# Subtest: heading.js\\n", ], Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: x\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "x", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "x", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-heading.tap bail > stringified 1`] = ` # 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 ` exports[`test/parser-stringify.js TAP subtest-heading.tap bail > stringified flat 1`] = ` # 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 ` exports[`test/parser-stringify.js TAP subtest-heading.tap default settings > parsed 1`] = ` Array [ Array [ "comment", "# Subtest: heading.js\\n", ], Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: x\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "x", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "x", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-heading.tap default settings > stringified 1`] = ` # 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 ` exports[`test/parser-stringify.js TAP subtest-heading.tap default settings > stringified flat 1`] = ` # 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 ` exports[`test/parser-stringify.js TAP subtest-heading.tap strict > parsed 1`] = ` Array [ Array [ "comment", "# Subtest: heading.js\\n", ], Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: x\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "x", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "x", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-heading.tap strict > stringified 1`] = ` # 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 ` exports[`test/parser-stringify.js TAP subtest-heading.tap strict > stringified flat 1`] = ` # 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 ` exports[`test/parser-stringify.js TAP subtest-heading.tap strictBail > parsed 1`] = ` Array [ Array [ "comment", "# Subtest: heading.js\\n", ], Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: x\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "x", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "x", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-heading.tap strictBail > stringified 1`] = ` # 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 ` exports[`test/parser-stringify.js TAP subtest-heading.tap strictBail > stringified flat 1`] = ` # 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-11.0.2/tap-snapshots/test/parser-stringify/subtest-maybe-child-unfulfilled.tap.test.cjs000066400000000000000000000337701433324523500334000ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP subtest-maybe-child-unfulfilled.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# just a comment\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: x\\n", ], Array [ "comment", "# Subtest: fake\\n", ], Array [ "assert", Result { "fullname": "x", "id": 1, "name": "not a subtest", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "x", "id": 2, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "x", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-maybe-child-unfulfilled.tap bail > stringified 1`] = ` TAP version 13 # just a comment # Subtest: x # Subtest: fake ok 1 - not a subtest # Subtest: y ok 1 - ypoint 1..1 ok 2 - y 1..2 ok 1 - x 1..1 ` exports[`test/parser-stringify.js TAP subtest-maybe-child-unfulfilled.tap bail > stringified flat 1`] = ` TAP version 13 # just a comment # Subtest: x # Subtest: fake ok 1 - not a subtest # Subtest: y ok 1 - ypoint 1..1 ok 2 - y 1..2 ok 1 - x 1..1 ` exports[`test/parser-stringify.js TAP subtest-maybe-child-unfulfilled.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# just a comment\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: x\\n", ], Array [ "comment", "# Subtest: fake\\n", ], Array [ "assert", Result { "fullname": "x", "id": 1, "name": "not a subtest", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "x", "id": 2, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "x", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-maybe-child-unfulfilled.tap default settings > stringified 1`] = ` TAP version 13 # just a comment # Subtest: x # Subtest: fake ok 1 - not a subtest # Subtest: y ok 1 - ypoint 1..1 ok 2 - y 1..2 ok 1 - x 1..1 ` exports[`test/parser-stringify.js TAP subtest-maybe-child-unfulfilled.tap default settings > stringified flat 1`] = ` TAP version 13 # just a comment # Subtest: x # Subtest: fake ok 1 - not a subtest # Subtest: y ok 1 - ypoint 1..1 ok 2 - y 1..2 ok 1 - x 1..1 ` exports[`test/parser-stringify.js TAP subtest-maybe-child-unfulfilled.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# just a comment\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: x\\n", ], Array [ "comment", "# Subtest: fake\\n", ], Array [ "assert", Result { "fullname": "x", "id": 1, "name": "not a subtest", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "x", "id": 2, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "x", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-maybe-child-unfulfilled.tap strict > stringified 1`] = ` TAP version 13 # just a comment # Subtest: x # Subtest: fake ok 1 - not a subtest # Subtest: y ok 1 - ypoint 1..1 ok 2 - y 1..2 ok 1 - x 1..1 ` exports[`test/parser-stringify.js TAP subtest-maybe-child-unfulfilled.tap strict > stringified flat 1`] = ` TAP version 13 # just a comment # Subtest: x # Subtest: fake ok 1 - not a subtest # Subtest: y ok 1 - ypoint 1..1 ok 2 - y 1..2 ok 1 - x 1..1 ` exports[`test/parser-stringify.js TAP subtest-maybe-child-unfulfilled.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# just a comment\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: x\\n", ], Array [ "comment", "# Subtest: fake\\n", ], Array [ "assert", Result { "fullname": "x", "id": 1, "name": "not a subtest", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "x", "id": 2, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "x", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-maybe-child-unfulfilled.tap strictBail > stringified 1`] = ` TAP version 13 # just a comment # Subtest: x # Subtest: fake ok 1 - not a subtest # Subtest: y ok 1 - ypoint 1..1 ok 2 - y 1..2 ok 1 - x 1..1 ` exports[`test/parser-stringify.js TAP subtest-maybe-child-unfulfilled.tap strictBail > stringified flat 1`] = ` TAP version 13 # just a comment # Subtest: x # 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-11.0.2/tap-snapshots/test/parser-stringify/subtest-mixing.tap.test.cjs000066400000000000000000002453041433324523500302040ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP subtest-mixing.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# All of these should be semantically equivalent\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: x1\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x1 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "x1", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "x1", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: x2\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x2 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "x2", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 2, "name": "x2", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: x3\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x3 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "x3", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 3, "name": "x3", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: x4\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x4 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "x4", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "x4", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: x5\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x5 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "x5", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "x5", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: x6\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x6 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "x6", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 6, "name": "x6", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: x7\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x7 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "x7", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 7, "name": "x7", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: x8\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x8 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "x8", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 8, "name": "x8", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: x9\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x9 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "x9", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 9, "name": "x9", "ok": true, }, ], Array [ "plan", Object { "end": 9, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 9, "fail": 0, "failures": Array [], "ok": true, "pass": 9, "plan": FinalPlan { "comment": "", "end": 9, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-mixing.tap bail > stringified 1`] = ` TAP version 13 # All of these should be semantically equivalent # Subtest: x1 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 1..1 ok 1 - x1 # Subtest: x2 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 1..1 ok 2 - x2 # Subtest: x3 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 1..1 ok 3 - x3 # Subtest: x4 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 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 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 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 ` exports[`test/parser-stringify.js TAP subtest-mixing.tap bail > stringified flat 1`] = ` TAP version 13 # All of these should be semantically equivalent # Subtest: x1 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 1..1 ok 1 - x1 # Subtest: x2 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 1..1 ok 2 - x2 # Subtest: x3 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 1..1 ok 3 - x3 # Subtest: x4 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 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 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 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 ` exports[`test/parser-stringify.js TAP subtest-mixing.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# All of these should be semantically equivalent\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: x1\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x1 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "x1", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "x1", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: x2\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x2 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "x2", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 2, "name": "x2", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: x3\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x3 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "x3", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 3, "name": "x3", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: x4\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x4 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "x4", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "x4", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: x5\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x5 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "x5", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "x5", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: x6\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x6 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "x6", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 6, "name": "x6", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: x7\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x7 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "x7", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 7, "name": "x7", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: x8\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x8 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "x8", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 8, "name": "x8", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: x9\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x9 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "x9", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 9, "name": "x9", "ok": true, }, ], Array [ "plan", Object { "end": 9, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 9, "fail": 0, "failures": Array [], "ok": true, "pass": 9, "plan": FinalPlan { "comment": "", "end": 9, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-mixing.tap default settings > stringified 1`] = ` TAP version 13 # All of these should be semantically equivalent # Subtest: x1 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 1..1 ok 1 - x1 # Subtest: x2 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 1..1 ok 2 - x2 # Subtest: x3 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 1..1 ok 3 - x3 # Subtest: x4 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 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 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 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 ` exports[`test/parser-stringify.js TAP subtest-mixing.tap default settings > stringified flat 1`] = ` TAP version 13 # All of these should be semantically equivalent # Subtest: x1 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 1..1 ok 1 - x1 # Subtest: x2 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 1..1 ok 2 - x2 # Subtest: x3 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 1..1 ok 3 - x3 # Subtest: x4 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 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 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 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 ` exports[`test/parser-stringify.js TAP subtest-mixing.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# All of these should be semantically equivalent\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: x1\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x1 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "x1", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "x1", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: x2\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x2 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "x2", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 2, "name": "x2", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: x3\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x3 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "x3", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 3, "name": "x3", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: x4\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x4 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "x4", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "x4", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: x5\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x5 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "x5", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "x5", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: x6\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x6 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "x6", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 6, "name": "x6", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: x7\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x7 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "x7", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 7, "name": "x7", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: x8\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x8 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "x8", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 8, "name": "x8", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: x9\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x9 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "x9", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 9, "name": "x9", "ok": true, }, ], Array [ "plan", Object { "end": 9, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 9, "fail": 0, "failures": Array [], "ok": true, "pass": 9, "plan": FinalPlan { "comment": "", "end": 9, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-mixing.tap strict > stringified 1`] = ` TAP version 13 # All of these should be semantically equivalent # Subtest: x1 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 1..1 ok 1 - x1 # Subtest: x2 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 1..1 ok 2 - x2 # Subtest: x3 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 1..1 ok 3 - x3 # Subtest: x4 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 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 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 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 ` exports[`test/parser-stringify.js TAP subtest-mixing.tap strict > stringified flat 1`] = ` TAP version 13 # All of these should be semantically equivalent # Subtest: x1 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 1..1 ok 1 - x1 # Subtest: x2 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 1..1 ok 2 - x2 # Subtest: x3 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 1..1 ok 3 - x3 # Subtest: x4 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 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 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 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 ` exports[`test/parser-stringify.js TAP subtest-mixing.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# All of these should be semantically equivalent\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: x1\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x1 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "x1", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "x1", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: x2\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x2 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "x2", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 2, "name": "x2", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: x3\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x3 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "x3", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 3, "name": "x3", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: x4\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x4 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "x4", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "x4", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: x5\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x5 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "x5", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "x5", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: x6\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x6 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "x6", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 6, "name": "x6", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: x7\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x7 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "x7", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 7, "name": "x7", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: x8\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x8 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "x8", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 8, "name": "x8", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: x9\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "assert", Result { "fullname": "x9 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "x9", "id": 1, "name": "y", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 9, "name": "x9", "ok": true, }, ], Array [ "plan", Object { "end": 9, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 9, "fail": 0, "failures": Array [], "ok": true, "pass": 9, "plan": FinalPlan { "comment": "", "end": 9, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-mixing.tap strictBail > stringified 1`] = ` TAP version 13 # All of these should be semantically equivalent # Subtest: x1 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 1..1 ok 1 - x1 # Subtest: x2 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 1..1 ok 2 - x2 # Subtest: x3 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 1..1 ok 3 - x3 # Subtest: x4 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 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 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 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 ` exports[`test/parser-stringify.js TAP subtest-mixing.tap strictBail > stringified flat 1`] = ` TAP version 13 # All of these should be semantically equivalent # Subtest: x1 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 1..1 ok 1 - x1 # Subtest: x2 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 1..1 ok 2 - x2 # Subtest: x3 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 1..1 ok 3 - x3 # Subtest: x4 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 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 # Subtest: y ok 1 - ypoint 1..1 ok 1 - y 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 ` subtest-no-comment-leading-comment.tap.test.cjs000066400000000000000000000751301433324523500337450ustar00rootroot00000000000000tap-parser-11.0.2/tap-snapshots/test/parser-stringify/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP subtest-no-comment-leading-comment.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: ../tap/test/test/ok.js\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 205.826, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-no-comment-leading-comment.tap bail > stringified 1`] = ` TAP version 13 # Subtest: ../tap/test/test/ok.js # Subtest # Subtest 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=8.987ms # Subtest 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 ` exports[`test/parser-stringify.js TAP subtest-no-comment-leading-comment.tap bail > stringified flat 1`] = ` TAP version 13 # Subtest: ../tap/test/test/ok.js # Subtest # Subtest 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=8.987ms # Subtest 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 ` exports[`test/parser-stringify.js TAP subtest-no-comment-leading-comment.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: ../tap/test/test/ok.js\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 205.826, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-no-comment-leading-comment.tap default settings > stringified 1`] = ` TAP version 13 # Subtest: ../tap/test/test/ok.js # Subtest # Subtest 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=8.987ms # Subtest 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 ` exports[`test/parser-stringify.js TAP subtest-no-comment-leading-comment.tap default settings > stringified flat 1`] = ` TAP version 13 # Subtest: ../tap/test/test/ok.js # Subtest # Subtest 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=8.987ms # Subtest 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 ` exports[`test/parser-stringify.js TAP subtest-no-comment-leading-comment.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: ../tap/test/test/ok.js\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 205.826, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-no-comment-leading-comment.tap strict > stringified 1`] = ` TAP version 13 # Subtest: ../tap/test/test/ok.js # Subtest # Subtest 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=8.987ms # Subtest 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 ` exports[`test/parser-stringify.js TAP subtest-no-comment-leading-comment.tap strict > stringified flat 1`] = ` TAP version 13 # Subtest: ../tap/test/test/ok.js # Subtest # Subtest 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=8.987ms # Subtest 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 ` exports[`test/parser-stringify.js TAP subtest-no-comment-leading-comment.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: ../tap/test/test/ok.js\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 205.826, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-no-comment-leading-comment.tap strictBail > stringified 1`] = ` TAP version 13 # Subtest: ../tap/test/test/ok.js # Subtest # Subtest 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=8.987ms # Subtest 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 ` exports[`test/parser-stringify.js TAP subtest-no-comment-leading-comment.tap strictBail > stringified flat 1`] = ` TAP version 13 # Subtest: ../tap/test/test/ok.js # Subtest # Subtest 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=8.987ms # Subtest 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 ` subtest-no-comment-mid-comment-indent.tap.test.cjs000066400000000000000000000735641433324523500344030ustar00rootroot00000000000000tap-parser-11.0.2/tap-snapshots/test/parser-stringify/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP subtest-no-comment-mid-comment-indent.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "nesting", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "nesting", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "assert", Result { "fullname": "nesting", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "nesting", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 205.826, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-no-comment-mid-comment-indent.tap bail > stringified 1`] = ` TAP version 13 # Subtest # Subtest: nesting # Subtest 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=8.987ms # Subtest 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 ` exports[`test/parser-stringify.js TAP subtest-no-comment-mid-comment-indent.tap bail > stringified flat 1`] = ` TAP version 13 # Subtest # Subtest: nesting # Subtest 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=8.987ms # Subtest 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 ` exports[`test/parser-stringify.js TAP subtest-no-comment-mid-comment-indent.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "nesting", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "nesting", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "assert", Result { "fullname": "nesting", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "nesting", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 205.826, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-no-comment-mid-comment-indent.tap default settings > stringified 1`] = ` TAP version 13 # Subtest # Subtest: nesting # Subtest 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=8.987ms # Subtest 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 ` exports[`test/parser-stringify.js TAP subtest-no-comment-mid-comment-indent.tap default settings > stringified flat 1`] = ` TAP version 13 # Subtest # Subtest: nesting # Subtest 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=8.987ms # Subtest 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 ` exports[`test/parser-stringify.js TAP subtest-no-comment-mid-comment-indent.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "nesting", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "nesting", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "assert", Result { "fullname": "nesting", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "nesting", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 205.826, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-no-comment-mid-comment-indent.tap strict > stringified 1`] = ` TAP version 13 # Subtest # Subtest: nesting # Subtest 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=8.987ms # Subtest 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 ` exports[`test/parser-stringify.js TAP subtest-no-comment-mid-comment-indent.tap strict > stringified flat 1`] = ` TAP version 13 # Subtest # Subtest: nesting # Subtest 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=8.987ms # Subtest 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 ` exports[`test/parser-stringify.js TAP subtest-no-comment-mid-comment-indent.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "nesting", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "nesting", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "assert", Result { "fullname": "nesting", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "nesting", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 205.826, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-no-comment-mid-comment-indent.tap strictBail > stringified 1`] = ` TAP version 13 # Subtest # Subtest: nesting # Subtest 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=8.987ms # Subtest 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 ` exports[`test/parser-stringify.js TAP subtest-no-comment-mid-comment-indent.tap strictBail > stringified flat 1`] = ` TAP version 13 # Subtest # Subtest: nesting # Subtest 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=8.987ms # Subtest 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-11.0.2/tap-snapshots/test/parser-stringify/subtest-no-comment-mid-comment.tap.test.cjs000066400000000000000000000733201433324523500331710ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP subtest-no-comment-mid-comment.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "first", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "assert", Result { "fullname": "first", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "first", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "first", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "first", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 205.826, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-no-comment-mid-comment.tap bail > stringified 1`] = ` TAP version 13 # Subtest # Subtest: first # Subtest 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=8.987ms # Subtest 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 ` exports[`test/parser-stringify.js TAP subtest-no-comment-mid-comment.tap bail > stringified flat 1`] = ` TAP version 13 # Subtest # Subtest: first # Subtest 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=8.987ms # Subtest 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 ` exports[`test/parser-stringify.js TAP subtest-no-comment-mid-comment.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "first", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "assert", Result { "fullname": "first", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "first", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "first", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "first", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 205.826, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-no-comment-mid-comment.tap default settings > stringified 1`] = ` TAP version 13 # Subtest # Subtest: first # Subtest 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=8.987ms # Subtest 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 ` exports[`test/parser-stringify.js TAP subtest-no-comment-mid-comment.tap default settings > stringified flat 1`] = ` TAP version 13 # Subtest # Subtest: first # Subtest 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=8.987ms # Subtest 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 ` exports[`test/parser-stringify.js TAP subtest-no-comment-mid-comment.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "first", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "assert", Result { "fullname": "first", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "first", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "first", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "first", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 205.826, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-no-comment-mid-comment.tap strict > stringified 1`] = ` TAP version 13 # Subtest # Subtest: first # Subtest 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=8.987ms # Subtest 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 ` exports[`test/parser-stringify.js TAP subtest-no-comment-mid-comment.tap strict > stringified flat 1`] = ` TAP version 13 # Subtest # Subtest: first # Subtest 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=8.987ms # Subtest 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 ` exports[`test/parser-stringify.js TAP subtest-no-comment-mid-comment.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "first", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "assert", Result { "fullname": "first", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "first", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "first", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "first", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 205.826, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-no-comment-mid-comment.tap strictBail > stringified 1`] = ` TAP version 13 # Subtest # Subtest: first # Subtest 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=8.987ms # Subtest 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 ` exports[`test/parser-stringify.js TAP subtest-no-comment-mid-comment.tap strictBail > stringified flat 1`] = ` TAP version 13 # Subtest # Subtest: first # Subtest 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=8.987ms # Subtest 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-11.0.2/tap-snapshots/test/parser-stringify/subtest-no-comment.tap.test.cjs000066400000000000000000000725401433324523500307650ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP subtest-no-comment.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 205.826, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-no-comment.tap bail > stringified 1`] = ` TAP version 13 # Subtest # Subtest # Subtest 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=8.987ms # Subtest 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 ` exports[`test/parser-stringify.js TAP subtest-no-comment.tap bail > stringified flat 1`] = ` TAP version 13 # Subtest # Subtest # Subtest 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=8.987ms # Subtest 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 ` exports[`test/parser-stringify.js TAP subtest-no-comment.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 205.826, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-no-comment.tap default settings > stringified 1`] = ` TAP version 13 # Subtest # Subtest # Subtest 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=8.987ms # Subtest 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 ` exports[`test/parser-stringify.js TAP subtest-no-comment.tap default settings > stringified flat 1`] = ` TAP version 13 # Subtest # Subtest # Subtest 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=8.987ms # Subtest 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 ` exports[`test/parser-stringify.js TAP subtest-no-comment.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 205.826, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-no-comment.tap strict > stringified 1`] = ` TAP version 13 # Subtest # Subtest # Subtest 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=8.987ms # Subtest 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 ` exports[`test/parser-stringify.js TAP subtest-no-comment.tap strict > stringified flat 1`] = ` TAP version 13 # Subtest # Subtest # Subtest 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=8.987ms # Subtest 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 ` exports[`test/parser-stringify.js TAP subtest-no-comment.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 205.826, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-no-comment.tap strictBail > stringified 1`] = ` TAP version 13 # Subtest # Subtest # Subtest 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=8.987ms # Subtest 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 ` exports[`test/parser-stringify.js TAP subtest-no-comment.tap strictBail > stringified flat 1`] = ` TAP version 13 # Subtest # Subtest # Subtest 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=8.987ms # Subtest 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-11.0.2/tap-snapshots/test/parser-stringify/subtest-stream-comment-indent.tap.test.cjs000066400000000000000000000566541433324523500331330ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP subtest-stream-comment-indent.tap bail > parsed 1`] = ` Array [ Array [ "comment", "# Subtest: ok.js\\n", ], Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 11.345, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "nesting", "id": 1, "name": "first", "ok": true, "time": 11.345, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "assert", Result { "fullname": "nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 3.613, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "nesting", "id": 2, "name": "second", "ok": true, "time": 3.613, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 36.045, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 36.045, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# time=66.857ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 66.857, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-stream-comment-indent.tap bail > stringified 1`] = ` # 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 ` exports[`test/parser-stringify.js TAP subtest-stream-comment-indent.tap bail > stringified flat 1`] = ` # 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 ` exports[`test/parser-stringify.js TAP subtest-stream-comment-indent.tap default settings > parsed 1`] = ` Array [ Array [ "comment", "# Subtest: ok.js\\n", ], Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 11.345, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "nesting", "id": 1, "name": "first", "ok": true, "time": 11.345, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "assert", Result { "fullname": "nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 3.613, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "nesting", "id": 2, "name": "second", "ok": true, "time": 3.613, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 36.045, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 36.045, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# time=66.857ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 66.857, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-stream-comment-indent.tap default settings > stringified 1`] = ` # 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 ` exports[`test/parser-stringify.js TAP subtest-stream-comment-indent.tap default settings > stringified flat 1`] = ` # 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 ` exports[`test/parser-stringify.js TAP subtest-stream-comment-indent.tap strict > parsed 1`] = ` Array [ Array [ "comment", "# Subtest: ok.js\\n", ], Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 11.345, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "nesting", "id": 1, "name": "first", "ok": true, "time": 11.345, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "assert", Result { "fullname": "nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 3.613, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "nesting", "id": 2, "name": "second", "ok": true, "time": 3.613, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 36.045, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 36.045, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# time=66.857ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 66.857, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-stream-comment-indent.tap strict > stringified 1`] = ` # 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 ` exports[`test/parser-stringify.js TAP subtest-stream-comment-indent.tap strict > stringified flat 1`] = ` # 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 ` exports[`test/parser-stringify.js TAP subtest-stream-comment-indent.tap strictBail > parsed 1`] = ` Array [ Array [ "comment", "# Subtest: ok.js\\n", ], Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 11.345, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "nesting", "id": 1, "name": "first", "ok": true, "time": 11.345, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "assert", Result { "fullname": "nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 3.613, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "nesting", "id": 2, "name": "second", "ok": true, "time": 3.613, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 36.045, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 36.045, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# time=66.857ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 66.857, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-stream-comment-indent.tap strictBail > stringified 1`] = ` # 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 ` exports[`test/parser-stringify.js TAP subtest-stream-comment-indent.tap strictBail > stringified flat 1`] = ` # 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-11.0.2/tap-snapshots/test/parser-stringify/subtest-stream-comment.tap.test.cjs000066400000000000000000000557541433324523500316540ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP subtest-stream-comment.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 11.345, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "nesting", "id": 1, "name": "first", "ok": true, "time": 11.345, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "assert", Result { "fullname": "nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 3.613, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "nesting", "id": 2, "name": "second", "ok": true, "time": 3.613, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 36.045, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 36.045, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# time=66.857ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 66.857, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-stream-comment.tap bail > stringified 1`] = ` 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 ` exports[`test/parser-stringify.js TAP subtest-stream-comment.tap bail > stringified flat 1`] = ` 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 ` exports[`test/parser-stringify.js TAP subtest-stream-comment.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 11.345, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "nesting", "id": 1, "name": "first", "ok": true, "time": 11.345, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "assert", Result { "fullname": "nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 3.613, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "nesting", "id": 2, "name": "second", "ok": true, "time": 3.613, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 36.045, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 36.045, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# time=66.857ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 66.857, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-stream-comment.tap default settings > stringified 1`] = ` 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 ` exports[`test/parser-stringify.js TAP subtest-stream-comment.tap default settings > stringified flat 1`] = ` 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 ` exports[`test/parser-stringify.js TAP subtest-stream-comment.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 11.345, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "nesting", "id": 1, "name": "first", "ok": true, "time": 11.345, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "assert", Result { "fullname": "nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 3.613, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "nesting", "id": 2, "name": "second", "ok": true, "time": 3.613, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 36.045, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 36.045, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# time=66.857ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 66.857, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-stream-comment.tap strict > stringified 1`] = ` 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 ` exports[`test/parser-stringify.js TAP subtest-stream-comment.tap strict > stringified flat 1`] = ` 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 ` exports[`test/parser-stringify.js TAP subtest-stream-comment.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 11.345, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "nesting", "id": 1, "name": "first", "ok": true, "time": 11.345, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "assert", Result { "fullname": "nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 3.613, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "nesting", "id": 2, "name": "second", "ok": true, "time": 3.613, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 36.045, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 36.045, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# time=66.857ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 66.857, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-stream-comment.tap strictBail > stringified 1`] = ` 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 ` exports[`test/parser-stringify.js TAP subtest-stream-comment.tap strictBail > stringified flat 1`] = ` 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-11.0.2/tap-snapshots/test/parser-stringify/subtest-stream-no-comment.tap.test.cjs000066400000000000000000000541001433324523500322460ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP subtest-stream-no-comment.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 11.345, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "first", "ok": true, "time": 11.345, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 3.613, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "second", "ok": true, "time": 3.613, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 36.045, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 36.045, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-stream-no-comment.tap bail > stringified 1`] = ` TAP version 13 # Subtest 1..2 # Subtest 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=11.345ms # Subtest 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 ` exports[`test/parser-stringify.js TAP subtest-stream-no-comment.tap bail > stringified flat 1`] = ` TAP version 13 # Subtest 1..2 # Subtest 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=11.345ms # Subtest 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 ` exports[`test/parser-stringify.js TAP subtest-stream-no-comment.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 11.345, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "first", "ok": true, "time": 11.345, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 3.613, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "second", "ok": true, "time": 3.613, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 36.045, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 36.045, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-stream-no-comment.tap default settings > stringified 1`] = ` TAP version 13 # Subtest 1..2 # Subtest 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=11.345ms # Subtest 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 ` exports[`test/parser-stringify.js TAP subtest-stream-no-comment.tap default settings > stringified flat 1`] = ` TAP version 13 # Subtest 1..2 # Subtest 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=11.345ms # Subtest 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 ` exports[`test/parser-stringify.js TAP subtest-stream-no-comment.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 11.345, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "first", "ok": true, "time": 11.345, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 3.613, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "second", "ok": true, "time": 3.613, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 36.045, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 36.045, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-stream-no-comment.tap strict > stringified 1`] = ` TAP version 13 # Subtest 1..2 # Subtest 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=11.345ms # Subtest 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 ` exports[`test/parser-stringify.js TAP subtest-stream-no-comment.tap strict > stringified flat 1`] = ` TAP version 13 # Subtest 1..2 # Subtest 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=11.345ms # Subtest 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 ` exports[`test/parser-stringify.js TAP subtest-stream-no-comment.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 11.345, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "first", "ok": true, "time": 11.345, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 3.613, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "second", "ok": true, "time": 3.613, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 36.045, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 36.045, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-stream-no-comment.tap strictBail > stringified 1`] = ` TAP version 13 # Subtest 1..2 # Subtest 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=11.345ms # Subtest 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 ` exports[`test/parser-stringify.js TAP subtest-stream-no-comment.tap strictBail > stringified flat 1`] = ` TAP version 13 # Subtest 1..2 # Subtest 1..2 ok 1 - true is ok ok 2 - doag is also okay ok 1 - first # time=11.345ms # Subtest 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-11.0.2/tap-snapshots/test/parser-stringify/subtest-unfinished.tap.test.cjs000066400000000000000000000167241433324523500310470ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP subtest-unfinished.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: unfinished\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "unfinished", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-unfinished.tap bail > stringified 1`] = ` TAP version 13 1..1 ok # Subtest: unfinished 1..1 ok ` exports[`test/parser-stringify.js TAP subtest-unfinished.tap bail > stringified flat 1`] = ` TAP version 13 1..1 ok # Subtest: unfinished 1..1 ok ` exports[`test/parser-stringify.js TAP subtest-unfinished.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: unfinished\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "unfinished", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-unfinished.tap default settings > stringified 1`] = ` TAP version 13 1..1 ok # Subtest: unfinished 1..1 ok ` exports[`test/parser-stringify.js TAP subtest-unfinished.tap default settings > stringified flat 1`] = ` TAP version 13 1..1 ok # Subtest: unfinished 1..1 ok ` exports[`test/parser-stringify.js TAP subtest-unfinished.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: unfinished\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "unfinished", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-unfinished.tap strict > stringified 1`] = ` TAP version 13 1..1 ok # Subtest: unfinished 1..1 ok ` exports[`test/parser-stringify.js TAP subtest-unfinished.tap strict > stringified flat 1`] = ` TAP version 13 1..1 ok # Subtest: unfinished 1..1 ok ` exports[`test/parser-stringify.js TAP subtest-unfinished.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: unfinished\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "unfinished", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP subtest-unfinished.tap strictBail > stringified 1`] = ` TAP version 13 1..1 ok # Subtest: unfinished 1..1 ok ` exports[`test/parser-stringify.js TAP subtest-unfinished.tap strictBail > stringified flat 1`] = ` TAP version 13 1..1 ok # Subtest: unfinished 1..1 ok ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/switches.tap.test.cjs000066400000000000000000000105461433324523500270510ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP switches.tap bail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": false, }, ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 1, "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP switches.tap bail > stringified 1`] = ` 1..1 not ok 1 Bail out! ` exports[`test/parser-stringify.js TAP switches.tap bail > stringified flat 1`] = ` 1..1 not ok 1 Bail out! ` exports[`test/parser-stringify.js TAP switches.tap default settings > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": false, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 1, "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP switches.tap default settings > stringified 1`] = ` 1..1 not ok 1 # failed 1 test ` exports[`test/parser-stringify.js TAP switches.tap default settings > stringified flat 1`] = ` 1..1 not ok 1 # failed 1 test ` exports[`test/parser-stringify.js TAP switches.tap strict > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": false, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 1, "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP switches.tap strict > stringified 1`] = ` 1..1 not ok 1 # failed 1 test ` exports[`test/parser-stringify.js TAP switches.tap strict > stringified flat 1`] = ` 1..1 not ok 1 # failed 1 test ` exports[`test/parser-stringify.js TAP switches.tap strictBail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": false, }, ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 1, "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP switches.tap strictBail > stringified 1`] = ` 1..1 not ok 1 Bail out! ` exports[`test/parser-stringify.js TAP switches.tap strictBail > stringified flat 1`] = ` 1..1 not ok 1 Bail out! ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/tap-tests-stdout.tap.test.cjs000066400000000000000000010621641433324523500304700ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP tap-tests-stdout.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# buffer_compare.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# same buffers\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# not same buffers\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should not be equivalent", "ok": true, }, ], Array [ "comment", "# tests 2\\n", ], Array [ "comment", "# pass 2\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "test/buffer_compare.js", "ok": true, }, ], Array [ "comment", "# common.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "just setup, nothing relevant", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "test/common.js", "ok": true, }, ], Array [ "comment", "# consumer.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# basic.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 6, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# indent.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 7, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# missing.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 8, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# skip-all.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# tap-tests.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 10, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# yamlish.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 11, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# tests 6\\n", ], Array [ "comment", "# pass 6\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 12, "name": "test/consumer.js", "ok": true, }, ], Array [ "comment", "# debug-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# debug test\\n", ], Array [ "assert", Result { "fullname": "", "id": 13, "name": "Should output debugger message", "ok": true, }, ], Array [ "comment", "# tests 1\\n", ], Array [ "comment", "# pass 1\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 14, "name": "test/debug-test.js", "ok": true, }, ], Array [ "comment", "# deep-strict.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# strictDeepEquals shouldn't care about key order\\n", ], Array [ "assert", Result { "fullname": "", "id": 15, "name": "should be strictly equal", "ok": true, }, ], Array [ "comment", "# strictDeepEquals shouldn't care about key order recursively\\n", ], Array [ "assert", Result { "fullname": "", "id": 16, "name": "should be strictly equal", "ok": true, }, ], Array [ "comment", "# strictDeepEquals shoudn't care about key order (but still might)\\n", ], Array [ "assert", Result { "fullname": "", "id": 17, "name": "should be strictly equal", "ok": true, }, ], Array [ "comment", "# tests 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 18, "name": "test/deep-strict.js", "ok": true, }, ], Array [ "comment", "# deep.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# deepEquals shouldn't care about key order and types\\n", ], Array [ "assert", Result { "fullname": "", "id": 19, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# deepEquals shouldn't care about key order recursively and types\\n", ], Array [ "assert", Result { "fullname": "", "id": 20, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# deepEquals shoudn't care about key order (but still might) and types\\n", ], Array [ "assert", Result { "fullname": "", "id": 21, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# tests 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 22, "name": "test/deep.js", "ok": true, }, ], Array [ "comment", "# executed.sh\\n", ], Array [ "assert", Result { "fullname": "", "id": 23, "name": "File with executable bit should be executed", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 24, "name": "test/executed.sh", "ok": true, }, ], Array [ "comment", "# exit-code.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# exit code 1 when tap results show failure\\n", ], Array [ "comment", "# test exits 0, has failures\\n", ], Array [ "assert", Result { "fullname": "", "id": 25, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 26, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# test exits 1, has failures\\n", ], Array [ "assert", Result { "fullname": "", "id": 27, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 28, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# test exits 1, has no failures\\n", ], Array [ "assert", Result { "fullname": "", "id": 29, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 30, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# successes exit 0\\n", ], Array [ "comment", "# test that does nothing, but exits 0\\n", ], Array [ "assert", Result { "fullname": "", "id": 31, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 32, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# test that succeeds, and exits 0\\n", ], Array [ "assert", Result { "fullname": "", "id": 33, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 34, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# tests 10\\n", ], Array [ "comment", "# pass 10\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 35, "name": "test/exit-code.js", "ok": true, }, ], Array [ "comment", "# expose-gc-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# gc test when the gc isn't there\\n", ], Array [ "assert", Result { "fullname": "", "id": 36, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# gc test when the gc should be there\\n", ], Array [ "comment", "# test for gc using --gc\\n", ], Array [ "assert", Result { "fullname": "", "id": 37, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# test for gc using --expose-gc\\n", ], Array [ "assert", Result { "fullname": "", "id": 38, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# cleanup\\n", ], Array [ "comment", "# tests 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 39, "name": "test/expose-gc-test.js", "ok": true, }, ], Array [ "comment", "# global-harness-async.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# outer\\n", ], Array [ "comment", "# inner 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 40, "name": "1-1", "ok": true, }, ], Array [ "comment", "# inner 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 41, "name": "2-1", "ok": true, }, ], Array [ "comment", "# inner 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 42, "name": "3-1", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 43, "name": "test/global-harness-async.js", "ok": true, }, ], Array [ "comment", "# independent-timeouts.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# finishes in time\\n", ], Array [ "comment", "# finishes in time too\\n", ], Array [ "comment", "# tests 0\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 44, "name": "test/independent-timeouts.js", "ok": true, }, ], Array [ "comment", "# isolated-conf-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# one\\n", ], Array [ "assert", Result { "fullname": "", "id": 45, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 46, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# two\\n", ], Array [ "assert", Result { "fullname": "", "id": 47, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 48, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 49, "name": "test/isolated-conf-test.js", "ok": true, }, ], Array [ "comment", "# meta-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# meta test\\n", ], Array [ "assert", Result { "fullname": "", "id": 50, "name": "sanity check", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 51, "name": "not ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 52, "name": "total test count", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 53, "name": "tests passed", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 54, "name": "tests failed", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 55, "name": "ok is boolean", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 56, "name": "skip is number", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 57, "name": "results isa Results", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 58, "name": "test isa Test", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 59, "name": "test isa Harness", "ok": true, }, ], Array [ "comment", "# tests 10\\n", ], Array [ "comment", "# pass 10\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 60, "name": "test/meta-test.js", "ok": true, }, ], Array [ "comment", "# nested-async.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# Harness async test support\\n", ], Array [ "assert", Result { "fullname": "", "id": 61, "name": "sync child A", "ok": true, }, ], Array [ "comment", "# sync child B\\n", ], Array [ "comment", "# async grandchild A\\n", ], Array [ "assert", Result { "fullname": "", "id": 62, "name": "(unnamed assert)", "ok": true, }, ], Array [ "comment", "# async grandchild B\\n", ], Array [ "assert", Result { "fullname": "", "id": 63, "name": "(unnamed assert)", "ok": true, }, ], Array [ "comment", "# async child\\n", ], Array [ "assert", Result { "fullname": "", "id": 64, "name": "sync grandchild in async child A", "ok": true, }, ], Array [ "comment", "# sync grandchild in async child B\\n", ], Array [ "assert", Result { "fullname": "", "id": 65, "name": "(unnamed assert)", "ok": true, }, ], Array [ "comment", "# tests 5\\n", ], Array [ "comment", "# pass 5\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 66, "name": "test/nested-async.js", "ok": true, }, ], Array [ "comment", "# nested-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# parent\\n", ], Array [ "assert", Result { "fullname": "", "id": 67, "name": "p test", "ok": true, }, ], Array [ "comment", "# subtest\\n", ], Array [ "assert", Result { "fullname": "", "id": 68, "name": "ch test", "ok": true, }, ], Array [ "comment", "# nested subtest\\n", ], Array [ "assert", Result { "fullname": "", "id": 69, "name": "grch test", "ok": true, }, ], Array [ "comment", "# another subtest\\n", ], Array [ "assert", Result { "fullname": "", "id": 70, "name": "ch test 2", "ok": true, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 71, "name": "test/nested-test.js", "ok": true, }, ], Array [ "comment", "# non-tap-output.js\\n", ], Array [ "comment", "# everything is fine\\n", ], Array [ "comment", "# there are no errors\\n", ], Array [ "comment", "# this output is not haiku.\\n", ], Array [ "comment", "# is 8 ok?\\n", ], Array [ "assert", Result { "fullname": "", "id": 72, "name": ", 8 can stay.", "ok": true, }, ], Array [ "comment", "# but: nevertheless, here we are\\n", ], Array [ "comment", "# this: is indented\\n", ], Array [ "comment", "# and: it\\n", ], Array [ "comment", "# might: ~\\n", ], Array [ "comment", "# be: yaml?\\n", ], Array [ "assert", Result { "fullname": "", "id": 73, "name": "might be confusing", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 74, "name": "done now, exiting", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 75, "name": "test/non-tap-output.js", "ok": true, }, ], Array [ "comment", "# not-executed.sh\\n", ], Array [ "comment", "# output-childtest-description.js\\n", ], Array [ "comment", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# nested tests, parent and child pass\\n", ], Array [ "assert", Result { "fullname": "", "id": 76, "name": "outputs parent description", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 77, "name": "outputs child description", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 78, "name": "outputs parent description before parent result", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 79, "name": "outputs parent result before child description", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 80, "name": "outputs child description before child result", "ok": true, }, ], Array [ "comment", "# tests 5\\n", ], Array [ "comment", "# pass 5\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 81, "name": "test/output-childtest-description.js", "ok": true, }, ], Array [ "comment", "# result-trap.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# trap result\\n", ], Array [ "assert", Result { "fullname": "", "id": 82, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 83, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# tests 2\\n", ], Array [ "comment", "# pass 2\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 84, "name": "test/result-trap.js", "ok": true, }, ], Array [ "comment", "# segv.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# setup\\n", ], Array [ "assert", Result { "fullname": "", "id": 85, "name": "compiled seg faulter", "ok": true, }, ], Array [ "comment", "# segv\\n", ], Array [ "assert", Result { "fullname": "", "id": 86, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 87, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 88, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 89, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 90, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 91, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# cleanup\\n", ], Array [ "assert", Result { "fullname": "", "id": 92, "name": "cleaned up", "ok": true, }, ], Array [ "comment", "# tests 8\\n", ], Array [ "comment", "# pass 8\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 93, "name": "test/segv.js", "ok": true, }, ], Array [ "comment", "# simple-harness-test-with-plan.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# trivial success\\n", ], Array [ "assert", Result { "fullname": "", "id": 94, "name": "it works", "ok": true, }, ], Array [ "comment", "# two tests\\n", ], Array [ "assert", Result { "fullname": "", "id": 95, "name": "math should work", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 96, "name": "false should not be ok", "ok": true, }, ], Array [ "comment", "# tests 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 97, "name": "test/simple-harness-test-with-plan.js", "ok": true, }, ], Array [ "comment", "# simple-harness-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# trivial success\\n", ], Array [ "assert", Result { "fullname": "", "id": 98, "name": "it works", "ok": true, }, ], Array [ "comment", "# two tests\\n", ], Array [ "assert", Result { "fullname": "", "id": 99, "name": "math should work", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 100, "name": "false should not be ok", "ok": true, }, ], Array [ "comment", "# tests 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 101, "name": "test/simple-harness-test.js", "ok": true, }, ], Array [ "comment", "# test-assert-todo-skip.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# not much\\n", ], Array [ "assert", Result { "fullname": "", "id": 102, "name": "always passes", "ok": true, "skip": "skip it good", }, ], Array [ "assert", Result { "fullname": "", "id": 103, "name": "false", "ok": true, "skip": "always fails", }, ], Array [ "assert", Result { "fullname": "", "id": 104, "name": "bonus", "ok": true, "todo": "remove todo directive", }, ], Array [ "assert", Result { "fullname": "", "id": 105, "name": "expected", "ok": true, "todo": "implement a thing", }, ], Array [ "assert", Result { "fullname": "", "id": 106, "name": "always passes without explanation", "ok": true, "skip": true, }, ], Array [ "assert", Result { "fullname": "", "id": 107, "name": "false without explanation", "ok": true, "skip": true, }, ], Array [ "assert", Result { "fullname": "", "id": 108, "name": "bonus without explanation", "ok": true, "todo": true, }, ], Array [ "assert", Result { "fullname": "", "id": 109, "name": "expected without explanation", "ok": true, "todo": true, }, ], Array [ "comment", "# tests 8\\n", ], Array [ "comment", "# skip 4\\n", ], Array [ "comment", "# todo 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 110, "name": "test/test-assert-todo-skip.js", "ok": true, }, ], Array [ "comment", "# test-descriptions.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# captures test descriptions\\n", ], Array [ "assert", Result { "fullname": "", "id": 111, "name": "exit cleanly", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 112, "name": "captures SKIP description", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 113, "name": "skip summary is not from file", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 114, "name": "todo summary is not from file", "ok": true, }, ], Array [ "assert", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 115, "name": "captures TODO description", "ok": false, }, ], Array [ "bailout", "captures TODO description", ], Array [ "complete", FinalResults { "bailout": "captures TODO description", "count": 115, "fail": 1, "failures": Array [ Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 115, "name": "captures TODO description", "ok": false, }, ], "ok": false, "pass": 114, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 4, "time": null, "todo": 4, }, ], ] ` exports[`test/parser-stringify.js TAP tap-tests-stdout.tap bail > stringified 1`] = ` TAP 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) ... Bail out! captures TODO description ` exports[`test/parser-stringify.js TAP tap-tests-stdout.tap bail > stringified flat 1`] = ` TAP 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) ... Bail out! captures TODO description ` exports[`test/parser-stringify.js TAP tap-tests-stdout.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# buffer_compare.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# same buffers\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# not same buffers\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should not be equivalent", "ok": true, }, ], Array [ "comment", "# tests 2\\n", ], Array [ "comment", "# pass 2\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "test/buffer_compare.js", "ok": true, }, ], Array [ "comment", "# common.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "just setup, nothing relevant", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "test/common.js", "ok": true, }, ], Array [ "comment", "# consumer.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# basic.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 6, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# indent.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 7, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# missing.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 8, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# skip-all.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# tap-tests.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 10, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# yamlish.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 11, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# tests 6\\n", ], Array [ "comment", "# pass 6\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 12, "name": "test/consumer.js", "ok": true, }, ], Array [ "comment", "# debug-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# debug test\\n", ], Array [ "assert", Result { "fullname": "", "id": 13, "name": "Should output debugger message", "ok": true, }, ], Array [ "comment", "# tests 1\\n", ], Array [ "comment", "# pass 1\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 14, "name": "test/debug-test.js", "ok": true, }, ], Array [ "comment", "# deep-strict.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# strictDeepEquals shouldn't care about key order\\n", ], Array [ "assert", Result { "fullname": "", "id": 15, "name": "should be strictly equal", "ok": true, }, ], Array [ "comment", "# strictDeepEquals shouldn't care about key order recursively\\n", ], Array [ "assert", Result { "fullname": "", "id": 16, "name": "should be strictly equal", "ok": true, }, ], Array [ "comment", "# strictDeepEquals shoudn't care about key order (but still might)\\n", ], Array [ "assert", Result { "fullname": "", "id": 17, "name": "should be strictly equal", "ok": true, }, ], Array [ "comment", "# tests 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 18, "name": "test/deep-strict.js", "ok": true, }, ], Array [ "comment", "# deep.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# deepEquals shouldn't care about key order and types\\n", ], Array [ "assert", Result { "fullname": "", "id": 19, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# deepEquals shouldn't care about key order recursively and types\\n", ], Array [ "assert", Result { "fullname": "", "id": 20, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# deepEquals shoudn't care about key order (but still might) and types\\n", ], Array [ "assert", Result { "fullname": "", "id": 21, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# tests 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 22, "name": "test/deep.js", "ok": true, }, ], Array [ "comment", "# executed.sh\\n", ], Array [ "assert", Result { "fullname": "", "id": 23, "name": "File with executable bit should be executed", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 24, "name": "test/executed.sh", "ok": true, }, ], Array [ "comment", "# exit-code.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# exit code 1 when tap results show failure\\n", ], Array [ "comment", "# test exits 0, has failures\\n", ], Array [ "assert", Result { "fullname": "", "id": 25, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 26, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# test exits 1, has failures\\n", ], Array [ "assert", Result { "fullname": "", "id": 27, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 28, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# test exits 1, has no failures\\n", ], Array [ "assert", Result { "fullname": "", "id": 29, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 30, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# successes exit 0\\n", ], Array [ "comment", "# test that does nothing, but exits 0\\n", ], Array [ "assert", Result { "fullname": "", "id": 31, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 32, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# test that succeeds, and exits 0\\n", ], Array [ "assert", Result { "fullname": "", "id": 33, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 34, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# tests 10\\n", ], Array [ "comment", "# pass 10\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 35, "name": "test/exit-code.js", "ok": true, }, ], Array [ "comment", "# expose-gc-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# gc test when the gc isn't there\\n", ], Array [ "assert", Result { "fullname": "", "id": 36, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# gc test when the gc should be there\\n", ], Array [ "comment", "# test for gc using --gc\\n", ], Array [ "assert", Result { "fullname": "", "id": 37, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# test for gc using --expose-gc\\n", ], Array [ "assert", Result { "fullname": "", "id": 38, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# cleanup\\n", ], Array [ "comment", "# tests 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 39, "name": "test/expose-gc-test.js", "ok": true, }, ], Array [ "comment", "# global-harness-async.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# outer\\n", ], Array [ "comment", "# inner 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 40, "name": "1-1", "ok": true, }, ], Array [ "comment", "# inner 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 41, "name": "2-1", "ok": true, }, ], Array [ "comment", "# inner 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 42, "name": "3-1", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 43, "name": "test/global-harness-async.js", "ok": true, }, ], Array [ "comment", "# independent-timeouts.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# finishes in time\\n", ], Array [ "comment", "# finishes in time too\\n", ], Array [ "comment", "# tests 0\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 44, "name": "test/independent-timeouts.js", "ok": true, }, ], Array [ "comment", "# isolated-conf-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# one\\n", ], Array [ "assert", Result { "fullname": "", "id": 45, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 46, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# two\\n", ], Array [ "assert", Result { "fullname": "", "id": 47, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 48, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 49, "name": "test/isolated-conf-test.js", "ok": true, }, ], Array [ "comment", "# meta-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# meta test\\n", ], Array [ "assert", Result { "fullname": "", "id": 50, "name": "sanity check", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 51, "name": "not ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 52, "name": "total test count", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 53, "name": "tests passed", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 54, "name": "tests failed", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 55, "name": "ok is boolean", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 56, "name": "skip is number", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 57, "name": "results isa Results", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 58, "name": "test isa Test", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 59, "name": "test isa Harness", "ok": true, }, ], Array [ "comment", "# tests 10\\n", ], Array [ "comment", "# pass 10\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 60, "name": "test/meta-test.js", "ok": true, }, ], Array [ "comment", "# nested-async.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# Harness async test support\\n", ], Array [ "assert", Result { "fullname": "", "id": 61, "name": "sync child A", "ok": true, }, ], Array [ "comment", "# sync child B\\n", ], Array [ "comment", "# async grandchild A\\n", ], Array [ "assert", Result { "fullname": "", "id": 62, "name": "(unnamed assert)", "ok": true, }, ], Array [ "comment", "# async grandchild B\\n", ], Array [ "assert", Result { "fullname": "", "id": 63, "name": "(unnamed assert)", "ok": true, }, ], Array [ "comment", "# async child\\n", ], Array [ "assert", Result { "fullname": "", "id": 64, "name": "sync grandchild in async child A", "ok": true, }, ], Array [ "comment", "# sync grandchild in async child B\\n", ], Array [ "assert", Result { "fullname": "", "id": 65, "name": "(unnamed assert)", "ok": true, }, ], Array [ "comment", "# tests 5\\n", ], Array [ "comment", "# pass 5\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 66, "name": "test/nested-async.js", "ok": true, }, ], Array [ "comment", "# nested-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# parent\\n", ], Array [ "assert", Result { "fullname": "", "id": 67, "name": "p test", "ok": true, }, ], Array [ "comment", "# subtest\\n", ], Array [ "assert", Result { "fullname": "", "id": 68, "name": "ch test", "ok": true, }, ], Array [ "comment", "# nested subtest\\n", ], Array [ "assert", Result { "fullname": "", "id": 69, "name": "grch test", "ok": true, }, ], Array [ "comment", "# another subtest\\n", ], Array [ "assert", Result { "fullname": "", "id": 70, "name": "ch test 2", "ok": true, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 71, "name": "test/nested-test.js", "ok": true, }, ], Array [ "comment", "# non-tap-output.js\\n", ], Array [ "comment", "# everything is fine\\n", ], Array [ "comment", "# there are no errors\\n", ], Array [ "comment", "# this output is not haiku.\\n", ], Array [ "comment", "# is 8 ok?\\n", ], Array [ "assert", Result { "fullname": "", "id": 72, "name": ", 8 can stay.", "ok": true, }, ], Array [ "comment", "# but: nevertheless, here we are\\n", ], Array [ "comment", "# this: is indented\\n", ], Array [ "comment", "# and: it\\n", ], Array [ "comment", "# might: ~\\n", ], Array [ "comment", "# be: yaml?\\n", ], Array [ "assert", Result { "fullname": "", "id": 73, "name": "might be confusing", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 74, "name": "done now, exiting", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 75, "name": "test/non-tap-output.js", "ok": true, }, ], Array [ "comment", "# not-executed.sh\\n", ], Array [ "comment", "# output-childtest-description.js\\n", ], Array [ "comment", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# nested tests, parent and child pass\\n", ], Array [ "assert", Result { "fullname": "", "id": 76, "name": "outputs parent description", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 77, "name": "outputs child description", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 78, "name": "outputs parent description before parent result", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 79, "name": "outputs parent result before child description", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 80, "name": "outputs child description before child result", "ok": true, }, ], Array [ "comment", "# tests 5\\n", ], Array [ "comment", "# pass 5\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 81, "name": "test/output-childtest-description.js", "ok": true, }, ], Array [ "comment", "# result-trap.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# trap result\\n", ], Array [ "assert", Result { "fullname": "", "id": 82, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 83, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# tests 2\\n", ], Array [ "comment", "# pass 2\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 84, "name": "test/result-trap.js", "ok": true, }, ], Array [ "comment", "# segv.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# setup\\n", ], Array [ "assert", Result { "fullname": "", "id": 85, "name": "compiled seg faulter", "ok": true, }, ], Array [ "comment", "# segv\\n", ], Array [ "assert", Result { "fullname": "", "id": 86, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 87, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 88, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 89, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 90, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 91, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# cleanup\\n", ], Array [ "assert", Result { "fullname": "", "id": 92, "name": "cleaned up", "ok": true, }, ], Array [ "comment", "# tests 8\\n", ], Array [ "comment", "# pass 8\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 93, "name": "test/segv.js", "ok": true, }, ], Array [ "comment", "# simple-harness-test-with-plan.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# trivial success\\n", ], Array [ "assert", Result { "fullname": "", "id": 94, "name": "it works", "ok": true, }, ], Array [ "comment", "# two tests\\n", ], Array [ "assert", Result { "fullname": "", "id": 95, "name": "math should work", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 96, "name": "false should not be ok", "ok": true, }, ], Array [ "comment", "# tests 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 97, "name": "test/simple-harness-test-with-plan.js", "ok": true, }, ], Array [ "comment", "# simple-harness-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# trivial success\\n", ], Array [ "assert", Result { "fullname": "", "id": 98, "name": "it works", "ok": true, }, ], Array [ "comment", "# two tests\\n", ], Array [ "assert", Result { "fullname": "", "id": 99, "name": "math should work", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 100, "name": "false should not be ok", "ok": true, }, ], Array [ "comment", "# tests 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 101, "name": "test/simple-harness-test.js", "ok": true, }, ], Array [ "comment", "# test-assert-todo-skip.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# not much\\n", ], Array [ "assert", Result { "fullname": "", "id": 102, "name": "always passes", "ok": true, "skip": "skip it good", }, ], Array [ "assert", Result { "fullname": "", "id": 103, "name": "false", "ok": true, "skip": "always fails", }, ], Array [ "assert", Result { "fullname": "", "id": 104, "name": "bonus", "ok": true, "todo": "remove todo directive", }, ], Array [ "assert", Result { "fullname": "", "id": 105, "name": "expected", "ok": true, "todo": "implement a thing", }, ], Array [ "assert", Result { "fullname": "", "id": 106, "name": "always passes without explanation", "ok": true, "skip": true, }, ], Array [ "assert", Result { "fullname": "", "id": 107, "name": "false without explanation", "ok": true, "skip": true, }, ], Array [ "assert", Result { "fullname": "", "id": 108, "name": "bonus without explanation", "ok": true, "todo": true, }, ], Array [ "assert", Result { "fullname": "", "id": 109, "name": "expected without explanation", "ok": true, "todo": true, }, ], Array [ "comment", "# tests 8\\n", ], Array [ "comment", "# skip 4\\n", ], Array [ "comment", "# todo 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 110, "name": "test/test-assert-todo-skip.js", "ok": true, }, ], Array [ "comment", "# test-descriptions.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# captures test descriptions\\n", ], Array [ "assert", Result { "fullname": "", "id": 111, "name": "exit cleanly", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 112, "name": "captures SKIP description", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 113, "name": "skip summary is not from file", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 114, "name": "todo summary is not from file", "ok": true, }, ], Array [ "assert", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 115, "name": "captures TODO description", "ok": false, }, ], Array [ "assert", Result { "fullname": "", "id": 116, "name": "exit cleanly", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 117, "name": "captures SKIP description", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 118, "name": "skip summary is not in TAP output", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 119, "name": "todo summary is not in TAP output", "ok": true, }, ], Array [ "assert", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 120, "name": "captures TODO description", "ok": false, }, ], Array [ "assert", Result { "fullname": "", "id": 121, "name": "exit cleanly", "ok": true, }, ], Array [ "assert", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 122, "name": "summarizes skipped count", "ok": false, }, ], Array [ "assert", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 123, "name": "summarizes todo count", "ok": false, }, ], Array [ "comment", "# tests 13\\n", ], Array [ "comment", "# pass 9\\n", ], Array [ "comment", "# fail 4\\n", ], Array [ "assert", Result { "diag": Object { "command": "/usr/local/bin/iojs test-descriptions.js", "exit": 1, }, "fullname": "", "id": 124, "name": "test/test-descriptions.js", "ok": false, }, ], Array [ "comment", "# test-directives.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# captures test descriptions\\n", ], Array [ "comment", "# raw TAP > TAP consumer > TAP producer\\n", ], Array [ "assert", Result { "fullname": "", "id": 125, "name": "overall result is PASS", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 126, "name": "captures ok SKIP", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 127, "name": "captures not ok SKIP", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 128, "name": "skip summary not in TAP output", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 129, "name": "captures ok TODO", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 130, "name": "captures not ok TODO", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 131, "name": "todo summary is not in TAP output", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 132, "name": "no ugly \\"undefined\\" in output", "ok": true, }, ], Array [ "comment", "# raw TAP > TAP consumer > summary\\n", ], Array [ "assert", Result { "fullname": "", "id": 133, "name": "overall result is PASS", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 134, "name": "no SKIP in summary", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 135, "name": "skip summary is not in TAP output", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 136, "name": "no TODO in summary", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 137, "name": "todo summary is not in TAP output", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 138, "name": "no ugly \\"undefined\\" in output", "ok": true, }, ], Array [ "comment", "# TAP producer via require(\\"tap\\")\\n", ], Array [ "assert", Result { "fullname": "", "id": 139, "name": "overall result is PASS", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 140, "name": "captures ok SKIP", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 141, "name": "captures not ok SKIP", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 142, "name": "skip summary not in TAP output", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 143, "name": "captures ok TODO", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 144, "name": "captures not ok TODO", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 145, "name": "todo summary is not in TAP output", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 146, "name": "no ugly \\"undefined\\" in output", "ok": true, }, ], Array [ "comment", "# tests 22\\n", ], Array [ "comment", "# pass 22\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 147, "name": "test/test-directives.js", "ok": true, }, ], Array [ "comment", "# test-skip.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "assert", Result { "fullname": "", "id": 148, "name": "does not count as failure", "ok": true, "skip": true, }, ], Array [ "comment", "# tests 1\\n", ], Array [ "comment", "# skip 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 149, "name": "test/test-skip.js", "ok": true, }, ], Array [ "comment", "# test-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# testing the test object\\n", ], Array [ "assert", Result { "fullname": "", "id": 150, "name": "test object should be instanceof Test", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 151, "name": "test object should be instanceof Harness", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 152, "name": "test._Test should be the Test class", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 153, "name": "should have isNotDeepEqual method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 154, "name": "isNotDeepEqual method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 155, "name": "should have equals method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 156, "name": "equals method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 157, "name": "should have inequivalent method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 158, "name": "inequivalent method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 159, "name": "should have threw method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 160, "name": "threw method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 161, "name": "should have strictEqual method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 162, "name": "strictEqual method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 163, "name": "should have emit method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 164, "name": "emit method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 165, "name": "should have fail method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 166, "name": "fail method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 167, "name": "should have strictEquals method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 168, "name": "strictEquals method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 169, "name": "should have notLike method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 170, "name": "notLike method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 171, "name": "should have dissimilar method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 172, "name": "dissimilar method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 173, "name": "should have true method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 174, "name": "true method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 175, "name": "should have assert method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 176, "name": "assert method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 177, "name": "should have is method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 178, "name": "is method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 179, "name": "should have ok method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 180, "name": "ok method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 181, "name": "should have isEqual method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 182, "name": "isEqual method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 183, "name": "should have isDeeply method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 184, "name": "isDeeply method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 185, "name": "should have deepEqual method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 186, "name": "deepEqual method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 187, "name": "should have deepEquals method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 188, "name": "deepEquals method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 189, "name": "should have pass method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 190, "name": "pass method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 191, "name": "should have length method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 192, "name": "length method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 193, "name": "should have skip method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 194, "name": "skip method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 195, "name": "should have isNotEqual method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 196, "name": "isNotEqual method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 197, "name": "should have looseEquals method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 198, "name": "looseEquals method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 199, "name": "should have false method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 200, "name": "false method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 201, "name": "should have notDeeply method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 202, "name": "notDeeply method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 203, "name": "should have ifErr method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 204, "name": "ifErr method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 205, "name": "should have hasFields method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 206, "name": "hasFields method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 207, "name": "should have isNotDeeply method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 208, "name": "isNotDeeply method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 209, "name": "should have like method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 210, "name": "like method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 211, "name": "should have similar method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 212, "name": "similar method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 213, "name": "should have notOk method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 214, "name": "notOk method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 215, "name": "should have isDissimilar method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 216, "name": "isDissimilar method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 217, "name": "should have isEquivalent method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 218, "name": "isEquivalent method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 219, "name": "should have doesNotEqual method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 220, "name": "doesNotEqual method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 221, "name": "should have isSimilar method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 222, "name": "isSimilar method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 223, "name": "should have notDeepEqual method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 224, "name": "notDeepEqual method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 225, "name": "should have type method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 226, "name": "type method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 227, "name": "should have notok method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 228, "name": "notok method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 229, "name": "should have isInequivalent method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 230, "name": "isInequivalent method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 231, "name": "should have isNot method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 232, "name": "isNot method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 233, "name": "should have same method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 234, "name": "same method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 235, "name": "should have isInequal method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 236, "name": "isInequal method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 237, "name": "should have _endNice method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 238, "name": "_endNice method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 239, "name": "should have ifError method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 240, "name": "ifError method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 241, "name": "should have iferror method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 242, "name": "iferror method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 243, "name": "should have clear method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 244, "name": "clear method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 245, "name": "should have has method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 246, "name": "has method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 247, "name": "should have not method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 248, "name": "not method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 249, "name": "should have timeout method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 250, "name": "timeout method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 251, "name": "should have notSimilar method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 252, "name": "notSimilar method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 253, "name": "should have isUnlike method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 254, "name": "isUnlike method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 255, "name": "should have notEquals method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 256, "name": "notEquals method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 257, "name": "should have unsimilar method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 258, "name": "unsimilar method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 259, "name": "should have result method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 260, "name": "result method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 261, "name": "should have doesNotThrow method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 262, "name": "doesNotThrow method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 263, "name": "should have error method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 264, "name": "error method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 265, "name": "should have constructor method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 266, "name": "constructor method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 267, "name": "should have notEqual method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 268, "name": "notEqual method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 269, "name": "should have throws method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 270, "name": "throws method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 271, "name": "should have isLike method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 272, "name": "isLike method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 273, "name": "should have isNotSimilar method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 274, "name": "isNotSimilar method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 275, "name": "should have isNotEquivalent method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 276, "name": "isNotEquivalent method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 277, "name": "should have inequal method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 278, "name": "inequal method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 279, "name": "should have notEquivalent method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 280, "name": "notEquivalent method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 281, "name": "should have isNotLike method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 282, "name": "isNotLike method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 283, "name": "should have equivalent method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 284, "name": "equivalent method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 285, "name": "should have looseEqual method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 286, "name": "looseEqual method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 287, "name": "should have equal method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 288, "name": "equal method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 289, "name": "should have unlike method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 290, "name": "unlike method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 291, "name": "should have doesNotHave method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 292, "name": "doesNotHave method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 293, "name": "should have comment method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 294, "name": "comment method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 295, "name": "should have isa method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 296, "name": "isa method should be a function", "ok": true, }, ], Array [ "comment", "# tests 147\\n", ], Array [ "comment", "# pass 147\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 297, "name": "test/test-test.js", "ok": true, }, ], Array [ "comment", "# timeout.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# timeout test with plan only\\n", ], Array [ "assert", Result { "fullname": "", "id": 298, "name": "a", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 299, "name": "b", "ok": true, }, ], Array [ "comment", "# timeout test with plan and end\\n", ], Array [ "assert", Result { "fullname": "", "id": 300, "name": "a", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 301, "name": "b", "ok": true, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 302, "name": "test/timeout.js", "ok": true, }, ], Array [ "comment", "# trivial-success.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 303, "name": "test/trivial-success.js", "ok": true, }, ], Array [ "comment", "# undefined_indented.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# consume yaml\\n", ], Array [ "assert", Result { "fullname": "", "id": 304, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# tests 1\\n", ], Array [ "comment", "# pass 1\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 305, "name": "test/undefined_indented.js", "ok": true, }, ], Array [ "comment", "# valid-command.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# valid command\\n", ], Array [ "assert", Result { "fullname": "", "id": 306, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 307, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 308, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 309, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 310, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 311, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# tests 6\\n", ], Array [ "comment", "# pass 6\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 312, "name": "test/valid-command.js", "ok": true, }, ], Array [ "plan", Object { "end": 312, "start": 1, }, ], Array [ "comment", "# tests 312\\n", ], Array [ "comment", "# pass 298\\n", ], Array [ "comment", "# fail 5\\n", ], Array [ "comment", "# skip 5\\n", ], Array [ "comment", "# todo 4\\n", ], Array [ "comment", "# failed 5 of 312 tests\\n", ], Array [ "comment", "# todo: 4\\n", ], Array [ "comment", "# skip: 5\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 312, "fail": 5, "failures": Array [ Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 115, "name": "captures TODO description", "ok": false, }, Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 120, "name": "captures TODO description", "ok": false, }, Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 122, "name": "summarizes skipped count", "ok": false, }, Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 123, "name": "summarizes todo count", "ok": false, }, Result { "diag": Object { "command": "/usr/local/bin/iojs test-descriptions.js", "exit": 1, }, "fullname": "", "id": 124, "name": "test/test-descriptions.js", "ok": false, }, ], "ok": false, "pass": 307, "plan": FinalPlan { "comment": "", "end": 312, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 5, "time": null, "todo": 4, }, ], ] ` exports[`test/parser-stringify.js TAP tap-tests-stdout.tap default settings > stringified 1`] = ` TAP 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 # failed 5 of 312 tests # todo: 4 # skip: 5 ` exports[`test/parser-stringify.js TAP tap-tests-stdout.tap default settings > stringified flat 1`] = ` TAP 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 # failed 5 of 312 tests # todo: 4 # skip: 5 ` exports[`test/parser-stringify.js TAP tap-tests-stdout.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# buffer_compare.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# same buffers\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# not same buffers\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should not be equivalent", "ok": true, }, ], Array [ "comment", "# tests 2\\n", ], Array [ "comment", "# pass 2\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "test/buffer_compare.js", "ok": true, }, ], Array [ "comment", "# common.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "just setup, nothing relevant", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "test/common.js", "ok": true, }, ], Array [ "comment", "# consumer.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# basic.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 6, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# indent.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 7, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# missing.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 8, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# skip-all.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# tap-tests.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 10, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# yamlish.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 11, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# tests 6\\n", ], Array [ "comment", "# pass 6\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 12, "name": "test/consumer.js", "ok": true, }, ], Array [ "comment", "# debug-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# debug test\\n", ], Array [ "assert", Result { "fullname": "", "id": 13, "name": "Should output debugger message", "ok": true, }, ], Array [ "comment", "# tests 1\\n", ], Array [ "comment", "# pass 1\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 14, "name": "test/debug-test.js", "ok": true, }, ], Array [ "comment", "# deep-strict.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# strictDeepEquals shouldn't care about key order\\n", ], Array [ "assert", Result { "fullname": "", "id": 15, "name": "should be strictly equal", "ok": true, }, ], Array [ "comment", "# strictDeepEquals shouldn't care about key order recursively\\n", ], Array [ "assert", Result { "fullname": "", "id": 16, "name": "should be strictly equal", "ok": true, }, ], Array [ "comment", "# strictDeepEquals shoudn't care about key order (but still might)\\n", ], Array [ "assert", Result { "fullname": "", "id": 17, "name": "should be strictly equal", "ok": true, }, ], Array [ "comment", "# tests 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 18, "name": "test/deep-strict.js", "ok": true, }, ], Array [ "comment", "# deep.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# deepEquals shouldn't care about key order and types\\n", ], Array [ "assert", Result { "fullname": "", "id": 19, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# deepEquals shouldn't care about key order recursively and types\\n", ], Array [ "assert", Result { "fullname": "", "id": 20, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# deepEquals shoudn't care about key order (but still might) and types\\n", ], Array [ "assert", Result { "fullname": "", "id": 21, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# tests 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 22, "name": "test/deep.js", "ok": true, }, ], Array [ "comment", "# executed.sh\\n", ], Array [ "assert", Result { "fullname": "", "id": 23, "name": "File with executable bit should be executed", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 24, "name": "test/executed.sh", "ok": true, }, ], Array [ "comment", "# exit-code.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# exit code 1 when tap results show failure\\n", ], Array [ "comment", "# test exits 0, has failures\\n", ], Array [ "assert", Result { "fullname": "", "id": 25, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 26, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# test exits 1, has failures\\n", ], Array [ "assert", Result { "fullname": "", "id": 27, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 28, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# test exits 1, has no failures\\n", ], Array [ "assert", Result { "fullname": "", "id": 29, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 30, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# successes exit 0\\n", ], Array [ "comment", "# test that does nothing, but exits 0\\n", ], Array [ "assert", Result { "fullname": "", "id": 31, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 32, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# test that succeeds, and exits 0\\n", ], Array [ "assert", Result { "fullname": "", "id": 33, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 34, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# tests 10\\n", ], Array [ "comment", "# pass 10\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 35, "name": "test/exit-code.js", "ok": true, }, ], Array [ "comment", "# expose-gc-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# gc test when the gc isn't there\\n", ], Array [ "assert", Result { "fullname": "", "id": 36, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# gc test when the gc should be there\\n", ], Array [ "comment", "# test for gc using --gc\\n", ], Array [ "assert", Result { "fullname": "", "id": 37, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# test for gc using --expose-gc\\n", ], Array [ "assert", Result { "fullname": "", "id": 38, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# cleanup\\n", ], Array [ "comment", "# tests 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 39, "name": "test/expose-gc-test.js", "ok": true, }, ], Array [ "comment", "# global-harness-async.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# outer\\n", ], Array [ "comment", "# inner 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 40, "name": "1-1", "ok": true, }, ], Array [ "comment", "# inner 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 41, "name": "2-1", "ok": true, }, ], Array [ "comment", "# inner 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 42, "name": "3-1", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 43, "name": "test/global-harness-async.js", "ok": true, }, ], Array [ "comment", "# independent-timeouts.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# finishes in time\\n", ], Array [ "comment", "# finishes in time too\\n", ], Array [ "comment", "# tests 0\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 44, "name": "test/independent-timeouts.js", "ok": true, }, ], Array [ "comment", "# isolated-conf-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# one\\n", ], Array [ "assert", Result { "fullname": "", "id": 45, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 46, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# two\\n", ], Array [ "assert", Result { "fullname": "", "id": 47, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 48, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 49, "name": "test/isolated-conf-test.js", "ok": true, }, ], Array [ "comment", "# meta-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# meta test\\n", ], Array [ "assert", Result { "fullname": "", "id": 50, "name": "sanity check", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 51, "name": "not ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 52, "name": "total test count", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 53, "name": "tests passed", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 54, "name": "tests failed", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 55, "name": "ok is boolean", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 56, "name": "skip is number", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 57, "name": "results isa Results", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 58, "name": "test isa Test", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 59, "name": "test isa Harness", "ok": true, }, ], Array [ "comment", "# tests 10\\n", ], Array [ "comment", "# pass 10\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 60, "name": "test/meta-test.js", "ok": true, }, ], Array [ "comment", "# nested-async.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# Harness async test support\\n", ], Array [ "assert", Result { "fullname": "", "id": 61, "name": "sync child A", "ok": true, }, ], Array [ "comment", "# sync child B\\n", ], Array [ "comment", "# async grandchild A\\n", ], Array [ "assert", Result { "fullname": "", "id": 62, "name": "(unnamed assert)", "ok": true, }, ], Array [ "comment", "# async grandchild B\\n", ], Array [ "assert", Result { "fullname": "", "id": 63, "name": "(unnamed assert)", "ok": true, }, ], Array [ "comment", "# async child\\n", ], Array [ "assert", Result { "fullname": "", "id": 64, "name": "sync grandchild in async child A", "ok": true, }, ], Array [ "comment", "# sync grandchild in async child B\\n", ], Array [ "assert", Result { "fullname": "", "id": 65, "name": "(unnamed assert)", "ok": true, }, ], Array [ "comment", "# tests 5\\n", ], Array [ "comment", "# pass 5\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 66, "name": "test/nested-async.js", "ok": true, }, ], Array [ "comment", "# nested-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# parent\\n", ], Array [ "assert", Result { "fullname": "", "id": 67, "name": "p test", "ok": true, }, ], Array [ "comment", "# subtest\\n", ], Array [ "assert", Result { "fullname": "", "id": 68, "name": "ch test", "ok": true, }, ], Array [ "comment", "# nested subtest\\n", ], Array [ "assert", Result { "fullname": "", "id": 69, "name": "grch test", "ok": true, }, ], Array [ "comment", "# another subtest\\n", ], Array [ "assert", Result { "fullname": "", "id": 70, "name": "ch test 2", "ok": true, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 71, "name": "test/nested-test.js", "ok": true, }, ], Array [ "comment", "# non-tap-output.js\\n", ], Array [ "comment", "# everything is fine\\n", ], Array [ "comment", "# there are no errors\\n", ], Array [ "comment", "# this output is not haiku.\\n", ], Array [ "comment", "# is 8 ok?\\n", ], Array [ "assert", Result { "fullname": "", "id": 72, "name": ", 8 can stay.", "ok": true, }, ], Array [ "comment", "# but: nevertheless, here we are\\n", ], Array [ "comment", "# this: is indented\\n", ], Array [ "comment", "# and: it\\n", ], Array [ "comment", "# might: ~\\n", ], Array [ "comment", "# be: yaml?\\n", ], Array [ "assert", Result { "fullname": "", "id": 73, "name": "might be confusing", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 74, "name": "done now, exiting", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 75, "name": "test/non-tap-output.js", "ok": true, }, ], Array [ "comment", "# not-executed.sh\\n", ], Array [ "comment", "# output-childtest-description.js\\n", ], Array [ "comment", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# nested tests, parent and child pass\\n", ], Array [ "assert", Result { "fullname": "", "id": 76, "name": "outputs parent description", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 77, "name": "outputs child description", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 78, "name": "outputs parent description before parent result", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 79, "name": "outputs parent result before child description", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 80, "name": "outputs child description before child result", "ok": true, }, ], Array [ "comment", "# tests 5\\n", ], Array [ "comment", "# pass 5\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 81, "name": "test/output-childtest-description.js", "ok": true, }, ], Array [ "comment", "# result-trap.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# trap result\\n", ], Array [ "assert", Result { "fullname": "", "id": 82, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 83, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# tests 2\\n", ], Array [ "comment", "# pass 2\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 84, "name": "test/result-trap.js", "ok": true, }, ], Array [ "comment", "# segv.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# setup\\n", ], Array [ "assert", Result { "fullname": "", "id": 85, "name": "compiled seg faulter", "ok": true, }, ], Array [ "comment", "# segv\\n", ], Array [ "assert", Result { "fullname": "", "id": 86, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 87, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 88, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 89, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 90, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 91, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# cleanup\\n", ], Array [ "assert", Result { "fullname": "", "id": 92, "name": "cleaned up", "ok": true, }, ], Array [ "comment", "# tests 8\\n", ], Array [ "comment", "# pass 8\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 93, "name": "test/segv.js", "ok": true, }, ], Array [ "comment", "# simple-harness-test-with-plan.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# trivial success\\n", ], Array [ "assert", Result { "fullname": "", "id": 94, "name": "it works", "ok": true, }, ], Array [ "comment", "# two tests\\n", ], Array [ "assert", Result { "fullname": "", "id": 95, "name": "math should work", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 96, "name": "false should not be ok", "ok": true, }, ], Array [ "comment", "# tests 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 97, "name": "test/simple-harness-test-with-plan.js", "ok": true, }, ], Array [ "comment", "# simple-harness-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# trivial success\\n", ], Array [ "assert", Result { "fullname": "", "id": 98, "name": "it works", "ok": true, }, ], Array [ "comment", "# two tests\\n", ], Array [ "assert", Result { "fullname": "", "id": 99, "name": "math should work", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 100, "name": "false should not be ok", "ok": true, }, ], Array [ "comment", "# tests 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 101, "name": "test/simple-harness-test.js", "ok": true, }, ], Array [ "comment", "# test-assert-todo-skip.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# not much\\n", ], Array [ "assert", Result { "fullname": "", "id": 102, "name": "always passes", "ok": true, "skip": "skip it good", }, ], Array [ "assert", Result { "fullname": "", "id": 103, "name": "false", "ok": true, "skip": "always fails", }, ], Array [ "assert", Result { "fullname": "", "id": 104, "name": "bonus", "ok": true, "todo": "remove todo directive", }, ], Array [ "assert", Result { "fullname": "", "id": 105, "name": "expected", "ok": true, "todo": "implement a thing", }, ], Array [ "assert", Result { "fullname": "", "id": 106, "name": "always passes without explanation", "ok": true, "skip": true, }, ], Array [ "assert", Result { "fullname": "", "id": 107, "name": "false without explanation", "ok": true, "skip": true, }, ], Array [ "assert", Result { "fullname": "", "id": 108, "name": "bonus without explanation", "ok": true, "todo": true, }, ], Array [ "assert", Result { "fullname": "", "id": 109, "name": "expected without explanation", "ok": true, "todo": true, }, ], Array [ "comment", "# tests 8\\n", ], Array [ "comment", "# skip 4\\n", ], Array [ "comment", "# todo 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 110, "name": "test/test-assert-todo-skip.js", "ok": true, }, ], Array [ "comment", "# test-descriptions.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# captures test descriptions\\n", ], Array [ "assert", Result { "fullname": "", "id": 111, "name": "exit cleanly", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 112, "name": "captures SKIP description", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 113, "name": "skip summary is not from file", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 114, "name": "todo summary is not from file", "ok": true, }, ], Array [ "assert", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 115, "name": "captures TODO description", "ok": false, }, ], Array [ "assert", Result { "fullname": "", "id": 116, "name": "exit cleanly", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 117, "name": "captures SKIP description", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 118, "name": "skip summary is not in TAP output", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 119, "name": "todo summary is not in TAP output", "ok": true, }, ], Array [ "assert", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 120, "name": "captures TODO description", "ok": false, }, ], Array [ "assert", Result { "fullname": "", "id": 121, "name": "exit cleanly", "ok": true, }, ], Array [ "assert", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 122, "name": "summarizes skipped count", "ok": false, }, ], Array [ "assert", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 123, "name": "summarizes todo count", "ok": false, }, ], Array [ "comment", "# tests 13\\n", ], Array [ "comment", "# pass 9\\n", ], Array [ "comment", "# fail 4\\n", ], Array [ "assert", Result { "diag": Object { "command": "/usr/local/bin/iojs test-descriptions.js", "exit": 1, }, "fullname": "", "id": 124, "name": "test/test-descriptions.js", "ok": false, }, ], Array [ "comment", "# test-directives.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# captures test descriptions\\n", ], Array [ "comment", "# raw TAP > TAP consumer > TAP producer\\n", ], Array [ "assert", Result { "fullname": "", "id": 125, "name": "overall result is PASS", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 126, "name": "captures ok SKIP", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 127, "name": "captures not ok SKIP", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 128, "name": "skip summary not in TAP output", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 129, "name": "captures ok TODO", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 130, "name": "captures not ok TODO", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 131, "name": "todo summary is not in TAP output", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 132, "name": "no ugly \\"undefined\\" in output", "ok": true, }, ], Array [ "comment", "# raw TAP > TAP consumer > summary\\n", ], Array [ "assert", Result { "fullname": "", "id": 133, "name": "overall result is PASS", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 134, "name": "no SKIP in summary", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 135, "name": "skip summary is not in TAP output", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 136, "name": "no TODO in summary", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 137, "name": "todo summary is not in TAP output", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 138, "name": "no ugly \\"undefined\\" in output", "ok": true, }, ], Array [ "comment", "# TAP producer via require(\\"tap\\")\\n", ], Array [ "assert", Result { "fullname": "", "id": 139, "name": "overall result is PASS", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 140, "name": "captures ok SKIP", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 141, "name": "captures not ok SKIP", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 142, "name": "skip summary not in TAP output", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 143, "name": "captures ok TODO", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 144, "name": "captures not ok TODO", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 145, "name": "todo summary is not in TAP output", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 146, "name": "no ugly \\"undefined\\" in output", "ok": true, }, ], Array [ "comment", "# tests 22\\n", ], Array [ "comment", "# pass 22\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 147, "name": "test/test-directives.js", "ok": true, }, ], Array [ "comment", "# test-skip.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "assert", Result { "fullname": "", "id": 148, "name": "does not count as failure", "ok": true, "skip": true, }, ], Array [ "comment", "# tests 1\\n", ], Array [ "comment", "# skip 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 149, "name": "test/test-skip.js", "ok": true, }, ], Array [ "comment", "# test-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# testing the test object\\n", ], Array [ "assert", Result { "fullname": "", "id": 150, "name": "test object should be instanceof Test", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 151, "name": "test object should be instanceof Harness", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 152, "name": "test._Test should be the Test class", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 153, "name": "should have isNotDeepEqual method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 154, "name": "isNotDeepEqual method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 155, "name": "should have equals method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 156, "name": "equals method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 157, "name": "should have inequivalent method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 158, "name": "inequivalent method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 159, "name": "should have threw method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 160, "name": "threw method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 161, "name": "should have strictEqual method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 162, "name": "strictEqual method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 163, "name": "should have emit method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 164, "name": "emit method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 165, "name": "should have fail method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 166, "name": "fail method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 167, "name": "should have strictEquals method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 168, "name": "strictEquals method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 169, "name": "should have notLike method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 170, "name": "notLike method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 171, "name": "should have dissimilar method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 172, "name": "dissimilar method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 173, "name": "should have true method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 174, "name": "true method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 175, "name": "should have assert method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 176, "name": "assert method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 177, "name": "should have is method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 178, "name": "is method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 179, "name": "should have ok method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 180, "name": "ok method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 181, "name": "should have isEqual method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 182, "name": "isEqual method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 183, "name": "should have isDeeply method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 184, "name": "isDeeply method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 185, "name": "should have deepEqual method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 186, "name": "deepEqual method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 187, "name": "should have deepEquals method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 188, "name": "deepEquals method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 189, "name": "should have pass method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 190, "name": "pass method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 191, "name": "should have length method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 192, "name": "length method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 193, "name": "should have skip method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 194, "name": "skip method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 195, "name": "should have isNotEqual method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 196, "name": "isNotEqual method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 197, "name": "should have looseEquals method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 198, "name": "looseEquals method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 199, "name": "should have false method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 200, "name": "false method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 201, "name": "should have notDeeply method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 202, "name": "notDeeply method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 203, "name": "should have ifErr method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 204, "name": "ifErr method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 205, "name": "should have hasFields method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 206, "name": "hasFields method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 207, "name": "should have isNotDeeply method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 208, "name": "isNotDeeply method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 209, "name": "should have like method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 210, "name": "like method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 211, "name": "should have similar method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 212, "name": "similar method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 213, "name": "should have notOk method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 214, "name": "notOk method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 215, "name": "should have isDissimilar method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 216, "name": "isDissimilar method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 217, "name": "should have isEquivalent method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 218, "name": "isEquivalent method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 219, "name": "should have doesNotEqual method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 220, "name": "doesNotEqual method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 221, "name": "should have isSimilar method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 222, "name": "isSimilar method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 223, "name": "should have notDeepEqual method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 224, "name": "notDeepEqual method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 225, "name": "should have type method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 226, "name": "type method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 227, "name": "should have notok method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 228, "name": "notok method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 229, "name": "should have isInequivalent method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 230, "name": "isInequivalent method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 231, "name": "should have isNot method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 232, "name": "isNot method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 233, "name": "should have same method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 234, "name": "same method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 235, "name": "should have isInequal method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 236, "name": "isInequal method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 237, "name": "should have _endNice method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 238, "name": "_endNice method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 239, "name": "should have ifError method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 240, "name": "ifError method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 241, "name": "should have iferror method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 242, "name": "iferror method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 243, "name": "should have clear method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 244, "name": "clear method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 245, "name": "should have has method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 246, "name": "has method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 247, "name": "should have not method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 248, "name": "not method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 249, "name": "should have timeout method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 250, "name": "timeout method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 251, "name": "should have notSimilar method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 252, "name": "notSimilar method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 253, "name": "should have isUnlike method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 254, "name": "isUnlike method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 255, "name": "should have notEquals method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 256, "name": "notEquals method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 257, "name": "should have unsimilar method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 258, "name": "unsimilar method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 259, "name": "should have result method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 260, "name": "result method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 261, "name": "should have doesNotThrow method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 262, "name": "doesNotThrow method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 263, "name": "should have error method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 264, "name": "error method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 265, "name": "should have constructor method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 266, "name": "constructor method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 267, "name": "should have notEqual method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 268, "name": "notEqual method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 269, "name": "should have throws method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 270, "name": "throws method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 271, "name": "should have isLike method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 272, "name": "isLike method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 273, "name": "should have isNotSimilar method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 274, "name": "isNotSimilar method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 275, "name": "should have isNotEquivalent method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 276, "name": "isNotEquivalent method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 277, "name": "should have inequal method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 278, "name": "inequal method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 279, "name": "should have notEquivalent method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 280, "name": "notEquivalent method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 281, "name": "should have isNotLike method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 282, "name": "isNotLike method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 283, "name": "should have equivalent method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 284, "name": "equivalent method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 285, "name": "should have looseEqual method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 286, "name": "looseEqual method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 287, "name": "should have equal method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 288, "name": "equal method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 289, "name": "should have unlike method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 290, "name": "unlike method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 291, "name": "should have doesNotHave method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 292, "name": "doesNotHave method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 293, "name": "should have comment method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 294, "name": "comment method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 295, "name": "should have isa method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 296, "name": "isa method should be a function", "ok": true, }, ], Array [ "comment", "# tests 147\\n", ], Array [ "comment", "# pass 147\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 297, "name": "test/test-test.js", "ok": true, }, ], Array [ "comment", "# timeout.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# timeout test with plan only\\n", ], Array [ "assert", Result { "fullname": "", "id": 298, "name": "a", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 299, "name": "b", "ok": true, }, ], Array [ "comment", "# timeout test with plan and end\\n", ], Array [ "assert", Result { "fullname": "", "id": 300, "name": "a", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 301, "name": "b", "ok": true, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 302, "name": "test/timeout.js", "ok": true, }, ], Array [ "comment", "# trivial-success.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 303, "name": "test/trivial-success.js", "ok": true, }, ], Array [ "comment", "# undefined_indented.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# consume yaml\\n", ], Array [ "assert", Result { "fullname": "", "id": 304, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# tests 1\\n", ], Array [ "comment", "# pass 1\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 305, "name": "test/undefined_indented.js", "ok": true, }, ], Array [ "comment", "# valid-command.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# valid command\\n", ], Array [ "assert", Result { "fullname": "", "id": 306, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 307, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 308, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 309, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 310, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 311, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# tests 6\\n", ], Array [ "comment", "# pass 6\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 312, "name": "test/valid-command.js", "ok": true, }, ], Array [ "plan", Object { "end": 312, "start": 1, }, ], Array [ "comment", "# tests 312\\n", ], Array [ "comment", "# pass 298\\n", ], Array [ "comment", "# fail 5\\n", ], Array [ "comment", "# skip 5\\n", ], Array [ "comment", "# todo 4\\n", ], Array [ "comment", "# failed 5 of 312 tests\\n", ], Array [ "comment", "# todo: 4\\n", ], Array [ "comment", "# skip: 5\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 312, "fail": 5, "failures": Array [ Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 115, "name": "captures TODO description", "ok": false, }, Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 120, "name": "captures TODO description", "ok": false, }, Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 122, "name": "summarizes skipped count", "ok": false, }, Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 123, "name": "summarizes todo count", "ok": false, }, Result { "diag": Object { "command": "/usr/local/bin/iojs test-descriptions.js", "exit": 1, }, "fullname": "", "id": 124, "name": "test/test-descriptions.js", "ok": false, }, ], "ok": false, "pass": 307, "plan": FinalPlan { "comment": "", "end": 312, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 5, "time": null, "todo": 4, }, ], ] ` exports[`test/parser-stringify.js TAP tap-tests-stdout.tap strict > stringified 1`] = ` TAP 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 # failed 5 of 312 tests # todo: 4 # skip: 5 ` exports[`test/parser-stringify.js TAP tap-tests-stdout.tap strict > stringified flat 1`] = ` TAP 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 # failed 5 of 312 tests # todo: 4 # skip: 5 ` exports[`test/parser-stringify.js TAP tap-tests-stdout.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# buffer_compare.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# same buffers\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# not same buffers\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should not be equivalent", "ok": true, }, ], Array [ "comment", "# tests 2\\n", ], Array [ "comment", "# pass 2\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "test/buffer_compare.js", "ok": true, }, ], Array [ "comment", "# common.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "just setup, nothing relevant", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "test/common.js", "ok": true, }, ], Array [ "comment", "# consumer.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# basic.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 6, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# indent.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 7, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# missing.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 8, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# skip-all.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# tap-tests.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 10, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# yamlish.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 11, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# tests 6\\n", ], Array [ "comment", "# pass 6\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 12, "name": "test/consumer.js", "ok": true, }, ], Array [ "comment", "# debug-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# debug test\\n", ], Array [ "assert", Result { "fullname": "", "id": 13, "name": "Should output debugger message", "ok": true, }, ], Array [ "comment", "# tests 1\\n", ], Array [ "comment", "# pass 1\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 14, "name": "test/debug-test.js", "ok": true, }, ], Array [ "comment", "# deep-strict.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# strictDeepEquals shouldn't care about key order\\n", ], Array [ "assert", Result { "fullname": "", "id": 15, "name": "should be strictly equal", "ok": true, }, ], Array [ "comment", "# strictDeepEquals shouldn't care about key order recursively\\n", ], Array [ "assert", Result { "fullname": "", "id": 16, "name": "should be strictly equal", "ok": true, }, ], Array [ "comment", "# strictDeepEquals shoudn't care about key order (but still might)\\n", ], Array [ "assert", Result { "fullname": "", "id": 17, "name": "should be strictly equal", "ok": true, }, ], Array [ "comment", "# tests 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 18, "name": "test/deep-strict.js", "ok": true, }, ], Array [ "comment", "# deep.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# deepEquals shouldn't care about key order and types\\n", ], Array [ "assert", Result { "fullname": "", "id": 19, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# deepEquals shouldn't care about key order recursively and types\\n", ], Array [ "assert", Result { "fullname": "", "id": 20, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# deepEquals shoudn't care about key order (but still might) and types\\n", ], Array [ "assert", Result { "fullname": "", "id": 21, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# tests 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 22, "name": "test/deep.js", "ok": true, }, ], Array [ "comment", "# executed.sh\\n", ], Array [ "assert", Result { "fullname": "", "id": 23, "name": "File with executable bit should be executed", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 24, "name": "test/executed.sh", "ok": true, }, ], Array [ "comment", "# exit-code.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# exit code 1 when tap results show failure\\n", ], Array [ "comment", "# test exits 0, has failures\\n", ], Array [ "assert", Result { "fullname": "", "id": 25, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 26, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# test exits 1, has failures\\n", ], Array [ "assert", Result { "fullname": "", "id": 27, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 28, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# test exits 1, has no failures\\n", ], Array [ "assert", Result { "fullname": "", "id": 29, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 30, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# successes exit 0\\n", ], Array [ "comment", "# test that does nothing, but exits 0\\n", ], Array [ "assert", Result { "fullname": "", "id": 31, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 32, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# test that succeeds, and exits 0\\n", ], Array [ "assert", Result { "fullname": "", "id": 33, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 34, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# tests 10\\n", ], Array [ "comment", "# pass 10\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 35, "name": "test/exit-code.js", "ok": true, }, ], Array [ "comment", "# expose-gc-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# gc test when the gc isn't there\\n", ], Array [ "assert", Result { "fullname": "", "id": 36, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# gc test when the gc should be there\\n", ], Array [ "comment", "# test for gc using --gc\\n", ], Array [ "assert", Result { "fullname": "", "id": 37, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# test for gc using --expose-gc\\n", ], Array [ "assert", Result { "fullname": "", "id": 38, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# cleanup\\n", ], Array [ "comment", "# tests 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 39, "name": "test/expose-gc-test.js", "ok": true, }, ], Array [ "comment", "# global-harness-async.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# outer\\n", ], Array [ "comment", "# inner 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 40, "name": "1-1", "ok": true, }, ], Array [ "comment", "# inner 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 41, "name": "2-1", "ok": true, }, ], Array [ "comment", "# inner 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 42, "name": "3-1", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 43, "name": "test/global-harness-async.js", "ok": true, }, ], Array [ "comment", "# independent-timeouts.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# finishes in time\\n", ], Array [ "comment", "# finishes in time too\\n", ], Array [ "comment", "# tests 0\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 44, "name": "test/independent-timeouts.js", "ok": true, }, ], Array [ "comment", "# isolated-conf-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# one\\n", ], Array [ "assert", Result { "fullname": "", "id": 45, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 46, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# two\\n", ], Array [ "assert", Result { "fullname": "", "id": 47, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 48, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 49, "name": "test/isolated-conf-test.js", "ok": true, }, ], Array [ "comment", "# meta-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# meta test\\n", ], Array [ "assert", Result { "fullname": "", "id": 50, "name": "sanity check", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 51, "name": "not ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 52, "name": "total test count", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 53, "name": "tests passed", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 54, "name": "tests failed", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 55, "name": "ok is boolean", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 56, "name": "skip is number", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 57, "name": "results isa Results", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 58, "name": "test isa Test", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 59, "name": "test isa Harness", "ok": true, }, ], Array [ "comment", "# tests 10\\n", ], Array [ "comment", "# pass 10\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 60, "name": "test/meta-test.js", "ok": true, }, ], Array [ "comment", "# nested-async.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# Harness async test support\\n", ], Array [ "assert", Result { "fullname": "", "id": 61, "name": "sync child A", "ok": true, }, ], Array [ "comment", "# sync child B\\n", ], Array [ "comment", "# async grandchild A\\n", ], Array [ "assert", Result { "fullname": "", "id": 62, "name": "(unnamed assert)", "ok": true, }, ], Array [ "comment", "# async grandchild B\\n", ], Array [ "assert", Result { "fullname": "", "id": 63, "name": "(unnamed assert)", "ok": true, }, ], Array [ "comment", "# async child\\n", ], Array [ "assert", Result { "fullname": "", "id": 64, "name": "sync grandchild in async child A", "ok": true, }, ], Array [ "comment", "# sync grandchild in async child B\\n", ], Array [ "assert", Result { "fullname": "", "id": 65, "name": "(unnamed assert)", "ok": true, }, ], Array [ "comment", "# tests 5\\n", ], Array [ "comment", "# pass 5\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 66, "name": "test/nested-async.js", "ok": true, }, ], Array [ "comment", "# nested-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# parent\\n", ], Array [ "assert", Result { "fullname": "", "id": 67, "name": "p test", "ok": true, }, ], Array [ "comment", "# subtest\\n", ], Array [ "assert", Result { "fullname": "", "id": 68, "name": "ch test", "ok": true, }, ], Array [ "comment", "# nested subtest\\n", ], Array [ "assert", Result { "fullname": "", "id": 69, "name": "grch test", "ok": true, }, ], Array [ "comment", "# another subtest\\n", ], Array [ "assert", Result { "fullname": "", "id": 70, "name": "ch test 2", "ok": true, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 71, "name": "test/nested-test.js", "ok": true, }, ], Array [ "comment", "# non-tap-output.js\\n", ], Array [ "comment", "# everything is fine\\n", ], Array [ "comment", "# there are no errors\\n", ], Array [ "comment", "# this output is not haiku.\\n", ], Array [ "comment", "# is 8 ok?\\n", ], Array [ "assert", Result { "fullname": "", "id": 72, "name": ", 8 can stay.", "ok": true, }, ], Array [ "comment", "# but: nevertheless, here we are\\n", ], Array [ "comment", "# this: is indented\\n", ], Array [ "comment", "# and: it\\n", ], Array [ "comment", "# might: ~\\n", ], Array [ "comment", "# be: yaml?\\n", ], Array [ "assert", Result { "fullname": "", "id": 73, "name": "might be confusing", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 74, "name": "done now, exiting", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 75, "name": "test/non-tap-output.js", "ok": true, }, ], Array [ "comment", "# not-executed.sh\\n", ], Array [ "comment", "# output-childtest-description.js\\n", ], Array [ "comment", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# nested tests, parent and child pass\\n", ], Array [ "assert", Result { "fullname": "", "id": 76, "name": "outputs parent description", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 77, "name": "outputs child description", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 78, "name": "outputs parent description before parent result", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 79, "name": "outputs parent result before child description", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 80, "name": "outputs child description before child result", "ok": true, }, ], Array [ "comment", "# tests 5\\n", ], Array [ "comment", "# pass 5\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 81, "name": "test/output-childtest-description.js", "ok": true, }, ], Array [ "comment", "# result-trap.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# trap result\\n", ], Array [ "assert", Result { "fullname": "", "id": 82, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 83, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# tests 2\\n", ], Array [ "comment", "# pass 2\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 84, "name": "test/result-trap.js", "ok": true, }, ], Array [ "comment", "# segv.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# setup\\n", ], Array [ "assert", Result { "fullname": "", "id": 85, "name": "compiled seg faulter", "ok": true, }, ], Array [ "comment", "# segv\\n", ], Array [ "assert", Result { "fullname": "", "id": 86, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 87, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 88, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 89, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 90, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 91, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# cleanup\\n", ], Array [ "assert", Result { "fullname": "", "id": 92, "name": "cleaned up", "ok": true, }, ], Array [ "comment", "# tests 8\\n", ], Array [ "comment", "# pass 8\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 93, "name": "test/segv.js", "ok": true, }, ], Array [ "comment", "# simple-harness-test-with-plan.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# trivial success\\n", ], Array [ "assert", Result { "fullname": "", "id": 94, "name": "it works", "ok": true, }, ], Array [ "comment", "# two tests\\n", ], Array [ "assert", Result { "fullname": "", "id": 95, "name": "math should work", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 96, "name": "false should not be ok", "ok": true, }, ], Array [ "comment", "# tests 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 97, "name": "test/simple-harness-test-with-plan.js", "ok": true, }, ], Array [ "comment", "# simple-harness-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# trivial success\\n", ], Array [ "assert", Result { "fullname": "", "id": 98, "name": "it works", "ok": true, }, ], Array [ "comment", "# two tests\\n", ], Array [ "assert", Result { "fullname": "", "id": 99, "name": "math should work", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 100, "name": "false should not be ok", "ok": true, }, ], Array [ "comment", "# tests 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 101, "name": "test/simple-harness-test.js", "ok": true, }, ], Array [ "comment", "# test-assert-todo-skip.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# not much\\n", ], Array [ "assert", Result { "fullname": "", "id": 102, "name": "always passes", "ok": true, "skip": "skip it good", }, ], Array [ "assert", Result { "fullname": "", "id": 103, "name": "false", "ok": true, "skip": "always fails", }, ], Array [ "assert", Result { "fullname": "", "id": 104, "name": "bonus", "ok": true, "todo": "remove todo directive", }, ], Array [ "assert", Result { "fullname": "", "id": 105, "name": "expected", "ok": true, "todo": "implement a thing", }, ], Array [ "assert", Result { "fullname": "", "id": 106, "name": "always passes without explanation", "ok": true, "skip": true, }, ], Array [ "assert", Result { "fullname": "", "id": 107, "name": "false without explanation", "ok": true, "skip": true, }, ], Array [ "assert", Result { "fullname": "", "id": 108, "name": "bonus without explanation", "ok": true, "todo": true, }, ], Array [ "assert", Result { "fullname": "", "id": 109, "name": "expected without explanation", "ok": true, "todo": true, }, ], Array [ "comment", "# tests 8\\n", ], Array [ "comment", "# skip 4\\n", ], Array [ "comment", "# todo 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 110, "name": "test/test-assert-todo-skip.js", "ok": true, }, ], Array [ "comment", "# test-descriptions.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# captures test descriptions\\n", ], Array [ "assert", Result { "fullname": "", "id": 111, "name": "exit cleanly", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 112, "name": "captures SKIP description", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 113, "name": "skip summary is not from file", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 114, "name": "todo summary is not from file", "ok": true, }, ], Array [ "assert", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 115, "name": "captures TODO description", "ok": false, }, ], Array [ "bailout", "captures TODO description", ], Array [ "complete", FinalResults { "bailout": "captures TODO description", "count": 115, "fail": 1, "failures": Array [ Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 115, "name": "captures TODO description", "ok": false, }, ], "ok": false, "pass": 114, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 4, "time": null, "todo": 4, }, ], ] ` exports[`test/parser-stringify.js TAP tap-tests-stdout.tap strictBail > stringified 1`] = ` TAP 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) ... Bail out! captures TODO description ` exports[`test/parser-stringify.js TAP tap-tests-stdout.tap strictBail > stringified flat 1`] = ` TAP 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) ... Bail out! captures TODO description ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/tap-tests.tap.test.cjs000066400000000000000000011042331433324523500271420ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP tap-tests.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# buffer_compare.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# same buffers\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# not same buffers\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should not be equivalent", "ok": true, }, ], Array [ "comment", "# tests 2\\n", ], Array [ "comment", "# pass 2\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "test/buffer_compare.js", "ok": true, }, ], Array [ "comment", "# common.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "just setup, nothing relevant", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "test/common.js", "ok": true, }, ], Array [ "comment", "# consumer.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# basic.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 6, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# indent.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 7, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# missing.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 8, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# skip-all.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# yamlish.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 10, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# tests 5\\n", ], Array [ "comment", "# pass 5\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 11, "name": "test/consumer.js", "ok": true, }, ], Array [ "comment", "# debug-test.js\\n", ], Array [ "extra", "debug test\\n", ], Array [ "extra", "t.plan=1\\n", ], Array [ "extra", "'Debugger listening on port 5858\\\\n'\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# debug test\\n", ], Array [ "assert", Result { "fullname": "", "id": 12, "name": "Should output debugger message", "ok": true, }, ], Array [ "comment", "# tests 1\\n", ], Array [ "comment", "# pass 1\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 13, "name": "test/debug-test.js", "ok": true, }, ], Array [ "comment", "# deep-strict.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# strictDeepEquals shouldn't care about key order\\n", ], Array [ "assert", Result { "fullname": "", "id": 14, "name": "should be strictly equal", "ok": true, }, ], Array [ "comment", "# strictDeepEquals shouldn't care about key order recursively\\n", ], Array [ "assert", Result { "fullname": "", "id": 15, "name": "should be strictly equal", "ok": true, }, ], Array [ "comment", "# strictDeepEquals shoudn't care about key order (but still might)\\n", ], Array [ "assert", Result { "fullname": "", "id": 16, "name": "should be strictly equal", "ok": true, }, ], Array [ "comment", "# tests 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 17, "name": "test/deep-strict.js", "ok": true, }, ], Array [ "comment", "# deep.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# deepEquals shouldn't care about key order and types\\n", ], Array [ "assert", Result { "fullname": "", "id": 18, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# deepEquals shouldn't care about key order recursively and types\\n", ], Array [ "assert", Result { "fullname": "", "id": 19, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# deepEquals shoudn't care about key order (but still might) and types\\n", ], Array [ "assert", Result { "fullname": "", "id": 20, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# tests 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 21, "name": "test/deep.js", "ok": true, }, ], Array [ "comment", "# executed.sh\\n", ], Array [ "assert", Result { "fullname": "", "id": 22, "name": "File with executable bit should be executed", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 23, "name": "test/executed.sh", "ok": true, }, ], Array [ "comment", "# exit-code.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# exit code 1 when tap results show failure\\n", ], Array [ "comment", "# test exits 0, has failures\\n", ], Array [ "assert", Result { "fullname": "", "id": 24, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 25, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# test exits 1, has failures\\n", ], Array [ "assert", Result { "fullname": "", "id": 26, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 27, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# test exits 1, has no failures\\n", ], Array [ "assert", Result { "fullname": "", "id": 28, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 29, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# successes exit 0\\n", ], Array [ "comment", "# test that does nothing, but exits 0\\n", ], Array [ "assert", Result { "fullname": "", "id": 30, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 31, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# test that succeeds, and exits 0\\n", ], Array [ "assert", Result { "fullname": "", "id": 32, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 33, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# tests 10\\n", ], Array [ "comment", "# pass 10\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 34, "name": "test/exit-code.js", "ok": true, }, ], Array [ "comment", "# expose-gc-test.js\\n", ], Array [ "extra", "gc test\\n", ], Array [ "extra", "t.plan=1\\n", ], Array [ "extra", "assert gc does not exist\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# gc test when the gc isn't there\\n", ], Array [ "extra", "gc test\\n", ], Array [ "extra", "t.plan=2\\n", ], Array [ "extra", "gc test using --gc\\n", ], Array [ "extra", "t.plan=1\\n", ], Array [ "extra", "assert gc exists\\n", ], Array [ "extra", "gc test using --expose-gc\\n", ], Array [ "extra", "t.plan=1\\n", ], Array [ "extra", "assert gc exists\\n", ], Array [ "assert", Result { "fullname": "", "id": 35, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# gc test when the gc should be there\\n", ], Array [ "comment", "# test for gc using --gc\\n", ], Array [ "assert", Result { "fullname": "", "id": 36, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# test for gc using --expose-gc\\n", ], Array [ "assert", Result { "fullname": "", "id": 37, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# cleanup\\n", ], Array [ "comment", "# tests 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 38, "name": "test/expose-gc-test.js", "ok": true, }, ], Array [ "comment", "# global-harness-async.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# outer\\n", ], Array [ "comment", "# inner 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 39, "name": "1-1", "ok": true, }, ], Array [ "comment", "# inner 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 40, "name": "2-1", "ok": true, }, ], Array [ "comment", "# inner 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 41, "name": "3-1", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 42, "name": "test/global-harness-async.js", "ok": true, }, ], Array [ "comment", "# independent-timeouts.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# finishes in time\\n", ], Array [ "comment", "# finishes in time too\\n", ], Array [ "comment", "# tests 0\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 43, "name": "test/independent-timeouts.js", "ok": true, }, ], Array [ "comment", "# isolated-conf-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# one\\n", ], Array [ "assert", Result { "fullname": "", "id": 44, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 45, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# two\\n", ], Array [ "assert", Result { "fullname": "", "id": 46, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 47, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 48, "name": "test/isolated-conf-test.js", "ok": true, }, ], Array [ "comment", "# meta-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# meta test\\n", ], Array [ "assert", Result { "fullname": "", "id": 49, "name": "sanity check", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 50, "name": "not ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 51, "name": "total test count", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 52, "name": "tests passed", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 53, "name": "tests failed", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 54, "name": "ok is boolean", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 55, "name": "skip is number", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 56, "name": "results isa Results", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 57, "name": "test isa Test", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 58, "name": "test isa Harness", "ok": true, }, ], Array [ "comment", "# tests 10\\n", ], Array [ "comment", "# pass 10\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 59, "name": "test/meta-test.js", "ok": true, }, ], Array [ "comment", "# nested-async.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# Harness async test support\\n", ], Array [ "assert", Result { "fullname": "", "id": 60, "name": "sync child A", "ok": true, }, ], Array [ "comment", "# sync child B\\n", ], Array [ "comment", "# async grandchild A\\n", ], Array [ "assert", Result { "fullname": "", "id": 61, "name": "(unnamed assert)", "ok": true, }, ], Array [ "comment", "# async grandchild B\\n", ], Array [ "assert", Result { "fullname": "", "id": 62, "name": "(unnamed assert)", "ok": true, }, ], Array [ "comment", "# async child\\n", ], Array [ "assert", Result { "fullname": "", "id": 63, "name": "sync grandchild in async child A", "ok": true, }, ], Array [ "comment", "# sync grandchild in async child B\\n", ], Array [ "assert", Result { "fullname": "", "id": 64, "name": "(unnamed assert)", "ok": true, }, ], Array [ "comment", "# tests 5\\n", ], Array [ "comment", "# pass 5\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 65, "name": "test/nested-async.js", "ok": true, }, ], Array [ "comment", "# nested-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# parent\\n", ], Array [ "assert", Result { "fullname": "", "id": 66, "name": "p test", "ok": true, }, ], Array [ "comment", "# subtest\\n", ], Array [ "assert", Result { "fullname": "", "id": 67, "name": "ch test", "ok": true, }, ], Array [ "comment", "# nested subtest\\n", ], Array [ "assert", Result { "fullname": "", "id": 68, "name": "grch test", "ok": true, }, ], Array [ "comment", "# another subtest\\n", ], Array [ "assert", Result { "fullname": "", "id": 69, "name": "ch test 2", "ok": true, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 70, "name": "test/nested-test.js", "ok": true, }, ], Array [ "comment", "# non-tap-output.js\\n", ], Array [ "comment", "# everything is fine\\n", ], Array [ "comment", "# there are no errors\\n", ], Array [ "comment", "# this output is not haiku.\\n", ], Array [ "comment", "# is 8 ok?\\n", ], Array [ "assert", Result { "fullname": "", "id": 71, "name": ", 8 can stay.", "ok": true, }, ], Array [ "comment", "# but: nevertheless, here we are\\n", ], Array [ "comment", "# this: is indented\\n", ], Array [ "comment", "# and: it\\n", ], Array [ "comment", "# might: ~\\n", ], Array [ "comment", "# be: yaml?\\n", ], Array [ "assert", Result { "fullname": "", "id": 72, "name": "might be confusing", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 73, "name": "done now, exiting", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 74, "name": "test/non-tap-output.js", "ok": true, }, ], Array [ "comment", "# not-executed.sh\\n", ], Array [ "comment", "# output-childtest-description.js\\n", ], Array [ "comment", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# nested tests, parent and child pass\\n", ], Array [ "assert", Result { "fullname": "", "id": 75, "name": "outputs parent description", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 76, "name": "outputs child description", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 77, "name": "outputs parent description before parent result", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 78, "name": "outputs parent result before child description", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 79, "name": "outputs child description before child result", "ok": true, }, ], Array [ "comment", "# tests 5\\n", ], Array [ "comment", "# pass 5\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 80, "name": "test/output-childtest-description.js", "ok": true, }, ], Array [ "comment", "# result-trap.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# trap result\\n", ], Array [ "assert", Result { "fullname": "", "id": 81, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 82, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# tests 2\\n", ], Array [ "comment", "# pass 2\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 83, "name": "test/result-trap.js", "ok": true, }, ], Array [ "comment", "# segv.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# setup\\n", ], Array [ "assert", Result { "fullname": "", "id": 84, "name": "compiled seg faulter", "ok": true, }, ], Array [ "comment", "# segv\\n", ], Array [ "assert", Result { "fullname": "", "id": 85, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 86, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 87, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 88, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 89, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 90, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# cleanup\\n", ], Array [ "assert", Result { "fullname": "", "id": 91, "name": "cleaned up", "ok": true, }, ], Array [ "comment", "# tests 8\\n", ], Array [ "comment", "# pass 8\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 92, "name": "test/segv.js", "ok": true, }, ], Array [ "comment", "# simple-harness-test-with-plan.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# trivial success\\n", ], Array [ "assert", Result { "fullname": "", "id": 93, "name": "it works", "ok": true, }, ], Array [ "comment", "# two tests\\n", ], Array [ "assert", Result { "fullname": "", "id": 94, "name": "math should work", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 95, "name": "false should not be ok", "ok": true, }, ], Array [ "comment", "# tests 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 96, "name": "test/simple-harness-test-with-plan.js", "ok": true, }, ], Array [ "comment", "# simple-harness-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# trivial success\\n", ], Array [ "assert", Result { "fullname": "", "id": 97, "name": "it works", "ok": true, }, ], Array [ "comment", "# two tests\\n", ], Array [ "assert", Result { "fullname": "", "id": 98, "name": "math should work", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 99, "name": "false should not be ok", "ok": true, }, ], Array [ "comment", "# tests 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 100, "name": "test/simple-harness-test.js", "ok": true, }, ], Array [ "comment", "# test-assert-todo-skip.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# not much\\n", ], Array [ "assert", Result { "fullname": "", "id": 101, "name": "always passes", "ok": true, "skip": "skip it good", }, ], Array [ "assert", Result { "fullname": "", "id": 102, "name": "false", "ok": true, "skip": "always fails", }, ], Array [ "assert", Result { "fullname": "", "id": 103, "name": "bonus", "ok": true, "todo": "remove todo directive", }, ], Array [ "assert", Result { "fullname": "", "id": 104, "name": "expected", "ok": true, "todo": "implement a thing", }, ], Array [ "assert", Result { "fullname": "", "id": 105, "name": "always passes without explanation", "ok": true, "skip": true, }, ], Array [ "assert", Result { "fullname": "", "id": 106, "name": "false without explanation", "ok": true, "skip": true, }, ], Array [ "assert", Result { "fullname": "", "id": 107, "name": "bonus without explanation", "ok": true, "todo": true, }, ], Array [ "assert", Result { "fullname": "", "id": 108, "name": "expected without explanation", "ok": true, "todo": true, }, ], Array [ "comment", "# tests 8\\n", ], Array [ "comment", "# skip 4\\n", ], Array [ "comment", "# todo 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 109, "name": "test/test-assert-todo-skip.js", "ok": true, }, ], Array [ "comment", "# test-descriptions.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# captures test descriptions\\n", ], Array [ "assert", Result { "fullname": "", "id": 110, "name": "exit cleanly", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 111, "name": "captures SKIP description", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 112, "name": "skip summary is not from file", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 113, "name": "todo summary is not from file", "ok": true, }, ], Array [ "assert", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 114, "name": "captures TODO description", "ok": false, }, ], Array [ "bailout", "captures TODO description", ], Array [ "complete", FinalResults { "bailout": "captures TODO description", "count": 114, "fail": 1, "failures": Array [ Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 114, "name": "captures TODO description", "ok": false, }, ], "ok": false, "pass": 113, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 4, "time": null, "todo": 4, }, ], ] ` exports[`test/parser-stringify.js TAP tap-tests.tap bail > stringified 1`] = ` TAP 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) ... Bail out! captures TODO description ` exports[`test/parser-stringify.js TAP tap-tests.tap bail > stringified flat 1`] = ` TAP 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) ... Bail out! captures TODO description ` exports[`test/parser-stringify.js TAP tap-tests.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# buffer_compare.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# same buffers\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# not same buffers\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should not be equivalent", "ok": true, }, ], Array [ "comment", "# tests 2\\n", ], Array [ "comment", "# pass 2\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "test/buffer_compare.js", "ok": true, }, ], Array [ "comment", "# common.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "just setup, nothing relevant", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "test/common.js", "ok": true, }, ], Array [ "comment", "# consumer.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# basic.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 6, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# indent.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 7, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# missing.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 8, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# skip-all.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# yamlish.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 10, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# tests 5\\n", ], Array [ "comment", "# pass 5\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 11, "name": "test/consumer.js", "ok": true, }, ], Array [ "comment", "# debug-test.js\\n", ], Array [ "extra", "debug test\\n", ], Array [ "extra", "t.plan=1\\n", ], Array [ "extra", "'Debugger listening on port 5858\\\\n'\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# debug test\\n", ], Array [ "assert", Result { "fullname": "", "id": 12, "name": "Should output debugger message", "ok": true, }, ], Array [ "comment", "# tests 1\\n", ], Array [ "comment", "# pass 1\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 13, "name": "test/debug-test.js", "ok": true, }, ], Array [ "comment", "# deep-strict.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# strictDeepEquals shouldn't care about key order\\n", ], Array [ "assert", Result { "fullname": "", "id": 14, "name": "should be strictly equal", "ok": true, }, ], Array [ "comment", "# strictDeepEquals shouldn't care about key order recursively\\n", ], Array [ "assert", Result { "fullname": "", "id": 15, "name": "should be strictly equal", "ok": true, }, ], Array [ "comment", "# strictDeepEquals shoudn't care about key order (but still might)\\n", ], Array [ "assert", Result { "fullname": "", "id": 16, "name": "should be strictly equal", "ok": true, }, ], Array [ "comment", "# tests 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 17, "name": "test/deep-strict.js", "ok": true, }, ], Array [ "comment", "# deep.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# deepEquals shouldn't care about key order and types\\n", ], Array [ "assert", Result { "fullname": "", "id": 18, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# deepEquals shouldn't care about key order recursively and types\\n", ], Array [ "assert", Result { "fullname": "", "id": 19, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# deepEquals shoudn't care about key order (but still might) and types\\n", ], Array [ "assert", Result { "fullname": "", "id": 20, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# tests 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 21, "name": "test/deep.js", "ok": true, }, ], Array [ "comment", "# executed.sh\\n", ], Array [ "assert", Result { "fullname": "", "id": 22, "name": "File with executable bit should be executed", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 23, "name": "test/executed.sh", "ok": true, }, ], Array [ "comment", "# exit-code.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# exit code 1 when tap results show failure\\n", ], Array [ "comment", "# test exits 0, has failures\\n", ], Array [ "assert", Result { "fullname": "", "id": 24, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 25, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# test exits 1, has failures\\n", ], Array [ "assert", Result { "fullname": "", "id": 26, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 27, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# test exits 1, has no failures\\n", ], Array [ "assert", Result { "fullname": "", "id": 28, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 29, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# successes exit 0\\n", ], Array [ "comment", "# test that does nothing, but exits 0\\n", ], Array [ "assert", Result { "fullname": "", "id": 30, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 31, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# test that succeeds, and exits 0\\n", ], Array [ "assert", Result { "fullname": "", "id": 32, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 33, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# tests 10\\n", ], Array [ "comment", "# pass 10\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 34, "name": "test/exit-code.js", "ok": true, }, ], Array [ "comment", "# expose-gc-test.js\\n", ], Array [ "extra", "gc test\\n", ], Array [ "extra", "t.plan=1\\n", ], Array [ "extra", "assert gc does not exist\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# gc test when the gc isn't there\\n", ], Array [ "extra", "gc test\\n", ], Array [ "extra", "t.plan=2\\n", ], Array [ "extra", "gc test using --gc\\n", ], Array [ "extra", "t.plan=1\\n", ], Array [ "extra", "assert gc exists\\n", ], Array [ "extra", "gc test using --expose-gc\\n", ], Array [ "extra", "t.plan=1\\n", ], Array [ "extra", "assert gc exists\\n", ], Array [ "assert", Result { "fullname": "", "id": 35, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# gc test when the gc should be there\\n", ], Array [ "comment", "# test for gc using --gc\\n", ], Array [ "assert", Result { "fullname": "", "id": 36, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# test for gc using --expose-gc\\n", ], Array [ "assert", Result { "fullname": "", "id": 37, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# cleanup\\n", ], Array [ "comment", "# tests 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 38, "name": "test/expose-gc-test.js", "ok": true, }, ], Array [ "comment", "# global-harness-async.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# outer\\n", ], Array [ "comment", "# inner 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 39, "name": "1-1", "ok": true, }, ], Array [ "comment", "# inner 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 40, "name": "2-1", "ok": true, }, ], Array [ "comment", "# inner 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 41, "name": "3-1", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 42, "name": "test/global-harness-async.js", "ok": true, }, ], Array [ "comment", "# independent-timeouts.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# finishes in time\\n", ], Array [ "comment", "# finishes in time too\\n", ], Array [ "comment", "# tests 0\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 43, "name": "test/independent-timeouts.js", "ok": true, }, ], Array [ "comment", "# isolated-conf-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# one\\n", ], Array [ "assert", Result { "fullname": "", "id": 44, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 45, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# two\\n", ], Array [ "assert", Result { "fullname": "", "id": 46, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 47, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 48, "name": "test/isolated-conf-test.js", "ok": true, }, ], Array [ "comment", "# meta-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# meta test\\n", ], Array [ "assert", Result { "fullname": "", "id": 49, "name": "sanity check", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 50, "name": "not ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 51, "name": "total test count", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 52, "name": "tests passed", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 53, "name": "tests failed", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 54, "name": "ok is boolean", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 55, "name": "skip is number", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 56, "name": "results isa Results", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 57, "name": "test isa Test", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 58, "name": "test isa Harness", "ok": true, }, ], Array [ "comment", "# tests 10\\n", ], Array [ "comment", "# pass 10\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 59, "name": "test/meta-test.js", "ok": true, }, ], Array [ "comment", "# nested-async.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# Harness async test support\\n", ], Array [ "assert", Result { "fullname": "", "id": 60, "name": "sync child A", "ok": true, }, ], Array [ "comment", "# sync child B\\n", ], Array [ "comment", "# async grandchild A\\n", ], Array [ "assert", Result { "fullname": "", "id": 61, "name": "(unnamed assert)", "ok": true, }, ], Array [ "comment", "# async grandchild B\\n", ], Array [ "assert", Result { "fullname": "", "id": 62, "name": "(unnamed assert)", "ok": true, }, ], Array [ "comment", "# async child\\n", ], Array [ "assert", Result { "fullname": "", "id": 63, "name": "sync grandchild in async child A", "ok": true, }, ], Array [ "comment", "# sync grandchild in async child B\\n", ], Array [ "assert", Result { "fullname": "", "id": 64, "name": "(unnamed assert)", "ok": true, }, ], Array [ "comment", "# tests 5\\n", ], Array [ "comment", "# pass 5\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 65, "name": "test/nested-async.js", "ok": true, }, ], Array [ "comment", "# nested-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# parent\\n", ], Array [ "assert", Result { "fullname": "", "id": 66, "name": "p test", "ok": true, }, ], Array [ "comment", "# subtest\\n", ], Array [ "assert", Result { "fullname": "", "id": 67, "name": "ch test", "ok": true, }, ], Array [ "comment", "# nested subtest\\n", ], Array [ "assert", Result { "fullname": "", "id": 68, "name": "grch test", "ok": true, }, ], Array [ "comment", "# another subtest\\n", ], Array [ "assert", Result { "fullname": "", "id": 69, "name": "ch test 2", "ok": true, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 70, "name": "test/nested-test.js", "ok": true, }, ], Array [ "comment", "# non-tap-output.js\\n", ], Array [ "comment", "# everything is fine\\n", ], Array [ "comment", "# there are no errors\\n", ], Array [ "comment", "# this output is not haiku.\\n", ], Array [ "comment", "# is 8 ok?\\n", ], Array [ "assert", Result { "fullname": "", "id": 71, "name": ", 8 can stay.", "ok": true, }, ], Array [ "comment", "# but: nevertheless, here we are\\n", ], Array [ "comment", "# this: is indented\\n", ], Array [ "comment", "# and: it\\n", ], Array [ "comment", "# might: ~\\n", ], Array [ "comment", "# be: yaml?\\n", ], Array [ "assert", Result { "fullname": "", "id": 72, "name": "might be confusing", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 73, "name": "done now, exiting", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 74, "name": "test/non-tap-output.js", "ok": true, }, ], Array [ "comment", "# not-executed.sh\\n", ], Array [ "comment", "# output-childtest-description.js\\n", ], Array [ "comment", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# nested tests, parent and child pass\\n", ], Array [ "assert", Result { "fullname": "", "id": 75, "name": "outputs parent description", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 76, "name": "outputs child description", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 77, "name": "outputs parent description before parent result", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 78, "name": "outputs parent result before child description", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 79, "name": "outputs child description before child result", "ok": true, }, ], Array [ "comment", "# tests 5\\n", ], Array [ "comment", "# pass 5\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 80, "name": "test/output-childtest-description.js", "ok": true, }, ], Array [ "comment", "# result-trap.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# trap result\\n", ], Array [ "assert", Result { "fullname": "", "id": 81, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 82, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# tests 2\\n", ], Array [ "comment", "# pass 2\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 83, "name": "test/result-trap.js", "ok": true, }, ], Array [ "comment", "# segv.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# setup\\n", ], Array [ "assert", Result { "fullname": "", "id": 84, "name": "compiled seg faulter", "ok": true, }, ], Array [ "comment", "# segv\\n", ], Array [ "assert", Result { "fullname": "", "id": 85, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 86, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 87, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 88, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 89, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 90, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# cleanup\\n", ], Array [ "assert", Result { "fullname": "", "id": 91, "name": "cleaned up", "ok": true, }, ], Array [ "comment", "# tests 8\\n", ], Array [ "comment", "# pass 8\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 92, "name": "test/segv.js", "ok": true, }, ], Array [ "comment", "# simple-harness-test-with-plan.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# trivial success\\n", ], Array [ "assert", Result { "fullname": "", "id": 93, "name": "it works", "ok": true, }, ], Array [ "comment", "# two tests\\n", ], Array [ "assert", Result { "fullname": "", "id": 94, "name": "math should work", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 95, "name": "false should not be ok", "ok": true, }, ], Array [ "comment", "# tests 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 96, "name": "test/simple-harness-test-with-plan.js", "ok": true, }, ], Array [ "comment", "# simple-harness-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# trivial success\\n", ], Array [ "assert", Result { "fullname": "", "id": 97, "name": "it works", "ok": true, }, ], Array [ "comment", "# two tests\\n", ], Array [ "assert", Result { "fullname": "", "id": 98, "name": "math should work", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 99, "name": "false should not be ok", "ok": true, }, ], Array [ "comment", "# tests 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 100, "name": "test/simple-harness-test.js", "ok": true, }, ], Array [ "comment", "# test-assert-todo-skip.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# not much\\n", ], Array [ "assert", Result { "fullname": "", "id": 101, "name": "always passes", "ok": true, "skip": "skip it good", }, ], Array [ "assert", Result { "fullname": "", "id": 102, "name": "false", "ok": true, "skip": "always fails", }, ], Array [ "assert", Result { "fullname": "", "id": 103, "name": "bonus", "ok": true, "todo": "remove todo directive", }, ], Array [ "assert", Result { "fullname": "", "id": 104, "name": "expected", "ok": true, "todo": "implement a thing", }, ], Array [ "assert", Result { "fullname": "", "id": 105, "name": "always passes without explanation", "ok": true, "skip": true, }, ], Array [ "assert", Result { "fullname": "", "id": 106, "name": "false without explanation", "ok": true, "skip": true, }, ], Array [ "assert", Result { "fullname": "", "id": 107, "name": "bonus without explanation", "ok": true, "todo": true, }, ], Array [ "assert", Result { "fullname": "", "id": 108, "name": "expected without explanation", "ok": true, "todo": true, }, ], Array [ "comment", "# tests 8\\n", ], Array [ "comment", "# skip 4\\n", ], Array [ "comment", "# todo 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 109, "name": "test/test-assert-todo-skip.js", "ok": true, }, ], Array [ "comment", "# test-descriptions.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# captures test descriptions\\n", ], Array [ "assert", Result { "fullname": "", "id": 110, "name": "exit cleanly", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 111, "name": "captures SKIP description", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 112, "name": "skip summary is not from file", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 113, "name": "todo summary is not from file", "ok": true, }, ], Array [ "assert", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 114, "name": "captures TODO description", "ok": false, }, ], Array [ "assert", Result { "fullname": "", "id": 115, "name": "exit cleanly", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 116, "name": "captures SKIP description", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 117, "name": "skip summary is not in TAP output", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 118, "name": "todo summary is not in TAP output", "ok": true, }, ], Array [ "assert", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 119, "name": "captures TODO description", "ok": false, }, ], Array [ "assert", Result { "fullname": "", "id": 120, "name": "exit cleanly", "ok": true, }, ], Array [ "assert", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 121, "name": "summarizes skipped count", "ok": false, }, ], Array [ "assert", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 122, "name": "summarizes todo count", "ok": false, }, ], Array [ "comment", "# tests 13\\n", ], Array [ "comment", "# pass 9\\n", ], Array [ "comment", "# fail 4\\n", ], Array [ "assert", Result { "diag": Object { "command": "/usr/local/bin/iojs test-descriptions.js", "exit": 1, }, "fullname": "", "id": 123, "name": "test/test-descriptions.js", "ok": false, }, ], Array [ "comment", "# test-directives.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# captures test descriptions\\n", ], Array [ "comment", "# raw TAP > TAP consumer > TAP producer\\n", ], Array [ "assert", Result { "fullname": "", "id": 124, "name": "overall result is PASS", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 125, "name": "captures ok SKIP", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 126, "name": "captures not ok SKIP", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 127, "name": "skip summary not in TAP output", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 128, "name": "captures ok TODO", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 129, "name": "captures not ok TODO", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 130, "name": "todo summary is not in TAP output", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 131, "name": "no ugly \\"undefined\\" in output", "ok": true, }, ], Array [ "comment", "# raw TAP > TAP consumer > summary\\n", ], Array [ "assert", Result { "fullname": "", "id": 132, "name": "overall result is PASS", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 133, "name": "no SKIP in summary", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 134, "name": "skip summary is not in TAP output", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 135, "name": "no TODO in summary", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 136, "name": "todo summary is not in TAP output", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 137, "name": "no ugly \\"undefined\\" in output", "ok": true, }, ], Array [ "comment", "# TAP producer via require(\\"tap\\")\\n", ], Array [ "assert", Result { "fullname": "", "id": 138, "name": "overall result is PASS", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 139, "name": "captures ok SKIP", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 140, "name": "captures not ok SKIP", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 141, "name": "skip summary not in TAP output", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 142, "name": "captures ok TODO", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 143, "name": "captures not ok TODO", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 144, "name": "todo summary is not in TAP output", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 145, "name": "no ugly \\"undefined\\" in output", "ok": true, }, ], Array [ "comment", "# tests 22\\n", ], Array [ "comment", "# pass 22\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 146, "name": "test/test-directives.js", "ok": true, }, ], Array [ "comment", "# test-skip.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "assert", Result { "fullname": "", "id": 147, "name": "does not count as failure", "ok": true, "skip": true, }, ], Array [ "comment", "# tests 1\\n", ], Array [ "comment", "# skip 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 148, "name": "test/test-skip.js", "ok": true, }, ], Array [ "comment", "# test-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# testing the test object\\n", ], Array [ "assert", Result { "fullname": "", "id": 149, "name": "test object should be instanceof Test", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 150, "name": "test object should be instanceof Harness", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 151, "name": "test._Test should be the Test class", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 152, "name": "should have isNotDeepEqual method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 153, "name": "isNotDeepEqual method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 154, "name": "should have equals method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 155, "name": "equals method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 156, "name": "should have inequivalent method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 157, "name": "inequivalent method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 158, "name": "should have threw method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 159, "name": "threw method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 160, "name": "should have strictEqual method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 161, "name": "strictEqual method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 162, "name": "should have emit method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 163, "name": "emit method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 164, "name": "should have fail method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 165, "name": "fail method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 166, "name": "should have strictEquals method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 167, "name": "strictEquals method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 168, "name": "should have notLike method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 169, "name": "notLike method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 170, "name": "should have dissimilar method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 171, "name": "dissimilar method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 172, "name": "should have true method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 173, "name": "true method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 174, "name": "should have assert method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 175, "name": "assert method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 176, "name": "should have is method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 177, "name": "is method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 178, "name": "should have ok method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 179, "name": "ok method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 180, "name": "should have isEqual method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 181, "name": "isEqual method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 182, "name": "should have isDeeply method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 183, "name": "isDeeply method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 184, "name": "should have deepEqual method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 185, "name": "deepEqual method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 186, "name": "should have deepEquals method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 187, "name": "deepEquals method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 188, "name": "should have pass method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 189, "name": "pass method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 190, "name": "should have length method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 191, "name": "length method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 192, "name": "should have skip method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 193, "name": "skip method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 194, "name": "should have isNotEqual method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 195, "name": "isNotEqual method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 196, "name": "should have looseEquals method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 197, "name": "looseEquals method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 198, "name": "should have false method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 199, "name": "false method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 200, "name": "should have notDeeply method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 201, "name": "notDeeply method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 202, "name": "should have ifErr method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 203, "name": "ifErr method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 204, "name": "should have hasFields method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 205, "name": "hasFields method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 206, "name": "should have isNotDeeply method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 207, "name": "isNotDeeply method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 208, "name": "should have like method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 209, "name": "like method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 210, "name": "should have similar method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 211, "name": "similar method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 212, "name": "should have notOk method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 213, "name": "notOk method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 214, "name": "should have isDissimilar method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 215, "name": "isDissimilar method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 216, "name": "should have isEquivalent method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 217, "name": "isEquivalent method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 218, "name": "should have doesNotEqual method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 219, "name": "doesNotEqual method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 220, "name": "should have isSimilar method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 221, "name": "isSimilar method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 222, "name": "should have notDeepEqual method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 223, "name": "notDeepEqual method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 224, "name": "should have type method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 225, "name": "type method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 226, "name": "should have notok method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 227, "name": "notok method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 228, "name": "should have isInequivalent method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 229, "name": "isInequivalent method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 230, "name": "should have isNot method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 231, "name": "isNot method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 232, "name": "should have same method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 233, "name": "same method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 234, "name": "should have isInequal method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 235, "name": "isInequal method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 236, "name": "should have _endNice method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 237, "name": "_endNice method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 238, "name": "should have ifError method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 239, "name": "ifError method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 240, "name": "should have iferror method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 241, "name": "iferror method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 242, "name": "should have clear method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 243, "name": "clear method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 244, "name": "should have has method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 245, "name": "has method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 246, "name": "should have not method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 247, "name": "not method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 248, "name": "should have timeout method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 249, "name": "timeout method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 250, "name": "should have notSimilar method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 251, "name": "notSimilar method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 252, "name": "should have isUnlike method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 253, "name": "isUnlike method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 254, "name": "should have notEquals method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 255, "name": "notEquals method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 256, "name": "should have unsimilar method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 257, "name": "unsimilar method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 258, "name": "should have result method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 259, "name": "result method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 260, "name": "should have doesNotThrow method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 261, "name": "doesNotThrow method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 262, "name": "should have error method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 263, "name": "error method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 264, "name": "should have constructor method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 265, "name": "constructor method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 266, "name": "should have notEqual method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 267, "name": "notEqual method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 268, "name": "should have throws method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 269, "name": "throws method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 270, "name": "should have isLike method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 271, "name": "isLike method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 272, "name": "should have isNotSimilar method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 273, "name": "isNotSimilar method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 274, "name": "should have isNotEquivalent method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 275, "name": "isNotEquivalent method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 276, "name": "should have inequal method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 277, "name": "inequal method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 278, "name": "should have notEquivalent method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 279, "name": "notEquivalent method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 280, "name": "should have isNotLike method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 281, "name": "isNotLike method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 282, "name": "should have equivalent method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 283, "name": "equivalent method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 284, "name": "should have looseEqual method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 285, "name": "looseEqual method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 286, "name": "should have equal method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 287, "name": "equal method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 288, "name": "should have unlike method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 289, "name": "unlike method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 290, "name": "should have doesNotHave method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 291, "name": "doesNotHave method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 292, "name": "should have comment method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 293, "name": "comment method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 294, "name": "should have isa method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 295, "name": "isa method should be a function", "ok": true, }, ], Array [ "comment", "# tests 147\\n", ], Array [ "comment", "# pass 147\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 296, "name": "test/test-test.js", "ok": true, }, ], Array [ "comment", "# timeout.js\\n", ], Array [ "extra", "timeout test\\n", ], Array [ "extra", "t.plan=2\\n", ], Array [ "extra", "a assert\\n", ], Array [ "extra", "b assert\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# timeout test with plan only\\n", ], Array [ "assert", Result { "fullname": "", "id": 297, "name": "a", "ok": true, }, ], Array [ "extra", "timeout test\\n", ], Array [ "extra", "t.plan=2\\n", ], Array [ "extra", "a assert\\n", ], Array [ "extra", "b assert\\n", ], Array [ "assert", Result { "fullname": "", "id": 298, "name": "b", "ok": true, }, ], Array [ "comment", "# timeout test with plan and end\\n", ], Array [ "assert", Result { "fullname": "", "id": 299, "name": "a", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 300, "name": "b", "ok": true, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 301, "name": "test/timeout.js", "ok": true, }, ], Array [ "comment", "# trivial-success.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 302, "name": "test/trivial-success.js", "ok": true, }, ], Array [ "comment", "# undefined_indented.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# consume yaml\\n", ], Array [ "assert", Result { "fullname": "", "id": 303, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# tests 1\\n", ], Array [ "comment", "# pass 1\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 304, "name": "test/undefined_indented.js", "ok": true, }, ], Array [ "comment", "# valid-command.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# valid command\\n", ], Array [ "assert", Result { "fullname": "", "id": 305, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 306, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 307, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 308, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 309, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 310, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# tests 6\\n", ], Array [ "comment", "# pass 6\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 311, "name": "test/valid-command.js", "ok": true, }, ], Array [ "plan", Object { "end": 311, "start": 1, }, ], Array [ "comment", "# tests 311\\n", ], Array [ "comment", "# pass 297\\n", ], Array [ "comment", "# fail 5\\n", ], Array [ "comment", "# skip 5\\n", ], Array [ "comment", "# todo 4\\n", ], Array [ "comment", "# failed 5 of 311 tests\\n", ], Array [ "comment", "# todo: 4\\n", ], Array [ "comment", "# skip: 5\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 311, "fail": 5, "failures": Array [ Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 114, "name": "captures TODO description", "ok": false, }, Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 119, "name": "captures TODO description", "ok": false, }, Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 121, "name": "summarizes skipped count", "ok": false, }, Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 122, "name": "summarizes todo count", "ok": false, }, Result { "diag": Object { "command": "/usr/local/bin/iojs test-descriptions.js", "exit": 1, }, "fullname": "", "id": 123, "name": "test/test-descriptions.js", "ok": false, }, ], "ok": false, "pass": 306, "plan": FinalPlan { "comment": "", "end": 311, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 5, "time": null, "todo": 4, }, ], ] ` exports[`test/parser-stringify.js TAP tap-tests.tap default settings > stringified 1`] = ` TAP 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 4 # failed 5 of 311 tests # todo: 4 # skip: 5 ` exports[`test/parser-stringify.js TAP tap-tests.tap default settings > stringified flat 1`] = ` TAP 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 4 # failed 5 of 311 tests # todo: 4 # skip: 5 ` exports[`test/parser-stringify.js TAP tap-tests.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# buffer_compare.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# same buffers\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# not same buffers\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should not be equivalent", "ok": true, }, ], Array [ "comment", "# tests 2\\n", ], Array [ "comment", "# pass 2\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "test/buffer_compare.js", "ok": true, }, ], Array [ "comment", "# common.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "just setup, nothing relevant", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "test/common.js", "ok": true, }, ], Array [ "comment", "# consumer.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# basic.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 6, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# indent.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 7, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# missing.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 8, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# skip-all.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# yamlish.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 10, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# tests 5\\n", ], Array [ "comment", "# pass 5\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 11, "name": "test/consumer.js", "ok": true, }, ], Array [ "comment", "# debug-test.js\\n", ], Array [ "extra", "debug test\\n", ], Array [ "extra", "t.plan=1\\n", ], Array [ "extra", "'Debugger listening on port 5858\\\\n'\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# debug test\\n", ], Array [ "assert", Result { "fullname": "", "id": 12, "name": "Should output debugger message", "ok": true, }, ], Array [ "comment", "# tests 1\\n", ], Array [ "comment", "# pass 1\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 13, "name": "test/debug-test.js", "ok": true, }, ], Array [ "comment", "# deep-strict.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# strictDeepEquals shouldn't care about key order\\n", ], Array [ "assert", Result { "fullname": "", "id": 14, "name": "should be strictly equal", "ok": true, }, ], Array [ "comment", "# strictDeepEquals shouldn't care about key order recursively\\n", ], Array [ "assert", Result { "fullname": "", "id": 15, "name": "should be strictly equal", "ok": true, }, ], Array [ "comment", "# strictDeepEquals shoudn't care about key order (but still might)\\n", ], Array [ "assert", Result { "fullname": "", "id": 16, "name": "should be strictly equal", "ok": true, }, ], Array [ "comment", "# tests 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 17, "name": "test/deep-strict.js", "ok": true, }, ], Array [ "comment", "# deep.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# deepEquals shouldn't care about key order and types\\n", ], Array [ "assert", Result { "fullname": "", "id": 18, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# deepEquals shouldn't care about key order recursively and types\\n", ], Array [ "assert", Result { "fullname": "", "id": 19, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# deepEquals shoudn't care about key order (but still might) and types\\n", ], Array [ "assert", Result { "fullname": "", "id": 20, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# tests 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 21, "name": "test/deep.js", "ok": true, }, ], Array [ "comment", "# executed.sh\\n", ], Array [ "assert", Result { "fullname": "", "id": 22, "name": "File with executable bit should be executed", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 23, "name": "test/executed.sh", "ok": true, }, ], Array [ "comment", "# exit-code.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# exit code 1 when tap results show failure\\n", ], Array [ "comment", "# test exits 0, has failures\\n", ], Array [ "assert", Result { "fullname": "", "id": 24, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 25, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# test exits 1, has failures\\n", ], Array [ "assert", Result { "fullname": "", "id": 26, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 27, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# test exits 1, has no failures\\n", ], Array [ "assert", Result { "fullname": "", "id": 28, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 29, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# successes exit 0\\n", ], Array [ "comment", "# test that does nothing, but exits 0\\n", ], Array [ "assert", Result { "fullname": "", "id": 30, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 31, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# test that succeeds, and exits 0\\n", ], Array [ "assert", Result { "fullname": "", "id": 32, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 33, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# tests 10\\n", ], Array [ "comment", "# pass 10\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 34, "name": "test/exit-code.js", "ok": true, }, ], Array [ "comment", "# expose-gc-test.js\\n", ], Array [ "extra", "gc test\\n", ], Array [ "extra", "t.plan=1\\n", ], Array [ "extra", "assert gc does not exist\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# gc test when the gc isn't there\\n", ], Array [ "extra", "gc test\\n", ], Array [ "extra", "t.plan=2\\n", ], Array [ "extra", "gc test using --gc\\n", ], Array [ "extra", "t.plan=1\\n", ], Array [ "extra", "assert gc exists\\n", ], Array [ "extra", "gc test using --expose-gc\\n", ], Array [ "extra", "t.plan=1\\n", ], Array [ "extra", "assert gc exists\\n", ], Array [ "assert", Result { "fullname": "", "id": 35, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# gc test when the gc should be there\\n", ], Array [ "comment", "# test for gc using --gc\\n", ], Array [ "assert", Result { "fullname": "", "id": 36, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# test for gc using --expose-gc\\n", ], Array [ "assert", Result { "fullname": "", "id": 37, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# cleanup\\n", ], Array [ "comment", "# tests 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 38, "name": "test/expose-gc-test.js", "ok": true, }, ], Array [ "comment", "# global-harness-async.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# outer\\n", ], Array [ "comment", "# inner 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 39, "name": "1-1", "ok": true, }, ], Array [ "comment", "# inner 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 40, "name": "2-1", "ok": true, }, ], Array [ "comment", "# inner 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 41, "name": "3-1", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 42, "name": "test/global-harness-async.js", "ok": true, }, ], Array [ "comment", "# independent-timeouts.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# finishes in time\\n", ], Array [ "comment", "# finishes in time too\\n", ], Array [ "comment", "# tests 0\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 43, "name": "test/independent-timeouts.js", "ok": true, }, ], Array [ "comment", "# isolated-conf-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# one\\n", ], Array [ "assert", Result { "fullname": "", "id": 44, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 45, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# two\\n", ], Array [ "assert", Result { "fullname": "", "id": 46, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 47, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 48, "name": "test/isolated-conf-test.js", "ok": true, }, ], Array [ "comment", "# meta-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# meta test\\n", ], Array [ "assert", Result { "fullname": "", "id": 49, "name": "sanity check", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 50, "name": "not ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 51, "name": "total test count", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 52, "name": "tests passed", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 53, "name": "tests failed", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 54, "name": "ok is boolean", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 55, "name": "skip is number", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 56, "name": "results isa Results", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 57, "name": "test isa Test", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 58, "name": "test isa Harness", "ok": true, }, ], Array [ "comment", "# tests 10\\n", ], Array [ "comment", "# pass 10\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 59, "name": "test/meta-test.js", "ok": true, }, ], Array [ "comment", "# nested-async.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# Harness async test support\\n", ], Array [ "assert", Result { "fullname": "", "id": 60, "name": "sync child A", "ok": true, }, ], Array [ "comment", "# sync child B\\n", ], Array [ "comment", "# async grandchild A\\n", ], Array [ "assert", Result { "fullname": "", "id": 61, "name": "(unnamed assert)", "ok": true, }, ], Array [ "comment", "# async grandchild B\\n", ], Array [ "assert", Result { "fullname": "", "id": 62, "name": "(unnamed assert)", "ok": true, }, ], Array [ "comment", "# async child\\n", ], Array [ "assert", Result { "fullname": "", "id": 63, "name": "sync grandchild in async child A", "ok": true, }, ], Array [ "comment", "# sync grandchild in async child B\\n", ], Array [ "assert", Result { "fullname": "", "id": 64, "name": "(unnamed assert)", "ok": true, }, ], Array [ "comment", "# tests 5\\n", ], Array [ "comment", "# pass 5\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 65, "name": "test/nested-async.js", "ok": true, }, ], Array [ "comment", "# nested-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# parent\\n", ], Array [ "assert", Result { "fullname": "", "id": 66, "name": "p test", "ok": true, }, ], Array [ "comment", "# subtest\\n", ], Array [ "assert", Result { "fullname": "", "id": 67, "name": "ch test", "ok": true, }, ], Array [ "comment", "# nested subtest\\n", ], Array [ "assert", Result { "fullname": "", "id": 68, "name": "grch test", "ok": true, }, ], Array [ "comment", "# another subtest\\n", ], Array [ "assert", Result { "fullname": "", "id": 69, "name": "ch test 2", "ok": true, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 70, "name": "test/nested-test.js", "ok": true, }, ], Array [ "comment", "# non-tap-output.js\\n", ], Array [ "comment", "# everything is fine\\n", ], Array [ "comment", "# there are no errors\\n", ], Array [ "comment", "# this output is not haiku.\\n", ], Array [ "comment", "# is 8 ok?\\n", ], Array [ "assert", Result { "fullname": "", "id": 71, "name": ", 8 can stay.", "ok": true, }, ], Array [ "comment", "# but: nevertheless, here we are\\n", ], Array [ "comment", "# this: is indented\\n", ], Array [ "comment", "# and: it\\n", ], Array [ "comment", "# might: ~\\n", ], Array [ "comment", "# be: yaml?\\n", ], Array [ "assert", Result { "fullname": "", "id": 72, "name": "might be confusing", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 73, "name": "done now, exiting", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 74, "name": "test/non-tap-output.js", "ok": true, }, ], Array [ "comment", "# not-executed.sh\\n", ], Array [ "comment", "# output-childtest-description.js\\n", ], Array [ "comment", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# nested tests, parent and child pass\\n", ], Array [ "assert", Result { "fullname": "", "id": 75, "name": "outputs parent description", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 76, "name": "outputs child description", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 77, "name": "outputs parent description before parent result", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 78, "name": "outputs parent result before child description", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 79, "name": "outputs child description before child result", "ok": true, }, ], Array [ "comment", "# tests 5\\n", ], Array [ "comment", "# pass 5\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 80, "name": "test/output-childtest-description.js", "ok": true, }, ], Array [ "comment", "# result-trap.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# trap result\\n", ], Array [ "assert", Result { "fullname": "", "id": 81, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 82, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# tests 2\\n", ], Array [ "comment", "# pass 2\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 83, "name": "test/result-trap.js", "ok": true, }, ], Array [ "comment", "# segv.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# setup\\n", ], Array [ "assert", Result { "fullname": "", "id": 84, "name": "compiled seg faulter", "ok": true, }, ], Array [ "comment", "# segv\\n", ], Array [ "assert", Result { "fullname": "", "id": 85, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 86, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 87, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 88, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 89, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 90, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# cleanup\\n", ], Array [ "assert", Result { "fullname": "", "id": 91, "name": "cleaned up", "ok": true, }, ], Array [ "comment", "# tests 8\\n", ], Array [ "comment", "# pass 8\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 92, "name": "test/segv.js", "ok": true, }, ], Array [ "comment", "# simple-harness-test-with-plan.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# trivial success\\n", ], Array [ "assert", Result { "fullname": "", "id": 93, "name": "it works", "ok": true, }, ], Array [ "comment", "# two tests\\n", ], Array [ "assert", Result { "fullname": "", "id": 94, "name": "math should work", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 95, "name": "false should not be ok", "ok": true, }, ], Array [ "comment", "# tests 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 96, "name": "test/simple-harness-test-with-plan.js", "ok": true, }, ], Array [ "comment", "# simple-harness-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# trivial success\\n", ], Array [ "assert", Result { "fullname": "", "id": 97, "name": "it works", "ok": true, }, ], Array [ "comment", "# two tests\\n", ], Array [ "assert", Result { "fullname": "", "id": 98, "name": "math should work", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 99, "name": "false should not be ok", "ok": true, }, ], Array [ "comment", "# tests 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 100, "name": "test/simple-harness-test.js", "ok": true, }, ], Array [ "comment", "# test-assert-todo-skip.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# not much\\n", ], Array [ "assert", Result { "fullname": "", "id": 101, "name": "always passes", "ok": true, "skip": "skip it good", }, ], Array [ "assert", Result { "fullname": "", "id": 102, "name": "false", "ok": true, "skip": "always fails", }, ], Array [ "assert", Result { "fullname": "", "id": 103, "name": "bonus", "ok": true, "todo": "remove todo directive", }, ], Array [ "assert", Result { "fullname": "", "id": 104, "name": "expected", "ok": true, "todo": "implement a thing", }, ], Array [ "assert", Result { "fullname": "", "id": 105, "name": "always passes without explanation", "ok": true, "skip": true, }, ], Array [ "assert", Result { "fullname": "", "id": 106, "name": "false without explanation", "ok": true, "skip": true, }, ], Array [ "assert", Result { "fullname": "", "id": 107, "name": "bonus without explanation", "ok": true, "todo": true, }, ], Array [ "assert", Result { "fullname": "", "id": 108, "name": "expected without explanation", "ok": true, "todo": true, }, ], Array [ "comment", "# tests 8\\n", ], Array [ "comment", "# skip 4\\n", ], Array [ "comment", "# todo 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 109, "name": "test/test-assert-todo-skip.js", "ok": true, }, ], Array [ "comment", "# test-descriptions.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# captures test descriptions\\n", ], Array [ "assert", Result { "fullname": "", "id": 110, "name": "exit cleanly", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 111, "name": "captures SKIP description", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 112, "name": "skip summary is not from file", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 113, "name": "todo summary is not from file", "ok": true, }, ], Array [ "assert", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 114, "name": "captures TODO description", "ok": false, }, ], Array [ "assert", Result { "fullname": "", "id": 115, "name": "exit cleanly", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 116, "name": "captures SKIP description", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 117, "name": "skip summary is not in TAP output", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 118, "name": "todo summary is not in TAP output", "ok": true, }, ], Array [ "assert", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 119, "name": "captures TODO description", "ok": false, }, ], Array [ "assert", Result { "fullname": "", "id": 120, "name": "exit cleanly", "ok": true, }, ], Array [ "assert", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 121, "name": "summarizes skipped count", "ok": false, }, ], Array [ "assert", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 122, "name": "summarizes todo count", "ok": false, }, ], Array [ "comment", "# tests 13\\n", ], Array [ "comment", "# pass 9\\n", ], Array [ "comment", "# fail 4\\n", ], Array [ "assert", Result { "diag": Object { "command": "/usr/local/bin/iojs test-descriptions.js", "exit": 1, }, "fullname": "", "id": 123, "name": "test/test-descriptions.js", "ok": false, }, ], Array [ "comment", "# test-directives.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# captures test descriptions\\n", ], Array [ "comment", "# raw TAP > TAP consumer > TAP producer\\n", ], Array [ "assert", Result { "fullname": "", "id": 124, "name": "overall result is PASS", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 125, "name": "captures ok SKIP", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 126, "name": "captures not ok SKIP", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 127, "name": "skip summary not in TAP output", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 128, "name": "captures ok TODO", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 129, "name": "captures not ok TODO", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 130, "name": "todo summary is not in TAP output", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 131, "name": "no ugly \\"undefined\\" in output", "ok": true, }, ], Array [ "comment", "# raw TAP > TAP consumer > summary\\n", ], Array [ "assert", Result { "fullname": "", "id": 132, "name": "overall result is PASS", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 133, "name": "no SKIP in summary", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 134, "name": "skip summary is not in TAP output", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 135, "name": "no TODO in summary", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 136, "name": "todo summary is not in TAP output", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 137, "name": "no ugly \\"undefined\\" in output", "ok": true, }, ], Array [ "comment", "# TAP producer via require(\\"tap\\")\\n", ], Array [ "assert", Result { "fullname": "", "id": 138, "name": "overall result is PASS", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 139, "name": "captures ok SKIP", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 140, "name": "captures not ok SKIP", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 141, "name": "skip summary not in TAP output", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 142, "name": "captures ok TODO", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 143, "name": "captures not ok TODO", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 144, "name": "todo summary is not in TAP output", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 145, "name": "no ugly \\"undefined\\" in output", "ok": true, }, ], Array [ "comment", "# tests 22\\n", ], Array [ "comment", "# pass 22\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 146, "name": "test/test-directives.js", "ok": true, }, ], Array [ "comment", "# test-skip.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "assert", Result { "fullname": "", "id": 147, "name": "does not count as failure", "ok": true, "skip": true, }, ], Array [ "comment", "# tests 1\\n", ], Array [ "comment", "# skip 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 148, "name": "test/test-skip.js", "ok": true, }, ], Array [ "comment", "# test-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# testing the test object\\n", ], Array [ "assert", Result { "fullname": "", "id": 149, "name": "test object should be instanceof Test", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 150, "name": "test object should be instanceof Harness", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 151, "name": "test._Test should be the Test class", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 152, "name": "should have isNotDeepEqual method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 153, "name": "isNotDeepEqual method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 154, "name": "should have equals method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 155, "name": "equals method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 156, "name": "should have inequivalent method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 157, "name": "inequivalent method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 158, "name": "should have threw method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 159, "name": "threw method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 160, "name": "should have strictEqual method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 161, "name": "strictEqual method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 162, "name": "should have emit method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 163, "name": "emit method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 164, "name": "should have fail method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 165, "name": "fail method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 166, "name": "should have strictEquals method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 167, "name": "strictEquals method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 168, "name": "should have notLike method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 169, "name": "notLike method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 170, "name": "should have dissimilar method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 171, "name": "dissimilar method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 172, "name": "should have true method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 173, "name": "true method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 174, "name": "should have assert method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 175, "name": "assert method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 176, "name": "should have is method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 177, "name": "is method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 178, "name": "should have ok method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 179, "name": "ok method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 180, "name": "should have isEqual method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 181, "name": "isEqual method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 182, "name": "should have isDeeply method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 183, "name": "isDeeply method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 184, "name": "should have deepEqual method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 185, "name": "deepEqual method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 186, "name": "should have deepEquals method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 187, "name": "deepEquals method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 188, "name": "should have pass method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 189, "name": "pass method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 190, "name": "should have length method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 191, "name": "length method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 192, "name": "should have skip method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 193, "name": "skip method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 194, "name": "should have isNotEqual method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 195, "name": "isNotEqual method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 196, "name": "should have looseEquals method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 197, "name": "looseEquals method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 198, "name": "should have false method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 199, "name": "false method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 200, "name": "should have notDeeply method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 201, "name": "notDeeply method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 202, "name": "should have ifErr method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 203, "name": "ifErr method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 204, "name": "should have hasFields method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 205, "name": "hasFields method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 206, "name": "should have isNotDeeply method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 207, "name": "isNotDeeply method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 208, "name": "should have like method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 209, "name": "like method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 210, "name": "should have similar method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 211, "name": "similar method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 212, "name": "should have notOk method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 213, "name": "notOk method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 214, "name": "should have isDissimilar method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 215, "name": "isDissimilar method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 216, "name": "should have isEquivalent method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 217, "name": "isEquivalent method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 218, "name": "should have doesNotEqual method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 219, "name": "doesNotEqual method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 220, "name": "should have isSimilar method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 221, "name": "isSimilar method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 222, "name": "should have notDeepEqual method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 223, "name": "notDeepEqual method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 224, "name": "should have type method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 225, "name": "type method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 226, "name": "should have notok method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 227, "name": "notok method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 228, "name": "should have isInequivalent method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 229, "name": "isInequivalent method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 230, "name": "should have isNot method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 231, "name": "isNot method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 232, "name": "should have same method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 233, "name": "same method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 234, "name": "should have isInequal method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 235, "name": "isInequal method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 236, "name": "should have _endNice method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 237, "name": "_endNice method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 238, "name": "should have ifError method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 239, "name": "ifError method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 240, "name": "should have iferror method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 241, "name": "iferror method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 242, "name": "should have clear method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 243, "name": "clear method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 244, "name": "should have has method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 245, "name": "has method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 246, "name": "should have not method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 247, "name": "not method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 248, "name": "should have timeout method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 249, "name": "timeout method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 250, "name": "should have notSimilar method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 251, "name": "notSimilar method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 252, "name": "should have isUnlike method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 253, "name": "isUnlike method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 254, "name": "should have notEquals method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 255, "name": "notEquals method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 256, "name": "should have unsimilar method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 257, "name": "unsimilar method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 258, "name": "should have result method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 259, "name": "result method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 260, "name": "should have doesNotThrow method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 261, "name": "doesNotThrow method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 262, "name": "should have error method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 263, "name": "error method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 264, "name": "should have constructor method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 265, "name": "constructor method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 266, "name": "should have notEqual method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 267, "name": "notEqual method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 268, "name": "should have throws method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 269, "name": "throws method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 270, "name": "should have isLike method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 271, "name": "isLike method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 272, "name": "should have isNotSimilar method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 273, "name": "isNotSimilar method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 274, "name": "should have isNotEquivalent method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 275, "name": "isNotEquivalent method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 276, "name": "should have inequal method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 277, "name": "inequal method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 278, "name": "should have notEquivalent method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 279, "name": "notEquivalent method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 280, "name": "should have isNotLike method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 281, "name": "isNotLike method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 282, "name": "should have equivalent method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 283, "name": "equivalent method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 284, "name": "should have looseEqual method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 285, "name": "looseEqual method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 286, "name": "should have equal method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 287, "name": "equal method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 288, "name": "should have unlike method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 289, "name": "unlike method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 290, "name": "should have doesNotHave method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 291, "name": "doesNotHave method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 292, "name": "should have comment method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 293, "name": "comment method should be a function", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 294, "name": "should have isa method", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 295, "name": "isa method should be a function", "ok": true, }, ], Array [ "comment", "# tests 147\\n", ], Array [ "comment", "# pass 147\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 296, "name": "test/test-test.js", "ok": true, }, ], Array [ "comment", "# timeout.js\\n", ], Array [ "extra", "timeout test\\n", ], Array [ "extra", "t.plan=2\\n", ], Array [ "extra", "a assert\\n", ], Array [ "extra", "b assert\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# timeout test with plan only\\n", ], Array [ "assert", Result { "fullname": "", "id": 297, "name": "a", "ok": true, }, ], Array [ "extra", "timeout test\\n", ], Array [ "extra", "t.plan=2\\n", ], Array [ "extra", "a assert\\n", ], Array [ "extra", "b assert\\n", ], Array [ "assert", Result { "fullname": "", "id": 298, "name": "b", "ok": true, }, ], Array [ "comment", "# timeout test with plan and end\\n", ], Array [ "assert", Result { "fullname": "", "id": 299, "name": "a", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 300, "name": "b", "ok": true, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 301, "name": "test/timeout.js", "ok": true, }, ], Array [ "comment", "# trivial-success.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 302, "name": "test/trivial-success.js", "ok": true, }, ], Array [ "comment", "# undefined_indented.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# consume yaml\\n", ], Array [ "assert", Result { "fullname": "", "id": 303, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# tests 1\\n", ], Array [ "comment", "# pass 1\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 304, "name": "test/undefined_indented.js", "ok": true, }, ], Array [ "comment", "# valid-command.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# valid command\\n", ], Array [ "assert", Result { "fullname": "", "id": 305, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 306, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 307, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 308, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 309, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 310, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# tests 6\\n", ], Array [ "comment", "# pass 6\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 311, "name": "test/valid-command.js", "ok": true, }, ], Array [ "plan", Object { "end": 311, "start": 1, }, ], Array [ "comment", "# tests 311\\n", ], Array [ "comment", "# pass 297\\n", ], Array [ "comment", "# fail 5\\n", ], Array [ "comment", "# skip 5\\n", ], Array [ "comment", "# todo 4\\n", ], Array [ "comment", "# failed 27 of 311 tests\\n", ], Array [ "comment", "# todo: 4\\n", ], Array [ "comment", "# skip: 5\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 311, "fail": 27, "failures": Array [ Object { "data": "debug test\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "t.plan=1\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "'Debugger listening on port 5858\\\\n'\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "gc test\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "t.plan=1\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "assert gc does not exist\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "gc test\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "t.plan=2\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "gc test using --gc\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "t.plan=1\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "assert gc exists\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "gc test using --expose-gc\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "t.plan=1\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "assert gc exists\\n", "tapError": "Non-TAP data encountered in strict mode", }, Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 114, "name": "captures TODO description", "ok": false, }, Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 119, "name": "captures TODO description", "ok": false, }, Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 121, "name": "summarizes skipped count", "ok": false, }, Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 122, "name": "summarizes todo count", "ok": false, }, Result { "diag": Object { "command": "/usr/local/bin/iojs test-descriptions.js", "exit": 1, }, "fullname": "", "id": 123, "name": "test/test-descriptions.js", "ok": false, }, Object { "data": "timeout test\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "t.plan=2\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "a assert\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "b assert\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "timeout test\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "t.plan=2\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "a assert\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "b assert\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 306, "plan": FinalPlan { "comment": "", "end": 311, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 5, "time": null, "todo": 4, }, ], ] ` exports[`test/parser-stringify.js TAP tap-tests.tap strict > stringified 1`] = ` TAP 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 4 # failed 27 of 311 tests # todo: 4 # skip: 5 ` exports[`test/parser-stringify.js TAP tap-tests.tap strict > stringified flat 1`] = ` TAP 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 4 # failed 27 of 311 tests # todo: 4 # skip: 5 ` exports[`test/parser-stringify.js TAP tap-tests.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# buffer_compare.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# same buffers\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# not same buffers\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should not be equivalent", "ok": true, }, ], Array [ "comment", "# tests 2\\n", ], Array [ "comment", "# pass 2\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "test/buffer_compare.js", "ok": true, }, ], Array [ "comment", "# common.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "just setup, nothing relevant", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "test/common.js", "ok": true, }, ], Array [ "comment", "# consumer.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# basic.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 6, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# indent.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 7, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# missing.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 8, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# skip-all.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# yamlish.tap\\n", ], Array [ "assert", Result { "fullname": "", "id": 10, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# tests 5\\n", ], Array [ "comment", "# pass 5\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 11, "name": "test/consumer.js", "ok": true, }, ], Array [ "comment", "# debug-test.js\\n", ], Array [ "extra", "debug test\\n", ], Array [ "extra", "t.plan=1\\n", ], Array [ "extra", "'Debugger listening on port 5858\\\\n'\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# debug test\\n", ], Array [ "assert", Result { "fullname": "", "id": 12, "name": "Should output debugger message", "ok": true, }, ], Array [ "comment", "# tests 1\\n", ], Array [ "comment", "# pass 1\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 13, "name": "test/debug-test.js", "ok": true, }, ], Array [ "comment", "# deep-strict.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# strictDeepEquals shouldn't care about key order\\n", ], Array [ "assert", Result { "fullname": "", "id": 14, "name": "should be strictly equal", "ok": true, }, ], Array [ "comment", "# strictDeepEquals shouldn't care about key order recursively\\n", ], Array [ "assert", Result { "fullname": "", "id": 15, "name": "should be strictly equal", "ok": true, }, ], Array [ "comment", "# strictDeepEquals shoudn't care about key order (but still might)\\n", ], Array [ "assert", Result { "fullname": "", "id": 16, "name": "should be strictly equal", "ok": true, }, ], Array [ "comment", "# tests 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 17, "name": "test/deep-strict.js", "ok": true, }, ], Array [ "comment", "# deep.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# deepEquals shouldn't care about key order and types\\n", ], Array [ "assert", Result { "fullname": "", "id": 18, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# deepEquals shouldn't care about key order recursively and types\\n", ], Array [ "assert", Result { "fullname": "", "id": 19, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# deepEquals shoudn't care about key order (but still might) and types\\n", ], Array [ "assert", Result { "fullname": "", "id": 20, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# tests 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 21, "name": "test/deep.js", "ok": true, }, ], Array [ "comment", "# executed.sh\\n", ], Array [ "assert", Result { "fullname": "", "id": 22, "name": "File with executable bit should be executed", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 23, "name": "test/executed.sh", "ok": true, }, ], Array [ "comment", "# exit-code.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# exit code 1 when tap results show failure\\n", ], Array [ "comment", "# test exits 0, has failures\\n", ], Array [ "assert", Result { "fullname": "", "id": 24, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 25, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# test exits 1, has failures\\n", ], Array [ "assert", Result { "fullname": "", "id": 26, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 27, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# test exits 1, has no failures\\n", ], Array [ "assert", Result { "fullname": "", "id": 28, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 29, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# successes exit 0\\n", ], Array [ "comment", "# test that does nothing, but exits 0\\n", ], Array [ "assert", Result { "fullname": "", "id": 30, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 31, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# test that succeeds, and exits 0\\n", ], Array [ "assert", Result { "fullname": "", "id": 32, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 33, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# tests 10\\n", ], Array [ "comment", "# pass 10\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 34, "name": "test/exit-code.js", "ok": true, }, ], Array [ "comment", "# expose-gc-test.js\\n", ], Array [ "extra", "gc test\\n", ], Array [ "extra", "t.plan=1\\n", ], Array [ "extra", "assert gc does not exist\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# gc test when the gc isn't there\\n", ], Array [ "extra", "gc test\\n", ], Array [ "extra", "t.plan=2\\n", ], Array [ "extra", "gc test using --gc\\n", ], Array [ "extra", "t.plan=1\\n", ], Array [ "extra", "assert gc exists\\n", ], Array [ "extra", "gc test using --expose-gc\\n", ], Array [ "extra", "t.plan=1\\n", ], Array [ "extra", "assert gc exists\\n", ], Array [ "assert", Result { "fullname": "", "id": 35, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# gc test when the gc should be there\\n", ], Array [ "comment", "# test for gc using --gc\\n", ], Array [ "assert", Result { "fullname": "", "id": 36, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# test for gc using --expose-gc\\n", ], Array [ "assert", Result { "fullname": "", "id": 37, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# cleanup\\n", ], Array [ "comment", "# tests 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 38, "name": "test/expose-gc-test.js", "ok": true, }, ], Array [ "comment", "# global-harness-async.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# outer\\n", ], Array [ "comment", "# inner 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 39, "name": "1-1", "ok": true, }, ], Array [ "comment", "# inner 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 40, "name": "2-1", "ok": true, }, ], Array [ "comment", "# inner 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 41, "name": "3-1", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 42, "name": "test/global-harness-async.js", "ok": true, }, ], Array [ "comment", "# independent-timeouts.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# finishes in time\\n", ], Array [ "comment", "# finishes in time too\\n", ], Array [ "comment", "# tests 0\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 43, "name": "test/independent-timeouts.js", "ok": true, }, ], Array [ "comment", "# isolated-conf-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# one\\n", ], Array [ "assert", Result { "fullname": "", "id": 44, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 45, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# two\\n", ], Array [ "assert", Result { "fullname": "", "id": 46, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 47, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 48, "name": "test/isolated-conf-test.js", "ok": true, }, ], Array [ "comment", "# meta-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# meta test\\n", ], Array [ "assert", Result { "fullname": "", "id": 49, "name": "sanity check", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 50, "name": "not ok", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 51, "name": "total test count", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 52, "name": "tests passed", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 53, "name": "tests failed", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 54, "name": "ok is boolean", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 55, "name": "skip is number", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 56, "name": "results isa Results", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 57, "name": "test isa Test", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 58, "name": "test isa Harness", "ok": true, }, ], Array [ "comment", "# tests 10\\n", ], Array [ "comment", "# pass 10\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 59, "name": "test/meta-test.js", "ok": true, }, ], Array [ "comment", "# nested-async.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# Harness async test support\\n", ], Array [ "assert", Result { "fullname": "", "id": 60, "name": "sync child A", "ok": true, }, ], Array [ "comment", "# sync child B\\n", ], Array [ "comment", "# async grandchild A\\n", ], Array [ "assert", Result { "fullname": "", "id": 61, "name": "(unnamed assert)", "ok": true, }, ], Array [ "comment", "# async grandchild B\\n", ], Array [ "assert", Result { "fullname": "", "id": 62, "name": "(unnamed assert)", "ok": true, }, ], Array [ "comment", "# async child\\n", ], Array [ "assert", Result { "fullname": "", "id": 63, "name": "sync grandchild in async child A", "ok": true, }, ], Array [ "comment", "# sync grandchild in async child B\\n", ], Array [ "assert", Result { "fullname": "", "id": 64, "name": "(unnamed assert)", "ok": true, }, ], Array [ "comment", "# tests 5\\n", ], Array [ "comment", "# pass 5\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 65, "name": "test/nested-async.js", "ok": true, }, ], Array [ "comment", "# nested-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# parent\\n", ], Array [ "assert", Result { "fullname": "", "id": 66, "name": "p test", "ok": true, }, ], Array [ "comment", "# subtest\\n", ], Array [ "assert", Result { "fullname": "", "id": 67, "name": "ch test", "ok": true, }, ], Array [ "comment", "# nested subtest\\n", ], Array [ "assert", Result { "fullname": "", "id": 68, "name": "grch test", "ok": true, }, ], Array [ "comment", "# another subtest\\n", ], Array [ "assert", Result { "fullname": "", "id": 69, "name": "ch test 2", "ok": true, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 70, "name": "test/nested-test.js", "ok": true, }, ], Array [ "comment", "# non-tap-output.js\\n", ], Array [ "comment", "# everything is fine\\n", ], Array [ "comment", "# there are no errors\\n", ], Array [ "comment", "# this output is not haiku.\\n", ], Array [ "comment", "# is 8 ok?\\n", ], Array [ "assert", Result { "fullname": "", "id": 71, "name": ", 8 can stay.", "ok": true, }, ], Array [ "comment", "# but: nevertheless, here we are\\n", ], Array [ "comment", "# this: is indented\\n", ], Array [ "comment", "# and: it\\n", ], Array [ "comment", "# might: ~\\n", ], Array [ "comment", "# be: yaml?\\n", ], Array [ "assert", Result { "fullname": "", "id": 72, "name": "might be confusing", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 73, "name": "done now, exiting", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 74, "name": "test/non-tap-output.js", "ok": true, }, ], Array [ "comment", "# not-executed.sh\\n", ], Array [ "comment", "# output-childtest-description.js\\n", ], Array [ "comment", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# nested tests, parent and child pass\\n", ], Array [ "assert", Result { "fullname": "", "id": 75, "name": "outputs parent description", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 76, "name": "outputs child description", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 77, "name": "outputs parent description before parent result", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 78, "name": "outputs parent result before child description", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 79, "name": "outputs child description before child result", "ok": true, }, ], Array [ "comment", "# tests 5\\n", ], Array [ "comment", "# pass 5\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 80, "name": "test/output-childtest-description.js", "ok": true, }, ], Array [ "comment", "# result-trap.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# trap result\\n", ], Array [ "assert", Result { "fullname": "", "id": 81, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 82, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# tests 2\\n", ], Array [ "comment", "# pass 2\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 83, "name": "test/result-trap.js", "ok": true, }, ], Array [ "comment", "# segv.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# setup\\n", ], Array [ "assert", Result { "fullname": "", "id": 84, "name": "compiled seg faulter", "ok": true, }, ], Array [ "comment", "# segv\\n", ], Array [ "assert", Result { "fullname": "", "id": 85, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 86, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 87, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 88, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 89, "name": "should be equivalent", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 90, "name": "should be equal", "ok": true, }, ], Array [ "comment", "# cleanup\\n", ], Array [ "assert", Result { "fullname": "", "id": 91, "name": "cleaned up", "ok": true, }, ], Array [ "comment", "# tests 8\\n", ], Array [ "comment", "# pass 8\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 92, "name": "test/segv.js", "ok": true, }, ], Array [ "comment", "# simple-harness-test-with-plan.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# trivial success\\n", ], Array [ "assert", Result { "fullname": "", "id": 93, "name": "it works", "ok": true, }, ], Array [ "comment", "# two tests\\n", ], Array [ "assert", Result { "fullname": "", "id": 94, "name": "math should work", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 95, "name": "false should not be ok", "ok": true, }, ], Array [ "comment", "# tests 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 96, "name": "test/simple-harness-test-with-plan.js", "ok": true, }, ], Array [ "comment", "# simple-harness-test.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# trivial success\\n", ], Array [ "assert", Result { "fullname": "", "id": 97, "name": "it works", "ok": true, }, ], Array [ "comment", "# two tests\\n", ], Array [ "assert", Result { "fullname": "", "id": 98, "name": "math should work", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 99, "name": "false should not be ok", "ok": true, }, ], Array [ "comment", "# tests 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "comment", "# ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 100, "name": "test/simple-harness-test.js", "ok": true, }, ], Array [ "comment", "# test-assert-todo-skip.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# not much\\n", ], Array [ "assert", Result { "fullname": "", "id": 101, "name": "always passes", "ok": true, "skip": "skip it good", }, ], Array [ "assert", Result { "fullname": "", "id": 102, "name": "false", "ok": true, "skip": "always fails", }, ], Array [ "assert", Result { "fullname": "", "id": 103, "name": "bonus", "ok": true, "todo": "remove todo directive", }, ], Array [ "assert", Result { "fullname": "", "id": 104, "name": "expected", "ok": true, "todo": "implement a thing", }, ], Array [ "assert", Result { "fullname": "", "id": 105, "name": "always passes without explanation", "ok": true, "skip": true, }, ], Array [ "assert", Result { "fullname": "", "id": 106, "name": "false without explanation", "ok": true, "skip": true, }, ], Array [ "assert", Result { "fullname": "", "id": 107, "name": "bonus without explanation", "ok": true, "todo": true, }, ], Array [ "assert", Result { "fullname": "", "id": 108, "name": "expected without explanation", "ok": true, "todo": true, }, ], Array [ "comment", "# tests 8\\n", ], Array [ "comment", "# skip 4\\n", ], Array [ "comment", "# todo 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 109, "name": "test/test-assert-todo-skip.js", "ok": true, }, ], Array [ "comment", "# test-descriptions.js\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "comment", "# captures test descriptions\\n", ], Array [ "assert", Result { "fullname": "", "id": 110, "name": "exit cleanly", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 111, "name": "captures SKIP description", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 112, "name": "skip summary is not from file", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 113, "name": "todo summary is not from file", "ok": true, }, ], Array [ "assert", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 114, "name": "captures TODO description", "ok": false, }, ], Array [ "bailout", "captures TODO description", ], Array [ "complete", FinalResults { "bailout": "captures TODO description", "count": 114, "fail": 15, "failures": Array [ Object { "data": "debug test\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "t.plan=1\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "'Debugger listening on port 5858\\\\n'\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "gc test\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "t.plan=1\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "assert gc does not exist\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "gc test\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "t.plan=2\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "gc test using --gc\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "t.plan=1\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "assert gc exists\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "gc test using --expose-gc\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "t.plan=1\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": "assert gc exists\\n", "tapError": "Non-TAP data encountered in strict mode", }, Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 114, "name": "captures TODO description", "ok": false, }, ], "ok": false, "pass": 113, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 4, "time": null, "todo": 4, }, ], ] ` exports[`test/parser-stringify.js TAP tap-tests.tap strictBail > stringified 1`] = ` TAP 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) ... Bail out! captures TODO description ` exports[`test/parser-stringify.js TAP tap-tests.tap strictBail > stringified flat 1`] = ` TAP 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) ... Bail out! captures TODO description ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/todo.tap.test.cjs000066400000000000000000001055741433324523500261730ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP todo.tap bail > parsed 1`] = ` Array [ Array [ "version", 14, ], Array [ "child", Array [ Array [ "comment", "# Subtest: a set of tests to be done later\\n", ], Array [ "assert", Result { "fullname": "a set of tests to be done later", "id": 1, "name": "should have a thingie", "ok": true, "todo": true, }, ], Array [ "assert", Result { "fullname": "a set of tests to be done later", "id": 2, "name": "should have a second whoosits also", "ok": true, "todo": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: the subset\\n", ], Array [ "assert", Result { "fullname": "a set of tests to be done later the subset", "id": 1, "name": "should be a child thingie", "ok": true, "todo": true, }, ], Array [ "assert", Result { "fullname": "a set of tests to be done later the subset", "id": 2, "name": "should also be a whoosits", "ok": true, "todo": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: has some of these things\\n", ], Array [ "assert", Result { "fullname": "a set of tests to be done later the subset has some of these things", "id": 1, "name": "true is truthy", "ok": true, }, ], Array [ "assert", Result { "fullname": "a set of tests to be done later the subset has some of these things", "id": 2, "name": "ten is also truthy", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "a set of tests to be done later the subset", "id": 3, "name": "has some of these things", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "comment", "# todo: 2\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 2, }, ], ], ], Array [ "assert", Result { "fullname": "a set of tests to be done later", "id": 3, "name": "the subset", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "comment", "# todo: 2\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 2, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "a set of tests to be done later", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: another set of tests\\n", ], Array [ "assert", Result { "fullname": "another set of tests", "id": 1, "name": "is a second set", "ok": true, "todo": true, }, ], Array [ "assert", Result { "fullname": "another set of tests", "id": 2, "name": "looks like english", "ok": true, "todo": true, }, ], Array [ "assert", Result { "fullname": "another set of tests", "id": 3, "name": "is marked TODO", "ok": true, "todo": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "comment", "# todo: 3\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 3, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "another set of tests", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP todo.tap bail > stringified 1`] = ` TAP 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 # todo: 2 ok 3 - the subset 1..3 # todo: 2 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 # todo: 3 ok 2 - another set of tests 1..2 ` exports[`test/parser-stringify.js TAP todo.tap bail > stringified flat 1`] = ` TAP 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 # todo: 2 ok 3 - the subset 1..3 # todo: 2 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 # todo: 3 ok 2 - another set of tests 1..2 ` exports[`test/parser-stringify.js TAP todo.tap default settings > parsed 1`] = ` Array [ Array [ "version", 14, ], Array [ "child", Array [ Array [ "comment", "# Subtest: a set of tests to be done later\\n", ], Array [ "assert", Result { "fullname": "a set of tests to be done later", "id": 1, "name": "should have a thingie", "ok": true, "todo": true, }, ], Array [ "assert", Result { "fullname": "a set of tests to be done later", "id": 2, "name": "should have a second whoosits also", "ok": true, "todo": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: the subset\\n", ], Array [ "assert", Result { "fullname": "a set of tests to be done later the subset", "id": 1, "name": "should be a child thingie", "ok": true, "todo": true, }, ], Array [ "assert", Result { "fullname": "a set of tests to be done later the subset", "id": 2, "name": "should also be a whoosits", "ok": true, "todo": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: has some of these things\\n", ], Array [ "assert", Result { "fullname": "a set of tests to be done later the subset has some of these things", "id": 1, "name": "true is truthy", "ok": true, }, ], Array [ "assert", Result { "fullname": "a set of tests to be done later the subset has some of these things", "id": 2, "name": "ten is also truthy", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "a set of tests to be done later the subset", "id": 3, "name": "has some of these things", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "comment", "# todo: 2\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 2, }, ], ], ], Array [ "assert", Result { "fullname": "a set of tests to be done later", "id": 3, "name": "the subset", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "comment", "# todo: 2\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 2, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "a set of tests to be done later", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: another set of tests\\n", ], Array [ "assert", Result { "fullname": "another set of tests", "id": 1, "name": "is a second set", "ok": true, "todo": true, }, ], Array [ "assert", Result { "fullname": "another set of tests", "id": 2, "name": "looks like english", "ok": true, "todo": true, }, ], Array [ "assert", Result { "fullname": "another set of tests", "id": 3, "name": "is marked TODO", "ok": true, "todo": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "comment", "# todo: 3\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 3, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "another set of tests", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP todo.tap default settings > stringified 1`] = ` TAP 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 # todo: 2 ok 3 - the subset 1..3 # todo: 2 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 # todo: 3 ok 2 - another set of tests 1..2 ` exports[`test/parser-stringify.js TAP todo.tap default settings > stringified flat 1`] = ` TAP 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 # todo: 2 ok 3 - the subset 1..3 # todo: 2 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 # todo: 3 ok 2 - another set of tests 1..2 ` exports[`test/parser-stringify.js TAP todo.tap strict > parsed 1`] = ` Array [ Array [ "version", 14, ], Array [ "child", Array [ Array [ "comment", "# Subtest: a set of tests to be done later\\n", ], Array [ "assert", Result { "fullname": "a set of tests to be done later", "id": 1, "name": "should have a thingie", "ok": true, "todo": true, }, ], Array [ "assert", Result { "fullname": "a set of tests to be done later", "id": 2, "name": "should have a second whoosits also", "ok": true, "todo": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: the subset\\n", ], Array [ "assert", Result { "fullname": "a set of tests to be done later the subset", "id": 1, "name": "should be a child thingie", "ok": true, "todo": true, }, ], Array [ "assert", Result { "fullname": "a set of tests to be done later the subset", "id": 2, "name": "should also be a whoosits", "ok": true, "todo": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: has some of these things\\n", ], Array [ "assert", Result { "fullname": "a set of tests to be done later the subset has some of these things", "id": 1, "name": "true is truthy", "ok": true, }, ], Array [ "assert", Result { "fullname": "a set of tests to be done later the subset has some of these things", "id": 2, "name": "ten is also truthy", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "a set of tests to be done later the subset", "id": 3, "name": "has some of these things", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "comment", "# todo: 2\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 2, }, ], ], ], Array [ "assert", Result { "fullname": "a set of tests to be done later", "id": 3, "name": "the subset", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "comment", "# todo: 2\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 2, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "a set of tests to be done later", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: another set of tests\\n", ], Array [ "assert", Result { "fullname": "another set of tests", "id": 1, "name": "is a second set", "ok": true, "todo": true, }, ], Array [ "assert", Result { "fullname": "another set of tests", "id": 2, "name": "looks like english", "ok": true, "todo": true, }, ], Array [ "assert", Result { "fullname": "another set of tests", "id": 3, "name": "is marked TODO", "ok": true, "todo": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "comment", "# todo: 3\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 3, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "another set of tests", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP todo.tap strict > stringified 1`] = ` TAP 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 # todo: 2 ok 3 - the subset 1..3 # todo: 2 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 # todo: 3 ok 2 - another set of tests 1..2 ` exports[`test/parser-stringify.js TAP todo.tap strict > stringified flat 1`] = ` TAP 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 # todo: 2 ok 3 - the subset 1..3 # todo: 2 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 # todo: 3 ok 2 - another set of tests 1..2 ` exports[`test/parser-stringify.js TAP todo.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 14, ], Array [ "child", Array [ Array [ "comment", "# Subtest: a set of tests to be done later\\n", ], Array [ "assert", Result { "fullname": "a set of tests to be done later", "id": 1, "name": "should have a thingie", "ok": true, "todo": true, }, ], Array [ "assert", Result { "fullname": "a set of tests to be done later", "id": 2, "name": "should have a second whoosits also", "ok": true, "todo": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: the subset\\n", ], Array [ "assert", Result { "fullname": "a set of tests to be done later the subset", "id": 1, "name": "should be a child thingie", "ok": true, "todo": true, }, ], Array [ "assert", Result { "fullname": "a set of tests to be done later the subset", "id": 2, "name": "should also be a whoosits", "ok": true, "todo": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: has some of these things\\n", ], Array [ "assert", Result { "fullname": "a set of tests to be done later the subset has some of these things", "id": 1, "name": "true is truthy", "ok": true, }, ], Array [ "assert", Result { "fullname": "a set of tests to be done later the subset has some of these things", "id": 2, "name": "ten is also truthy", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "a set of tests to be done later the subset", "id": 3, "name": "has some of these things", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "comment", "# todo: 2\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 2, }, ], ], ], Array [ "assert", Result { "fullname": "a set of tests to be done later", "id": 3, "name": "the subset", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "comment", "# todo: 2\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 2, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "a set of tests to be done later", "ok": true, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: another set of tests\\n", ], Array [ "assert", Result { "fullname": "another set of tests", "id": 1, "name": "is a second set", "ok": true, "todo": true, }, ], Array [ "assert", Result { "fullname": "another set of tests", "id": 2, "name": "looks like english", "ok": true, "todo": true, }, ], Array [ "assert", Result { "fullname": "another set of tests", "id": 3, "name": "is marked TODO", "ok": true, "todo": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "comment", "# todo: 3\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 3, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "another set of tests", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP todo.tap strictBail > stringified 1`] = ` TAP 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 # todo: 2 ok 3 - the subset 1..3 # todo: 2 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 # todo: 3 ok 2 - another set of tests 1..2 ` exports[`test/parser-stringify.js TAP todo.tap strictBail > stringified flat 1`] = ` TAP 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 # todo: 2 ok 3 - the subset 1..3 # todo: 2 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 # todo: 3 ok 2 - another set of tests 1..2 ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/todo_inline.tap.test.cjs000066400000000000000000000213541433324523500275220ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP todo_inline.tap bail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Foo", "ok": false, "todo": "Just testing the todo interface.", }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Unexpected success", "ok": true, "todo": "Just testing the todo interface.", }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "This is not todo", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "", "ok": true, "todo": "This is a todo with an empty description", }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "testTitle#todo is not a todo, it's a url", "ok": true, }, ], Array [ "comment", "# todo: 3\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 3, }, ], ] ` exports[`test/parser-stringify.js TAP todo_inline.tap bail > stringified 1`] = ` 1..5 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 ok 4 # TODO This is a todo with an empty description ok 5 - testTitle\\#todo is not a todo, it's a url # todo: 3 ` exports[`test/parser-stringify.js TAP todo_inline.tap bail > stringified flat 1`] = ` 1..5 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 ok 4 # TODO This is a todo with an empty description ok 5 - testTitle\\#todo is not a todo, it's a url # todo: 3 ` exports[`test/parser-stringify.js TAP todo_inline.tap default settings > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Foo", "ok": false, "todo": "Just testing the todo interface.", }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Unexpected success", "ok": true, "todo": "Just testing the todo interface.", }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "This is not todo", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "", "ok": true, "todo": "This is a todo with an empty description", }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "testTitle#todo is not a todo, it's a url", "ok": true, }, ], Array [ "comment", "# todo: 3\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 3, }, ], ] ` exports[`test/parser-stringify.js TAP todo_inline.tap default settings > stringified 1`] = ` 1..5 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 ok 4 # TODO This is a todo with an empty description ok 5 - testTitle\\#todo is not a todo, it's a url # todo: 3 ` exports[`test/parser-stringify.js TAP todo_inline.tap default settings > stringified flat 1`] = ` 1..5 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 ok 4 # TODO This is a todo with an empty description ok 5 - testTitle\\#todo is not a todo, it's a url # todo: 3 ` exports[`test/parser-stringify.js TAP todo_inline.tap strict > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Foo", "ok": false, "todo": "Just testing the todo interface.", }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Unexpected success", "ok": true, "todo": "Just testing the todo interface.", }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "This is not todo", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "", "ok": true, "todo": "This is a todo with an empty description", }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "testTitle#todo is not a todo, it's a url", "ok": true, }, ], Array [ "comment", "# todo: 3\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 3, }, ], ] ` exports[`test/parser-stringify.js TAP todo_inline.tap strict > stringified 1`] = ` 1..5 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 ok 4 # TODO This is a todo with an empty description ok 5 - testTitle\\#todo is not a todo, it's a url # todo: 3 ` exports[`test/parser-stringify.js TAP todo_inline.tap strict > stringified flat 1`] = ` 1..5 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 ok 4 # TODO This is a todo with an empty description ok 5 - testTitle\\#todo is not a todo, it's a url # todo: 3 ` exports[`test/parser-stringify.js TAP todo_inline.tap strictBail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Foo", "ok": false, "todo": "Just testing the todo interface.", }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Unexpected success", "ok": true, "todo": "Just testing the todo interface.", }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "This is not todo", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "", "ok": true, "todo": "This is a todo with an empty description", }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "testTitle#todo is not a todo, it's a url", "ok": true, }, ], Array [ "comment", "# todo: 3\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 3, }, ], ] ` exports[`test/parser-stringify.js TAP todo_inline.tap strictBail > stringified 1`] = ` 1..5 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 ok 4 # TODO This is a todo with an empty description ok 5 - testTitle\\#todo is not a todo, it's a url # todo: 3 ` exports[`test/parser-stringify.js TAP todo_inline.tap strictBail > stringified flat 1`] = ` 1..5 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 ok 4 # TODO This is a todo with an empty description ok 5 - testTitle\\#todo is not a todo, it's a url # todo: 3 ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/todo_misparse.tap.test.cjs000066400000000000000000000105001433324523500300560ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP todo_misparse.tap bail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Hamlette", "ok": false, "todo": true, }, ], Array [ "comment", "# todo: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 1, }, ], ] ` exports[`test/parser-stringify.js TAP todo_misparse.tap bail > stringified 1`] = ` 1..1 not ok 1 - Hamlette # TODO # todo: 1 ` exports[`test/parser-stringify.js TAP todo_misparse.tap bail > stringified flat 1`] = ` 1..1 not ok 1 - Hamlette # TODO # todo: 1 ` exports[`test/parser-stringify.js TAP todo_misparse.tap default settings > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Hamlette", "ok": false, "todo": true, }, ], Array [ "comment", "# todo: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 1, }, ], ] ` exports[`test/parser-stringify.js TAP todo_misparse.tap default settings > stringified 1`] = ` 1..1 not ok 1 - Hamlette # TODO # todo: 1 ` exports[`test/parser-stringify.js TAP todo_misparse.tap default settings > stringified flat 1`] = ` 1..1 not ok 1 - Hamlette # TODO # todo: 1 ` exports[`test/parser-stringify.js TAP todo_misparse.tap strict > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Hamlette", "ok": false, "todo": true, }, ], Array [ "comment", "# todo: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 1, }, ], ] ` exports[`test/parser-stringify.js TAP todo_misparse.tap strict > stringified 1`] = ` 1..1 not ok 1 - Hamlette # TODO # todo: 1 ` exports[`test/parser-stringify.js TAP todo_misparse.tap strict > stringified flat 1`] = ` 1..1 not ok 1 - Hamlette # TODO # todo: 1 ` exports[`test/parser-stringify.js TAP todo_misparse.tap strictBail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Hamlette", "ok": false, "todo": true, }, ], Array [ "comment", "# todo: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 1, }, ], ] ` exports[`test/parser-stringify.js TAP todo_misparse.tap strictBail > stringified 1`] = ` 1..1 not ok 1 - Hamlette # TODO # todo: 1 ` exports[`test/parser-stringify.js TAP todo_misparse.tap strictBail > stringified flat 1`] = ` 1..1 not ok 1 - Hamlette # TODO # todo: 1 ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/too-many.tap.test.cjs000066400000000000000000000240441433324523500267610ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP too-many.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# beep\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# boop\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "comment", "# test count(4) != plan(3)\\n", ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP too-many.tap bail > stringified 1`] = ` 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..3 # tests 4 # pass 4 # ok # test count(4) != plan(3) # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP too-many.tap bail > stringified flat 1`] = ` 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..3 # tests 4 # pass 4 # ok # test count(4) != plan(3) # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP too-many.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# beep\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# boop\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "comment", "# test count(4) != plan(3)\\n", ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP too-many.tap default settings > stringified 1`] = ` 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..3 # tests 4 # pass 4 # ok # test count(4) != plan(3) # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP too-many.tap default settings > stringified flat 1`] = ` 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..3 # tests 4 # pass 4 # ok # test count(4) != plan(3) # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP too-many.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# beep\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# boop\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "comment", "# test count(4) != plan(3)\\n", ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP too-many.tap strict > stringified 1`] = ` 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..3 # tests 4 # pass 4 # ok # test count(4) != plan(3) # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP too-many.tap strict > stringified flat 1`] = ` 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..3 # tests 4 # pass 4 # ok # test count(4) != plan(3) # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP too-many.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "comment", "# beep\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "comment", "# boop\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "comment", "# tests 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "comment", "# ok\\n", ], Array [ "comment", "# test count(4) != plan(3)\\n", ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP too-many.tap strictBail > stringified 1`] = ` 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..3 # tests 4 # pass 4 # ok # test count(4) != plan(3) # failed 1 of 4 tests ` exports[`test/parser-stringify.js TAP too-many.tap strictBail > stringified flat 1`] = ` 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..3 # tests 4 # pass 4 # ok # test count(4) != plan(3) # failed 1 of 4 tests ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/too_many.tap.test.cjs000066400000000000000000000312141433324523500270400ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP too_many.tap bail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 6, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 7, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "comment", "# test count(7) != plan(3)\\n", ], Array [ "comment", "# failed 4 of 7 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 7, "fail": 4, "failures": Array [ Result { "fullname": "", "id": 4, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 6, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 7, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 7, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP too_many.tap bail > stringified 1`] = ` 1..3 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 # test count(7) != plan(3) # failed 4 of 7 tests ` exports[`test/parser-stringify.js TAP too_many.tap bail > stringified flat 1`] = ` 1..3 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 # test count(7) != plan(3) # failed 4 of 7 tests ` exports[`test/parser-stringify.js TAP too_many.tap default settings > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 6, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 7, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "comment", "# test count(7) != plan(3)\\n", ], Array [ "comment", "# failed 4 of 7 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 7, "fail": 4, "failures": Array [ Result { "fullname": "", "id": 4, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 6, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 7, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 7, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP too_many.tap default settings > stringified 1`] = ` 1..3 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 # test count(7) != plan(3) # failed 4 of 7 tests ` exports[`test/parser-stringify.js TAP too_many.tap default settings > stringified flat 1`] = ` 1..3 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 # test count(7) != plan(3) # failed 4 of 7 tests ` exports[`test/parser-stringify.js TAP too_many.tap strict > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 6, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 7, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "comment", "# test count(7) != plan(3)\\n", ], Array [ "comment", "# failed 4 of 7 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 7, "fail": 4, "failures": Array [ Result { "fullname": "", "id": 4, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 6, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 7, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 7, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP too_many.tap strict > stringified 1`] = ` 1..3 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 # test count(7) != plan(3) # failed 4 of 7 tests ` exports[`test/parser-stringify.js TAP too_many.tap strict > stringified flat 1`] = ` 1..3 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 # test count(7) != plan(3) # failed 4 of 7 tests ` exports[`test/parser-stringify.js TAP too_many.tap strictBail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 6, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "assert", Result { "fullname": "", "id": 7, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "comment", "# test count(7) != plan(3)\\n", ], Array [ "comment", "# failed 4 of 7 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 7, "fail": 4, "failures": Array [ Result { "fullname": "", "id": 4, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 6, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 7, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 7, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP too_many.tap strictBail > stringified 1`] = ` 1..3 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 # test count(7) != plan(3) # failed 4 of 7 tests ` exports[`test/parser-stringify.js TAP too_many.tap strictBail > stringified flat 1`] = ` 1..3 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 # test count(7) != plan(3) # failed 4 of 7 tests ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/unfinished.tap.test.cjs000066400000000000000000000131301433324523500273440ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP unfinished.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "comment", "# test count(2) != plan(5)\\n", ], Array [ "comment", "# failed 1 of 2 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 1, "failures": Array [ Object { "tapError": "incorrect number of tests", }, ], "ok": false, "pass": 2, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP unfinished.tap bail > stringified 1`] = ` TAP version 13 1..5 ok 1 ok 2 # test count(2) != plan(5) # failed 1 of 2 tests ` exports[`test/parser-stringify.js TAP unfinished.tap bail > stringified flat 1`] = ` TAP version 13 1..5 ok 1 ok 2 # test count(2) != plan(5) # failed 1 of 2 tests ` exports[`test/parser-stringify.js TAP unfinished.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "comment", "# test count(2) != plan(5)\\n", ], Array [ "comment", "# failed 1 of 2 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 1, "failures": Array [ Object { "tapError": "incorrect number of tests", }, ], "ok": false, "pass": 2, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP unfinished.tap default settings > stringified 1`] = ` TAP version 13 1..5 ok 1 ok 2 # test count(2) != plan(5) # failed 1 of 2 tests ` exports[`test/parser-stringify.js TAP unfinished.tap default settings > stringified flat 1`] = ` TAP version 13 1..5 ok 1 ok 2 # test count(2) != plan(5) # failed 1 of 2 tests ` exports[`test/parser-stringify.js TAP unfinished.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "comment", "# test count(2) != plan(5)\\n", ], Array [ "comment", "# failed 1 of 2 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 1, "failures": Array [ Object { "tapError": "incorrect number of tests", }, ], "ok": false, "pass": 2, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP unfinished.tap strict > stringified 1`] = ` TAP version 13 1..5 ok 1 ok 2 # test count(2) != plan(5) # failed 1 of 2 tests ` exports[`test/parser-stringify.js TAP unfinished.tap strict > stringified flat 1`] = ` TAP version 13 1..5 ok 1 ok 2 # test count(2) != plan(5) # failed 1 of 2 tests ` exports[`test/parser-stringify.js TAP unfinished.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "comment", "# test count(2) != plan(5)\\n", ], Array [ "comment", "# failed 1 of 2 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 1, "failures": Array [ Object { "tapError": "incorrect number of tests", }, ], "ok": false, "pass": 2, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP unfinished.tap strictBail > stringified 1`] = ` TAP version 13 1..5 ok 1 ok 2 # test count(2) != plan(5) # failed 1 of 2 tests ` exports[`test/parser-stringify.js TAP unfinished.tap strictBail > stringified flat 1`] = ` TAP version 13 1..5 ok 1 ok 2 # test count(2) != plan(5) # failed 1 of 2 tests ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/unknown-amount-and-failures.tap.test.cjs000066400000000000000000000265121433324523500325700ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP unknown-amount-and-failures.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "retrieving servers from the database", "ok": true, }, ], Array [ "comment", "# need to ping 6 servers\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "pinged diamond", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "pinged ruby", "ok": true, }, ], Array [ "assert", Result { "diag": Object { "message": "hostname \\"saphire\\" unknown", "severity": "fail", }, "fullname": "", "id": 4, "name": "pinged saphire", "ok": false, }, ], Array [ "bailout", "pinged saphire", ], Array [ "complete", FinalResults { "bailout": "pinged saphire", "count": 4, "fail": 1, "failures": Array [ Result { "diag": Object { "message": "hostname \\"saphire\\" unknown", "severity": "fail", }, "fullname": "", "id": 4, "name": "pinged saphire", "ok": false, }, ], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP unknown-amount-and-failures.tap bail > stringified 1`] = ` TAP 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 ... Bail out! pinged saphire ` exports[`test/parser-stringify.js TAP unknown-amount-and-failures.tap bail > stringified flat 1`] = ` TAP 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 ... Bail out! pinged saphire ` exports[`test/parser-stringify.js TAP unknown-amount-and-failures.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "retrieving servers from the database", "ok": true, }, ], Array [ "comment", "# need to ping 6 servers\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "pinged diamond", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "pinged ruby", "ok": true, }, ], Array [ "assert", Result { "diag": Object { "message": "hostname \\"saphire\\" unknown", "severity": "fail", }, "fullname": "", "id": 4, "name": "pinged saphire", "ok": false, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "pinged onyx", "ok": true, }, ], Array [ "assert", Result { "diag": Object { "message": "timeout", "severity": "fail", }, "fullname": "", "id": 6, "name": "pinged quartz", "ok": false, }, ], Array [ "assert", Result { "fullname": "", "id": 7, "name": "pinged gold", "ok": true, }, ], Array [ "plan", Object { "end": 7, "start": 1, }, ], Array [ "comment", "# failed 2 of 7 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 7, "fail": 2, "failures": Array [ Result { "diag": Object { "message": "hostname \\"saphire\\" unknown", "severity": "fail", }, "fullname": "", "id": 4, "name": "pinged saphire", "ok": false, }, Result { "diag": Object { "message": "timeout", "severity": "fail", }, "fullname": "", "id": 6, "name": "pinged quartz", "ok": false, }, ], "ok": false, "pass": 5, "plan": FinalPlan { "comment": "", "end": 7, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP unknown-amount-and-failures.tap default settings > stringified 1`] = ` TAP 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 # failed 2 of 7 tests ` exports[`test/parser-stringify.js TAP unknown-amount-and-failures.tap default settings > stringified flat 1`] = ` TAP 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 # failed 2 of 7 tests ` exports[`test/parser-stringify.js TAP unknown-amount-and-failures.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "retrieving servers from the database", "ok": true, }, ], Array [ "comment", "# need to ping 6 servers\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "pinged diamond", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "pinged ruby", "ok": true, }, ], Array [ "assert", Result { "diag": Object { "message": "hostname \\"saphire\\" unknown", "severity": "fail", }, "fullname": "", "id": 4, "name": "pinged saphire", "ok": false, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "pinged onyx", "ok": true, }, ], Array [ "assert", Result { "diag": Object { "message": "timeout", "severity": "fail", }, "fullname": "", "id": 6, "name": "pinged quartz", "ok": false, }, ], Array [ "assert", Result { "fullname": "", "id": 7, "name": "pinged gold", "ok": true, }, ], Array [ "plan", Object { "end": 7, "start": 1, }, ], Array [ "comment", "# failed 2 of 7 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 7, "fail": 2, "failures": Array [ Result { "diag": Object { "message": "hostname \\"saphire\\" unknown", "severity": "fail", }, "fullname": "", "id": 4, "name": "pinged saphire", "ok": false, }, Result { "diag": Object { "message": "timeout", "severity": "fail", }, "fullname": "", "id": 6, "name": "pinged quartz", "ok": false, }, ], "ok": false, "pass": 5, "plan": FinalPlan { "comment": "", "end": 7, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP unknown-amount-and-failures.tap strict > stringified 1`] = ` TAP 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 # failed 2 of 7 tests ` exports[`test/parser-stringify.js TAP unknown-amount-and-failures.tap strict > stringified flat 1`] = ` TAP 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 # failed 2 of 7 tests ` exports[`test/parser-stringify.js TAP unknown-amount-and-failures.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "retrieving servers from the database", "ok": true, }, ], Array [ "comment", "# need to ping 6 servers\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "pinged diamond", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "pinged ruby", "ok": true, }, ], Array [ "assert", Result { "diag": Object { "message": "hostname \\"saphire\\" unknown", "severity": "fail", }, "fullname": "", "id": 4, "name": "pinged saphire", "ok": false, }, ], Array [ "bailout", "pinged saphire", ], Array [ "complete", FinalResults { "bailout": "pinged saphire", "count": 4, "fail": 1, "failures": Array [ Result { "diag": Object { "message": "hostname \\"saphire\\" unknown", "severity": "fail", }, "fullname": "", "id": 4, "name": "pinged saphire", "ok": false, }, ], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP unknown-amount-and-failures.tap strictBail > stringified 1`] = ` TAP 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 ... Bail out! pinged saphire ` exports[`test/parser-stringify.js TAP unknown-amount-and-failures.tap strictBail > stringified flat 1`] = ` TAP 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 ... Bail out! pinged saphire ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/version-in-yaml.tap.test.cjs000066400000000000000000000545561433324523500302620ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP version-in-yaml.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: child indented\\n", ], Array [ "assert", Result { "diag": Object { "version": String( TAP version 13 ), }, "fullname": "child indented", "name": "some yaml", "ok": false, }, ], Array [ "bailout", "some yaml", ], Array [ "complete", FinalResults { "bailout": "some yaml", "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "version": String( TAP version 13 ), }, "fullname": "child indented", "name": "some yaml", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "bailout", "some yaml", ], Array [ "complete", FinalResults { "bailout": "some yaml", "count": 0, "fail": 0, "failures": Array [], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP version-in-yaml.tap bail > stringified 1`] = ` TAP version 13 # Subtest: child indented not ok - some yaml --- version: |- TAP version 13 ... Bail out! some yaml Bail out! some yaml ` exports[`test/parser-stringify.js TAP version-in-yaml.tap bail > stringified flat 1`] = ` TAP version 13 # Subtest: child indented not ok - some yaml --- version: |- TAP version 13 ... Bail out! some yaml Bail out! some yaml ` exports[`test/parser-stringify.js TAP version-in-yaml.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: child indented\\n", ], Array [ "assert", Result { "diag": Object { "version": String( TAP version 13 ), }, "fullname": "child indented", "name": "some yaml", "ok": false, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "version": String( TAP version 13 ), }, "fullname": "child indented", "name": "some yaml", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "child indented", "ok": false, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: child unindented\\n", ], Array [ "assert", Result { "diag": Object { "version": String( TAP version 13 ), }, "fullname": "child unindented", "name": "some yaml", "ok": false, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "version": String( TAP version 13 ), }, "fullname": "child unindented", "name": "some yaml", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "child unindented", "ok": false, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "assert", Result { "diag": Object { "version": String( TAP version 13 ), }, "fullname": "", "name": "some yaml", "ok": false, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "version": String( TAP version 13 ), }, "fullname": "", "name": "some yaml", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "child unnamed", "ok": false, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: child buffered\\n", ], Array [ "assert", Result { "diag": Object { "version": String( TAP version 13 ), }, "fullname": "child buffered", "name": "some yaml", "ok": false, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "version": String( TAP version 13 ), }, "fullname": "child buffered", "name": "some yaml", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 4, "name": "child buffered", "ok": false, }, ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "comment", "# failed 4 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 4, "failures": Array [ Result { "fullname": "", "id": 1, "name": "child indented", "ok": false, }, Result { "fullname": "", "id": 2, "name": "child unindented", "ok": false, }, Result { "fullname": "", "id": 3, "name": "child unnamed", "ok": false, }, Result { "buffered": true, "fullname": "", "id": 4, "name": "child buffered", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP version-in-yaml.tap default settings > stringified 1`] = ` TAP version 13 # Subtest: child indented not ok - some yaml --- version: |- TAP version 13 ... 1..1 # failed 1 test not ok 1 - child indented # Subtest: child unindented not ok - some yaml --- version: |- TAP version 13 ... 1..1 # failed 1 test not ok 2 - child unindented # Subtest not ok - some yaml --- version: |- TAP version 13 ... 1..1 # failed 1 test not ok 3 - child unnamed # Subtest: child buffered not ok - some yaml --- version: |- TAP version 13 ... 1..1 # failed 1 test not ok 4 - child buffered 1..4 # failed 4 of 4 tests ` exports[`test/parser-stringify.js TAP version-in-yaml.tap default settings > stringified flat 1`] = ` TAP version 13 # Subtest: child indented not ok - some yaml --- version: |- TAP version 13 ... 1..1 # failed 1 test not ok 1 - child indented # Subtest: child unindented not ok - some yaml --- version: |- TAP version 13 ... 1..1 # failed 1 test not ok 2 - child unindented # Subtest not ok - some yaml --- version: |- TAP version 13 ... 1..1 # failed 1 test not ok 3 - child unnamed # Subtest: child buffered not ok - some yaml --- version: |- TAP version 13 ... 1..1 # failed 1 test not ok 4 - child buffered 1..4 # failed 4 of 4 tests ` exports[`test/parser-stringify.js TAP version-in-yaml.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: child indented\\n", ], Array [ "assert", Result { "diag": Object { "version": String( TAP version 13 ), }, "fullname": "child indented", "name": "some yaml", "ok": false, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "version": String( TAP version 13 ), }, "fullname": "child indented", "name": "some yaml", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "child indented", "ok": false, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: child unindented\\n", ], Array [ "assert", Result { "diag": Object { "version": String( TAP version 13 ), }, "fullname": "child unindented", "name": "some yaml", "ok": false, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "version": String( TAP version 13 ), }, "fullname": "child unindented", "name": "some yaml", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "child unindented", "ok": false, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "assert", Result { "diag": Object { "version": String( TAP version 13 ), }, "fullname": "", "name": "some yaml", "ok": false, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "version": String( TAP version 13 ), }, "fullname": "", "name": "some yaml", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "child unnamed", "ok": false, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: child buffered\\n", ], Array [ "assert", Result { "diag": Object { "version": String( TAP version 13 ), }, "fullname": "child buffered", "name": "some yaml", "ok": false, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "version": String( TAP version 13 ), }, "fullname": "child buffered", "name": "some yaml", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 4, "name": "child buffered", "ok": false, }, ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "comment", "# failed 4 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 4, "failures": Array [ Result { "fullname": "", "id": 1, "name": "child indented", "ok": false, }, Result { "fullname": "", "id": 2, "name": "child unindented", "ok": false, }, Result { "fullname": "", "id": 3, "name": "child unnamed", "ok": false, }, Result { "buffered": true, "fullname": "", "id": 4, "name": "child buffered", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP version-in-yaml.tap strict > stringified 1`] = ` TAP version 13 # Subtest: child indented not ok - some yaml --- version: |- TAP version 13 ... 1..1 # failed 1 test not ok 1 - child indented # Subtest: child unindented not ok - some yaml --- version: |- TAP version 13 ... 1..1 # failed 1 test not ok 2 - child unindented # Subtest not ok - some yaml --- version: |- TAP version 13 ... 1..1 # failed 1 test not ok 3 - child unnamed # Subtest: child buffered not ok - some yaml --- version: |- TAP version 13 ... 1..1 # failed 1 test not ok 4 - child buffered 1..4 # failed 4 of 4 tests ` exports[`test/parser-stringify.js TAP version-in-yaml.tap strict > stringified flat 1`] = ` TAP version 13 # Subtest: child indented not ok - some yaml --- version: |- TAP version 13 ... 1..1 # failed 1 test not ok 1 - child indented # Subtest: child unindented not ok - some yaml --- version: |- TAP version 13 ... 1..1 # failed 1 test not ok 2 - child unindented # Subtest not ok - some yaml --- version: |- TAP version 13 ... 1..1 # failed 1 test not ok 3 - child unnamed # Subtest: child buffered not ok - some yaml --- version: |- TAP version 13 ... 1..1 # failed 1 test not ok 4 - child buffered 1..4 # failed 4 of 4 tests ` exports[`test/parser-stringify.js TAP version-in-yaml.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest: child indented\\n", ], Array [ "assert", Result { "diag": Object { "version": String( TAP version 13 ), }, "fullname": "child indented", "name": "some yaml", "ok": false, }, ], Array [ "bailout", "some yaml", ], Array [ "complete", FinalResults { "bailout": "some yaml", "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "version": String( TAP version 13 ), }, "fullname": "child indented", "name": "some yaml", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "bailout", "some yaml", ], Array [ "complete", FinalResults { "bailout": "some yaml", "count": 0, "fail": 0, "failures": Array [], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP version-in-yaml.tap strictBail > stringified 1`] = ` TAP version 13 # Subtest: child indented not ok - some yaml --- version: |- TAP version 13 ... Bail out! some yaml Bail out! some yaml ` exports[`test/parser-stringify.js TAP version-in-yaml.tap strictBail > stringified flat 1`] = ` TAP version 13 # Subtest: child indented not ok - some yaml --- version: |- TAP version 13 ... Bail out! some yaml Bail out! some yaml ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/version_good.tap.test.cjs000066400000000000000000000133401433324523500277100ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP version_good.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP version_good.tap bail > stringified 1`] = ` TAP version 13 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 ` exports[`test/parser-stringify.js TAP version_good.tap bail > stringified flat 1`] = ` TAP version 13 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 ` exports[`test/parser-stringify.js TAP version_good.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP version_good.tap default settings > stringified 1`] = ` TAP version 13 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 ` exports[`test/parser-stringify.js TAP version_good.tap default settings > stringified flat 1`] = ` TAP version 13 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 ` exports[`test/parser-stringify.js TAP version_good.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP version_good.tap strict > stringified 1`] = ` TAP version 13 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 ` exports[`test/parser-stringify.js TAP version_good.tap strict > stringified flat 1`] = ` TAP version 13 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 ` exports[`test/parser-stringify.js TAP version_good.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP version_good.tap strictBail > stringified 1`] = ` TAP version 13 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 ` exports[`test/parser-stringify.js TAP version_good.tap strictBail > stringified flat 1`] = ` TAP version 13 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/version_late.tap.test.cjs000066400000000000000000000144101433324523500277040ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP version_late.tap bail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "extra", "TAP version 13\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP version_late.tap bail > stringified 1`] = ` 1..5 TAP version 13 ok 1 ok 2 ok 3 ok 4 ok 5 ` exports[`test/parser-stringify.js TAP version_late.tap bail > stringified flat 1`] = ` 1..5 TAP version 13 ok 1 ok 2 ok 3 ok 4 ok 5 ` exports[`test/parser-stringify.js TAP version_late.tap default settings > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "extra", "TAP version 13\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP version_late.tap default settings > stringified 1`] = ` 1..5 TAP version 13 ok 1 ok 2 ok 3 ok 4 ok 5 ` exports[`test/parser-stringify.js TAP version_late.tap default settings > stringified flat 1`] = ` 1..5 TAP version 13 ok 1 ok 2 ok 3 ok 4 ok 5 ` exports[`test/parser-stringify.js TAP version_late.tap strict > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "extra", "TAP version 13\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Object { "data": "TAP version 13\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP version_late.tap strict > stringified 1`] = ` 1..5 TAP version 13 ok 1 ok 2 ok 3 ok 4 ok 5 # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP version_late.tap strict > stringified flat 1`] = ` 1..5 TAP version 13 ok 1 ok 2 ok 3 ok 4 ok 5 # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP version_late.tap strictBail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "extra", "TAP version 13\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Object { "data": "TAP version 13\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP version_late.tap strictBail > stringified 1`] = ` 1..5 TAP version 13 ok 1 ok 2 ok 3 ok 4 ok 5 # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP version_late.tap strictBail > stringified flat 1`] = ` 1..5 TAP version 13 ok 1 ok 2 ok 3 ok 4 ok 5 # failed 1 of 5 tests ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/version_old-strict.tap.test.cjs000066400000000000000000000162101433324523500310430ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP version_old-strict.tap bail > parsed 1`] = ` Array [ Array [ "pragma", "strict", true, ], Array [ "extra", "TAP version 12\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Object { "data": "TAP version 12\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP version_old-strict.tap bail > stringified 1`] = ` pragma +strict TAP version 12 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP version_old-strict.tap bail > stringified flat 1`] = ` pragma +strict TAP version 12 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP version_old-strict.tap default settings > parsed 1`] = ` Array [ Array [ "pragma", "strict", true, ], Array [ "extra", "TAP version 12\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Object { "data": "TAP version 12\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP version_old-strict.tap default settings > stringified 1`] = ` pragma +strict TAP version 12 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP version_old-strict.tap default settings > stringified flat 1`] = ` pragma +strict TAP version 12 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP version_old-strict.tap strict > parsed 1`] = ` Array [ Array [ "pragma", "strict", true, ], Array [ "extra", "TAP version 12\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Object { "data": "TAP version 12\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP version_old-strict.tap strict > stringified 1`] = ` pragma +strict TAP version 12 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP version_old-strict.tap strict > stringified flat 1`] = ` pragma +strict TAP version 12 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP version_old-strict.tap strictBail > parsed 1`] = ` Array [ Array [ "pragma", "strict", true, ], Array [ "extra", "TAP version 12\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Object { "data": "TAP version 12\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP version_old-strict.tap strictBail > stringified 1`] = ` pragma +strict TAP version 12 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP version_old-strict.tap strictBail > stringified flat 1`] = ` pragma +strict TAP version 12 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 # failed 1 of 5 tests ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/version_old.tap.test.cjs000066400000000000000000000143741433324523500275460ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP version_old.tap bail > parsed 1`] = ` Array [ Array [ "extra", "TAP version 12\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP version_old.tap bail > stringified 1`] = ` TAP version 12 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 ` exports[`test/parser-stringify.js TAP version_old.tap bail > stringified flat 1`] = ` TAP version 12 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 ` exports[`test/parser-stringify.js TAP version_old.tap default settings > parsed 1`] = ` Array [ Array [ "extra", "TAP version 12\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP version_old.tap default settings > stringified 1`] = ` TAP version 12 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 ` exports[`test/parser-stringify.js TAP version_old.tap default settings > stringified flat 1`] = ` TAP version 12 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 ` exports[`test/parser-stringify.js TAP version_old.tap strict > parsed 1`] = ` Array [ Array [ "extra", "TAP version 12\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Object { "data": "TAP version 12\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP version_old.tap strict > stringified 1`] = ` TAP version 12 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP version_old.tap strict > stringified flat 1`] = ` TAP version 12 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP version_old.tap strictBail > parsed 1`] = ` Array [ Array [ "extra", "TAP version 12\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Object { "data": "TAP version 12\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP version_old.tap strictBail > stringified 1`] = ` TAP version 12 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP version_old.tap strictBail > stringified flat 1`] = ` TAP version 12 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 # failed 1 of 5 tests ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/vms_nit.tap.test.cjs000066400000000000000000000113501433324523500266710ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP vms_nit.tap bail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "extra", "not \\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP vms_nit.tap bail > stringified 1`] = ` 1..2 not ok 1 ok 2 ` exports[`test/parser-stringify.js TAP vms_nit.tap bail > stringified flat 1`] = ` 1..2 not ok 1 ok 2 ` exports[`test/parser-stringify.js TAP vms_nit.tap default settings > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "extra", "not \\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP vms_nit.tap default settings > stringified 1`] = ` 1..2 not ok 1 ok 2 ` exports[`test/parser-stringify.js TAP vms_nit.tap default settings > stringified flat 1`] = ` 1..2 not ok 1 ok 2 ` exports[`test/parser-stringify.js TAP vms_nit.tap strict > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "extra", "not \\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "comment", "# failed 1 of 2 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 1, "failures": Array [ Object { "data": "not \\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP vms_nit.tap strict > stringified 1`] = ` 1..2 not ok 1 ok 2 # failed 1 of 2 tests ` exports[`test/parser-stringify.js TAP vms_nit.tap strict > stringified flat 1`] = ` 1..2 not ok 1 ok 2 # failed 1 of 2 tests ` exports[`test/parser-stringify.js TAP vms_nit.tap strictBail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "extra", "not \\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "comment", "# failed 1 of 2 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 1, "failures": Array [ Object { "data": "not \\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP vms_nit.tap strictBail > stringified 1`] = ` 1..2 not ok 1 ok 2 # failed 1 of 2 tests ` exports[`test/parser-stringify.js TAP vms_nit.tap strictBail > stringified flat 1`] = ` 1..2 not ok 1 ok 2 # failed 1 of 2 tests ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/with_comments.tap.test.cjs000066400000000000000000000213441433324523500300760ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP with_comments.tap bail > parsed 1`] = ` Array [ Array [ "comment", "# and stuff\\n", ], Array [ "extra", "1..5 todo 1 2 4 5;\\n", ], Array [ "comment", "# yeah, that\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": false, }, ], Array [ "comment", "# Failed test 1 in t/todo.t at line 9 *TODO*\\n", ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 1, "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP with_comments.tap bail > stringified 1`] = ` # 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* Bail out! ` exports[`test/parser-stringify.js TAP with_comments.tap bail > stringified flat 1`] = ` # 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* Bail out! ` exports[`test/parser-stringify.js TAP with_comments.tap default settings > parsed 1`] = ` Array [ Array [ "comment", "# and stuff\\n", ], Array [ "extra", "1..5 todo 1 2 4 5;\\n", ], Array [ "comment", "# yeah, that\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": false, }, ], Array [ "comment", "# Failed test 1 in t/todo.t at line 9 *TODO*\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "# (t/todo.t at line 10 TODO?!)", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": false, }, ], Array [ "comment", "# Test 4 got: '0' (t/todo.t at line 12 *TODO*)\\n", ], Array [ "comment", "# Expected: '1' (need more tuits)\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "# (t/todo.t at line 13 TODO?!)", "ok": true, }, ], Array [ "comment", "# woo\\n", ], Array [ "comment", "# test count(5) != plan(null)\\n", ], Array [ "comment", "# failed 3 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 3, "failures": Array [ Result { "fullname": "", "id": 1, "ok": false, }, Result { "fullname": "", "id": 4, "ok": false, }, Object { "tapError": "no plan", }, ], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP with_comments.tap default settings > stringified 1`] = ` # 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 # test count(5) != plan(null) # failed 3 of 5 tests ` exports[`test/parser-stringify.js TAP with_comments.tap default settings > stringified flat 1`] = ` # 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 # test count(5) != plan(null) # failed 3 of 5 tests ` exports[`test/parser-stringify.js TAP with_comments.tap strict > parsed 1`] = ` Array [ Array [ "comment", "# and stuff\\n", ], Array [ "extra", "1..5 todo 1 2 4 5;\\n", ], Array [ "comment", "# yeah, that\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": false, }, ], Array [ "comment", "# Failed test 1 in t/todo.t at line 9 *TODO*\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "# (t/todo.t at line 10 TODO?!)", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": false, }, ], Array [ "comment", "# Test 4 got: '0' (t/todo.t at line 12 *TODO*)\\n", ], Array [ "comment", "# Expected: '1' (need more tuits)\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "# (t/todo.t at line 13 TODO?!)", "ok": true, }, ], Array [ "comment", "# woo\\n", ], Array [ "comment", "# test count(5) != plan(null)\\n", ], Array [ "comment", "# failed 4 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 4, "failures": Array [ Object { "data": "1..5 todo 1 2 4 5;\\n", "tapError": "Non-TAP data encountered in strict mode", }, Result { "fullname": "", "id": 1, "ok": false, }, Result { "fullname": "", "id": 4, "ok": false, }, Object { "tapError": "no plan", }, ], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP with_comments.tap strict > stringified 1`] = ` # 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 # test count(5) != plan(null) # failed 4 of 5 tests ` exports[`test/parser-stringify.js TAP with_comments.tap strict > stringified flat 1`] = ` # 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 # test count(5) != plan(null) # failed 4 of 5 tests ` exports[`test/parser-stringify.js TAP with_comments.tap strictBail > parsed 1`] = ` Array [ Array [ "comment", "# and stuff\\n", ], Array [ "extra", "1..5 todo 1 2 4 5;\\n", ], Array [ "comment", "# yeah, that\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": false, }, ], Array [ "comment", "# Failed test 1 in t/todo.t at line 9 *TODO*\\n", ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 1, "fail": 2, "failures": Array [ Object { "data": "1..5 todo 1 2 4 5;\\n", "tapError": "Non-TAP data encountered in strict mode", }, Result { "fullname": "", "id": 1, "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP with_comments.tap strictBail > stringified 1`] = ` # 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* Bail out! ` exports[`test/parser-stringify.js TAP with_comments.tap strictBail > stringified flat 1`] = ` # 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* Bail out! ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/wrong-last.tap.test.cjs000066400000000000000000000175241433324523500273200ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP wrong-last.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, "previous": Result { "fullname": "", "id": 4, "ok": true, }, "tapError": "test point id 4 appears multiple times", }, ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 4, "ok": true, "previous": Result { "fullname": "", "id": 4, "ok": true, }, "tapError": "test point id 4 appears multiple times", }, ], "ok": false, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP wrong-last.tap bail > stringified 1`] = ` TAP version 13 1..5 ok 1 ok 2 ok 3 ok 4 ok 4 # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP wrong-last.tap bail > stringified flat 1`] = ` TAP version 13 1..5 ok 1 ok 2 ok 3 ok 4 ok 4 # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP wrong-last.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, "previous": Result { "fullname": "", "id": 4, "ok": true, }, "tapError": "test point id 4 appears multiple times", }, ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 4, "ok": true, "previous": Result { "fullname": "", "id": 4, "ok": true, }, "tapError": "test point id 4 appears multiple times", }, ], "ok": false, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP wrong-last.tap default settings > stringified 1`] = ` TAP version 13 1..5 ok 1 ok 2 ok 3 ok 4 ok 4 # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP wrong-last.tap default settings > stringified flat 1`] = ` TAP version 13 1..5 ok 1 ok 2 ok 3 ok 4 ok 4 # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP wrong-last.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, "previous": Result { "fullname": "", "id": 4, "ok": true, }, "tapError": "test point id 4 appears multiple times", }, ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 4, "ok": true, "previous": Result { "fullname": "", "id": 4, "ok": true, }, "tapError": "test point id 4 appears multiple times", }, ], "ok": false, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP wrong-last.tap strict > stringified 1`] = ` TAP version 13 1..5 ok 1 ok 2 ok 3 ok 4 ok 4 # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP wrong-last.tap strict > stringified flat 1`] = ` TAP version 13 1..5 ok 1 ok 2 ok 3 ok 4 ok 4 # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP wrong-last.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, "previous": Result { "fullname": "", "id": 4, "ok": true, }, "tapError": "test point id 4 appears multiple times", }, ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 4, "ok": true, "previous": Result { "fullname": "", "id": 4, "ok": true, }, "tapError": "test point id 4 appears multiple times", }, ], "ok": false, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP wrong-last.tap strictBail > stringified 1`] = ` TAP version 13 1..5 ok 1 ok 2 ok 3 ok 4 ok 4 # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP wrong-last.tap strictBail > stringified flat 1`] = ` TAP version 13 1..5 ok 1 ok 2 ok 3 ok 4 ok 4 # failed 1 of 5 tests ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/yaml_late_plan.tap.test.cjs000066400000000000000000000136641433324523500302050ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP yaml_late_plan.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "name": "test suite started", "ok": true, }, ], Array [ "assert", Result { "diag": Object { "Bogomips": 5226.88, }, "fullname": "", "name": "bogomips", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "name": "test suite finished", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP yaml_late_plan.tap bail > stringified 1`] = ` TAP version 13 ok - test suite started ok - bogomips --- Bogomips: 5226.88 ... ok - test suite finished 1..3 ` exports[`test/parser-stringify.js TAP yaml_late_plan.tap bail > stringified flat 1`] = ` TAP version 13 ok - test suite started ok - bogomips --- Bogomips: 5226.88 ... ok - test suite finished 1..3 ` exports[`test/parser-stringify.js TAP yaml_late_plan.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "name": "test suite started", "ok": true, }, ], Array [ "assert", Result { "diag": Object { "Bogomips": 5226.88, }, "fullname": "", "name": "bogomips", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "name": "test suite finished", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP yaml_late_plan.tap default settings > stringified 1`] = ` TAP version 13 ok - test suite started ok - bogomips --- Bogomips: 5226.88 ... ok - test suite finished 1..3 ` exports[`test/parser-stringify.js TAP yaml_late_plan.tap default settings > stringified flat 1`] = ` TAP version 13 ok - test suite started ok - bogomips --- Bogomips: 5226.88 ... ok - test suite finished 1..3 ` exports[`test/parser-stringify.js TAP yaml_late_plan.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "name": "test suite started", "ok": true, }, ], Array [ "assert", Result { "diag": Object { "Bogomips": 5226.88, }, "fullname": "", "name": "bogomips", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "name": "test suite finished", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP yaml_late_plan.tap strict > stringified 1`] = ` TAP version 13 ok - test suite started ok - bogomips --- Bogomips: 5226.88 ... ok - test suite finished 1..3 ` exports[`test/parser-stringify.js TAP yaml_late_plan.tap strict > stringified flat 1`] = ` TAP version 13 ok - test suite started ok - bogomips --- Bogomips: 5226.88 ... ok - test suite finished 1..3 ` exports[`test/parser-stringify.js TAP yaml_late_plan.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "name": "test suite started", "ok": true, }, ], Array [ "assert", Result { "diag": Object { "Bogomips": 5226.88, }, "fullname": "", "name": "bogomips", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "name": "test suite finished", "ok": true, }, ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP yaml_late_plan.tap strictBail > stringified 1`] = ` TAP version 13 ok - test suite started ok - bogomips --- Bogomips: 5226.88 ... ok - test suite finished 1..3 ` exports[`test/parser-stringify.js TAP yaml_late_plan.tap strictBail > stringified flat 1`] = ` TAP version 13 ok - test suite started ok - bogomips --- Bogomips: 5226.88 ... ok - test suite finished 1..3 ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/yamlish-looks-like-child.tap.test.cjs000066400000000000000000000157101433324523500320140ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP yamlish-looks-like-child.tap bail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "assert", Result { "diag": Object { "ok": Array [ "I wished for a bailout!", "lots of other shapes here can look like valid tap", ], }, "fullname": "", "id": 1, "name": "callback happened", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "child test", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should come last", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP yamlish-looks-like-child.tap bail > stringified 1`] = ` 1..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 ` exports[`test/parser-stringify.js TAP yamlish-looks-like-child.tap bail > stringified flat 1`] = ` 1..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 ` exports[`test/parser-stringify.js TAP yamlish-looks-like-child.tap default settings > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "assert", Result { "diag": Object { "ok": Array [ "I wished for a bailout!", "lots of other shapes here can look like valid tap", ], }, "fullname": "", "id": 1, "name": "callback happened", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "child test", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should come last", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP yamlish-looks-like-child.tap default settings > stringified 1`] = ` 1..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 ` exports[`test/parser-stringify.js TAP yamlish-looks-like-child.tap default settings > stringified flat 1`] = ` 1..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 ` exports[`test/parser-stringify.js TAP yamlish-looks-like-child.tap strict > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "assert", Result { "diag": Object { "ok": Array [ "I wished for a bailout!", "lots of other shapes here can look like valid tap", ], }, "fullname": "", "id": 1, "name": "callback happened", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "child test", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should come last", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP yamlish-looks-like-child.tap strict > stringified 1`] = ` 1..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 ` exports[`test/parser-stringify.js TAP yamlish-looks-like-child.tap strict > stringified flat 1`] = ` 1..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 ` exports[`test/parser-stringify.js TAP yamlish-looks-like-child.tap strictBail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "assert", Result { "diag": Object { "ok": Array [ "I wished for a bailout!", "lots of other shapes here can look like valid tap", ], }, "fullname": "", "id": 1, "name": "callback happened", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "child test", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should come last", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP yamlish-looks-like-child.tap strictBail > stringified 1`] = ` 1..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 ` exports[`test/parser-stringify.js TAP yamlish-looks-like-child.tap strictBail > stringified flat 1`] = ` 1..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-11.0.2/tap-snapshots/test/parser-stringify/yamlish-that-is-not-yaml.tap.test.cjs000066400000000000000000000505561433324523500320000ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP yamlish-that-is-not-yaml.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "diag": Object { "but": "this", "is": "yaml", }, "fullname": "", "id": 1, "name": "expected yaml, got a sea turtle", "ok": false, }, ], Array [ "extra", String( --- 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 ... ), ], Array [ "bailout", "expected yaml, got a sea turtle", ], Array [ "complete", FinalResults { "bailout": "expected yaml, got a sea turtle", "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "but": "this", "is": "yaml", }, "fullname": "", "id": 1, "name": "expected yaml, got a sea turtle", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP yamlish-that-is-not-yaml.tap bail > stringified 1`] = ` TAP version 13 not ok 1 - expected yaml, got a sea turtle --- but: this is: yaml ... --- 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 ... Bail out! expected yaml, got a sea turtle ` exports[`test/parser-stringify.js TAP yamlish-that-is-not-yaml.tap bail > stringified flat 1`] = ` TAP version 13 not ok 1 - expected yaml, got a sea turtle --- but: this is: yaml ... --- 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 ... Bail out! expected yaml, got a sea turtle ` exports[`test/parser-stringify.js TAP yamlish-that-is-not-yaml.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "diag": Object { "but": "this", "is": "yaml", }, "fullname": "", "id": 1, "name": "expected yaml, got a sea turtle", "ok": false, }, ], Array [ "extra", String( --- 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 ... ), ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "but": "this", "is": "yaml", }, "fullname": "", "id": 1, "name": "expected yaml, got a sea turtle", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP yamlish-that-is-not-yaml.tap default settings > stringified 1`] = ` TAP version 13 not ok 1 - expected yaml, got a sea turtle --- but: this is: yaml ... --- 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 # failed 1 test ` exports[`test/parser-stringify.js TAP yamlish-that-is-not-yaml.tap default settings > stringified flat 1`] = ` TAP version 13 not ok 1 - expected yaml, got a sea turtle --- but: this is: yaml ... --- 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 # failed 1 test ` exports[`test/parser-stringify.js TAP yamlish-that-is-not-yaml.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "diag": Object { "but": "this", "is": "yaml", }, "fullname": "", "id": 1, "name": "expected yaml, got a sea turtle", "ok": false, }, ], Array [ "extra", String( --- 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 ... ), ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# failed 2 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 2, "failures": Array [ Object { "data": String( --- 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 ... ), "tapError": "Non-TAP data encountered in strict mode", }, Result { "diag": Object { "but": "this", "is": "yaml", }, "fullname": "", "id": 1, "name": "expected yaml, got a sea turtle", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP yamlish-that-is-not-yaml.tap strict > stringified 1`] = ` TAP version 13 not ok 1 - expected yaml, got a sea turtle --- but: this is: yaml ... --- 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 # failed 2 test ` exports[`test/parser-stringify.js TAP yamlish-that-is-not-yaml.tap strict > stringified flat 1`] = ` TAP version 13 not ok 1 - expected yaml, got a sea turtle --- but: this is: yaml ... --- 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 # failed 2 test ` exports[`test/parser-stringify.js TAP yamlish-that-is-not-yaml.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "diag": Object { "but": "this", "is": "yaml", }, "fullname": "", "id": 1, "name": "expected yaml, got a sea turtle", "ok": false, }, ], Array [ "extra", String( --- 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 ... ), ], Array [ "bailout", "expected yaml, got a sea turtle", ], Array [ "complete", FinalResults { "bailout": "expected yaml, got a sea turtle", "count": 1, "fail": 2, "failures": Array [ Object { "data": String( --- 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 ... ), "tapError": "Non-TAP data encountered in strict mode", }, Result { "diag": Object { "but": "this", "is": "yaml", }, "fullname": "", "id": 1, "name": "expected yaml, got a sea turtle", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP yamlish-that-is-not-yaml.tap strictBail > stringified 1`] = ` TAP version 13 not ok 1 - expected yaml, got a sea turtle --- but: this is: yaml ... --- 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 ... Bail out! expected yaml, got a sea turtle ` exports[`test/parser-stringify.js TAP yamlish-that-is-not-yaml.tap strictBail > stringified flat 1`] = ` TAP version 13 not ok 1 - expected yaml, got a sea turtle --- but: this is: yaml ... --- 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 ... Bail out! expected yaml, got a sea turtle ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/yamlish-without-test.tap.test.cjs000066400000000000000000000150541433324523500313430ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP yamlish-without-test.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "extra", " ---\\n", ], Array [ "extra", " this: is yaml\\n", ], Array [ "extra", " but: no test here\\n", ], Array [ "extra", " ...\\n", ], Array [ "assert", Result { "fullname": "", "name": "this is fine", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP yamlish-without-test.tap bail > stringified 1`] = ` TAP version 13 --- this: is yaml but: no test here ... ok - this is fine 1..1 ` exports[`test/parser-stringify.js TAP yamlish-without-test.tap bail > stringified flat 1`] = ` TAP version 13 --- this: is yaml but: no test here ... ok - this is fine 1..1 ` exports[`test/parser-stringify.js TAP yamlish-without-test.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "extra", " ---\\n", ], Array [ "extra", " this: is yaml\\n", ], Array [ "extra", " but: no test here\\n", ], Array [ "extra", " ...\\n", ], Array [ "assert", Result { "fullname": "", "name": "this is fine", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP yamlish-without-test.tap default settings > stringified 1`] = ` TAP version 13 --- this: is yaml but: no test here ... ok - this is fine 1..1 ` exports[`test/parser-stringify.js TAP yamlish-without-test.tap default settings > stringified flat 1`] = ` TAP version 13 --- this: is yaml but: no test here ... ok - this is fine 1..1 ` exports[`test/parser-stringify.js TAP yamlish-without-test.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "extra", " ---\\n", ], Array [ "extra", " this: is yaml\\n", ], Array [ "extra", " but: no test here\\n", ], Array [ "extra", " ...\\n", ], Array [ "assert", Result { "fullname": "", "name": "this is fine", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# failed 4 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 4, "failures": Array [ Object { "data": " ---\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " this: is yaml\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " but: no test here\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " ...\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP yamlish-without-test.tap strict > stringified 1`] = ` TAP version 13 --- this: is yaml but: no test here ... ok - this is fine 1..1 # failed 4 test ` exports[`test/parser-stringify.js TAP yamlish-without-test.tap strict > stringified flat 1`] = ` TAP version 13 --- this: is yaml but: no test here ... ok - this is fine 1..1 # failed 4 test ` exports[`test/parser-stringify.js TAP yamlish-without-test.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "extra", " ---\\n", ], Array [ "extra", " this: is yaml\\n", ], Array [ "extra", " but: no test here\\n", ], Array [ "extra", " ...\\n", ], Array [ "assert", Result { "fullname": "", "name": "this is fine", "ok": true, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# failed 4 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 4, "failures": Array [ Object { "data": " ---\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " this: is yaml\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " but: no test here\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " ...\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP yamlish-without-test.tap strictBail > stringified 1`] = ` TAP version 13 --- this: is yaml but: no test here ... ok - this is fine 1..1 # failed 4 test ` exports[`test/parser-stringify.js TAP yamlish-without-test.tap strictBail > stringified flat 1`] = ` TAP version 13 --- this: is yaml but: no test here ... ok - this is fine 1..1 # failed 4 test ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/yamlish.tap.test.cjs000066400000000000000000000247201433324523500266650ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP yamlish.tap bail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "diag": Object { "data": Object { "expected": Object { "address": "85.193.201.85", "hostname": "peebles.example.com", }, "got": Object { "address": null, "hostname": "peebles.example.com", }, }, "message": "Failed with error 'hostname peebles.example.com not found'", "severity": "fail", }, "fullname": "", "id": 1, "name": "Resolve address", "ok": false, }, ], Array [ "bailout", "Resolve address", ], Array [ "complete", FinalResults { "bailout": "Resolve address", "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "data": Object { "expected": Object { "address": "85.193.201.85", "hostname": "peebles.example.com", }, "got": Object { "address": null, "hostname": "peebles.example.com", }, }, "message": "Failed with error 'hostname peebles.example.com not found'", "severity": "fail", }, "fullname": "", "id": 1, "name": "Resolve address", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP yamlish.tap bail > stringified 1`] = ` TAP 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: null expected: hostname: peebles.example.com address: 85.193.201.85 ... Bail out! Resolve address ` exports[`test/parser-stringify.js TAP yamlish.tap bail > stringified flat 1`] = ` TAP 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: null expected: hostname: peebles.example.com address: 85.193.201.85 ... Bail out! Resolve address ` exports[`test/parser-stringify.js TAP yamlish.tap default settings > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "diag": Object { "data": Object { "expected": Object { "address": "85.193.201.85", "hostname": "peebles.example.com", }, "got": Object { "address": null, "hostname": "peebles.example.com", }, }, "message": "Failed with error 'hostname peebles.example.com not found'", "severity": "fail", }, "fullname": "", "id": 1, "name": "Resolve address", "ok": false, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "data": Object { "expected": Object { "address": "85.193.201.85", "hostname": "peebles.example.com", }, "got": Object { "address": null, "hostname": "peebles.example.com", }, }, "message": "Failed with error 'hostname peebles.example.com not found'", "severity": "fail", }, "fullname": "", "id": 1, "name": "Resolve address", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP yamlish.tap default settings > stringified 1`] = ` TAP 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: null expected: hostname: peebles.example.com address: 85.193.201.85 ... 1..1 # failed 1 test ` exports[`test/parser-stringify.js TAP yamlish.tap default settings > stringified flat 1`] = ` TAP 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: null expected: hostname: peebles.example.com address: 85.193.201.85 ... 1..1 # failed 1 test ` exports[`test/parser-stringify.js TAP yamlish.tap strict > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "diag": Object { "data": Object { "expected": Object { "address": "85.193.201.85", "hostname": "peebles.example.com", }, "got": Object { "address": null, "hostname": "peebles.example.com", }, }, "message": "Failed with error 'hostname peebles.example.com not found'", "severity": "fail", }, "fullname": "", "id": 1, "name": "Resolve address", "ok": false, }, ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "data": Object { "expected": Object { "address": "85.193.201.85", "hostname": "peebles.example.com", }, "got": Object { "address": null, "hostname": "peebles.example.com", }, }, "message": "Failed with error 'hostname peebles.example.com not found'", "severity": "fail", }, "fullname": "", "id": 1, "name": "Resolve address", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP yamlish.tap strict > stringified 1`] = ` TAP 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: null expected: hostname: peebles.example.com address: 85.193.201.85 ... 1..1 # failed 1 test ` exports[`test/parser-stringify.js TAP yamlish.tap strict > stringified flat 1`] = ` TAP 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: null expected: hostname: peebles.example.com address: 85.193.201.85 ... 1..1 # failed 1 test ` exports[`test/parser-stringify.js TAP yamlish.tap strictBail > parsed 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "diag": Object { "data": Object { "expected": Object { "address": "85.193.201.85", "hostname": "peebles.example.com", }, "got": Object { "address": null, "hostname": "peebles.example.com", }, }, "message": "Failed with error 'hostname peebles.example.com not found'", "severity": "fail", }, "fullname": "", "id": 1, "name": "Resolve address", "ok": false, }, ], Array [ "bailout", "Resolve address", ], Array [ "complete", FinalResults { "bailout": "Resolve address", "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "data": Object { "expected": Object { "address": "85.193.201.85", "hostname": "peebles.example.com", }, "got": Object { "address": null, "hostname": "peebles.example.com", }, }, "message": "Failed with error 'hostname peebles.example.com not found'", "severity": "fail", }, "fullname": "", "id": 1, "name": "Resolve address", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP yamlish.tap strictBail > stringified 1`] = ` TAP 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: null expected: hostname: peebles.example.com address: 85.193.201.85 ... Bail out! Resolve address ` exports[`test/parser-stringify.js TAP yamlish.tap strictBail > stringified flat 1`] = ` TAP 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: null expected: hostname: peebles.example.com address: 85.193.201.85 ... Bail out! Resolve address ` tap-parser-11.0.2/tap-snapshots/test/parser-stringify/zero_valid.tap.test.cjs000066400000000000000000000177041433324523500273610ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser-stringify.js TAP zero_valid.tap bail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "One", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Two", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "name": "Three", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 0, "name": "Four", "ok": true, "plan": Object { "end": 5, "start": 1, }, "tapError": "id less than plan start", }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "Five", "ok": true, }, ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 0, "name": "Four", "ok": true, "plan": Object { "end": 5, "start": 1, }, "tapError": "id less than plan start", }, ], "ok": false, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP zero_valid.tap bail > stringified 1`] = ` 1..5 ok 1 - One ok 2 - Two ok - Three ok 0 - Four ok 5 - Five # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP zero_valid.tap bail > stringified flat 1`] = ` 1..5 ok 1 - One ok 2 - Two ok - Three ok 0 - Four ok 5 - Five # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP zero_valid.tap default settings > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "One", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Two", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "name": "Three", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 0, "name": "Four", "ok": true, "plan": Object { "end": 5, "start": 1, }, "tapError": "id less than plan start", }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "Five", "ok": true, }, ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 0, "name": "Four", "ok": true, "plan": Object { "end": 5, "start": 1, }, "tapError": "id less than plan start", }, ], "ok": false, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP zero_valid.tap default settings > stringified 1`] = ` 1..5 ok 1 - One ok 2 - Two ok - Three ok 0 - Four ok 5 - Five # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP zero_valid.tap default settings > stringified flat 1`] = ` 1..5 ok 1 - One ok 2 - Two ok - Three ok 0 - Four ok 5 - Five # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP zero_valid.tap strict > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "One", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Two", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "name": "Three", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 0, "name": "Four", "ok": true, "plan": Object { "end": 5, "start": 1, }, "tapError": "id less than plan start", }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "Five", "ok": true, }, ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 0, "name": "Four", "ok": true, "plan": Object { "end": 5, "start": 1, }, "tapError": "id less than plan start", }, ], "ok": false, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP zero_valid.tap strict > stringified 1`] = ` 1..5 ok 1 - One ok 2 - Two ok - Three ok 0 - Four ok 5 - Five # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP zero_valid.tap strict > stringified flat 1`] = ` 1..5 ok 1 - One ok 2 - Two ok - Three ok 0 - Four ok 5 - Five # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP zero_valid.tap strictBail > parsed 1`] = ` Array [ Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "One", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Two", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "name": "Three", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 0, "name": "Four", "ok": true, "plan": Object { "end": 5, "start": 1, }, "tapError": "id less than plan start", }, ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "Five", "ok": true, }, ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 0, "name": "Four", "ok": true, "plan": Object { "end": 5, "start": 1, }, "tapError": "id less than plan start", }, ], "ok": false, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser-stringify.js TAP zero_valid.tap strictBail > stringified 1`] = ` 1..5 ok 1 - One ok 2 - Two ok - Three ok 0 - Four ok 5 - Five # failed 1 of 5 tests ` exports[`test/parser-stringify.js TAP zero_valid.tap strictBail > stringified flat 1`] = ` 1..5 ok 1 - One ok 2 - Two ok - Three ok 0 - Four ok 5 - Five # failed 1 of 5 tests ` tap-parser-11.0.2/tap-snapshots/test/parser/000077500000000000000000000000001433324523500207345ustar00rootroot00000000000000tap-parser-11.0.2/tap-snapshots/test/parser/bail-escaped.tap.test.cjs000066400000000000000000000050451433324523500255130ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP bail-escaped.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "Bail out! hash # slash \\\\ noesc hash # noesc slash \\\\ done\\n", ], Array [ "bailout", "hash # slash \\\\ noesc hash # noesc slash \\\\ done", ], Array [ "complete", FinalResults { "bailout": "hash # slash \\\\ noesc hash # noesc slash \\\\ done", "count": 1, "fail": 0, "failures": Array [], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP bail-escaped.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "Bail out! hash # slash \\\\ noesc hash # noesc slash \\\\ done\\n", ], Array [ "bailout", "hash # slash \\\\ noesc hash # noesc slash \\\\ done", ], Array [ "complete", FinalResults { "bailout": "hash # slash \\\\ noesc hash # noesc slash \\\\ done", "count": 1, "fail": 0, "failures": Array [], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/bailout-no-raison.tap.test.cjs000066400000000000000000000072571433324523500265530ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP bailout-no-raison.tap > output bail=false 1`] = ` Array [ Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "line", "Bail out!\\n", ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 3, "fail": 0, "failures": Array [], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP bailout-no-raison.tap > output bail=true 1`] = ` Array [ Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "line", "Bail out!\\n", ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 3, "fail": 0, "failures": Array [], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/bailout.tap.test.cjs000066400000000000000000000074051433324523500246430ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP bailout.tap > output bail=false 1`] = ` Array [ Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "line", "Bail out! GERONIMMMOOOOOO!!!\\n", ], Array [ "bailout", "GERONIMMMOOOOOO!!!", ], Array [ "complete", FinalResults { "bailout": "GERONIMMMOOOOOO!!!", "count": 3, "fail": 0, "failures": Array [], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP bailout.tap > output bail=true 1`] = ` Array [ Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "line", "Bail out! GERONIMMMOOOOOO!!!\\n", ], Array [ "bailout", "GERONIMMMOOOOOO!!!", ], Array [ "complete", FinalResults { "bailout": "GERONIMMMOOOOOO!!!", "count": 3, "fail": 0, "failures": Array [], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/basic.tap.test.cjs000066400000000000000000000074571433324523500242740ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP basic.tap > output bail=false 1`] = ` Array [ Array [ "line", "1..6\\n", ], Array [ "plan", Object { "end": 6, "start": 1, }, ], Array [ "line", "not ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": false, }, ], Array [ "result", Result { "fullname": "", "ok": false, }, ], Array [ "fail", Result { "fullname": "", "ok": false, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "not ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": false, }, ], Array [ "result", Result { "fullname": "", "ok": false, }, ], Array [ "fail", Result { "fullname": "", "ok": false, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "# test count(5) != plan(6)\\n", ], Array [ "comment", "# test count(5) != plan(6)\\n", ], Array [ "line", "# failed 2 of 5 tests\\n", ], Array [ "comment", "# failed 2 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 2, "failures": Array [ Result { "fullname": "", "ok": false, }, Result { "fullname": "", "ok": false, }, ], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 6, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP basic.tap > output bail=true 1`] = ` Array [ Array [ "line", "1..6\\n", ], Array [ "plan", Object { "end": 6, "start": 1, }, ], Array [ "line", "not ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": false, }, ], Array [ "result", Result { "fullname": "", "ok": false, }, ], Array [ "fail", Result { "fullname": "", "ok": false, }, ], Array [ "line", "Bail out!\\n", ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 6, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/big-last.tap.test.cjs000066400000000000000000000146571433324523500247150ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP big-last.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "line", "ok 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "line", "ok 6\\n", ], Array [ "assert", Result { "fullname": "", "id": 6, "ok": true, "plan": Object { "end": 5, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 6, "ok": true, "plan": Object { "end": 5, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 6, "ok": true, "plan": Object { "end": 5, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "# failed 1 of 5 tests\\n", ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 6, "ok": true, "plan": Object { "end": 5, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP big-last.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "line", "ok 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "line", "ok 6\\n", ], Array [ "assert", Result { "fullname": "", "id": 6, "ok": true, "plan": Object { "end": 5, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 6, "ok": true, "plan": Object { "end": 5, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 6, "ok": true, "plan": Object { "end": 5, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "# failed 1 of 5 tests\\n", ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 6, "ok": true, "plan": Object { "end": 5, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/bignum.tap.test.cjs000066400000000000000000000161431433324523500244640ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP bignum.tap > output bail=false 1`] = ` Array [ Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 136211425\\n", ], Array [ "assert", Result { "fullname": "", "id": 136211425, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 136211425, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 136211425, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "ok 136211426\\n", ], Array [ "assert", Result { "fullname": "", "id": 136211426, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 136211426, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 136211426, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "# test count(4) != plan(2)\\n", ], Array [ "comment", "# test count(4) != plan(2)\\n", ], Array [ "line", "# failed 2 of 4 tests\\n", ], Array [ "comment", "# failed 2 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 2, "failures": Array [ Result { "fullname": "", "id": 136211425, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 136211426, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP bignum.tap > output bail=true 1`] = ` Array [ Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 136211425\\n", ], Array [ "assert", Result { "fullname": "", "id": 136211425, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 136211425, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 136211425, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "ok 136211426\\n", ], Array [ "assert", Result { "fullname": "", "id": 136211426, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 136211426, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 136211426, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "# test count(4) != plan(2)\\n", ], Array [ "comment", "# test count(4) != plan(2)\\n", ], Array [ "line", "# failed 2 of 4 tests\\n", ], Array [ "comment", "# failed 2 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 2, "failures": Array [ Result { "fullname": "", "id": 136211425, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 136211426, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/bignum_many.tap.test.cjs000066400000000000000000000501471433324523500255120ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP bignum_many.tap > output bail=false 1`] = ` Array [ Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 99997\\n", ], Array [ "assert", Result { "fullname": "", "id": 99997, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 99997, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 99997, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "ok 99998\\n", ], Array [ "assert", Result { "fullname": "", "id": 99998, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 99998, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 99998, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "ok 99999\\n", ], Array [ "assert", Result { "fullname": "", "id": 99999, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 99999, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 99999, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "ok 100000\\n", ], Array [ "assert", Result { "fullname": "", "id": 100000, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 100000, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 100000, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "ok 100001\\n", ], Array [ "assert", Result { "fullname": "", "id": 100001, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 100001, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 100001, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "ok 100002\\n", ], Array [ "assert", Result { "fullname": "", "id": 100002, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 100002, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 100002, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "ok 100003\\n", ], Array [ "assert", Result { "fullname": "", "id": 100003, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 100003, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 100003, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "ok 100004\\n", ], Array [ "assert", Result { "fullname": "", "id": 100004, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 100004, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 100004, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "ok 100005\\n", ], Array [ "assert", Result { "fullname": "", "id": 100005, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 100005, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 100005, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "# test count(11) != plan(2)\\n", ], Array [ "comment", "# test count(11) != plan(2)\\n", ], Array [ "line", "# failed 9 of 11 tests\\n", ], Array [ "comment", "# failed 9 of 11 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 11, "fail": 9, "failures": Array [ Result { "fullname": "", "id": 99997, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 99998, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 99999, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 100000, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 100001, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 100002, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 100003, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 100004, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 100005, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 11, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP bignum_many.tap > output bail=true 1`] = ` Array [ Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 99997\\n", ], Array [ "assert", Result { "fullname": "", "id": 99997, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 99997, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 99997, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "ok 99998\\n", ], Array [ "assert", Result { "fullname": "", "id": 99998, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 99998, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 99998, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "ok 99999\\n", ], Array [ "assert", Result { "fullname": "", "id": 99999, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 99999, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 99999, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "ok 100000\\n", ], Array [ "assert", Result { "fullname": "", "id": 100000, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 100000, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 100000, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "ok 100001\\n", ], Array [ "assert", Result { "fullname": "", "id": 100001, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 100001, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 100001, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "ok 100002\\n", ], Array [ "assert", Result { "fullname": "", "id": 100002, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 100002, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 100002, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "ok 100003\\n", ], Array [ "assert", Result { "fullname": "", "id": 100003, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 100003, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 100003, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "ok 100004\\n", ], Array [ "assert", Result { "fullname": "", "id": 100004, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 100004, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 100004, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "ok 100005\\n", ], Array [ "assert", Result { "fullname": "", "id": 100005, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 100005, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 100005, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "# test count(11) != plan(2)\\n", ], Array [ "comment", "# test count(11) != plan(2)\\n", ], Array [ "line", "# failed 9 of 11 tests\\n", ], Array [ "comment", "# failed 9 of 11 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 11, "fail": 9, "failures": Array [ Result { "fullname": "", "id": 99997, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 99998, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 99999, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 100000, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 100001, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 100002, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 100003, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 100004, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 100005, "ok": true, "plan": Object { "end": 2, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 11, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/broken-yamlish-looks-like-child.tap.test.cjs000066400000000000000000000122611433324523500312540ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP broken-yamlish-looks-like-child.tap > output bail=false 1`] = ` Array [ Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "line", "ok 1 - callback happened\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "callback happened", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "callback happened", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "callback happened", "ok": true, }, ], Array [ "line", " ok:\\n", ], Array [ "extra", " ok:\\n", ], Array [ "line", " - I wished for a bailout!\\n", ], Array [ "extra", " - I wished for a bailout!\\n", ], Array [ "line", " - lots of other shapes here can look like valid tap\\n", ], Array [ "extra", " - lots of other shapes here can look like valid tap\\n", ], Array [ "line", " ...\\n", ], Array [ "extra", " ...\\n", ], Array [ "line", "ok 2 - child test\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "child test", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "child test", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "child test", "ok": true, }, ], Array [ "line", "ok 3 - should come last\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should come last", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "should come last", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "should come last", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP broken-yamlish-looks-like-child.tap > output bail=true 1`] = ` Array [ Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "line", "ok 1 - callback happened\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "callback happened", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "callback happened", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "callback happened", "ok": true, }, ], Array [ "line", " ok:\\n", ], Array [ "extra", " ok:\\n", ], Array [ "line", " - I wished for a bailout!\\n", ], Array [ "extra", " - I wished for a bailout!\\n", ], Array [ "line", " - lots of other shapes here can look like valid tap\\n", ], Array [ "extra", " - lots of other shapes here can look like valid tap\\n", ], Array [ "line", " ...\\n", ], Array [ "extra", " ...\\n", ], Array [ "line", "ok 2 - child test\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "child test", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "child test", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "child test", "ok": true, }, ], Array [ "line", "ok 3 - should come last\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should come last", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "should come last", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "should come last", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/broken-yamlish-with-nonbroken-yamlish.tap.test.cjs000066400000000000000000000146471433324523500325440ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP broken-yamlish-with-nonbroken-yamlish.tap > output bail=false 1`] = ` Array [ Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "line", "ok 1 - callback happened\\n", ], Array [ "line", " # comment here too, why not?\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " # also this is a comment\\n", ], Array [ "line", " ok: this time I mean it\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "ok": "this time I mean it", }, "fullname": "", "id": 1, "name": "callback happened", "ok": true, }, ], Array [ "result", Result { "diag": Object { "ok": "this time I mean it", }, "fullname": "", "id": 1, "name": "callback happened", "ok": true, }, ], Array [ "pass", Result { "diag": Object { "ok": "this time I mean it", }, "fullname": "", "id": 1, "name": "callback happened", "ok": true, }, ], Array [ "line", " ok:\\n", ], Array [ "extra", " ok:\\n", ], Array [ "line", " # comment here too, why not?\\n", ], Array [ "comment", " # comment here too, why not?\\n", ], Array [ "line", " - I wished for a bailout!\\n", ], Array [ "extra", " - I wished for a bailout!\\n", ], Array [ "line", " - lots of other shapes here can look like valid tap\\n", ], Array [ "extra", " - lots of other shapes here can look like valid tap\\n", ], Array [ "line", " ...\\n", ], Array [ "extra", " ...\\n", ], Array [ "line", "ok 2 - child test\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "child test", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "child test", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "child test", "ok": true, }, ], Array [ "line", "ok 3 - should come last\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should come last", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "should come last", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "should come last", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP broken-yamlish-with-nonbroken-yamlish.tap > output bail=true 1`] = ` Array [ Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "line", "ok 1 - callback happened\\n", ], Array [ "line", " # comment here too, why not?\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " # also this is a comment\\n", ], Array [ "line", " ok: this time I mean it\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "ok": "this time I mean it", }, "fullname": "", "id": 1, "name": "callback happened", "ok": true, }, ], Array [ "result", Result { "diag": Object { "ok": "this time I mean it", }, "fullname": "", "id": 1, "name": "callback happened", "ok": true, }, ], Array [ "pass", Result { "diag": Object { "ok": "this time I mean it", }, "fullname": "", "id": 1, "name": "callback happened", "ok": true, }, ], Array [ "line", " ok:\\n", ], Array [ "extra", " ok:\\n", ], Array [ "line", " # comment here too, why not?\\n", ], Array [ "comment", " # comment here too, why not?\\n", ], Array [ "line", " - I wished for a bailout!\\n", ], Array [ "extra", " - I wished for a bailout!\\n", ], Array [ "line", " - lots of other shapes here can look like valid tap\\n", ], Array [ "extra", " - lots of other shapes here can look like valid tap\\n", ], Array [ "line", " ...\\n", ], Array [ "extra", " ...\\n", ], Array [ "line", "ok 2 - child test\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "child test", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "child test", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "child test", "ok": true, }, ], Array [ "line", "ok 3 - should come last\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should come last", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "should come last", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "should come last", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/buffered-nested-failure-top-ok-diag.tap.test.cjs000066400000000000000000000146331433324523500320050ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP buffered-nested-failure-top-ok-diag.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "ok 1 - my kids are fine\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " some: diag\\n", ], Array [ "line", " ...\\n", ], Array [ "line", "{\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: my kids are fine\\n", ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "not ok - no they aren't\\n", ], Array [ "assert", Result { "fullname": "my kids are fine", "name": "no they aren't", "ok": false, }, ], Array [ "line", "# failed 1 test\\n", ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "my kids are fine", "name": "no they aren't", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " 1..1\\n", ], Array [ "line", " not ok - no they aren't\\n", ], Array [ "result", Result { "fullname": "my kids are fine", "name": "no they aren't", "ok": false, }, ], Array [ "fail", Result { "fullname": "my kids are fine", "name": "no they aren't", "ok": false, }, ], Array [ "line", " # failed 1 test\\n", ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "diag": Object { "some": "diag", }, "fullname": "", "id": 1, "name": "my kids are fine", "ok": true, }, ], Array [ "result", Result { "buffered": true, "diag": Object { "some": "diag", }, "fullname": "", "id": 1, "name": "my kids are fine", "ok": true, }, ], Array [ "pass", Result { "buffered": true, "diag": Object { "some": "diag", }, "fullname": "", "id": 1, "name": "my kids are fine", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP buffered-nested-failure-top-ok-diag.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "ok 1 - my kids are fine\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " some: diag\\n", ], Array [ "line", " ...\\n", ], Array [ "line", "{\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: my kids are fine\\n", ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "not ok - no they aren't\\n", ], Array [ "assert", Result { "fullname": "my kids are fine", "name": "no they aren't", "ok": false, }, ], Array [ "line", "Bail out! no they aren't\\n", ], Array [ "bailout", "no they aren't", ], Array [ "complete", FinalResults { "bailout": "no they aren't", "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "my kids are fine", "name": "no they aren't", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " 1..1\\n", ], Array [ "line", " not ok - no they aren't\\n", ], Array [ "result", Result { "fullname": "my kids are fine", "name": "no they aren't", "ok": false, }, ], Array [ "fail", Result { "fullname": "my kids are fine", "name": "no they aren't", "ok": false, }, ], Array [ "line", " Bail out! no they aren't\\n", ], Array [ "bailout", "no they aren't", ], Array [ "line", "}\\n", ], Array [ "line", "Bail out! no they aren't\\n", ], Array [ "complete", FinalResults { "bailout": "no they aren't", "count": 0, "fail": 0, "failures": Array [], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/buffered-nested-failure-top-ok-no-msg.tap.test.cjs000066400000000000000000000127401433324523500322760ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP buffered-nested-failure-top-ok-no-msg.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "ok 1 - my kids are fine {\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: my kids are fine\\n", ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "not ok\\n", ], Array [ "assert", Result { "fullname": "my kids are fine", "ok": false, }, ], Array [ "line", "# failed 1 test\\n", ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "my kids are fine", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " 1..1\\n", ], Array [ "line", " not ok\\n", ], Array [ "result", Result { "fullname": "my kids are fine", "ok": false, }, ], Array [ "fail", Result { "fullname": "my kids are fine", "ok": false, }, ], Array [ "line", " # failed 1 test\\n", ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "my kids are fine", "ok": true, }, ], Array [ "result", Result { "buffered": true, "fullname": "", "id": 1, "name": "my kids are fine", "ok": true, }, ], Array [ "pass", Result { "buffered": true, "fullname": "", "id": 1, "name": "my kids are fine", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP buffered-nested-failure-top-ok-no-msg.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "ok 1 - my kids are fine {\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: my kids are fine\\n", ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "not ok\\n", ], Array [ "assert", Result { "fullname": "my kids are fine", "ok": false, }, ], Array [ "line", "Bail out!\\n", ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "my kids are fine", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " 1..1\\n", ], Array [ "line", " not ok\\n", ], Array [ "result", Result { "fullname": "my kids are fine", "ok": false, }, ], Array [ "fail", Result { "fullname": "my kids are fine", "ok": false, }, ], Array [ "line", " Bail out!\\n", ], Array [ "bailout", "", ], Array [ "line", "}\\n", ], Array [ "line", "Bail out!\\n", ], Array [ "complete", FinalResults { "bailout": true, "count": 0, "fail": 0, "failures": Array [], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/buffered-nested-failure-top-ok.tap.test.cjs000066400000000000000000000136171433324523500311040ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP buffered-nested-failure-top-ok.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "ok 1 - my kids are fine {\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: my kids are fine\\n", ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "not ok - no they aren't\\n", ], Array [ "assert", Result { "fullname": "my kids are fine", "name": "no they aren't", "ok": false, }, ], Array [ "line", "# failed 1 test\\n", ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "my kids are fine", "name": "no they aren't", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " 1..1\\n", ], Array [ "line", " not ok - no they aren't\\n", ], Array [ "result", Result { "fullname": "my kids are fine", "name": "no they aren't", "ok": false, }, ], Array [ "fail", Result { "fullname": "my kids are fine", "name": "no they aren't", "ok": false, }, ], Array [ "line", " # failed 1 test\\n", ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "my kids are fine", "ok": true, }, ], Array [ "result", Result { "buffered": true, "fullname": "", "id": 1, "name": "my kids are fine", "ok": true, }, ], Array [ "pass", Result { "buffered": true, "fullname": "", "id": 1, "name": "my kids are fine", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP buffered-nested-failure-top-ok.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "ok 1 - my kids are fine {\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: my kids are fine\\n", ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "not ok - no they aren't\\n", ], Array [ "assert", Result { "fullname": "my kids are fine", "name": "no they aren't", "ok": false, }, ], Array [ "line", "Bail out! no they aren't\\n", ], Array [ "bailout", "no they aren't", ], Array [ "complete", FinalResults { "bailout": "no they aren't", "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "my kids are fine", "name": "no they aren't", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " 1..1\\n", ], Array [ "line", " not ok - no they aren't\\n", ], Array [ "result", Result { "fullname": "my kids are fine", "name": "no they aren't", "ok": false, }, ], Array [ "fail", Result { "fullname": "my kids are fine", "name": "no they aren't", "ok": false, }, ], Array [ "line", " Bail out! no they aren't\\n", ], Array [ "bailout", "no they aren't", ], Array [ "line", "}\\n", ], Array [ "line", "Bail out! no they aren't\\n", ], Array [ "complete", FinalResults { "bailout": "no they aren't", "count": 0, "fail": 0, "failures": Array [], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/buffered-nested-ok-top-failure-diag.tap.test.cjs000066400000000000000000000162271433324523500320060ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP buffered-nested-ok-top-failure-diag.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "not ok 1 - please sir, my son, he is sick\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " some: diag\\n", ], Array [ "line", " ...\\n", ], Array [ "line", "{\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: please sir, my son, he is sick\\n", ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "ok - i got better\\n", ], Array [ "assert", Result { "fullname": "please sir, my son, he is sick", "name": "i got better", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " 1..1\\n", ], Array [ "line", " ok - i got better\\n", ], Array [ "result", Result { "fullname": "please sir, my son, he is sick", "name": "i got better", "ok": true, }, ], Array [ "pass", Result { "fullname": "please sir, my son, he is sick", "name": "i got better", "ok": true, }, ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "diag": Object { "some": "diag", }, "fullname": "", "id": 1, "name": "please sir, my son, he is sick", "ok": false, }, ], Array [ "result", Result { "buffered": true, "diag": Object { "some": "diag", }, "fullname": "", "id": 1, "name": "please sir, my son, he is sick", "ok": false, }, ], Array [ "fail", Result { "buffered": true, "diag": Object { "some": "diag", }, "fullname": "", "id": 1, "name": "please sir, my son, he is sick", "ok": false, }, ], Array [ "line", "# failed 1 test\\n", ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "buffered": true, "diag": Object { "some": "diag", }, "fullname": "", "id": 1, "name": "please sir, my son, he is sick", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP buffered-nested-ok-top-failure-diag.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "not ok 1 - please sir, my son, he is sick\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " some: diag\\n", ], Array [ "line", " ...\\n", ], Array [ "line", "{\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: please sir, my son, he is sick\\n", ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "ok - i got better\\n", ], Array [ "assert", Result { "fullname": "please sir, my son, he is sick", "name": "i got better", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " 1..1\\n", ], Array [ "line", " ok - i got better\\n", ], Array [ "result", Result { "fullname": "please sir, my son, he is sick", "name": "i got better", "ok": true, }, ], Array [ "pass", Result { "fullname": "please sir, my son, he is sick", "name": "i got better", "ok": true, }, ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "diag": Object { "some": "diag", }, "fullname": "", "id": 1, "name": "please sir, my son, he is sick", "ok": false, }, ], Array [ "result", Result { "buffered": true, "diag": Object { "some": "diag", }, "fullname": "", "id": 1, "name": "please sir, my son, he is sick", "ok": false, }, ], Array [ "fail", Result { "buffered": true, "diag": Object { "some": "diag", }, "fullname": "", "id": 1, "name": "please sir, my son, he is sick", "ok": false, }, ], Array [ "line", "Bail out! please sir, my son, he is sick\\n", ], Array [ "bailout", "please sir, my son, he is sick", ], Array [ "complete", FinalResults { "bailout": "please sir, my son, he is sick", "count": 1, "fail": 1, "failures": Array [ Result { "buffered": true, "diag": Object { "some": "diag", }, "fullname": "", "id": 1, "name": "please sir, my son, he is sick", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/buffered-nested-ok-top-failure.tap.test.cjs000066400000000000000000000145331433324523500311020ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP buffered-nested-ok-top-failure.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "not ok 1 - please sir, my son, he is sick {\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: please sir, my son, he is sick\\n", ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "ok - i got better\\n", ], Array [ "assert", Result { "fullname": "please sir, my son, he is sick", "name": "i got better", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " 1..1\\n", ], Array [ "line", " ok - i got better\\n", ], Array [ "result", Result { "fullname": "please sir, my son, he is sick", "name": "i got better", "ok": true, }, ], Array [ "pass", Result { "fullname": "please sir, my son, he is sick", "name": "i got better", "ok": true, }, ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "please sir, my son, he is sick", "ok": false, }, ], Array [ "result", Result { "buffered": true, "fullname": "", "id": 1, "name": "please sir, my son, he is sick", "ok": false, }, ], Array [ "fail", Result { "buffered": true, "fullname": "", "id": 1, "name": "please sir, my son, he is sick", "ok": false, }, ], Array [ "line", "# failed 1 test\\n", ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "buffered": true, "fullname": "", "id": 1, "name": "please sir, my son, he is sick", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP buffered-nested-ok-top-failure.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "not ok 1 - please sir, my son, he is sick {\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: please sir, my son, he is sick\\n", ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "ok - i got better\\n", ], Array [ "assert", Result { "fullname": "please sir, my son, he is sick", "name": "i got better", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " 1..1\\n", ], Array [ "line", " ok - i got better\\n", ], Array [ "result", Result { "fullname": "please sir, my son, he is sick", "name": "i got better", "ok": true, }, ], Array [ "pass", Result { "fullname": "please sir, my son, he is sick", "name": "i got better", "ok": true, }, ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "please sir, my son, he is sick", "ok": false, }, ], Array [ "result", Result { "buffered": true, "fullname": "", "id": 1, "name": "please sir, my son, he is sick", "ok": false, }, ], Array [ "fail", Result { "buffered": true, "fullname": "", "id": 1, "name": "please sir, my son, he is sick", "ok": false, }, ], Array [ "line", "Bail out! please sir, my son, he is sick\\n", ], Array [ "bailout", "please sir, my son, he is sick", ], Array [ "complete", FinalResults { "bailout": "please sir, my son, he is sick", "count": 1, "fail": 1, "failures": Array [ Result { "buffered": true, "fullname": "", "id": 1, "name": "please sir, my son, he is sick", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/buffered-with-diag-not-ok.tap.test.cjs000066400000000000000000000144051433324523500300440ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP buffered-with-diag-not-ok.tap > output bail=false 1`] = ` Array [ Array [ "line", "not ok 1 - child\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " some: diagnostics\\n", ], Array [ "line", " ...\\n", ], Array [ "line", "{\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: child\\n", ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "child", "id": 1, "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1\\n", ], Array [ "result", Result { "fullname": "child", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "child", "id": 1, "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "diag": Object { "some": "diagnostics", }, "fullname": "", "id": 1, "name": "child", "ok": false, }, ], Array [ "result", Result { "buffered": true, "diag": Object { "some": "diagnostics", }, "fullname": "", "id": 1, "name": "child", "ok": false, }, ], Array [ "fail", Result { "buffered": true, "diag": Object { "some": "diagnostics", }, "fullname": "", "id": 1, "name": "child", "ok": false, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "# failed 1 test\\n", ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "buffered": true, "diag": Object { "some": "diagnostics", }, "fullname": "", "id": 1, "name": "child", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP buffered-with-diag-not-ok.tap > output bail=true 1`] = ` Array [ Array [ "line", "not ok 1 - child\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " some: diagnostics\\n", ], Array [ "line", " ...\\n", ], Array [ "line", "{\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: child\\n", ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "child", "id": 1, "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1\\n", ], Array [ "result", Result { "fullname": "child", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "child", "id": 1, "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "diag": Object { "some": "diagnostics", }, "fullname": "", "id": 1, "name": "child", "ok": false, }, ], Array [ "result", Result { "buffered": true, "diag": Object { "some": "diagnostics", }, "fullname": "", "id": 1, "name": "child", "ok": false, }, ], Array [ "fail", Result { "buffered": true, "diag": Object { "some": "diagnostics", }, "fullname": "", "id": 1, "name": "child", "ok": false, }, ], Array [ "line", "Bail out! child\\n", ], Array [ "bailout", "child", ], Array [ "complete", FinalResults { "bailout": "child", "count": 1, "fail": 1, "failures": Array [ Result { "buffered": true, "diag": Object { "some": "diagnostics", }, "fullname": "", "id": 1, "name": "child", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/buffered-with-diag-ok.tap.test.cjs000066400000000000000000000115551433324523500272510ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP buffered-with-diag-ok.tap > output bail=false 1`] = ` Array [ Array [ "line", "ok 1 - child\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " some: diagnostics\\n", ], Array [ "line", " ...\\n", ], Array [ "line", "{\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: child\\n", ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "child", "id": 1, "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1\\n", ], Array [ "result", Result { "fullname": "child", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "child", "id": 1, "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "diag": Object { "some": "diagnostics", }, "fullname": "", "id": 1, "name": "child", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP buffered-with-diag-ok.tap > output bail=true 1`] = ` Array [ Array [ "line", "ok 1 - child\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " some: diagnostics\\n", ], Array [ "line", " ...\\n", ], Array [ "line", "{\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: child\\n", ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "child", "id": 1, "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1\\n", ], Array [ "result", Result { "fullname": "child", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "child", "id": 1, "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "diag": Object { "some": "diagnostics", }, "fullname": "", "id": 1, "name": "child", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/child-after-failure.tap.test.cjs000066400000000000000000000076021433324523500270120ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP child-after-failure.tap > output bail=false 1`] = ` Array [ Array [ "line", "not ok - 1\\n", ], Array [ "assert", Result { "fullname": "", "name": "1", "ok": false, }, ], Array [ "result", Result { "fullname": "", "name": "1", "ok": false, }, ], Array [ "fail", Result { "fullname": "", "name": "1", "ok": false, }, ], Array [ "line", "# Subtest: child\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: child\\n", ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "child", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok\\n", ], Array [ "result", Result { "fullname": "child", "ok": true, }, ], Array [ "pass", Result { "fullname": "child", "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", "ok 2 - child\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "child", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "# failed 1 of 2 tests\\n", ], Array [ "comment", "# failed 1 of 2 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 1, "failures": Array [ Result { "fullname": "", "name": "1", "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP child-after-failure.tap > output bail=true 1`] = ` Array [ Array [ "line", "not ok - 1\\n", ], Array [ "assert", Result { "fullname": "", "name": "1", "ok": false, }, ], Array [ "result", Result { "fullname": "", "name": "1", "ok": false, }, ], Array [ "fail", Result { "fullname": "", "name": "1", "ok": false, }, ], Array [ "line", "Bail out! 1\\n", ], Array [ "bailout", "1", ], Array [ "complete", FinalResults { "bailout": "1", "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "", "name": "1", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/child-extra.tap.test.cjs000066400000000000000000000167471433324523500254210ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP child-extra.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# Subtest: test/debug-test.js\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: test/debug-test.js\\n", ], Array [ "line", "# debug test\\n", ], Array [ "comment", "# debug test\\n", ], Array [ "line", "ok 1 Should output debugger message\\n", ], Array [ "assert", Result { "fullname": "test/debug-test.js", "id": 1, "name": "Should output debugger message", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "# tests 1\\n", ], Array [ "comment", "# tests 1\\n", ], Array [ "line", "# pass 1\\n", ], Array [ "comment", "# pass 1\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 537.383, "todo": 0, }, ], ], ], Array [ "line", "debug test\\n", ], Array [ "extra", "debug test\\n", ], Array [ "line", "t.plan=1\\n", ], Array [ "extra", "t.plan=1\\n", ], Array [ "line", "'Debugger listening on port 5858\\\\n'\\n", ], Array [ "extra", "'Debugger listening on port 5858\\\\n'\\n", ], Array [ "line", " # debug test\\n", ], Array [ "line", " ok 1 Should output debugger message\\n", ], Array [ "result", Result { "fullname": "test/debug-test.js", "id": 1, "name": "Should output debugger message", "ok": true, }, ], Array [ "pass", Result { "fullname": "test/debug-test.js", "id": 1, "name": "Should output debugger message", "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", " # tests 1\\n", ], Array [ "line", " # pass 1\\n", ], Array [ "line", " # ok\\n", ], Array [ "line", "ok 1 - test/debug-test.js # time=537.383ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "test/debug-test.js", "ok": true, "time": 537.383, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "# time=543.783ms\\n", ], Array [ "comment", "# time=543.783ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 543.783, "todo": 0, }, ], ] ` exports[`test/parser.js TAP child-extra.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# Subtest: test/debug-test.js\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: test/debug-test.js\\n", ], Array [ "line", "# debug test\\n", ], Array [ "comment", "# debug test\\n", ], Array [ "line", "ok 1 Should output debugger message\\n", ], Array [ "assert", Result { "fullname": "test/debug-test.js", "id": 1, "name": "Should output debugger message", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "# tests 1\\n", ], Array [ "comment", "# tests 1\\n", ], Array [ "line", "# pass 1\\n", ], Array [ "comment", "# pass 1\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 537.383, "todo": 0, }, ], ], ], Array [ "line", "debug test\\n", ], Array [ "extra", "debug test\\n", ], Array [ "line", "t.plan=1\\n", ], Array [ "extra", "t.plan=1\\n", ], Array [ "line", "'Debugger listening on port 5858\\\\n'\\n", ], Array [ "extra", "'Debugger listening on port 5858\\\\n'\\n", ], Array [ "line", " # debug test\\n", ], Array [ "line", " ok 1 Should output debugger message\\n", ], Array [ "result", Result { "fullname": "test/debug-test.js", "id": 1, "name": "Should output debugger message", "ok": true, }, ], Array [ "pass", Result { "fullname": "test/debug-test.js", "id": 1, "name": "Should output debugger message", "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", " # tests 1\\n", ], Array [ "line", " # pass 1\\n", ], Array [ "line", " # ok\\n", ], Array [ "line", "ok 1 - test/debug-test.js # time=537.383ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "test/debug-test.js", "ok": true, "time": 537.383, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "# time=543.783ms\\n", ], Array [ "comment", "# time=543.783ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 543.783, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/combined.tap.test.cjs000066400000000000000000000205631433324523500247640ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP combined.tap > output bail=false 1`] = ` Array [ Array [ "line", "1..10\\n", ], Array [ "plan", Object { "end": 10, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2 basset hounds got long ears\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "basset hounds got long ears", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "basset hounds got long ears", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "basset hounds got long ears", "ok": true, }, ], Array [ "line", "not ok 3 all hell broke loose\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "all hell broke loose", "ok": false, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "all hell broke loose", "ok": false, }, ], Array [ "fail", Result { "fullname": "", "id": 3, "name": "all hell broke loose", "ok": false, }, ], Array [ "line", "not ok 4 # TODO if I heard a voice from heaven ...\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "", "ok": false, "todo": "if I heard a voice from heaven ...", }, ], Array [ "result", Result { "fullname": "", "id": 4, "name": "", "ok": false, "todo": "if I heard a voice from heaven ...", }, ], Array [ "todo", Result { "fullname": "", "id": 4, "name": "", "ok": false, "todo": "if I heard a voice from heaven ...", }, ], Array [ "line", "ok say \\"live without loving\\",\\n", ], Array [ "assert", Result { "fullname": "", "name": "say \\"live without loving\\",", "ok": true, }, ], Array [ "result", Result { "fullname": "", "name": "say \\"live without loving\\",", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "name": "say \\"live without loving\\",", "ok": true, }, ], Array [ "line", "ok 6 I'd beg off.\\n", ], Array [ "assert", Result { "fullname": "", "id": 6, "name": "I'd beg off.", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 6, "name": "I'd beg off.", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 6, "name": "I'd beg off.", "ok": true, }, ], Array [ "line", "ok 7 # Skip contract negotiations\\n", ], Array [ "assert", Result { "fullname": "", "id": 7, "name": "", "ok": true, "skip": "contract negotiations", }, ], Array [ "result", Result { "fullname": "", "id": 7, "name": "", "ok": true, "skip": "contract negotiations", }, ], Array [ "skip", Result { "fullname": "", "id": 7, "name": "", "ok": true, "skip": "contract negotiations", }, ], Array [ "line", "ok 8 Girls are such exquisite hell\\n", ], Array [ "assert", Result { "fullname": "", "id": 8, "name": "Girls are such exquisite hell", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 8, "name": "Girls are such exquisite hell", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 8, "name": "Girls are such exquisite hell", "ok": true, }, ], Array [ "line", "ok 9 Elegy 9B # TOdO\\n", ], Array [ "assert", Result { "fullname": "", "id": 9, "name": "Elegy 9B", "ok": true, "todo": true, }, ], Array [ "result", Result { "fullname": "", "id": 9, "name": "Elegy 9B", "ok": true, "todo": true, }, ], Array [ "todo", Result { "fullname": "", "id": 9, "name": "Elegy 9B", "ok": true, "todo": true, }, ], Array [ "line", "not ok 10\\n", ], Array [ "assert", Result { "fullname": "", "id": 10, "ok": false, }, ], Array [ "result", Result { "fullname": "", "id": 10, "ok": false, }, ], Array [ "fail", Result { "fullname": "", "id": 10, "ok": false, }, ], Array [ "line", "# failed 3 of 10 tests\\n", ], Array [ "comment", "# failed 3 of 10 tests\\n", ], Array [ "line", "# todo: 2\\n", ], Array [ "comment", "# todo: 2\\n", ], Array [ "line", "# skip: 1\\n", ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 10, "fail": 3, "failures": Array [ Result { "fullname": "", "id": 3, "name": "all hell broke loose", "ok": false, }, Result { "fullname": "", "id": 10, "ok": false, }, ], "ok": false, "pass": 7, "plan": FinalPlan { "comment": "", "end": 10, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 2, }, ], ] ` exports[`test/parser.js TAP combined.tap > output bail=true 1`] = ` Array [ Array [ "line", "1..10\\n", ], Array [ "plan", Object { "end": 10, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2 basset hounds got long ears\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "basset hounds got long ears", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "basset hounds got long ears", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "basset hounds got long ears", "ok": true, }, ], Array [ "line", "not ok 3 all hell broke loose\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "all hell broke loose", "ok": false, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "all hell broke loose", "ok": false, }, ], Array [ "fail", Result { "fullname": "", "id": 3, "name": "all hell broke loose", "ok": false, }, ], Array [ "line", "Bail out! all hell broke loose\\n", ], Array [ "bailout", "all hell broke loose", ], Array [ "complete", FinalResults { "bailout": "all hell broke loose", "count": 3, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 3, "name": "all hell broke loose", "ok": false, }, ], "ok": false, "pass": 2, "plan": FinalPlan { "comment": "", "end": 10, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/combined_compat.tap.test.cjs000066400000000000000000000172771433324523500263370ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP combined_compat.tap > output bail=false 1`] = ` Array [ Array [ "line", "1..10 todo 4 10\\n", ], Array [ "extra", "1..10 todo 4 10\\n", ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2 basset hounds got long ears\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "basset hounds got long ears", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "basset hounds got long ears", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "basset hounds got long ears", "ok": true, }, ], Array [ "line", "not ok 3 all hell broke lose\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "all hell broke lose", "ok": false, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "all hell broke lose", "ok": false, }, ], Array [ "fail", Result { "fullname": "", "id": 3, "name": "all hell broke lose", "ok": false, }, ], Array [ "line", "ok 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "ok 6\\n", ], Array [ "assert", Result { "fullname": "", "id": 6, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 6, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 6, "ok": true, }, ], Array [ "line", "ok 7 # Skip contract negociations\\n", ], Array [ "assert", Result { "fullname": "", "id": 7, "name": "", "ok": true, "skip": "contract negociations", }, ], Array [ "result", Result { "fullname": "", "id": 7, "name": "", "ok": true, "skip": "contract negociations", }, ], Array [ "skip", Result { "fullname": "", "id": 7, "name": "", "ok": true, "skip": "contract negociations", }, ], Array [ "line", "ok 8\\n", ], Array [ "assert", Result { "fullname": "", "id": 8, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 8, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 8, "ok": true, }, ], Array [ "line", "not ok 9\\n", ], Array [ "assert", Result { "fullname": "", "id": 9, "ok": false, }, ], Array [ "result", Result { "fullname": "", "id": 9, "ok": false, }, ], Array [ "fail", Result { "fullname": "", "id": 9, "ok": false, }, ], Array [ "line", "not ok 10\\n", ], Array [ "assert", Result { "fullname": "", "id": 10, "ok": false, }, ], Array [ "result", Result { "fullname": "", "id": 10, "ok": false, }, ], Array [ "fail", Result { "fullname": "", "id": 10, "ok": false, }, ], Array [ "line", "# test count(10) != plan(null)\\n", ], Array [ "comment", "# test count(10) != plan(null)\\n", ], Array [ "line", "# failed 4 of 10 tests\\n", ], Array [ "comment", "# failed 4 of 10 tests\\n", ], Array [ "line", "# skip: 1\\n", ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 10, "fail": 4, "failures": Array [ Result { "fullname": "", "id": 3, "name": "all hell broke lose", "ok": false, }, Result { "fullname": "", "id": 9, "ok": false, }, Result { "fullname": "", "id": 10, "ok": false, }, Object { "tapError": "no plan", }, ], "ok": false, "pass": 7, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 1, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP combined_compat.tap > output bail=true 1`] = ` Array [ Array [ "line", "1..10 todo 4 10\\n", ], Array [ "extra", "1..10 todo 4 10\\n", ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2 basset hounds got long ears\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "basset hounds got long ears", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "basset hounds got long ears", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "basset hounds got long ears", "ok": true, }, ], Array [ "line", "not ok 3 all hell broke lose\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "all hell broke lose", "ok": false, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "all hell broke lose", "ok": false, }, ], Array [ "fail", Result { "fullname": "", "id": 3, "name": "all hell broke lose", "ok": false, }, ], Array [ "line", "Bail out! all hell broke lose\\n", ], Array [ "bailout", "all hell broke lose", ], Array [ "complete", FinalResults { "bailout": "all hell broke lose", "count": 3, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 3, "name": "all hell broke lose", "ok": false, }, ], "ok": false, "pass": 2, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/comment-mid-diag-postplan.tap.test.cjs000066400000000000000000000171401433324523500301520ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP comment-mid-diag-postplan.tap > output bail=false 1`] = ` Array [ Array [ "line", "# before version\\n", ], Array [ "comment", "# before version\\n", ], Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# after version, before result\\n", ], Array [ "comment", "# after version, before result\\n", ], Array [ "line", "not ok 1 - please keep my diags\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " # mid diag indent\\n", ], Array [ "line", " after: comment\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "after": "comment", }, "fullname": "", "id": 1, "name": "please keep my diags", "ok": false, }, ], Array [ "result", Result { "diag": Object { "after": "comment", }, "fullname": "", "id": 1, "name": "please keep my diags", "ok": false, }, ], Array [ "fail", Result { "diag": Object { "after": "comment", }, "fullname": "", "id": 1, "name": "please keep my diags", "ok": false, }, ], Array [ "line", " # before diag\\n", ], Array [ "comment", " # before diag\\n", ], Array [ "line", "# mid diag\\n", ], Array [ "comment", "# mid diag\\n", ], Array [ "line", " # after diag\\n", ], Array [ "comment", " # after diag\\n", ], Array [ "line", "# Subtest: child\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: child\\n", ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "# before 1\\n", ], Array [ "comment", "# before 1\\n", ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "child", "id": 1, "ok": true, }, ], Array [ "line", "# before 2\\n", ], Array [ "comment", "# before 2\\n", ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "child", "id": 2, "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " 1..2\\n", ], Array [ "line", " # before 1\\n", ], Array [ "line", " ok 1\\n", ], Array [ "result", Result { "fullname": "child", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "child", "id": 1, "ok": true, }, ], Array [ "line", " # before 2\\n", ], Array [ "line", " ok 2\\n", ], Array [ "line", "# before 2\\n", ], Array [ "comment", "# before 2\\n", ], Array [ "result", Result { "fullname": "child", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "child", "id": 2, "ok": true, }, ], Array [ "line", "ok 2 - child\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "child", "ok": true, }, ], Array [ "line", "# after 2, brefore plan\\n", ], Array [ "comment", "# after 2, brefore plan\\n", ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "# after plan\\n", ], Array [ "comment", "# after plan\\n", ], Array [ "line", "# failed 1 of 2 tests\\n", ], Array [ "comment", "# failed 1 of 2 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 1, "failures": Array [ Result { "diag": Object { "after": "comment", }, "fullname": "", "id": 1, "name": "please keep my diags", "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP comment-mid-diag-postplan.tap > output bail=true 1`] = ` Array [ Array [ "line", "# before version\\n", ], Array [ "comment", "# before version\\n", ], Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# after version, before result\\n", ], Array [ "comment", "# after version, before result\\n", ], Array [ "line", "not ok 1 - please keep my diags\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " # mid diag indent\\n", ], Array [ "line", " after: comment\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "after": "comment", }, "fullname": "", "id": 1, "name": "please keep my diags", "ok": false, }, ], Array [ "result", Result { "diag": Object { "after": "comment", }, "fullname": "", "id": 1, "name": "please keep my diags", "ok": false, }, ], Array [ "fail", Result { "diag": Object { "after": "comment", }, "fullname": "", "id": 1, "name": "please keep my diags", "ok": false, }, ], Array [ "line", " # before diag\\n", ], Array [ "comment", " # before diag\\n", ], Array [ "line", "# mid diag\\n", ], Array [ "comment", "# mid diag\\n", ], Array [ "line", " # after diag\\n", ], Array [ "comment", " # after diag\\n", ], Array [ "line", "Bail out! please keep my diags\\n", ], Array [ "bailout", "please keep my diags", ], Array [ "complete", FinalResults { "bailout": "please keep my diags", "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "after": "comment", }, "fullname": "", "id": 1, "name": "please keep my diags", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/comment-mid-diag.tap.test.cjs000066400000000000000000000137101433324523500263130ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP comment-mid-diag.tap > output bail=false 1`] = ` Array [ Array [ "line", "# before version\\n", ], Array [ "comment", "# before version\\n", ], Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# after version, before plan\\n", ], Array [ "comment", "# after version, before plan\\n", ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "# before result\\n", ], Array [ "comment", "# before result\\n", ], Array [ "line", "not ok 1 - please keep my diags\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " # mid diag indent\\n", ], Array [ "line", " after: comment\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "after": "comment", }, "fullname": "", "id": 1, "name": "please keep my diags", "ok": false, }, ], Array [ "result", Result { "diag": Object { "after": "comment", }, "fullname": "", "id": 1, "name": "please keep my diags", "ok": false, }, ], Array [ "fail", Result { "diag": Object { "after": "comment", }, "fullname": "", "id": 1, "name": "please keep my diags", "ok": false, }, ], Array [ "line", " # before diag\\n", ], Array [ "comment", " # before diag\\n", ], Array [ "line", "# mid diag\\n", ], Array [ "comment", "# mid diag\\n", ], Array [ "line", " # after diag\\n", ], Array [ "comment", " # after diag\\n", ], Array [ "line", "# before 2\\n", ], Array [ "comment", "# before 2\\n", ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "# after 2\\n", ], Array [ "comment", "# after 2\\n", ], Array [ "line", "# failed 1 of 2 tests\\n", ], Array [ "comment", "# failed 1 of 2 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 1, "failures": Array [ Result { "diag": Object { "after": "comment", }, "fullname": "", "id": 1, "name": "please keep my diags", "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP comment-mid-diag.tap > output bail=true 1`] = ` Array [ Array [ "line", "# before version\\n", ], Array [ "comment", "# before version\\n", ], Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# after version, before plan\\n", ], Array [ "comment", "# after version, before plan\\n", ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "# before result\\n", ], Array [ "comment", "# before result\\n", ], Array [ "line", "not ok 1 - please keep my diags\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " # mid diag indent\\n", ], Array [ "line", " after: comment\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "after": "comment", }, "fullname": "", "id": 1, "name": "please keep my diags", "ok": false, }, ], Array [ "result", Result { "diag": Object { "after": "comment", }, "fullname": "", "id": 1, "name": "please keep my diags", "ok": false, }, ], Array [ "fail", Result { "diag": Object { "after": "comment", }, "fullname": "", "id": 1, "name": "please keep my diags", "ok": false, }, ], Array [ "line", " # before diag\\n", ], Array [ "comment", " # before diag\\n", ], Array [ "line", "# mid diag\\n", ], Array [ "comment", "# mid diag\\n", ], Array [ "line", " # after diag\\n", ], Array [ "comment", " # after diag\\n", ], Array [ "line", "# before 2\\n", ], Array [ "comment", "# before 2\\n", ], Array [ "line", "Bail out! please keep my diags\\n", ], Array [ "bailout", "please keep my diags", ], Array [ "complete", FinalResults { "bailout": "please keep my diags", "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "after": "comment", }, "fullname": "", "id": 1, "name": "please keep my diags", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/common-with-explanation.tap.test.cjs000066400000000000000000000206451433324523500277660ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP common-with-explanation.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..6\\n", ], Array [ "plan", Object { "end": 6, "start": 1, }, ], Array [ "line", "#\\n", ], Array [ "comment", "#\\n", ], Array [ "line", "# Create a new Board and Tile, then place\\n", ], Array [ "comment", "# Create a new Board and Tile, then place\\n", ], Array [ "line", "# the Tile onto the board.\\n", ], Array [ "comment", "# the Tile onto the board.\\n", ], Array [ "line", "#\\n", ], Array [ "comment", "#\\n", ], Array [ "line", "ok 1 - The object isa Board\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "The object isa Board", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "The object isa Board", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "The object isa Board", "ok": true, }, ], Array [ "line", "ok 2 - Board size is zero\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Board size is zero", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "Board size is zero", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "Board size is zero", "ok": true, }, ], Array [ "line", "ok 3 - The object isa Tile\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "The object isa Tile", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "The object isa Tile", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "The object isa Tile", "ok": true, }, ], Array [ "line", "ok 4 - Get possible places to put the Tile\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "Get possible places to put the Tile", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "name": "Get possible places to put the Tile", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "name": "Get possible places to put the Tile", "ok": true, }, ], Array [ "line", "ok 5 - Placing the tile produces no error\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "Placing the tile produces no error", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 5, "name": "Placing the tile produces no error", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 5, "name": "Placing the tile produces no error", "ok": true, }, ], Array [ "line", "ok 6 - Board size is 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 6, "name": "Board size is 1", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 6, "name": "Board size is 1", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 6, "name": "Board size is 1", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 6, "fail": 0, "failures": Array [], "ok": true, "pass": 6, "plan": FinalPlan { "comment": "", "end": 6, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP common-with-explanation.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..6\\n", ], Array [ "plan", Object { "end": 6, "start": 1, }, ], Array [ "line", "#\\n", ], Array [ "comment", "#\\n", ], Array [ "line", "# Create a new Board and Tile, then place\\n", ], Array [ "comment", "# Create a new Board and Tile, then place\\n", ], Array [ "line", "# the Tile onto the board.\\n", ], Array [ "comment", "# the Tile onto the board.\\n", ], Array [ "line", "#\\n", ], Array [ "comment", "#\\n", ], Array [ "line", "ok 1 - The object isa Board\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "The object isa Board", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "The object isa Board", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "The object isa Board", "ok": true, }, ], Array [ "line", "ok 2 - Board size is zero\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Board size is zero", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "Board size is zero", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "Board size is zero", "ok": true, }, ], Array [ "line", "ok 3 - The object isa Tile\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "The object isa Tile", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "The object isa Tile", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "The object isa Tile", "ok": true, }, ], Array [ "line", "ok 4 - Get possible places to put the Tile\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "Get possible places to put the Tile", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "name": "Get possible places to put the Tile", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "name": "Get possible places to put the Tile", "ok": true, }, ], Array [ "line", "ok 5 - Placing the tile produces no error\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "Placing the tile produces no error", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 5, "name": "Placing the tile produces no error", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 5, "name": "Placing the tile produces no error", "ok": true, }, ], Array [ "line", "ok 6 - Board size is 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 6, "name": "Board size is 1", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 6, "name": "Board size is 1", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 6, "name": "Board size is 1", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 6, "fail": 0, "failures": Array [], "ok": true, "pass": 6, "plan": FinalPlan { "comment": "", "end": 6, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/confusing-json.tap.test.cjs000066400000000000000000000271451433324523500261510ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP confusing-json.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# Subtest: Test newlines in tap and console.log\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: Test newlines in tap and console.log\\n", ], Array [ "line", "ok 1 - Before console.log\\n", ], Array [ "assert", Result { "fullname": "Test newlines in tap and console.log", "id": 1, "name": "Before console.log", "ok": true, }, ], Array [ "line", "{\\n", ], Array [ "line", " \\"x\\": 1\\n", ], Array [ "line", "}\\n", ], Array [ "line", "\\"y\\": 2,\\n", ], Array [ "line", "\\"steps\\": [\\n", ], Array [ "line", " {\\n", ], Array [ "line", " \\"z\\": 3\\n", ], Array [ "line", " }\\n", ], Array [ "line", "]\\n", ], Array [ "line", "ok 2 - After console.log\\n", ], Array [ "assert", Result { "fullname": "Test newlines in tap and console.log", "id": 2, "name": "After console.log", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 4.137, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - Before console.log\\n", ], Array [ "line", "createdMultipleStepsWithWeightAndCapacity={\\n", ], Array [ "extra", "createdMultipleStepsWithWeightAndCapacity={\\n", ], Array [ "line", " \\"name\\": \\"Multiple Steps with Weight and Capacity\\",\\n", ], Array [ "extra", " \\"name\\": \\"Multiple Steps with Weight and Capacity\\",\\n", ], Array [ "line", " \\"usedByModels\\": [\\n", ], Array [ "extra", " \\"usedByModels\\": [\\n", ], Array [ "extra", " {\\n", ], Array [ "extra", " \\"x\\": 1\\n", ], Array [ "extra", " }\\n", ], Array [ "line", " ],\\n", ], Array [ "extra", " ],\\n", ], Array [ "line", " \\"stepsOrdered\\": {\\n", ], Array [ "extra", " \\"stepsOrdered\\": {\\n", ], Array [ "extra", " \\"y\\": 2,\\n", ], Array [ "extra", " \\"steps\\": [\\n", ], Array [ "extra", " {\\n", ], Array [ "extra", " \\"z\\": 3\\n", ], Array [ "extra", " }\\n", ], Array [ "extra", " ]\\n", ], Array [ "line", " },\\n", ], Array [ "extra", " },\\n", ], Array [ "line", " \\"a\\": \\"bc\\"\\n", ], Array [ "extra", " \\"a\\": \\"bc\\"\\n", ], Array [ "line", "}\\n", ], Array [ "extra", "}\\n", ], Array [ "result", Result { "fullname": "Test newlines in tap and console.log", "id": 1, "name": "Before console.log", "ok": true, }, ], Array [ "pass", Result { "fullname": "Test newlines in tap and console.log", "id": 1, "name": "Before console.log", "ok": true, }, ], Array [ "line", " {\\n", ], Array [ "line", " \\"x\\": 1\\n", ], Array [ "line", " }\\n", ], Array [ "line", " \\"y\\": 2,\\n", ], Array [ "line", " \\"steps\\": [\\n", ], Array [ "line", " {\\n", ], Array [ "line", " \\"z\\": 3\\n", ], Array [ "line", " }\\n", ], Array [ "line", " ]\\n", ], Array [ "line", " ok 2 - After console.log\\n", ], Array [ "result", Result { "fullname": "Test newlines in tap and console.log", "id": 2, "name": "After console.log", "ok": true, }, ], Array [ "pass", Result { "fullname": "Test newlines in tap and console.log", "id": 2, "name": "After console.log", "ok": true, }, ], Array [ "line", " 1..2\\n", ], Array [ "line", "ok 1 - Test newlines in tap and console.log # time=4.137ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Test newlines in tap and console.log", "ok": true, "time": 4.137, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "# time=13.316ms\\n", ], Array [ "comment", "# time=13.316ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 13.316, "todo": 0, }, ], ] ` exports[`test/parser.js TAP confusing-json.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# Subtest: Test newlines in tap and console.log\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: Test newlines in tap and console.log\\n", ], Array [ "line", "ok 1 - Before console.log\\n", ], Array [ "assert", Result { "fullname": "Test newlines in tap and console.log", "id": 1, "name": "Before console.log", "ok": true, }, ], Array [ "line", "{\\n", ], Array [ "line", " \\"x\\": 1\\n", ], Array [ "line", "}\\n", ], Array [ "line", "\\"y\\": 2,\\n", ], Array [ "line", "\\"steps\\": [\\n", ], Array [ "line", " {\\n", ], Array [ "line", " \\"z\\": 3\\n", ], Array [ "line", " }\\n", ], Array [ "line", "]\\n", ], Array [ "line", "ok 2 - After console.log\\n", ], Array [ "assert", Result { "fullname": "Test newlines in tap and console.log", "id": 2, "name": "After console.log", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 4.137, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - Before console.log\\n", ], Array [ "line", "createdMultipleStepsWithWeightAndCapacity={\\n", ], Array [ "extra", "createdMultipleStepsWithWeightAndCapacity={\\n", ], Array [ "line", " \\"name\\": \\"Multiple Steps with Weight and Capacity\\",\\n", ], Array [ "extra", " \\"name\\": \\"Multiple Steps with Weight and Capacity\\",\\n", ], Array [ "line", " \\"usedByModels\\": [\\n", ], Array [ "extra", " \\"usedByModels\\": [\\n", ], Array [ "extra", " {\\n", ], Array [ "extra", " \\"x\\": 1\\n", ], Array [ "extra", " }\\n", ], Array [ "line", " ],\\n", ], Array [ "extra", " ],\\n", ], Array [ "line", " \\"stepsOrdered\\": {\\n", ], Array [ "extra", " \\"stepsOrdered\\": {\\n", ], Array [ "extra", " \\"y\\": 2,\\n", ], Array [ "extra", " \\"steps\\": [\\n", ], Array [ "extra", " {\\n", ], Array [ "extra", " \\"z\\": 3\\n", ], Array [ "extra", " }\\n", ], Array [ "extra", " ]\\n", ], Array [ "line", " },\\n", ], Array [ "extra", " },\\n", ], Array [ "line", " \\"a\\": \\"bc\\"\\n", ], Array [ "extra", " \\"a\\": \\"bc\\"\\n", ], Array [ "line", "}\\n", ], Array [ "extra", "}\\n", ], Array [ "result", Result { "fullname": "Test newlines in tap and console.log", "id": 1, "name": "Before console.log", "ok": true, }, ], Array [ "pass", Result { "fullname": "Test newlines in tap and console.log", "id": 1, "name": "Before console.log", "ok": true, }, ], Array [ "line", " {\\n", ], Array [ "line", " \\"x\\": 1\\n", ], Array [ "line", " }\\n", ], Array [ "line", " \\"y\\": 2,\\n", ], Array [ "line", " \\"steps\\": [\\n", ], Array [ "line", " {\\n", ], Array [ "line", " \\"z\\": 3\\n", ], Array [ "line", " }\\n", ], Array [ "line", " ]\\n", ], Array [ "line", " ok 2 - After console.log\\n", ], Array [ "result", Result { "fullname": "Test newlines in tap and console.log", "id": 2, "name": "After console.log", "ok": true, }, ], Array [ "pass", Result { "fullname": "Test newlines in tap and console.log", "id": 2, "name": "After console.log", "ok": true, }, ], Array [ "line", " 1..2\\n", ], Array [ "line", "ok 1 - Test newlines in tap and console.log # time=4.137ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Test newlines in tap and console.log", "ok": true, "time": 4.137, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "# time=13.316ms\\n", ], Array [ "comment", "# time=13.316ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 13.316, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/creative-liberties.tap.test.cjs000066400000000000000000000316471433324523500267730ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP creative-liberties.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "ok - created Board\\n", ], Array [ "assert", Result { "fullname": "", "name": "created Board", "ok": true, }, ], Array [ "result", Result { "fullname": "", "name": "created Board", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "name": "created Board", "ok": true, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "ok\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " message: \\"Board layout\\"\\n", ], Array [ "line", " severity: comment\\n", ], Array [ "line", " dump:\\n", ], Array [ "line", " board:\\n", ], Array [ "line", " - ' 16G 05C '\\n", ], Array [ "line", " - ' G N C C C G '\\n", ], Array [ "line", " - ' G C + '\\n", ], Array [ "line", " - '10C 01G 03C '\\n", ], Array [ "line", " - 'R N G G A G C C C '\\n", ], Array [ "line", " - ' R G C + '\\n", ], Array [ "line", " - ' 01G 17C 00C '\\n", ], Array [ "line", " - ' G A G G N R R N R '\\n", ], Array [ "line", " - ' G R G '\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "dump": Object { "board": Array [ " 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 ", ], }, "message": "Board layout", "severity": "comment", }, "fullname": "", "ok": true, }, ], Array [ "result", Result { "diag": Object { "dump": Object { "board": Array [ " 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 ", ], }, "message": "Board layout", "severity": "comment", }, "fullname": "", "ok": true, }, ], Array [ "pass", Result { "diag": Object { "dump": Object { "board": Array [ " 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 ", ], }, "message": "Board layout", "severity": "comment", }, "fullname": "", "ok": true, }, ], Array [ "line", "ok - board has 7 tiles + starter tile\\n", ], Array [ "assert", Result { "fullname": "", "name": "board has 7 tiles + starter tile", "ok": true, }, ], Array [ "result", Result { "fullname": "", "name": "board has 7 tiles + starter tile", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "name": "board has 7 tiles + starter tile", "ok": true, }, ], Array [ "line", "1..9\\n", ], Array [ "plan", Object { "end": 9, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 9, "fail": 0, "failures": Array [], "ok": true, "pass": 9, "plan": FinalPlan { "comment": "", "end": 9, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP creative-liberties.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "ok - created Board\\n", ], Array [ "assert", Result { "fullname": "", "name": "created Board", "ok": true, }, ], Array [ "result", Result { "fullname": "", "name": "created Board", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "name": "created Board", "ok": true, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "ok\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " message: \\"Board layout\\"\\n", ], Array [ "line", " severity: comment\\n", ], Array [ "line", " dump:\\n", ], Array [ "line", " board:\\n", ], Array [ "line", " - ' 16G 05C '\\n", ], Array [ "line", " - ' G N C C C G '\\n", ], Array [ "line", " - ' G C + '\\n", ], Array [ "line", " - '10C 01G 03C '\\n", ], Array [ "line", " - 'R N G G A G C C C '\\n", ], Array [ "line", " - ' R G C + '\\n", ], Array [ "line", " - ' 01G 17C 00C '\\n", ], Array [ "line", " - ' G A G G N R R N R '\\n", ], Array [ "line", " - ' G R G '\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "dump": Object { "board": Array [ " 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 ", ], }, "message": "Board layout", "severity": "comment", }, "fullname": "", "ok": true, }, ], Array [ "result", Result { "diag": Object { "dump": Object { "board": Array [ " 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 ", ], }, "message": "Board layout", "severity": "comment", }, "fullname": "", "ok": true, }, ], Array [ "pass", Result { "diag": Object { "dump": Object { "board": Array [ " 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 ", ], }, "message": "Board layout", "severity": "comment", }, "fullname": "", "ok": true, }, ], Array [ "line", "ok - board has 7 tiles + starter tile\\n", ], Array [ "assert", Result { "fullname": "", "name": "board has 7 tiles + starter tile", "ok": true, }, ], Array [ "result", Result { "fullname": "", "name": "board has 7 tiles + starter tile", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "name": "board has 7 tiles + starter tile", "ok": true, }, ], Array [ "line", "1..9\\n", ], Array [ "plan", Object { "end": 9, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 9, "fail": 0, "failures": Array [], "ok": true, "pass": 9, "plan": FinalPlan { "comment": "", "end": 9, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/delayed.tap.test.cjs000066400000000000000000000114751433324523500246150ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP delayed.tap > output bail=false 1`] = ` Array [ Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "ok 1 00000\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "00000", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "00000", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "00000", "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "not ok 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": false, }, ], Array [ "result", Result { "fullname": "", "id": 3, "ok": false, }, ], Array [ "fail", Result { "fullname": "", "id": 3, "ok": false, }, ], Array [ "line", "ok 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "line", "ok 5 00000\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "00000", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 5, "name": "00000", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 5, "name": "00000", "ok": true, }, ], Array [ "line", "# failed 1 of 5 tests\\n", ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 3, "ok": false, }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP delayed.tap > output bail=true 1`] = ` Array [ Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "ok 1 00000\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "00000", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "00000", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "00000", "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "not ok 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": false, }, ], Array [ "result", Result { "fullname": "", "id": 3, "ok": false, }, ], Array [ "fail", Result { "fullname": "", "id": 3, "ok": false, }, ], Array [ "line", "Bail out!\\n", ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 3, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 3, "ok": false, }, ], "ok": false, "pass": 2, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/descriptive.tap.test.cjs000066400000000000000000000141651433324523500255260ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP descriptive.tap > output bail=false 1`] = ` Array [ Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "ok 1 Interlock activated\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Interlock activated", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "Interlock activated", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "Interlock activated", "ok": true, }, ], Array [ "line", "ok 2 Megathrusters are go\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Megathrusters are go", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "Megathrusters are go", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "Megathrusters are go", "ok": true, }, ], Array [ "line", "ok 3 Head formed\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "Head formed", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "Head formed", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "Head formed", "ok": true, }, ], Array [ "line", "ok 4 Blazing sword formed\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "Blazing sword formed", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "name": "Blazing sword formed", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "name": "Blazing sword formed", "ok": true, }, ], Array [ "line", "ok 5 Robeast destroyed\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "Robeast destroyed", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 5, "name": "Robeast destroyed", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 5, "name": "Robeast destroyed", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP descriptive.tap > output bail=true 1`] = ` Array [ Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "ok 1 Interlock activated\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Interlock activated", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "Interlock activated", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "Interlock activated", "ok": true, }, ], Array [ "line", "ok 2 Megathrusters are go\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Megathrusters are go", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "Megathrusters are go", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "Megathrusters are go", "ok": true, }, ], Array [ "line", "ok 3 Head formed\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "Head formed", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "Head formed", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "Head formed", "ok": true, }, ], Array [ "line", "ok 4 Blazing sword formed\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "Blazing sword formed", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "name": "Blazing sword formed", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "name": "Blazing sword formed", "ok": true, }, ], Array [ "line", "ok 5 Robeast destroyed\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "Robeast destroyed", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 5, "name": "Robeast destroyed", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 5, "name": "Robeast destroyed", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/descriptive_trailing.tap.test.cjs000066400000000000000000000142071433324523500274140ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP descriptive_trailing.tap > output bail=false 1`] = ` Array [ Array [ "line", "ok 1 Interlock activated\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Interlock activated", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "Interlock activated", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "Interlock activated", "ok": true, }, ], Array [ "line", "ok 2 Megathrusters are go\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Megathrusters are go", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "Megathrusters are go", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "Megathrusters are go", "ok": true, }, ], Array [ "line", "ok 3 Head formed\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "Head formed", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "Head formed", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "Head formed", "ok": true, }, ], Array [ "line", "ok 4 Blazing sword formed\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "Blazing sword formed", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "name": "Blazing sword formed", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "name": "Blazing sword formed", "ok": true, }, ], Array [ "line", "ok 5 Robeast destroyed\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "Robeast destroyed", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 5, "name": "Robeast destroyed", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 5, "name": "Robeast destroyed", "ok": true, }, ], Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP descriptive_trailing.tap > output bail=true 1`] = ` Array [ Array [ "line", "ok 1 Interlock activated\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Interlock activated", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "Interlock activated", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "Interlock activated", "ok": true, }, ], Array [ "line", "ok 2 Megathrusters are go\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Megathrusters are go", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "Megathrusters are go", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "Megathrusters are go", "ok": true, }, ], Array [ "line", "ok 3 Head formed\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "Head formed", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "Head formed", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "Head formed", "ok": true, }, ], Array [ "line", "ok 4 Blazing sword formed\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "Blazing sword formed", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "name": "Blazing sword formed", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "name": "Blazing sword formed", "ok": true, }, ], Array [ "line", "ok 5 Robeast destroyed\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "Robeast destroyed", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 5, "name": "Robeast destroyed", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 5, "name": "Robeast destroyed", "ok": true, }, ], Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/diag-looks-like-comment.tap.test.cjs000066400000000000000000000342741433324523500276230ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP diag-looks-like-comment.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# Subtest: -t 0.2\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: -t 0.2\\n", ], Array [ "line", "not ok 1 - should match pattern provided\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " found: >\\n", ], Array [ "line", " \\n", ], Array [ "line", " # Subtest: nope\\n", ], Array [ "line", " \\n", ], Array [ "line", " not ok 1 - nope\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " still: the string\\n", ], Array [ "line", " ...\\n", ], Array [ "line", " \\n", ], Array [ "line", " 1..1 # nope\\n", ], Array [ "line", " not ok 1 - nope #\\n", ], Array [ "line", " time=123\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " this: is fine\\n", ], Array [ "line", " ...\\n", ], Array [ "line", " \\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", " pattern: '/SIGTERM/'\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "found": String( # 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/", }, "fullname": "-t 0.2", "id": 1, "name": "should match pattern provided", "ok": false, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "# failed 1 test\\n", ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "found": String( # 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/", }, "fullname": "-t 0.2", "id": 1, "name": "should match pattern provided", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " not ok 1 - should match pattern provided\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " found: >\\n", ], Array [ "line", " \\n", ], Array [ "line", " # Subtest: nope\\n", ], Array [ "line", " \\n", ], Array [ "line", " not ok 1 - nope\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " still: the string\\n", ], Array [ "line", " ...\\n", ], Array [ "line", " \\n", ], Array [ "line", " 1..1 # nope\\n", ], Array [ "line", " not ok 1 - nope #\\n", ], Array [ "line", " time=123\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " this: is fine\\n", ], Array [ "line", " ...\\n", ], Array [ "line", " \\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", " pattern: '/SIGTERM/'\\n", ], Array [ "line", " ...\\n", ], Array [ "result", Result { "diag": Object { "found": String( # 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/", }, "fullname": "-t 0.2", "id": 1, "name": "should match pattern provided", "ok": false, }, ], Array [ "fail", Result { "diag": Object { "found": String( # 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/", }, "fullname": "-t 0.2", "id": 1, "name": "should match pattern provided", "ok": false, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", " # failed 1 test\\n", ], Array [ "line", "not ok 1 - -t 0.2\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "-t 0.2", "ok": false, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "# failed 1 test\\n", ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 1, "name": "-t 0.2", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP diag-looks-like-comment.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# Subtest: -t 0.2\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: -t 0.2\\n", ], Array [ "line", "not ok 1 - should match pattern provided\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " found: >\\n", ], Array [ "line", " \\n", ], Array [ "line", " # Subtest: nope\\n", ], Array [ "line", " \\n", ], Array [ "line", " not ok 1 - nope\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " still: the string\\n", ], Array [ "line", " ...\\n", ], Array [ "line", " \\n", ], Array [ "line", " 1..1 # nope\\n", ], Array [ "line", " not ok 1 - nope #\\n", ], Array [ "line", " time=123\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " this: is fine\\n", ], Array [ "line", " ...\\n", ], Array [ "line", " \\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", " pattern: '/SIGTERM/'\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "found": String( # 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/", }, "fullname": "-t 0.2", "id": 1, "name": "should match pattern provided", "ok": false, }, ], Array [ "line", "Bail out! should match pattern provided\\n", ], Array [ "bailout", "should match pattern provided", ], Array [ "complete", FinalResults { "bailout": "should match pattern provided", "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "found": String( # 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/", }, "fullname": "-t 0.2", "id": 1, "name": "should match pattern provided", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " not ok 1 - should match pattern provided\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " found: >\\n", ], Array [ "line", " \\n", ], Array [ "line", " # Subtest: nope\\n", ], Array [ "line", " \\n", ], Array [ "line", " not ok 1 - nope\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " still: the string\\n", ], Array [ "line", " ...\\n", ], Array [ "line", " \\n", ], Array [ "line", " 1..1 # nope\\n", ], Array [ "line", " not ok 1 - nope #\\n", ], Array [ "line", " time=123\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " this: is fine\\n", ], Array [ "line", " ...\\n", ], Array [ "line", " \\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", " pattern: '/SIGTERM/'\\n", ], Array [ "line", " ...\\n", ], Array [ "result", Result { "diag": Object { "found": String( # 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/", }, "fullname": "-t 0.2", "id": 1, "name": "should match pattern provided", "ok": false, }, ], Array [ "fail", Result { "diag": Object { "found": String( # 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/", }, "fullname": "-t 0.2", "id": 1, "name": "should match pattern provided", "ok": false, }, ], Array [ "line", " Bail out! should match pattern provided\\n", ], Array [ "bailout", "should match pattern provided", ], Array [ "line", "Bail out! should match pattern provided\\n", ], Array [ "complete", FinalResults { "bailout": "should match pattern provided", "count": 0, "fail": 0, "failures": Array [], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/die.tap.test.cjs000066400000000000000000000031071433324523500237400ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP die.tap > output bail=false 1`] = ` Array [ Array [ "line", "1..0 # no tests found\\n", ], Array [ "plan", Object { "comment": "no tests found", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "no tests found", "end": 0, "skipAll": true, "skipReason": "no tests found", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP die.tap > output bail=true 1`] = ` Array [ Array [ "line", "1..0 # no tests found\\n", ], Array [ "plan", Object { "comment": "no tests found", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "no tests found", "end": 0, "skipAll": true, "skipReason": "no tests found", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/die_head_end.tap.test.cjs000066400000000000000000000111371433324523500255510ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP die_head_end.tap > output bail=false 1`] = ` Array [ Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "line", "ok 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "line", "# test count(4) != plan(null)\\n", ], Array [ "comment", "# test count(4) != plan(null)\\n", ], Array [ "line", "# failed 1 of 4 tests\\n", ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Object { "tapError": "no plan", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP die_head_end.tap > output bail=true 1`] = ` Array [ Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "line", "ok 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "line", "# test count(4) != plan(null)\\n", ], Array [ "comment", "# test count(4) != plan(null)\\n", ], Array [ "line", "# failed 1 of 4 tests\\n", ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Object { "tapError": "no plan", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/die_last_minute.tap.test.cjs000066400000000000000000000103011433324523500263360ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP die_last_minute.tap > output bail=false 1`] = ` Array [ Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "line", "ok 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "line", "1..4\\n", ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP die_last_minute.tap > output bail=true 1`] = ` Array [ Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "line", "ok 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "line", "1..4\\n", ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/die_unfinished.tap.test.cjs000066400000000000000000000102451433324523500261550ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP die_unfinished.tap > output bail=false 1`] = ` Array [ Array [ "line", "1..4\\n", ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "line", "# test count(3) != plan(4)\\n", ], Array [ "comment", "# test count(3) != plan(4)\\n", ], Array [ "line", "# failed 1 of 3 tests\\n", ], Array [ "comment", "# failed 1 of 3 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 1, "failures": Array [ Object { "tapError": "incorrect number of tests", }, ], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP die_unfinished.tap > output bail=true 1`] = ` Array [ Array [ "line", "1..4\\n", ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "line", "# test count(3) != plan(4)\\n", ], Array [ "comment", "# test count(3) != plan(4)\\n", ], Array [ "line", "# failed 1 of 3 tests\\n", ], Array [ "comment", "# failed 1 of 3 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 1, "failures": Array [ Object { "tapError": "incorrect number of tests", }, ], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/duplicates.tap.test.cjs000066400000000000000000000257631433324523500253500ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP duplicates.tap > output bail=false 1`] = ` Array [ Array [ "line", "1..10\\n", ], Array [ "plan", Object { "end": 10, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "line", "ok 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "line", "ok 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, "previous": Result { "fullname": "", "id": 4, "ok": true, }, "tapError": "test point id 4 appears multiple times", }, ], Array [ "result", Result { "fullname": "", "id": 4, "ok": true, "previous": Result { "fullname": "", "id": 4, "ok": true, }, "tapError": "test point id 4 appears multiple times", }, ], Array [ "pass", Result { "fullname": "", "id": 4, "ok": true, "previous": Result { "fullname": "", "id": 4, "ok": true, }, "tapError": "test point id 4 appears multiple times", }, ], Array [ "line", "ok 5\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "line", "ok 6\\n", ], Array [ "assert", Result { "fullname": "", "id": 6, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 6, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 6, "ok": true, }, ], Array [ "line", "ok 7\\n", ], Array [ "assert", Result { "fullname": "", "id": 7, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 7, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 7, "ok": true, }, ], Array [ "line", "ok 8\\n", ], Array [ "assert", Result { "fullname": "", "id": 8, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 8, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 8, "ok": true, }, ], Array [ "line", "ok 9\\n", ], Array [ "assert", Result { "fullname": "", "id": 9, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 9, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 9, "ok": true, }, ], Array [ "line", "ok 10\\n", ], Array [ "assert", Result { "fullname": "", "id": 10, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 10, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 10, "ok": true, }, ], Array [ "line", "# test count(11) != plan(10)\\n", ], Array [ "comment", "# test count(11) != plan(10)\\n", ], Array [ "line", "# failed 1 of 11 tests\\n", ], Array [ "comment", "# failed 1 of 11 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 11, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 4, "ok": true, "previous": Result { "fullname": "", "id": 4, "ok": true, }, "tapError": "test point id 4 appears multiple times", }, ], "ok": false, "pass": 11, "plan": FinalPlan { "comment": "", "end": 10, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP duplicates.tap > output bail=true 1`] = ` Array [ Array [ "line", "1..10\\n", ], Array [ "plan", Object { "end": 10, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "line", "ok 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "line", "ok 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, "previous": Result { "fullname": "", "id": 4, "ok": true, }, "tapError": "test point id 4 appears multiple times", }, ], Array [ "result", Result { "fullname": "", "id": 4, "ok": true, "previous": Result { "fullname": "", "id": 4, "ok": true, }, "tapError": "test point id 4 appears multiple times", }, ], Array [ "pass", Result { "fullname": "", "id": 4, "ok": true, "previous": Result { "fullname": "", "id": 4, "ok": true, }, "tapError": "test point id 4 appears multiple times", }, ], Array [ "line", "ok 5\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "line", "ok 6\\n", ], Array [ "assert", Result { "fullname": "", "id": 6, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 6, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 6, "ok": true, }, ], Array [ "line", "ok 7\\n", ], Array [ "assert", Result { "fullname": "", "id": 7, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 7, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 7, "ok": true, }, ], Array [ "line", "ok 8\\n", ], Array [ "assert", Result { "fullname": "", "id": 8, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 8, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 8, "ok": true, }, ], Array [ "line", "ok 9\\n", ], Array [ "assert", Result { "fullname": "", "id": 9, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 9, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 9, "ok": true, }, ], Array [ "line", "ok 10\\n", ], Array [ "assert", Result { "fullname": "", "id": 10, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 10, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 10, "ok": true, }, ], Array [ "line", "# test count(11) != plan(10)\\n", ], Array [ "comment", "# test count(11) != plan(10)\\n", ], Array [ "line", "# failed 1 of 11 tests\\n", ], Array [ "comment", "# failed 1 of 11 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 11, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 4, "ok": true, "previous": Result { "fullname": "", "id": 4, "ok": true, }, "tapError": "test point id 4 appears multiple times", }, ], "ok": false, "pass": 11, "plan": FinalPlan { "comment": "", "end": 10, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/echo.tap.test.cjs000066400000000000000000000026511433324523500241200ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP echo.tap > output bail=false 1`] = ` Array [ Array [ "line", "1..0\\n", ], Array [ "plan", Object { "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "", "end": 0, "skipAll": true, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP echo.tap > output bail=true 1`] = ` Array [ Array [ "line", "1..0\\n", ], Array [ "plan", Object { "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "", "end": 0, "skipAll": true, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/empty-buffered-child.tap.test.cjs000066400000000000000000000073511433324523500272030ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP empty-buffered-child.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "ok child {\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: child\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "", "end": 0, "skipAll": true, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "fullname": "", "name": "child", "ok": true, }, ], Array [ "result", Result { "buffered": true, "fullname": "", "name": "child", "ok": true, }, ], Array [ "pass", Result { "buffered": true, "fullname": "", "name": "child", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP empty-buffered-child.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "ok child {\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: child\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "", "end": 0, "skipAll": true, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "fullname": "", "name": "child", "ok": true, }, ], Array [ "result", Result { "buffered": true, "fullname": "", "name": "child", "ok": true, }, ], Array [ "pass", Result { "buffered": true, "fullname": "", "name": "child", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/empty-failures.tap.test.cjs000066400000000000000000000052031433324523500261440ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP empty-failures.tap > output bail=false 1`] = ` Array [ Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP empty-failures.tap > output bail=true 1`] = ` Array [ Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/empty.tap.test.cjs000066400000000000000000000031131433324523500243320ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP empty.tap > output bail=false 1`] = ` Array [ Array [ "line", "1..0 # no tests found\\n", ], Array [ "plan", Object { "comment": "no tests found", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "no tests found", "end": 0, "skipAll": true, "skipReason": "no tests found", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP empty.tap > output bail=true 1`] = ` Array [ Array [ "line", "1..0 # no tests found\\n", ], Array [ "plan", Object { "comment": "no tests found", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "no tests found", "end": 0, "skipAll": true, "skipReason": "no tests found", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/escape_eol.tap.test.cjs000066400000000000000000000070471433324523500253050ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP escape_eol.tap > output bail=false 1`] = ` Array [ Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "ok 1 Should parse as literal backslash --> \\\\\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Should parse as literal backslash --> \\\\", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "Should parse as literal backslash --> \\\\", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "Should parse as literal backslash --> \\\\", "ok": true, }, ], Array [ "line", "ok 2 Not a continuation line\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Not a continuation line", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "Not a continuation line", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "Not a continuation line", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP escape_eol.tap > output bail=true 1`] = ` Array [ Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "ok 1 Should parse as literal backslash --> \\\\\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Should parse as literal backslash --> \\\\", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "Should parse as literal backslash --> \\\\", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "Should parse as literal backslash --> \\\\", "ok": true, }, ], Array [ "line", "ok 2 Not a continuation line\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Not a continuation line", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "Not a continuation line", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "Not a continuation line", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/escape_hash.tap.test.cjs000066400000000000000000000102351433324523500254420ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP escape_hash.tap > output bail=false 1`] = ` Array [ Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "line", "ok 1 Not a \\\\# TODO\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Not a # TODO", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "Not a # TODO", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "Not a # TODO", "ok": true, }, ], Array [ "line", "ok 2 Not a \\\\# SKIP\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Not a # SKIP", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "Not a # SKIP", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "Not a # SKIP", "ok": true, }, ], Array [ "line", "ok 3 Escaped \\\\\\\\\\\\#\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "Escaped \\\\#", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "Escaped \\\\#", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "Escaped \\\\#", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP escape_hash.tap > output bail=true 1`] = ` Array [ Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "line", "ok 1 Not a \\\\# TODO\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Not a # TODO", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "Not a # TODO", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "Not a # TODO", "ok": true, }, ], Array [ "line", "ok 2 Not a \\\\# SKIP\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Not a # SKIP", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "Not a # SKIP", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "Not a # SKIP", "ok": true, }, ], Array [ "line", "ok 3 Escaped \\\\\\\\\\\\#\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "Escaped \\\\#", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "Escaped \\\\#", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "Escaped \\\\#", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/extra-in-child.tap.test.cjs000066400000000000000000000662611433324523500260210ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP extra-in-child.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# Subtest: test/01c-user-updates.js\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: test/01c-user-updates.js\\n", ], Array [ "line", "# Subtest: update profile\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: update profile\\n", ], Array [ "line", "ok 1 - should be equivalent\\n", ], Array [ "assert", Result { "fullname": "test/01c-user-updates.js update profile", "id": 1, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "ok 2 - should be equivalent\\n", ], Array [ "assert", Result { "fullname": "test/01c-user-updates.js update profile", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 43.094, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - should be equivalent\\n", ], Array [ "line", " ok 2 - should be equivalent\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", "ok 1 - update profile # time=43.094ms\\n", ], Array [ "assert", Result { "fullname": "test/01c-user-updates.js", "id": 1, "name": "update profile", "ok": true, "time": 43.094, }, ], Array [ "line", "# Subtest: update email\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: update email\\n", ], Array [ "line", "ok 1 - should be equivalent\\n", ], Array [ "assert", Result { "fullname": "test/01c-user-updates.js update email", "id": 1, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 24.16, "todo": 0, }, ], ], ], Array [ "line", "null { _id: 'org.couchdb.user:user',\\n", ], Array [ "line", " _rev: '21-3d786fbf7428194ca288abe40c50cd0c',\\n", ], Array [ "line", " password_scheme: 'pbkdf2',\\n", ], Array [ "line", " iterations: 10,\\n", ], Array [ "line", " name: 'user',\\n", ], Array [ "line", " email: 'new@email.com',\\n", ], Array [ "line", " type: 'user',\\n", ], Array [ "line", " roles: [],\\n", ], Array [ "line", " date: '2015-05-07T18:04:07.589Z',\\n", ], Array [ "line", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\\n", ], Array [ "line", " salt: '74e7dea17bfe520bb84dd9642f072549',\\n", ], Array [ "line", " github: 'user',\\n", ], Array [ "line", " homepage: 'http://www.user.com' }\\n", ], Array [ "line", "{ _id: 'org.couchdb.user:user',\\n", ], Array [ "line", " _rev: '22-97703c62ab1f01ea691d40aa8a756cbf',\\n", ], Array [ "line", " password_scheme: 'pbkdf2',\\n", ], Array [ "line", " iterations: 10,\\n", ], Array [ "line", " name: 'user',\\n", ], Array [ "line", " email: 'new@email.com',\\n", ], Array [ "line", " type: 'user',\\n", ], Array [ "line", " roles: [],\\n", ], Array [ "line", " date: '2015-05-07T18:04:07.589Z',\\n", ], Array [ "line", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\\n", ], Array [ "line", " salt: '74e7dea17bfe520bb84dd9642f072549',\\n", ], Array [ "line", " github: 'user',\\n", ], Array [ "line", " homepage: 'http://www.user.com' }\\n", ], Array [ "line", " ok 1 - should be equivalent\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "ok 2 - update email # time=24.16ms\\n", ], Array [ "assert", Result { "fullname": "test/01c-user-updates.js", "id": 2, "name": "update email", "ok": true, "time": 24.16, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "# time=174.236ms\\n", ], Array [ "comment", "# time=174.236ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 339.14, "todo": 0, }, ], ], ], Array [ "line", " # Subtest: update profile\\n", ], Array [ "line", " ok 1 - should be equivalent\\n", ], Array [ "result", Result { "fullname": "test/01c-user-updates.js update profile", "id": 1, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "test/01c-user-updates.js update profile", "id": 1, "name": "should be equivalent", "ok": true, }, ], Array [ "line", " ok 2 - should be equivalent\\n", ], Array [ "result", Result { "fullname": "test/01c-user-updates.js update profile", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "test/01c-user-updates.js update profile", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - update profile # time=43.094ms\\n", ], Array [ "line", " # Subtest: update email\\n", ], Array [ "line", " null { _id: 'org.couchdb.user:user',\\n", ], Array [ "extra", " null { _id: 'org.couchdb.user:user',\\n", ], Array [ "line", " _rev: '21-3d786fbf7428194ca288abe40c50cd0c',\\n", ], Array [ "extra", " _rev: '21-3d786fbf7428194ca288abe40c50cd0c',\\n", ], Array [ "line", " password_scheme: 'pbkdf2',\\n", ], Array [ "extra", " password_scheme: 'pbkdf2',\\n", ], Array [ "line", " iterations: 10,\\n", ], Array [ "extra", " iterations: 10,\\n", ], Array [ "line", " name: 'user',\\n", ], Array [ "extra", " name: 'user',\\n", ], Array [ "line", " email: 'new@email.com',\\n", ], Array [ "extra", " email: 'new@email.com',\\n", ], Array [ "line", " type: 'user',\\n", ], Array [ "extra", " type: 'user',\\n", ], Array [ "line", " roles: [],\\n", ], Array [ "extra", " roles: [],\\n", ], Array [ "line", " date: '2015-05-07T18:04:07.589Z',\\n", ], Array [ "extra", " date: '2015-05-07T18:04:07.589Z',\\n", ], Array [ "line", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\\n", ], Array [ "extra", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\\n", ], Array [ "line", " salt: '74e7dea17bfe520bb84dd9642f072549',\\n", ], Array [ "extra", " salt: '74e7dea17bfe520bb84dd9642f072549',\\n", ], Array [ "line", " github: 'user',\\n", ], Array [ "extra", " github: 'user',\\n", ], Array [ "line", " homepage: 'http://www.user.com' }\\n", ], Array [ "extra", " homepage: 'http://www.user.com' }\\n", ], Array [ "line", " { _id: 'org.couchdb.user:user',\\n", ], Array [ "extra", " { _id: 'org.couchdb.user:user',\\n", ], Array [ "line", " _rev: '22-97703c62ab1f01ea691d40aa8a756cbf',\\n", ], Array [ "extra", " _rev: '22-97703c62ab1f01ea691d40aa8a756cbf',\\n", ], Array [ "line", " password_scheme: 'pbkdf2',\\n", ], Array [ "extra", " password_scheme: 'pbkdf2',\\n", ], Array [ "line", " iterations: 10,\\n", ], Array [ "extra", " iterations: 10,\\n", ], Array [ "line", " name: 'user',\\n", ], Array [ "extra", " name: 'user',\\n", ], Array [ "line", " email: 'new@email.com',\\n", ], Array [ "extra", " email: 'new@email.com',\\n", ], Array [ "line", " type: 'user',\\n", ], Array [ "extra", " type: 'user',\\n", ], Array [ "line", " roles: [],\\n", ], Array [ "extra", " roles: [],\\n", ], Array [ "line", " date: '2015-05-07T18:04:07.589Z',\\n", ], Array [ "extra", " date: '2015-05-07T18:04:07.589Z',\\n", ], Array [ "line", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\\n", ], Array [ "extra", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\\n", ], Array [ "line", " salt: '74e7dea17bfe520bb84dd9642f072549',\\n", ], Array [ "extra", " salt: '74e7dea17bfe520bb84dd9642f072549',\\n", ], Array [ "line", " github: 'user',\\n", ], Array [ "extra", " github: 'user',\\n", ], Array [ "line", " homepage: 'http://www.user.com' }\\n", ], Array [ "extra", " homepage: 'http://www.user.com' }\\n", ], Array [ "line", " ok 1 - should be equivalent\\n", ], Array [ "result", Result { "fullname": "test/01c-user-updates.js update email", "id": 1, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "test/01c-user-updates.js update email", "id": 1, "name": "should be equivalent", "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", " ok 2 - update email # time=24.16ms\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " # time=174.236ms\\n", ], Array [ "line", "ok 1 - test/01c-user-updates.js # time=339.14ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "test/01c-user-updates.js", "ok": true, "time": 339.14, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "# time=343.487ms\\n", ], Array [ "comment", "# time=343.487ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 343.487, "todo": 0, }, ], ] ` exports[`test/parser.js TAP extra-in-child.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# Subtest: test/01c-user-updates.js\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: test/01c-user-updates.js\\n", ], Array [ "line", "# Subtest: update profile\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: update profile\\n", ], Array [ "line", "ok 1 - should be equivalent\\n", ], Array [ "assert", Result { "fullname": "test/01c-user-updates.js update profile", "id": 1, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "ok 2 - should be equivalent\\n", ], Array [ "assert", Result { "fullname": "test/01c-user-updates.js update profile", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 43.094, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - should be equivalent\\n", ], Array [ "line", " ok 2 - should be equivalent\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", "ok 1 - update profile # time=43.094ms\\n", ], Array [ "assert", Result { "fullname": "test/01c-user-updates.js", "id": 1, "name": "update profile", "ok": true, "time": 43.094, }, ], Array [ "line", "# Subtest: update email\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: update email\\n", ], Array [ "line", "ok 1 - should be equivalent\\n", ], Array [ "assert", Result { "fullname": "test/01c-user-updates.js update email", "id": 1, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 24.16, "todo": 0, }, ], ], ], Array [ "line", "null { _id: 'org.couchdb.user:user',\\n", ], Array [ "line", " _rev: '21-3d786fbf7428194ca288abe40c50cd0c',\\n", ], Array [ "line", " password_scheme: 'pbkdf2',\\n", ], Array [ "line", " iterations: 10,\\n", ], Array [ "line", " name: 'user',\\n", ], Array [ "line", " email: 'new@email.com',\\n", ], Array [ "line", " type: 'user',\\n", ], Array [ "line", " roles: [],\\n", ], Array [ "line", " date: '2015-05-07T18:04:07.589Z',\\n", ], Array [ "line", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\\n", ], Array [ "line", " salt: '74e7dea17bfe520bb84dd9642f072549',\\n", ], Array [ "line", " github: 'user',\\n", ], Array [ "line", " homepage: 'http://www.user.com' }\\n", ], Array [ "line", "{ _id: 'org.couchdb.user:user',\\n", ], Array [ "line", " _rev: '22-97703c62ab1f01ea691d40aa8a756cbf',\\n", ], Array [ "line", " password_scheme: 'pbkdf2',\\n", ], Array [ "line", " iterations: 10,\\n", ], Array [ "line", " name: 'user',\\n", ], Array [ "line", " email: 'new@email.com',\\n", ], Array [ "line", " type: 'user',\\n", ], Array [ "line", " roles: [],\\n", ], Array [ "line", " date: '2015-05-07T18:04:07.589Z',\\n", ], Array [ "line", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\\n", ], Array [ "line", " salt: '74e7dea17bfe520bb84dd9642f072549',\\n", ], Array [ "line", " github: 'user',\\n", ], Array [ "line", " homepage: 'http://www.user.com' }\\n", ], Array [ "line", " ok 1 - should be equivalent\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "ok 2 - update email # time=24.16ms\\n", ], Array [ "assert", Result { "fullname": "test/01c-user-updates.js", "id": 2, "name": "update email", "ok": true, "time": 24.16, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "# time=174.236ms\\n", ], Array [ "comment", "# time=174.236ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 339.14, "todo": 0, }, ], ], ], Array [ "line", " # Subtest: update profile\\n", ], Array [ "line", " ok 1 - should be equivalent\\n", ], Array [ "result", Result { "fullname": "test/01c-user-updates.js update profile", "id": 1, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "test/01c-user-updates.js update profile", "id": 1, "name": "should be equivalent", "ok": true, }, ], Array [ "line", " ok 2 - should be equivalent\\n", ], Array [ "result", Result { "fullname": "test/01c-user-updates.js update profile", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "test/01c-user-updates.js update profile", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - update profile # time=43.094ms\\n", ], Array [ "line", " # Subtest: update email\\n", ], Array [ "line", " null { _id: 'org.couchdb.user:user',\\n", ], Array [ "extra", " null { _id: 'org.couchdb.user:user',\\n", ], Array [ "line", " _rev: '21-3d786fbf7428194ca288abe40c50cd0c',\\n", ], Array [ "extra", " _rev: '21-3d786fbf7428194ca288abe40c50cd0c',\\n", ], Array [ "line", " password_scheme: 'pbkdf2',\\n", ], Array [ "extra", " password_scheme: 'pbkdf2',\\n", ], Array [ "line", " iterations: 10,\\n", ], Array [ "extra", " iterations: 10,\\n", ], Array [ "line", " name: 'user',\\n", ], Array [ "extra", " name: 'user',\\n", ], Array [ "line", " email: 'new@email.com',\\n", ], Array [ "extra", " email: 'new@email.com',\\n", ], Array [ "line", " type: 'user',\\n", ], Array [ "extra", " type: 'user',\\n", ], Array [ "line", " roles: [],\\n", ], Array [ "extra", " roles: [],\\n", ], Array [ "line", " date: '2015-05-07T18:04:07.589Z',\\n", ], Array [ "extra", " date: '2015-05-07T18:04:07.589Z',\\n", ], Array [ "line", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\\n", ], Array [ "extra", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\\n", ], Array [ "line", " salt: '74e7dea17bfe520bb84dd9642f072549',\\n", ], Array [ "extra", " salt: '74e7dea17bfe520bb84dd9642f072549',\\n", ], Array [ "line", " github: 'user',\\n", ], Array [ "extra", " github: 'user',\\n", ], Array [ "line", " homepage: 'http://www.user.com' }\\n", ], Array [ "extra", " homepage: 'http://www.user.com' }\\n", ], Array [ "line", " { _id: 'org.couchdb.user:user',\\n", ], Array [ "extra", " { _id: 'org.couchdb.user:user',\\n", ], Array [ "line", " _rev: '22-97703c62ab1f01ea691d40aa8a756cbf',\\n", ], Array [ "extra", " _rev: '22-97703c62ab1f01ea691d40aa8a756cbf',\\n", ], Array [ "line", " password_scheme: 'pbkdf2',\\n", ], Array [ "extra", " password_scheme: 'pbkdf2',\\n", ], Array [ "line", " iterations: 10,\\n", ], Array [ "extra", " iterations: 10,\\n", ], Array [ "line", " name: 'user',\\n", ], Array [ "extra", " name: 'user',\\n", ], Array [ "line", " email: 'new@email.com',\\n", ], Array [ "extra", " email: 'new@email.com',\\n", ], Array [ "line", " type: 'user',\\n", ], Array [ "extra", " type: 'user',\\n", ], Array [ "line", " roles: [],\\n", ], Array [ "extra", " roles: [],\\n", ], Array [ "line", " date: '2015-05-07T18:04:07.589Z',\\n", ], Array [ "extra", " date: '2015-05-07T18:04:07.589Z',\\n", ], Array [ "line", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\\n", ], Array [ "extra", " derived_key: 'efcfbc73438a9d122290e5d0c82d1ca7d0a9ba1f',\\n", ], Array [ "line", " salt: '74e7dea17bfe520bb84dd9642f072549',\\n", ], Array [ "extra", " salt: '74e7dea17bfe520bb84dd9642f072549',\\n", ], Array [ "line", " github: 'user',\\n", ], Array [ "extra", " github: 'user',\\n", ], Array [ "line", " homepage: 'http://www.user.com' }\\n", ], Array [ "extra", " homepage: 'http://www.user.com' }\\n", ], Array [ "line", " ok 1 - should be equivalent\\n", ], Array [ "result", Result { "fullname": "test/01c-user-updates.js update email", "id": 1, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "test/01c-user-updates.js update email", "id": 1, "name": "should be equivalent", "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", " ok 2 - update email # time=24.16ms\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " # time=174.236ms\\n", ], Array [ "line", "ok 1 - test/01c-user-updates.js # time=339.14ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "test/01c-user-updates.js", "ok": true, "time": 339.14, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "# time=343.487ms\\n", ], Array [ "comment", "# time=343.487ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 343.487, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/fail-right-before-indented-child-diag.tap.test.cjs000066400000000000000000000110441433324523500322370ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP fail-right-before-indented-child-diag.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "not ok\\n", ], Array [ "line", " ---\\n", ], Array [ "assert", Result { "fullname": "", "ok": false, }, ], Array [ "result", Result { "fullname": "", "ok": false, }, ], Array [ "fail", Result { "fullname": "", "ok": false, }, ], Array [ "line", " ...\\n", ], Array [ "extra", " ...\\n", ], Array [ "line", " some: diags\\n", ], Array [ "extra", " some: diags\\n", ], Array [ "extra", " ---\\n", ], Array [ "line", "# Subtest: maybe a child\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: maybe a child\\n", ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "maybe a child", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " 1..1\\n", ], Array [ "line", " ok\\n", ], Array [ "result", Result { "fullname": "maybe a child", "ok": true, }, ], Array [ "pass", Result { "fullname": "maybe a child", "ok": true, }, ], Array [ "line", "ok maybe a child\\n", ], Array [ "assert", Result { "fullname": "", "name": "maybe a child", "ok": true, }, ], Array [ "line", "# test count(2) != plan(null)\\n", ], Array [ "comment", "# test count(2) != plan(null)\\n", ], Array [ "line", "# failed 2 of 2 tests\\n", ], Array [ "comment", "# failed 2 of 2 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 2, "failures": Array [ Result { "fullname": "", "ok": false, }, Object { "tapError": "no plan", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP fail-right-before-indented-child-diag.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "not ok\\n", ], Array [ "line", " ---\\n", ], Array [ "assert", Result { "fullname": "", "ok": false, }, ], Array [ "result", Result { "fullname": "", "ok": false, }, ], Array [ "fail", Result { "fullname": "", "ok": false, }, ], Array [ "line", " ...\\n", ], Array [ "extra", " ...\\n", ], Array [ "line", " some: diags\\n", ], Array [ "extra", " some: diags\\n", ], Array [ "line", "Bail out!\\n", ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/fail-right-before-indented-child.tap.test.cjs000066400000000000000000000100341433324523500313330ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP fail-right-before-indented-child.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "not ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": false, }, ], Array [ "result", Result { "fullname": "", "ok": false, }, ], Array [ "fail", Result { "fullname": "", "ok": false, }, ], Array [ "line", "# Subtest: maybe a child\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: maybe a child\\n", ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "maybe a child", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " 1..1\\n", ], Array [ "line", " ok\\n", ], Array [ "result", Result { "fullname": "maybe a child", "ok": true, }, ], Array [ "pass", Result { "fullname": "maybe a child", "ok": true, }, ], Array [ "line", "ok maybe a child\\n", ], Array [ "assert", Result { "fullname": "", "name": "maybe a child", "ok": true, }, ], Array [ "line", "# test count(2) != plan(null)\\n", ], Array [ "comment", "# test count(2) != plan(null)\\n", ], Array [ "line", "# failed 2 of 2 tests\\n", ], Array [ "comment", "# failed 2 of 2 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 2, "failures": Array [ Result { "fullname": "", "ok": false, }, Object { "tapError": "no plan", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP fail-right-before-indented-child.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "not ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": false, }, ], Array [ "result", Result { "fullname": "", "ok": false, }, ], Array [ "fail", Result { "fullname": "", "ok": false, }, ], Array [ "line", "Bail out!\\n", ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/garbage-yamlish.tap.test.cjs000066400000000000000000000142421433324523500262350ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP garbage-yamlish.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP Version 13\\n", ], Array [ "version", 13, ], Array [ "line", "not ok 1 de-indenting the yamlish wrongly.\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " message: \\"Failed with error 'hostname peebles.example.com not found'\\"\\n", ], Array [ "line", " severity: fail\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "de-indenting the yamlish wrongly.", "ok": false, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "de-indenting the yamlish wrongly.", "ok": false, }, ], Array [ "fail", Result { "fullname": "", "id": 1, "name": "de-indenting the yamlish wrongly.", "ok": false, }, ], Array [ "extra", String( --- message: "Failed with error 'hostname peebles.example.com not found'" severity: fail ), ], Array [ "line", " this is not valid yamlish\\n", ], Array [ "extra", " this is not valid yamlish\\n", ], Array [ "line", "ok 2 But this is not garbage\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "But this is not garbage", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "But this is not garbage", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "But this is not garbage", "ok": true, }, ], Array [ "line", "not ok 3 truncating the yamlish\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " here: is some yaml\\n", ], Array [ "line", " i: guess\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "truncating the yamlish", "ok": false, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "truncating the yamlish", "ok": false, }, ], Array [ "fail", Result { "fullname": "", "id": 3, "name": "truncating the yamlish", "ok": false, }, ], Array [ "extra", String( --- here: is some yaml i: guess ), ], Array [ "line", "not ok 4 this is truncated weirdly\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "this is truncated weirdly", "ok": false, }, ], Array [ "result", Result { "fullname": "", "id": 4, "name": "this is truncated weirdly", "ok": false, }, ], Array [ "fail", Result { "fullname": "", "id": 4, "name": "this is truncated weirdly", "ok": false, }, ], Array [ "line", " not ok 99 this is not a child test\\n", ], Array [ "extra", " not ok 99 this is not a child test\\n", ], Array [ "line", "1..4\\n", ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "line", "# failed 3 of 4 tests\\n", ], Array [ "comment", "# failed 3 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 3, "failures": Array [ Result { "fullname": "", "id": 1, "name": "de-indenting the yamlish wrongly.", "ok": false, }, Result { "fullname": "", "id": 3, "name": "truncating the yamlish", "ok": false, }, Result { "fullname": "", "id": 4, "name": "this is truncated weirdly", "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP garbage-yamlish.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP Version 13\\n", ], Array [ "version", 13, ], Array [ "line", "not ok 1 de-indenting the yamlish wrongly.\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " message: \\"Failed with error 'hostname peebles.example.com not found'\\"\\n", ], Array [ "line", " severity: fail\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "de-indenting the yamlish wrongly.", "ok": false, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "de-indenting the yamlish wrongly.", "ok": false, }, ], Array [ "fail", Result { "fullname": "", "id": 1, "name": "de-indenting the yamlish wrongly.", "ok": false, }, ], Array [ "line", "Bail out! de-indenting the yamlish wrongly.\\n", ], Array [ "bailout", "de-indenting the yamlish wrongly.", ], Array [ "line", " this is not valid yamlish\\n", ], Array [ "extra", " this is not valid yamlish\\n", ], Array [ "complete", FinalResults { "bailout": "de-indenting the yamlish wrongly.", "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 1, "name": "de-indenting the yamlish wrongly.", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/giving-up.tap.test.cjs000066400000000000000000000062331433324523500251070ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP giving-up.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..573\\n", ], Array [ "plan", Object { "end": 573, "start": 1, }, ], Array [ "line", "not ok 1 - database handle\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "database handle", "ok": false, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "database handle", "ok": false, }, ], Array [ "fail", Result { "fullname": "", "id": 1, "name": "database handle", "ok": false, }, ], Array [ "line", "Bail out! Couldn't connect to database.\\n", ], Array [ "bailout", "Couldn't connect to database.", ], Array [ "complete", FinalResults { "bailout": "Couldn't connect to database.", "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 1, "name": "database handle", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 573, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP giving-up.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..573\\n", ], Array [ "plan", Object { "end": 573, "start": 1, }, ], Array [ "line", "not ok 1 - database handle\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "database handle", "ok": false, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "database handle", "ok": false, }, ], Array [ "fail", Result { "fullname": "", "id": 1, "name": "database handle", "ok": false, }, ], Array [ "line", "Bail out! Couldn't connect to database.\\n", ], Array [ "bailout", "Couldn't connect to database.", ], Array [ "complete", FinalResults { "bailout": "Couldn't connect to database.", "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 1, "name": "database handle", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 573, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/got-spare-tuits.tap.test.cjs000066400000000000000000000143631433324523500262540ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP got-spare-tuits.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..4\\n", ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "line", "ok 1 - Creating test program\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Creating test program", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "Creating test program", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "Creating test program", "ok": true, }, ], Array [ "line", "ok 2 - Test program runs, no error\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Test program runs, no error", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "Test program runs, no error", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "Test program runs, no error", "ok": true, }, ], Array [ "line", "not ok 3 - infinite loop # TODO halting problem unsolved\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "infinite loop", "ok": false, "todo": "halting problem unsolved", }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "infinite loop", "ok": false, "todo": "halting problem unsolved", }, ], Array [ "todo", Result { "fullname": "", "id": 3, "name": "infinite loop", "ok": false, "todo": "halting problem unsolved", }, ], Array [ "line", "not ok 4 - infinite loop 2 # TODO halting problem unsolved\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "infinite loop 2", "ok": false, "todo": "halting problem unsolved", }, ], Array [ "result", Result { "fullname": "", "id": 4, "name": "infinite loop 2", "ok": false, "todo": "halting problem unsolved", }, ], Array [ "todo", Result { "fullname": "", "id": 4, "name": "infinite loop 2", "ok": false, "todo": "halting problem unsolved", }, ], Array [ "line", "# todo: 2\\n", ], Array [ "comment", "# todo: 2\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 2, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 2, }, ], ] ` exports[`test/parser.js TAP got-spare-tuits.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..4\\n", ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "line", "ok 1 - Creating test program\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Creating test program", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "Creating test program", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "Creating test program", "ok": true, }, ], Array [ "line", "ok 2 - Test program runs, no error\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Test program runs, no error", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "Test program runs, no error", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "Test program runs, no error", "ok": true, }, ], Array [ "line", "not ok 3 - infinite loop # TODO halting problem unsolved\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "infinite loop", "ok": false, "todo": "halting problem unsolved", }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "infinite loop", "ok": false, "todo": "halting problem unsolved", }, ], Array [ "todo", Result { "fullname": "", "id": 3, "name": "infinite loop", "ok": false, "todo": "halting problem unsolved", }, ], Array [ "line", "not ok 4 - infinite loop 2 # TODO halting problem unsolved\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "infinite loop 2", "ok": false, "todo": "halting problem unsolved", }, ], Array [ "result", Result { "fullname": "", "id": 4, "name": "infinite loop 2", "ok": false, "todo": "halting problem unsolved", }, ], Array [ "todo", Result { "fullname": "", "id": 4, "name": "infinite loop 2", "ok": false, "todo": "halting problem unsolved", }, ], Array [ "line", "# todo: 2\\n", ], Array [ "comment", "# todo: 2\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 2, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 2, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/hashes.tap.test.cjs000066400000000000000000000176231433324523500244620ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP hashes.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "ok 1 - contains \\\\# hash\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "contains # hash", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "contains # hash", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "contains # hash", "ok": true, }, ], Array [ "line", "ok 2 - directive # todo \\\\# x # y\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "directive", "ok": true, "todo": "# x # y", }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "directive", "ok": true, "todo": "# x # y", }, ], Array [ "todo", Result { "fullname": "", "id": 2, "name": "directive", "ok": true, "todo": "# x # y", }, ], Array [ "line", "ok 3 - escaped \\\\\\\\ slash \\\\\\\\# todo true\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "escaped \\\\ slash \\\\", "ok": true, "todo": "true", }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "escaped \\\\ slash \\\\", "ok": true, "todo": "true", }, ], Array [ "todo", Result { "fullname": "", "id": 3, "name": "escaped \\\\ slash \\\\", "ok": true, "todo": "true", }, ], Array [ "line", "ok 4 - not todo # hash # todo\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "not todo # hash # todo", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "name": "not todo # hash # todo", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "name": "not todo # hash # todo", "ok": true, }, ], Array [ "line", "ok 5 - yes todo # todo # hash\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "yes todo", "ok": true, "todo": "# hash", }, ], Array [ "result", Result { "fullname": "", "id": 5, "name": "yes todo", "ok": true, "todo": "# hash", }, ], Array [ "todo", Result { "fullname": "", "id": 5, "name": "yes todo", "ok": true, "todo": "# hash", }, ], Array [ "line", "ok 6 - not todo \\\\# hash \\\\# todo\\n", ], Array [ "assert", Result { "fullname": "", "id": 6, "name": "not todo # hash # todo", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 6, "name": "not todo # hash # todo", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 6, "name": "not todo # hash # todo", "ok": true, }, ], Array [ "line", "1..6\\n", ], Array [ "plan", Object { "end": 6, "start": 1, }, ], Array [ "line", "# todo: 3\\n", ], Array [ "comment", "# todo: 3\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 6, "fail": 0, "failures": Array [], "ok": true, "pass": 6, "plan": FinalPlan { "comment": "", "end": 6, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 3, }, ], ] ` exports[`test/parser.js TAP hashes.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "ok 1 - contains \\\\# hash\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "contains # hash", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "contains # hash", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "contains # hash", "ok": true, }, ], Array [ "line", "ok 2 - directive # todo \\\\# x # y\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "directive", "ok": true, "todo": "# x # y", }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "directive", "ok": true, "todo": "# x # y", }, ], Array [ "todo", Result { "fullname": "", "id": 2, "name": "directive", "ok": true, "todo": "# x # y", }, ], Array [ "line", "ok 3 - escaped \\\\\\\\ slash \\\\\\\\# todo true\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "escaped \\\\ slash \\\\", "ok": true, "todo": "true", }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "escaped \\\\ slash \\\\", "ok": true, "todo": "true", }, ], Array [ "todo", Result { "fullname": "", "id": 3, "name": "escaped \\\\ slash \\\\", "ok": true, "todo": "true", }, ], Array [ "line", "ok 4 - not todo # hash # todo\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "not todo # hash # todo", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "name": "not todo # hash # todo", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "name": "not todo # hash # todo", "ok": true, }, ], Array [ "line", "ok 5 - yes todo # todo # hash\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "yes todo", "ok": true, "todo": "# hash", }, ], Array [ "result", Result { "fullname": "", "id": 5, "name": "yes todo", "ok": true, "todo": "# hash", }, ], Array [ "todo", Result { "fullname": "", "id": 5, "name": "yes todo", "ok": true, "todo": "# hash", }, ], Array [ "line", "ok 6 - not todo \\\\# hash \\\\# todo\\n", ], Array [ "assert", Result { "fullname": "", "id": 6, "name": "not todo # hash # todo", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 6, "name": "not todo # hash # todo", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 6, "name": "not todo # hash # todo", "ok": true, }, ], Array [ "line", "1..6\\n", ], Array [ "plan", Object { "end": 6, "start": 1, }, ], Array [ "line", "# todo: 3\\n", ], Array [ "comment", "# todo: 3\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 6, "fail": 0, "failures": Array [], "ok": true, "pass": 6, "plan": FinalPlan { "comment": "", "end": 6, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 3, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/head_end.tap.test.cjs000066400000000000000000000117771433324523500247420ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP head_end.tap > output bail=false 1`] = ` Array [ Array [ "line", "# comments\\n", ], Array [ "comment", "# comments\\n", ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "line", "ok 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "line", "# comment\\n", ], Array [ "comment", "# comment\\n", ], Array [ "line", "1..4\\n", ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "line", "# more ignored stuff\\n", ], Array [ "comment", "# more ignored stuff\\n", ], Array [ "line", "# and yet more\\n", ], Array [ "comment", "# and yet more\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP head_end.tap > output bail=true 1`] = ` Array [ Array [ "line", "# comments\\n", ], Array [ "comment", "# comments\\n", ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "line", "ok 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "line", "# comment\\n", ], Array [ "comment", "# comment\\n", ], Array [ "line", "1..4\\n", ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "line", "# more ignored stuff\\n", ], Array [ "comment", "# more ignored stuff\\n", ], Array [ "line", "# and yet more\\n", ], Array [ "comment", "# and yet more\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/head_fail.tap.test.cjs000066400000000000000000000104641433324523500250770ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP head_fail.tap > output bail=false 1`] = ` Array [ Array [ "line", "# comments\\n", ], Array [ "comment", "# comments\\n", ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "not ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": false, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": false, }, ], Array [ "fail", Result { "fullname": "", "id": 2, "ok": false, }, ], Array [ "line", "ok 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "line", "ok 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "line", "# comment\\n", ], Array [ "comment", "# comment\\n", ], Array [ "line", "1..4\\n", ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "line", "# more ignored stuff\\n", ], Array [ "comment", "# more ignored stuff\\n", ], Array [ "line", "# and yet more\\n", ], Array [ "comment", "# and yet more\\n", ], Array [ "line", "# failed 1 of 4 tests\\n", ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 2, "ok": false, }, ], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP head_fail.tap > output bail=true 1`] = ` Array [ Array [ "line", "# comments\\n", ], Array [ "comment", "# comments\\n", ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "not ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": false, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": false, }, ], Array [ "fail", Result { "fullname": "", "id": 2, "ok": false, }, ], Array [ "line", "Bail out!\\n", ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 2, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 2, "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/implicit-counter.tap.test.cjs000066400000000000000000000132571433324523500264750ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP implicit-counter.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# before 1\\n", ], Array [ "comment", "# before 1\\n", ], Array [ "line", "ok one\\n", ], Array [ "assert", Result { "fullname": "", "name": "one", "ok": true, }, ], Array [ "result", Result { "fullname": "", "name": "one", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "name": "one", "ok": true, }, ], Array [ "line", "ok two\\n", ], Array [ "assert", Result { "fullname": "", "name": "two", "ok": true, }, ], Array [ "result", Result { "fullname": "", "name": "two", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "name": "two", "ok": true, }, ], Array [ "line", "# before 3\\n", ], Array [ "comment", "# before 3\\n", ], Array [ "line", "ok three\\n", ], Array [ "assert", Result { "fullname": "", "name": "three", "ok": true, }, ], Array [ "result", Result { "fullname": "", "name": "three", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "name": "three", "ok": true, }, ], Array [ "line", "ok four\\n", ], Array [ "assert", Result { "fullname": "", "name": "four", "ok": true, }, ], Array [ "result", Result { "fullname": "", "name": "four", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "name": "four", "ok": true, }, ], Array [ "line", "# after 4\\n", ], Array [ "comment", "# after 4\\n", ], Array [ "line", "1..4\\n", ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "line", "# tests 4\\n", ], Array [ "comment", "# tests 4\\n", ], Array [ "line", "# pass 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP implicit-counter.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# before 1\\n", ], Array [ "comment", "# before 1\\n", ], Array [ "line", "ok one\\n", ], Array [ "assert", Result { "fullname": "", "name": "one", "ok": true, }, ], Array [ "result", Result { "fullname": "", "name": "one", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "name": "one", "ok": true, }, ], Array [ "line", "ok two\\n", ], Array [ "assert", Result { "fullname": "", "name": "two", "ok": true, }, ], Array [ "result", Result { "fullname": "", "name": "two", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "name": "two", "ok": true, }, ], Array [ "line", "# before 3\\n", ], Array [ "comment", "# before 3\\n", ], Array [ "line", "ok three\\n", ], Array [ "assert", Result { "fullname": "", "name": "three", "ok": true, }, ], Array [ "result", Result { "fullname": "", "name": "three", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "name": "three", "ok": true, }, ], Array [ "line", "ok four\\n", ], Array [ "assert", Result { "fullname": "", "name": "four", "ok": true, }, ], Array [ "result", Result { "fullname": "", "name": "four", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "name": "four", "ok": true, }, ], Array [ "line", "# after 4\\n", ], Array [ "comment", "# after 4\\n", ], Array [ "line", "1..4\\n", ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "line", "# tests 4\\n", ], Array [ "comment", "# tests 4\\n", ], Array [ "line", "# pass 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/indent.tap.test.cjs000066400000000000000000000567371433324523500245010ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP indent.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP Version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "# nesting\\n", ], Array [ "comment", "# nesting\\n", ], Array [ "line", "# Subtest: first\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "ok 1 - true is ok # time=1.234ms\\n", ], Array [ "assert", Result { "fullname": "first", "id": 1, "name": "true is ok", "ok": true, "time": 1.234, }, ], Array [ "line", "ok 2 - doag is also okay # time=1.234ms\\n", ], Array [ "assert", Result { "fullname": "first", "id": 2, "name": "doag is also okay", "ok": true, "time": 1.234, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 2.589, "todo": 0, }, ], ], ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok # time=1.234ms\\n", ], Array [ "result", Result { "fullname": "first", "id": 1, "name": "true is ok", "ok": true, "time": 1.234, }, ], Array [ "pass", Result { "fullname": "first", "id": 1, "name": "true is ok", "ok": true, "time": 1.234, }, ], Array [ "line", " ok 2 - doag is also okay # time=1.234ms\\n", ], Array [ "result", Result { "fullname": "first", "id": 2, "name": "doag is also okay", "ok": true, "time": 1.234, }, ], Array [ "pass", Result { "fullname": "first", "id": 2, "name": "doag is also okay", "ok": true, "time": 1.234, }, ], Array [ "line", "ok 1 - first # time=2.589ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "first", "ok": true, "time": 2.589, }, ], Array [ "line", "# Subtest: second\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "line", "ok 1 - no plan # time=1.001ms\\n", ], Array [ "assert", Result { "fullname": "second", "id": 1, "name": "no plan", "ok": true, "time": 1.001, }, ], Array [ "line", "# Subtest: this passes\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: this passes\\n", ], Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "line", "not ok granddaughter # SKIP for no raisin\\n", ], Array [ "assert", Result { "fullname": "second this passes", "name": "granddaughter", "ok": false, "skip": "for no raisin", }, ], Array [ "line", "ok grandson # time=1.001s\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " ok: 1\\n", ], Array [ "line", " this: is not tap\\n", ], Array [ "line", " it: is yaml\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "it": "is yaml", "ok": 1, "this": "is not tap", }, "fullname": "second this passes", "name": "grandson", "ok": true, "time": 1001, }, ], Array [ "line", "not ok grandchild # TODO\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " ok: 1\\n", ], Array [ "line", " this: is not tap or yaml\\n", ], Array [ "line", " it: is garbage\\n", ], Array [ "assert", Result { "fullname": "second this passes", "name": "grandchild", "ok": false, "todo": true, }, ], Array [ "line", "# todo: 1\\n", ], Array [ "comment", "# todo: 1\\n", ], Array [ "line", "# skip: 1\\n", ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 2, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": 1200, "todo": 1, }, ], ], ], Array [ "line", " 1..3\\n", ], Array [ "line", " not ok granddaughter # SKIP for no raisin\\n", ], Array [ "line", " ok grandson # time=1.001s\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " ok: 1\\n", ], Array [ "line", " this: is not tap\\n", ], Array [ "line", " it: is yaml\\n", ], Array [ "line", " ...\\n", ], Array [ "line", " not ok grandchild # TODO\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " ok: 1\\n", ], Array [ "line", " this: is not tap or yaml\\n", ], Array [ "line", " it: is garbage\\n", ], Array [ "line", " # todo: 1\\n", ], Array [ "line", " # skip: 1\\n", ], Array [ "line", "ok 2 - this passes # time=1.200s\\n", ], Array [ "assert", Result { "fullname": "second", "id": 2, "name": "this passes", "ok": true, "time": 1200, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 1.2, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - no plan # time=1.001ms\\n", ], Array [ "result", Result { "fullname": "second", "id": 1, "name": "no plan", "ok": true, "time": 1.001, }, ], Array [ "pass", Result { "fullname": "second", "id": 1, "name": "no plan", "ok": true, "time": 1.001, }, ], Array [ "line", " # Subtest: this passes\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", " not ok granddaughter # SKIP for no raisin\\n", ], Array [ "result", Result { "fullname": "second this passes", "name": "granddaughter", "ok": false, "skip": "for no raisin", }, ], Array [ "skip", Result { "fullname": "second this passes", "name": "granddaughter", "ok": false, "skip": "for no raisin", }, ], Array [ "line", " ok grandson # time=1.001s\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " ok: 1\\n", ], Array [ "line", " this: is not tap\\n", ], Array [ "line", " it: is yaml\\n", ], Array [ "line", " ...\\n", ], Array [ "result", Result { "diag": Object { "it": "is yaml", "ok": 1, "this": "is not tap", }, "fullname": "second this passes", "name": "grandson", "ok": true, "time": 1001, }, ], Array [ "pass", Result { "diag": Object { "it": "is yaml", "ok": 1, "this": "is not tap", }, "fullname": "second this passes", "name": "grandson", "ok": true, "time": 1001, }, ], Array [ "line", " not ok grandchild # TODO\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " ok: 1\\n", ], Array [ "line", " this: is not tap or yaml\\n", ], Array [ "line", " it: is garbage\\n", ], Array [ "result", Result { "fullname": "second this passes", "name": "grandchild", "ok": false, "todo": true, }, ], Array [ "todo", Result { "fullname": "second this passes", "name": "grandchild", "ok": false, "todo": true, }, ], Array [ "extra", String( --- ok: 1 this: is not tap or yaml it: is garbage ), ], Array [ "line", " # todo: 1\\n", ], Array [ "line", " # skip: 1\\n", ], Array [ "line", " ok 2 - this passes # time=1.200s\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", "ok 2 - second # time=1.200ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "second", "ok": true, "time": 1.2, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP indent.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP Version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "# nesting\\n", ], Array [ "comment", "# nesting\\n", ], Array [ "line", "# Subtest: first\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "ok 1 - true is ok # time=1.234ms\\n", ], Array [ "assert", Result { "fullname": "first", "id": 1, "name": "true is ok", "ok": true, "time": 1.234, }, ], Array [ "line", "ok 2 - doag is also okay # time=1.234ms\\n", ], Array [ "assert", Result { "fullname": "first", "id": 2, "name": "doag is also okay", "ok": true, "time": 1.234, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 2.589, "todo": 0, }, ], ], ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok # time=1.234ms\\n", ], Array [ "result", Result { "fullname": "first", "id": 1, "name": "true is ok", "ok": true, "time": 1.234, }, ], Array [ "pass", Result { "fullname": "first", "id": 1, "name": "true is ok", "ok": true, "time": 1.234, }, ], Array [ "line", " ok 2 - doag is also okay # time=1.234ms\\n", ], Array [ "result", Result { "fullname": "first", "id": 2, "name": "doag is also okay", "ok": true, "time": 1.234, }, ], Array [ "pass", Result { "fullname": "first", "id": 2, "name": "doag is also okay", "ok": true, "time": 1.234, }, ], Array [ "line", "ok 1 - first # time=2.589ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "first", "ok": true, "time": 2.589, }, ], Array [ "line", "# Subtest: second\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "line", "ok 1 - no plan # time=1.001ms\\n", ], Array [ "assert", Result { "fullname": "second", "id": 1, "name": "no plan", "ok": true, "time": 1.001, }, ], Array [ "line", "# Subtest: this passes\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: this passes\\n", ], Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "line", "not ok granddaughter # SKIP for no raisin\\n", ], Array [ "assert", Result { "fullname": "second this passes", "name": "granddaughter", "ok": false, "skip": "for no raisin", }, ], Array [ "line", "ok grandson # time=1.001s\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " ok: 1\\n", ], Array [ "line", " this: is not tap\\n", ], Array [ "line", " it: is yaml\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "it": "is yaml", "ok": 1, "this": "is not tap", }, "fullname": "second this passes", "name": "grandson", "ok": true, "time": 1001, }, ], Array [ "line", "not ok grandchild # TODO\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " ok: 1\\n", ], Array [ "line", " this: is not tap or yaml\\n", ], Array [ "line", " it: is garbage\\n", ], Array [ "assert", Result { "fullname": "second this passes", "name": "grandchild", "ok": false, "todo": true, }, ], Array [ "line", "# todo: 1\\n", ], Array [ "comment", "# todo: 1\\n", ], Array [ "line", "# skip: 1\\n", ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 2, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": 1200, "todo": 1, }, ], ], ], Array [ "line", " 1..3\\n", ], Array [ "line", " not ok granddaughter # SKIP for no raisin\\n", ], Array [ "line", " ok grandson # time=1.001s\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " ok: 1\\n", ], Array [ "line", " this: is not tap\\n", ], Array [ "line", " it: is yaml\\n", ], Array [ "line", " ...\\n", ], Array [ "line", " not ok grandchild # TODO\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " ok: 1\\n", ], Array [ "line", " this: is not tap or yaml\\n", ], Array [ "line", " it: is garbage\\n", ], Array [ "line", " # todo: 1\\n", ], Array [ "line", " # skip: 1\\n", ], Array [ "line", "ok 2 - this passes # time=1.200s\\n", ], Array [ "assert", Result { "fullname": "second", "id": 2, "name": "this passes", "ok": true, "time": 1200, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 1.2, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - no plan # time=1.001ms\\n", ], Array [ "result", Result { "fullname": "second", "id": 1, "name": "no plan", "ok": true, "time": 1.001, }, ], Array [ "pass", Result { "fullname": "second", "id": 1, "name": "no plan", "ok": true, "time": 1.001, }, ], Array [ "line", " # Subtest: this passes\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", " not ok granddaughter # SKIP for no raisin\\n", ], Array [ "result", Result { "fullname": "second this passes", "name": "granddaughter", "ok": false, "skip": "for no raisin", }, ], Array [ "skip", Result { "fullname": "second this passes", "name": "granddaughter", "ok": false, "skip": "for no raisin", }, ], Array [ "line", " ok grandson # time=1.001s\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " ok: 1\\n", ], Array [ "line", " this: is not tap\\n", ], Array [ "line", " it: is yaml\\n", ], Array [ "line", " ...\\n", ], Array [ "result", Result { "diag": Object { "it": "is yaml", "ok": 1, "this": "is not tap", }, "fullname": "second this passes", "name": "grandson", "ok": true, "time": 1001, }, ], Array [ "pass", Result { "diag": Object { "it": "is yaml", "ok": 1, "this": "is not tap", }, "fullname": "second this passes", "name": "grandson", "ok": true, "time": 1001, }, ], Array [ "line", " not ok grandchild # TODO\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " ok: 1\\n", ], Array [ "line", " this: is not tap or yaml\\n", ], Array [ "line", " it: is garbage\\n", ], Array [ "result", Result { "fullname": "second this passes", "name": "grandchild", "ok": false, "todo": true, }, ], Array [ "todo", Result { "fullname": "second this passes", "name": "grandchild", "ok": false, "todo": true, }, ], Array [ "extra", String( --- ok: 1 this: is not tap or yaml it: is garbage ), ], Array [ "line", " # todo: 1\\n", ], Array [ "line", " # skip: 1\\n", ], Array [ "line", " ok 2 - this passes # time=1.200s\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", "ok 2 - second # time=1.200ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "second", "ok": true, "time": 1.2, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/indented-stdout-noise.tap.test.cjs000066400000000000000000001150671433324523500274350ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP indented-stdout-noise.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# Subtest: index.js\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: index.js\\n", ], Array [ "line", "# Subtest: boom\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: boom\\n", ], Array [ "line", "# Subtest: npm install package line\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: npm install package line\\n", ], Array [ "line", "$ npm install package\\n", ], Array [ "line", "var package = require('package')(); // contains package.json data.\\n", ], Array [ "line", "var yourAwesomeModule = {};\\n", ], Array [ "line", "yourAwesomeModule.version = package.version;\\n", ], Array [ "line", "1..0 # no tests found\\n", ], Array [ "plan", Object { "comment": "no tests found", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "no tests found", "end": 0, "skipAll": true, "skipReason": "no tests found", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " $ npm install package\\n", ], Array [ "line", " var package = require('package')(); // contains package.json data.\\n", ], Array [ "line", " var yourAwesomeModule = {};\\n", ], Array [ "line", " yourAwesomeModule.version = package.version;\\n", ], Array [ "line", "1..0\\n", ], Array [ "line", " 1..0 # no tests found\\n", ], Array [ "line", "1..0 # no tests found\\n", ], Array [ "plan", Object { "comment": "no tests found", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "no tests found", "end": 0, "skipAll": true, "skipReason": "no tests found", "start": 1, }, "skip": 0, "time": 5.26, "todo": 0, }, ], ], ], Array [ "line", "# package - Easy package.json exports.\\n", ], Array [ "comment", "# package - Easy package.json exports.\\n", ], Array [ "line", "## Intro\\n", ], Array [ "comment", "## Intro\\n", ], Array [ "line", "This module provides an easy way to export package.json data.\\n", ], Array [ "line", "It contains auto-discovery functionality, which means that it will\\n", ], Array [ "line", "find your package.json file automatically. Cool, ugh?\\n", ], Array [ "line", "## Installation\\n", ], Array [ "comment", "## Installation\\n", ], Array [ "line", " # Subtest: npm install package line\\n", ], Array [ "line", " $ npm install package\\n", ], Array [ "line", "## Usage\\n", ], Array [ "comment", "## Usage\\n", ], Array [ "line", " var package = require('package')(); // contains package.json data.\\n", ], Array [ "line", " var yourAwesomeModule = {};\\n", ], Array [ "line", " yourAwesomeModule.version = package.version;\\n", ], Array [ "line", "## Contribution\\n", ], Array [ "comment", "## Contribution\\n", ], Array [ "line", "Bug fixes and features are welcomed.\\n", ], Array [ "line", "## Other similar modules\\n", ], Array [ "comment", "## Other similar modules\\n", ], Array [ "line", "- pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero.\\n", ], Array [ "line", "- JSON.parse + fs.readFile\\n", ], Array [ "line", "## License\\n", ], Array [ "comment", "## License\\n", ], Array [ "line", "MIT License\\n", ], Array [ "line", "Copyright (C) 2011 Veselin Todorov\\n", ], Array [ "line", "Permission is hereby granted, free of charge, to any person obtaining a copy of\\n", ], Array [ "line", "this software and associated documentation files (the \\"Software\\"), to deal in\\n", ], Array [ "line", "the Software without restriction, including without limitation the rights to\\n", ], Array [ "line", "use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\\n", ], Array [ "line", "of the Software, and to permit persons to whom the Software is furnished to do\\n", ], Array [ "line", "so, subject to the following conditions:\\n", ], Array [ "line", "The above copyright notice and this permission notice shall be included in all\\n", ], Array [ "line", "copies or substantial portions of the Software.\\n", ], Array [ "line", "THE SOFTWARE IS PROVIDED \\"AS IS\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\n", ], Array [ "line", "IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\n", ], Array [ "line", "FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\n", ], Array [ "line", "AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\n", ], Array [ "line", "LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\\n", ], Array [ "line", "OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\\n", ], Array [ "line", "SOFTWARE.\\n", ], Array [ "line", " 1..0\\n", ], Array [ "line", " 1..0 # no tests found\\n", ], Array [ "line", " 1..0 # no tests found\\n", ], Array [ "line", "ok 1 - boom # time=5.26ms\\n", ], Array [ "assert", Result { "fullname": "index.js", "id": 1, "name": "boom", "ok": true, "time": 5.26, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "# time=12.555ms\\n", ], Array [ "comment", "# time=12.555ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 201.609, "todo": 0, }, ], ], ], Array [ "line", " # Subtest: boom\\n", ], Array [ "line", " # package - Easy package.json exports.\\n", ], Array [ "line", " ## Intro\\n", ], Array [ "line", " This module provides an easy way to export package.json data.\\n", ], Array [ "extra", " This module provides an easy way to export package.json data.\\n", ], Array [ "line", " It contains auto-discovery functionality, which means that it will\\n", ], Array [ "extra", " It contains auto-discovery functionality, which means that it will\\n", ], Array [ "line", " find your package.json file automatically. Cool, ugh?\\n", ], Array [ "extra", " find your package.json file automatically. Cool, ugh?\\n", ], Array [ "line", " ## Installation\\n", ], Array [ "line", " # Subtest: npm install package line\\n", ], Array [ "line", " $ npm install package\\n", ], Array [ "extra", " $ npm install package\\n", ], Array [ "line", " ## Usage\\n", ], Array [ "line", " var package = require('package')(); // contains package.json data.\\n", ], Array [ "extra", " var package = require('package')(); // contains package.json data.\\n", ], Array [ "line", " var yourAwesomeModule = {};\\n", ], Array [ "extra", " var yourAwesomeModule = {};\\n", ], Array [ "line", " yourAwesomeModule.version = package.version;\\n", ], Array [ "extra", " yourAwesomeModule.version = package.version;\\n", ], Array [ "line", " ## Contribution\\n", ], Array [ "line", " Bug fixes and features are welcomed.\\n", ], Array [ "extra", " Bug fixes and features are welcomed.\\n", ], Array [ "line", " ## Other similar modules\\n", ], Array [ "line", " - pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero.\\n", ], Array [ "extra", " - pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero.\\n", ], Array [ "line", " - JSON.parse + fs.readFile\\n", ], Array [ "extra", " - JSON.parse + fs.readFile\\n", ], Array [ "line", " ## License\\n", ], Array [ "line", " MIT License\\n", ], Array [ "extra", " MIT License\\n", ], Array [ "line", " Copyright (C) 2011 Veselin Todorov\\n", ], Array [ "extra", " Copyright (C) 2011 Veselin Todorov\\n", ], Array [ "line", " Permission is hereby granted, free of charge, to any person obtaining a copy of\\n", ], Array [ "extra", " Permission is hereby granted, free of charge, to any person obtaining a copy of\\n", ], Array [ "line", " this software and associated documentation files (the \\"Software\\"), to deal in\\n", ], Array [ "extra", " this software and associated documentation files (the \\"Software\\"), to deal in\\n", ], Array [ "line", " the Software without restriction, including without limitation the rights to\\n", ], Array [ "extra", " the Software without restriction, including without limitation the rights to\\n", ], Array [ "line", " use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\\n", ], Array [ "extra", " use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\\n", ], Array [ "line", " of the Software, and to permit persons to whom the Software is furnished to do\\n", ], Array [ "extra", " of the Software, and to permit persons to whom the Software is furnished to do\\n", ], Array [ "line", " so, subject to the following conditions:\\n", ], Array [ "extra", " so, subject to the following conditions:\\n", ], Array [ "line", " The above copyright notice and this permission notice shall be included in all\\n", ], Array [ "extra", " The above copyright notice and this permission notice shall be included in all\\n", ], Array [ "line", " copies or substantial portions of the Software.\\n", ], Array [ "extra", " copies or substantial portions of the Software.\\n", ], Array [ "line", " THE SOFTWARE IS PROVIDED \\"AS IS\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\n", ], Array [ "extra", " THE SOFTWARE IS PROVIDED \\"AS IS\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\n", ], Array [ "line", " IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\n", ], Array [ "extra", " IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\n", ], Array [ "line", " FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\n", ], Array [ "extra", " FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\n", ], Array [ "line", " AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\n", ], Array [ "extra", " AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\n", ], Array [ "line", " LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\\n", ], Array [ "extra", " LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\\n", ], Array [ "line", " OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\\n", ], Array [ "extra", " OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\\n", ], Array [ "line", " SOFTWARE.\\n", ], Array [ "extra", " SOFTWARE.\\n", ], Array [ "line", " 1..0\\n", ], Array [ "extra", " 1..0\\n", ], Array [ "line", " 1..0 # no tests found\\n", ], Array [ "line", " 1..0 # no tests found\\n", ], Array [ "line", " ok 1 - boom # time=5.26ms\\n", ], Array [ "result", Result { "fullname": "index.js", "id": 1, "name": "boom", "ok": true, "time": 5.26, }, ], Array [ "pass", Result { "fullname": "index.js", "id": 1, "name": "boom", "ok": true, "time": 5.26, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", " # time=12.555ms\\n", ], Array [ "line", "not ok 1 - index.js # time=201.609ms\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " arguments:\\n", ], Array [ "line", " - index.js\\n", ], Array [ "line", " timeout: 30000\\n", ], Array [ "line", " results:\\n", ], Array [ "line", " ok: false\\n", ], Array [ "line", " count: 1\\n", ], Array [ "line", " pass: 1\\n", ], Array [ "line", " plan:\\n", ], Array [ "line", " start: 1\\n", ], Array [ "line", " end: 1\\n", ], Array [ "line", " command: /usr/local/bin/iojs\\n", ], Array [ "line", " file: index.js\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "arguments": Array [ "index.js", ], "command": "/usr/local/bin/iojs", "file": "index.js", "results": Object { "count": 1, "ok": false, "pass": 1, "plan": Object { "end": 1, "start": 1, }, }, "timeout": 30000, }, "fullname": "", "id": 1, "name": "index.js", "ok": false, "time": 201.609, }, ], Array [ "result", Result { "diag": Object { "arguments": Array [ "index.js", ], "command": "/usr/local/bin/iojs", "file": "index.js", "results": Object { "count": 1, "ok": false, "pass": 1, "plan": Object { "end": 1, "start": 1, }, }, "timeout": 30000, }, "fullname": "", "id": 1, "name": "index.js", "ok": false, "time": 201.609, }, ], Array [ "fail", Result { "diag": Object { "arguments": Array [ "index.js", ], "command": "/usr/local/bin/iojs", "file": "index.js", "results": Object { "count": 1, "ok": false, "pass": 1, "plan": Object { "end": 1, "start": 1, }, }, "timeout": 30000, }, "fullname": "", "id": 1, "name": "index.js", "ok": false, "time": 201.609, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "# failed 1 of 1 tests\\n", ], Array [ "comment", "# failed 1 of 1 tests\\n", ], Array [ "line", "# time=209.666ms\\n", ], Array [ "comment", "# time=209.666ms\\n", ], Array [ "line", "# failed 1 test\\n", ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "arguments": Array [ "index.js", ], "command": "/usr/local/bin/iojs", "file": "index.js", "results": Object { "count": 1, "ok": false, "pass": 1, "plan": Object { "end": 1, "start": 1, }, }, "timeout": 30000, }, "fullname": "", "id": 1, "name": "index.js", "ok": false, "time": 201.609, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 209.666, "todo": 0, }, ], ] ` exports[`test/parser.js TAP indented-stdout-noise.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# Subtest: index.js\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: index.js\\n", ], Array [ "line", "# Subtest: boom\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: boom\\n", ], Array [ "line", "# Subtest: npm install package line\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: npm install package line\\n", ], Array [ "line", "$ npm install package\\n", ], Array [ "line", "var package = require('package')(); // contains package.json data.\\n", ], Array [ "line", "var yourAwesomeModule = {};\\n", ], Array [ "line", "yourAwesomeModule.version = package.version;\\n", ], Array [ "line", "1..0 # no tests found\\n", ], Array [ "plan", Object { "comment": "no tests found", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "no tests found", "end": 0, "skipAll": true, "skipReason": "no tests found", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " $ npm install package\\n", ], Array [ "line", " var package = require('package')(); // contains package.json data.\\n", ], Array [ "line", " var yourAwesomeModule = {};\\n", ], Array [ "line", " yourAwesomeModule.version = package.version;\\n", ], Array [ "line", "1..0\\n", ], Array [ "line", " 1..0 # no tests found\\n", ], Array [ "line", "1..0 # no tests found\\n", ], Array [ "plan", Object { "comment": "no tests found", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "no tests found", "end": 0, "skipAll": true, "skipReason": "no tests found", "start": 1, }, "skip": 0, "time": 5.26, "todo": 0, }, ], ], ], Array [ "line", "# package - Easy package.json exports.\\n", ], Array [ "comment", "# package - Easy package.json exports.\\n", ], Array [ "line", "## Intro\\n", ], Array [ "comment", "## Intro\\n", ], Array [ "line", "This module provides an easy way to export package.json data.\\n", ], Array [ "line", "It contains auto-discovery functionality, which means that it will\\n", ], Array [ "line", "find your package.json file automatically. Cool, ugh?\\n", ], Array [ "line", "## Installation\\n", ], Array [ "comment", "## Installation\\n", ], Array [ "line", " # Subtest: npm install package line\\n", ], Array [ "line", " $ npm install package\\n", ], Array [ "line", "## Usage\\n", ], Array [ "comment", "## Usage\\n", ], Array [ "line", " var package = require('package')(); // contains package.json data.\\n", ], Array [ "line", " var yourAwesomeModule = {};\\n", ], Array [ "line", " yourAwesomeModule.version = package.version;\\n", ], Array [ "line", "## Contribution\\n", ], Array [ "comment", "## Contribution\\n", ], Array [ "line", "Bug fixes and features are welcomed.\\n", ], Array [ "line", "## Other similar modules\\n", ], Array [ "comment", "## Other similar modules\\n", ], Array [ "line", "- pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero.\\n", ], Array [ "line", "- JSON.parse + fs.readFile\\n", ], Array [ "line", "## License\\n", ], Array [ "comment", "## License\\n", ], Array [ "line", "MIT License\\n", ], Array [ "line", "Copyright (C) 2011 Veselin Todorov\\n", ], Array [ "line", "Permission is hereby granted, free of charge, to any person obtaining a copy of\\n", ], Array [ "line", "this software and associated documentation files (the \\"Software\\"), to deal in\\n", ], Array [ "line", "the Software without restriction, including without limitation the rights to\\n", ], Array [ "line", "use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\\n", ], Array [ "line", "of the Software, and to permit persons to whom the Software is furnished to do\\n", ], Array [ "line", "so, subject to the following conditions:\\n", ], Array [ "line", "The above copyright notice and this permission notice shall be included in all\\n", ], Array [ "line", "copies or substantial portions of the Software.\\n", ], Array [ "line", "THE SOFTWARE IS PROVIDED \\"AS IS\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\n", ], Array [ "line", "IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\n", ], Array [ "line", "FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\n", ], Array [ "line", "AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\n", ], Array [ "line", "LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\\n", ], Array [ "line", "OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\\n", ], Array [ "line", "SOFTWARE.\\n", ], Array [ "line", " 1..0\\n", ], Array [ "line", " 1..0 # no tests found\\n", ], Array [ "line", " 1..0 # no tests found\\n", ], Array [ "line", "ok 1 - boom # time=5.26ms\\n", ], Array [ "assert", Result { "fullname": "index.js", "id": 1, "name": "boom", "ok": true, "time": 5.26, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "# time=12.555ms\\n", ], Array [ "comment", "# time=12.555ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 201.609, "todo": 0, }, ], ], ], Array [ "line", " # Subtest: boom\\n", ], Array [ "line", " # package - Easy package.json exports.\\n", ], Array [ "line", " ## Intro\\n", ], Array [ "line", " This module provides an easy way to export package.json data.\\n", ], Array [ "extra", " This module provides an easy way to export package.json data.\\n", ], Array [ "line", " It contains auto-discovery functionality, which means that it will\\n", ], Array [ "extra", " It contains auto-discovery functionality, which means that it will\\n", ], Array [ "line", " find your package.json file automatically. Cool, ugh?\\n", ], Array [ "extra", " find your package.json file automatically. Cool, ugh?\\n", ], Array [ "line", " ## Installation\\n", ], Array [ "line", " # Subtest: npm install package line\\n", ], Array [ "line", " $ npm install package\\n", ], Array [ "extra", " $ npm install package\\n", ], Array [ "line", " ## Usage\\n", ], Array [ "line", " var package = require('package')(); // contains package.json data.\\n", ], Array [ "extra", " var package = require('package')(); // contains package.json data.\\n", ], Array [ "line", " var yourAwesomeModule = {};\\n", ], Array [ "extra", " var yourAwesomeModule = {};\\n", ], Array [ "line", " yourAwesomeModule.version = package.version;\\n", ], Array [ "extra", " yourAwesomeModule.version = package.version;\\n", ], Array [ "line", " ## Contribution\\n", ], Array [ "line", " Bug fixes and features are welcomed.\\n", ], Array [ "extra", " Bug fixes and features are welcomed.\\n", ], Array [ "line", " ## Other similar modules\\n", ], Array [ "line", " - pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero.\\n", ], Array [ "extra", " - pkginfo (https://github.com/indexzero/node-pkginfo) by indexzero.\\n", ], Array [ "line", " - JSON.parse + fs.readFile\\n", ], Array [ "extra", " - JSON.parse + fs.readFile\\n", ], Array [ "line", " ## License\\n", ], Array [ "line", " MIT License\\n", ], Array [ "extra", " MIT License\\n", ], Array [ "line", " Copyright (C) 2011 Veselin Todorov\\n", ], Array [ "extra", " Copyright (C) 2011 Veselin Todorov\\n", ], Array [ "line", " Permission is hereby granted, free of charge, to any person obtaining a copy of\\n", ], Array [ "extra", " Permission is hereby granted, free of charge, to any person obtaining a copy of\\n", ], Array [ "line", " this software and associated documentation files (the \\"Software\\"), to deal in\\n", ], Array [ "extra", " this software and associated documentation files (the \\"Software\\"), to deal in\\n", ], Array [ "line", " the Software without restriction, including without limitation the rights to\\n", ], Array [ "extra", " the Software without restriction, including without limitation the rights to\\n", ], Array [ "line", " use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\\n", ], Array [ "extra", " use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\\n", ], Array [ "line", " of the Software, and to permit persons to whom the Software is furnished to do\\n", ], Array [ "extra", " of the Software, and to permit persons to whom the Software is furnished to do\\n", ], Array [ "line", " so, subject to the following conditions:\\n", ], Array [ "extra", " so, subject to the following conditions:\\n", ], Array [ "line", " The above copyright notice and this permission notice shall be included in all\\n", ], Array [ "extra", " The above copyright notice and this permission notice shall be included in all\\n", ], Array [ "line", " copies or substantial portions of the Software.\\n", ], Array [ "extra", " copies or substantial portions of the Software.\\n", ], Array [ "line", " THE SOFTWARE IS PROVIDED \\"AS IS\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\n", ], Array [ "extra", " THE SOFTWARE IS PROVIDED \\"AS IS\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\n", ], Array [ "line", " IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\n", ], Array [ "extra", " IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\n", ], Array [ "line", " FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\n", ], Array [ "extra", " FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\n", ], Array [ "line", " AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\n", ], Array [ "extra", " AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\n", ], Array [ "line", " LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\\n", ], Array [ "extra", " LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\\n", ], Array [ "line", " OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\\n", ], Array [ "extra", " OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\\n", ], Array [ "line", " SOFTWARE.\\n", ], Array [ "extra", " SOFTWARE.\\n", ], Array [ "line", " 1..0\\n", ], Array [ "extra", " 1..0\\n", ], Array [ "line", " 1..0 # no tests found\\n", ], Array [ "line", " 1..0 # no tests found\\n", ], Array [ "line", " ok 1 - boom # time=5.26ms\\n", ], Array [ "result", Result { "fullname": "index.js", "id": 1, "name": "boom", "ok": true, "time": 5.26, }, ], Array [ "pass", Result { "fullname": "index.js", "id": 1, "name": "boom", "ok": true, "time": 5.26, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", " # time=12.555ms\\n", ], Array [ "line", "not ok 1 - index.js # time=201.609ms\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " arguments:\\n", ], Array [ "line", " - index.js\\n", ], Array [ "line", " timeout: 30000\\n", ], Array [ "line", " results:\\n", ], Array [ "line", " ok: false\\n", ], Array [ "line", " count: 1\\n", ], Array [ "line", " pass: 1\\n", ], Array [ "line", " plan:\\n", ], Array [ "line", " start: 1\\n", ], Array [ "line", " end: 1\\n", ], Array [ "line", " command: /usr/local/bin/iojs\\n", ], Array [ "line", " file: index.js\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "arguments": Array [ "index.js", ], "command": "/usr/local/bin/iojs", "file": "index.js", "results": Object { "count": 1, "ok": false, "pass": 1, "plan": Object { "end": 1, "start": 1, }, }, "timeout": 30000, }, "fullname": "", "id": 1, "name": "index.js", "ok": false, "time": 201.609, }, ], Array [ "result", Result { "diag": Object { "arguments": Array [ "index.js", ], "command": "/usr/local/bin/iojs", "file": "index.js", "results": Object { "count": 1, "ok": false, "pass": 1, "plan": Object { "end": 1, "start": 1, }, }, "timeout": 30000, }, "fullname": "", "id": 1, "name": "index.js", "ok": false, "time": 201.609, }, ], Array [ "fail", Result { "diag": Object { "arguments": Array [ "index.js", ], "command": "/usr/local/bin/iojs", "file": "index.js", "results": Object { "count": 1, "ok": false, "pass": 1, "plan": Object { "end": 1, "start": 1, }, }, "timeout": 30000, }, "fullname": "", "id": 1, "name": "index.js", "ok": false, "time": 201.609, }, ], Array [ "line", "Bail out! index.js\\n", ], Array [ "bailout", "index.js", ], Array [ "complete", FinalResults { "bailout": "index.js", "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "arguments": Array [ "index.js", ], "command": "/usr/local/bin/iojs", "file": "index.js", "results": Object { "count": 1, "ok": false, "pass": 1, "plan": Object { "end": 1, "start": 1, }, }, "timeout": 30000, }, "fullname": "", "id": 1, "name": "index.js", "ok": false, "time": 201.609, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/junk_before_plan.tap.test.cjs000066400000000000000000000050671433324523500265110ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP junk_before_plan.tap > output bail=false 1`] = ` Array [ Array [ "line", "this is junk\\n", ], Array [ "extra", "this is junk\\n", ], Array [ "line", "# this is a comment\\n", ], Array [ "comment", "# this is a comment\\n", ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP junk_before_plan.tap > output bail=true 1`] = ` Array [ Array [ "line", "this is junk\\n", ], Array [ "extra", "this is junk\\n", ], Array [ "line", "# this is a comment\\n", ], Array [ "comment", "# this is a comment\\n", ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/line-break.tap.test.cjs000066400000000000000000000364441433324523500252220ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP line-break.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# Subtest: foo\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: foo\\n", ], Array [ "line", "not ok 1 - should be equivalent\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " found:\\n", ], Array [ "line", " - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\\n", ], Array [ "line", " wanted:\\n", ], Array [ "line", " - >-\\n", ], Array [ "line", " xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\\n", ], Array [ "line", " \\n", ], Array [ "line", " yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "found": Array [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy", ], "wanted": Array [ String( xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy ), ], }, "fullname": "foo", "id": 1, "name": "should be equivalent", "ok": false, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "# failed 1 of 1 tests\\n", ], Array [ "comment", "# failed 1 of 1 tests\\n", ], Array [ "line", "# failed 1 test\\n", ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "found": Array [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy", ], "wanted": Array [ String( xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy ), ], }, "fullname": "foo", "id": 1, "name": "should be equivalent", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 13.457, "todo": 0, }, ], ], ], Array [ "line", " not ok 1 - should be equivalent\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " found:\\n", ], Array [ "line", " - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\\n", ], Array [ "line", " wanted:\\n", ], Array [ "line", " - >-\\n", ], Array [ "line", " xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\\n", ], Array [ "line", " \\n", ], Array [ "line", " yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\\n", ], Array [ "line", " ...\\n", ], Array [ "result", Result { "diag": Object { "found": Array [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy", ], "wanted": Array [ String( xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy ), ], }, "fullname": "foo", "id": 1, "name": "should be equivalent", "ok": false, }, ], Array [ "fail", Result { "diag": Object { "found": Array [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy", ], "wanted": Array [ String( xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy ), ], }, "fullname": "foo", "id": 1, "name": "should be equivalent", "ok": false, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", " # failed 1 of 1 tests\\n", ], Array [ "line", " # failed 1 test\\n", ], Array [ "line", "not ok 1 - foo # time=13.457ms\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " results:\\n", ], Array [ "line", " plan:\\n", ], Array [ "line", " start: 1\\n", ], Array [ "line", " end: 1\\n", ], Array [ "line", " count: 1\\n", ], Array [ "line", " pass: 0\\n", ], Array [ "line", " ok: false\\n", ], Array [ "line", " fail: 1\\n", ], Array [ "line", " time: 13.457\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "results": Object { "count": 1, "fail": 1, "ok": false, "pass": 0, "plan": Object { "end": 1, "start": 1, }, "time": 13.457, }, }, "fullname": "", "id": 1, "name": "foo", "ok": false, "time": 13.457, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "# failed 1 of 1 tests\\n", ], Array [ "comment", "# failed 1 of 1 tests\\n", ], Array [ "line", "# time=22.566ms\\n", ], Array [ "comment", "# time=22.566ms\\n", ], Array [ "line", "# failed 1 test\\n", ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "results": Object { "count": 1, "fail": 1, "ok": false, "pass": 0, "plan": Object { "end": 1, "start": 1, }, "time": 13.457, }, }, "fullname": "", "id": 1, "name": "foo", "ok": false, "time": 13.457, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 22.566, "todo": 0, }, ], ] ` exports[`test/parser.js TAP line-break.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# Subtest: foo\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: foo\\n", ], Array [ "line", "not ok 1 - should be equivalent\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " found:\\n", ], Array [ "line", " - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\\n", ], Array [ "line", " wanted:\\n", ], Array [ "line", " - >-\\n", ], Array [ "line", " xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\\n", ], Array [ "line", " \\n", ], Array [ "line", " yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "found": Array [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy", ], "wanted": Array [ String( xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy ), ], }, "fullname": "foo", "id": 1, "name": "should be equivalent", "ok": false, }, ], Array [ "line", "Bail out! should be equivalent\\n", ], Array [ "bailout", "should be equivalent", ], Array [ "complete", FinalResults { "bailout": "should be equivalent", "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "found": Array [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy", ], "wanted": Array [ String( xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy ), ], }, "fullname": "foo", "id": 1, "name": "should be equivalent", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " not ok 1 - should be equivalent\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " found:\\n", ], Array [ "line", " - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\\n", ], Array [ "line", " wanted:\\n", ], Array [ "line", " - >-\\n", ], Array [ "line", " xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\\n", ], Array [ "line", " \\n", ], Array [ "line", " yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\\n", ], Array [ "line", " ...\\n", ], Array [ "result", Result { "diag": Object { "found": Array [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy", ], "wanted": Array [ String( xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy ), ], }, "fullname": "foo", "id": 1, "name": "should be equivalent", "ok": false, }, ], Array [ "fail", Result { "diag": Object { "found": Array [ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy", ], "wanted": Array [ String( xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy ), ], }, "fullname": "foo", "id": 1, "name": "should be equivalent", "ok": false, }, ], Array [ "line", " Bail out! should be equivalent\\n", ], Array [ "bailout", "should be equivalent", ], Array [ "line", "Bail out! should be equivalent\\n", ], Array [ "complete", FinalResults { "bailout": "should be equivalent", "count": 0, "fail": 0, "failures": Array [], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/lone_not_bug.tap.test.cjs000066400000000000000000000102731433324523500256530ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP lone_not_bug.tap > output bail=false 1`] = ` Array [ Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "line", "ok 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "line", "1..4\\n", ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP lone_not_bug.tap > output bail=true 1`] = ` Array [ Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "line", "ok 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "line", "1..4\\n", ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/mismatched-child-assert.tap.test.cjs000066400000000000000000000126231433324523500277000ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP mismatched-child-assert.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# Subtest: some child\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: some child\\n", ], Array [ "line", "ok 1 - this is fine\\n", ], Array [ "assert", Result { "fullname": "some child", "id": 1, "name": "this is fine", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - this is fine\\n", ], Array [ "result", Result { "fullname": "some child", "id": 1, "name": "this is fine", "ok": true, }, ], Array [ "pass", Result { "fullname": "some child", "id": 1, "name": "this is fine", "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", "ok 1 - different name\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "different name", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "different name", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "different name", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP mismatched-child-assert.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# Subtest: some child\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: some child\\n", ], Array [ "line", "ok 1 - this is fine\\n", ], Array [ "assert", Result { "fullname": "some child", "id": 1, "name": "this is fine", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - this is fine\\n", ], Array [ "result", Result { "fullname": "some child", "id": 1, "name": "this is fine", "ok": true, }, ], Array [ "pass", Result { "fullname": "some child", "id": 1, "name": "this is fine", "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", "ok 1 - different name\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "different name", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "different name", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "different name", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/missing.tap.test.cjs000066400000000000000000000123651433324523500246560ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP missing.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP Version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..6\\n", ], Array [ "plan", Object { "end": 6, "start": 1, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "# test count(5) != plan(6)\\n", ], Array [ "comment", "# test count(5) != plan(6)\\n", ], Array [ "line", "# failed 1 of 5 tests\\n", ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Object { "tapError": "incorrect number of tests", }, ], "ok": false, "pass": 5, "plan": FinalPlan { "comment": "", "end": 6, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP missing.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP Version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..6\\n", ], Array [ "plan", Object { "end": 6, "start": 1, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "# test count(5) != plan(6)\\n", ], Array [ "comment", "# test count(5) != plan(6)\\n", ], Array [ "line", "# failed 1 of 5 tests\\n", ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Object { "tapError": "incorrect number of tests", }, ], "ok": false, "pass": 5, "plan": FinalPlan { "comment": "", "end": 6, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/no-numbers.tap.test.cjs000066400000000000000000000100011433324523500252530ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP no-numbers.tap > output bail=false 1`] = ` Array [ Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "line", "ok we are good\\n", ], Array [ "assert", Result { "fullname": "", "name": "we are good", "ok": true, }, ], Array [ "result", Result { "fullname": "", "name": "we are good", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "name": "we are good", "ok": true, }, ], Array [ "line", "not ok 2 we are bad\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "we are bad", "ok": false, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "we are bad", "ok": false, }, ], Array [ "fail", Result { "fullname": "", "id": 2, "name": "we are bad", "ok": false, }, ], Array [ "line", "ok we are zesty!\\n", ], Array [ "assert", Result { "fullname": "", "name": "we are zesty!", "ok": true, }, ], Array [ "result", Result { "fullname": "", "name": "we are zesty!", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "name": "we are zesty!", "ok": true, }, ], Array [ "line", "# failed 1 of 3 tests\\n", ], Array [ "comment", "# failed 1 of 3 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 2, "name": "we are bad", "ok": false, }, ], "ok": false, "pass": 2, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP no-numbers.tap > output bail=true 1`] = ` Array [ Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "line", "ok we are good\\n", ], Array [ "assert", Result { "fullname": "", "name": "we are good", "ok": true, }, ], Array [ "result", Result { "fullname": "", "name": "we are good", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "name": "we are good", "ok": true, }, ], Array [ "line", "not ok 2 we are bad\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "we are bad", "ok": false, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "we are bad", "ok": false, }, ], Array [ "fail", Result { "fullname": "", "id": 2, "name": "we are bad", "ok": false, }, ], Array [ "line", "Bail out! we are bad\\n", ], Array [ "bailout", "we are bad", ], Array [ "complete", FinalResults { "bailout": "we are bad", "count": 2, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 2, "name": "we are bad", "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/no-plan.tap.test.cjs000066400000000000000000000141351433324523500245460ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP no-plan.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# before 1\\n", ], Array [ "comment", "# before 1\\n", ], Array [ "line", "ok 1 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 2 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# before 3\\n", ], Array [ "comment", "# before 3\\n", ], Array [ "line", "ok 3 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 4 (unnamed assert)\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "line", "# test count(4) != plan(null)\\n", ], Array [ "comment", "# test count(4) != plan(null)\\n", ], Array [ "line", "# failed 1 of 4 tests\\n", ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Object { "tapError": "no plan", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP no-plan.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# before 1\\n", ], Array [ "comment", "# before 1\\n", ], Array [ "line", "ok 1 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 2 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# before 3\\n", ], Array [ "comment", "# before 3\\n", ], Array [ "line", "ok 3 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 4 (unnamed assert)\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "line", "# test count(4) != plan(null)\\n", ], Array [ "comment", "# test count(4) != plan(null)\\n", ], Array [ "line", "# failed 1 of 4 tests\\n", ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Object { "tapError": "no plan", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/no_nums.tap.test.cjs000066400000000000000000000102761433324523500246620ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP no_nums.tap > output bail=false 1`] = ` Array [ Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "not ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": false, }, ], Array [ "result", Result { "fullname": "", "ok": false, }, ], Array [ "fail", Result { "fullname": "", "ok": false, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "# failed 1 of 5 tests\\n", ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Result { "fullname": "", "ok": false, }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP no_nums.tap > output bail=true 1`] = ` Array [ Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "not ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": false, }, ], Array [ "result", Result { "fullname": "", "ok": false, }, ], Array [ "fail", Result { "fullname": "", "ok": false, }, ], Array [ "line", "Bail out!\\n", ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 3, "fail": 1, "failures": Array [ Result { "fullname": "", "ok": false, }, ], "ok": false, "pass": 2, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/not-enough.tap.test.cjs000066400000000000000000000156271433324523500252740ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP not-enough.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# before 1\\n", ], Array [ "comment", "# before 1\\n", ], Array [ "line", "ok 1 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 2 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# before 3\\n", ], Array [ "comment", "# before 3\\n", ], Array [ "line", "ok 3 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 4 (unnamed assert)\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "# tests 4\\n", ], Array [ "comment", "# tests 4\\n", ], Array [ "line", "# pass 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "# test count(4) != plan(5)\\n", ], Array [ "comment", "# test count(4) != plan(5)\\n", ], Array [ "line", "# failed 1 of 4 tests\\n", ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Object { "tapError": "incorrect number of tests", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP not-enough.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# before 1\\n", ], Array [ "comment", "# before 1\\n", ], Array [ "line", "ok 1 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 2 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# before 3\\n", ], Array [ "comment", "# before 3\\n", ], Array [ "line", "ok 3 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 4 (unnamed assert)\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "# tests 4\\n", ], Array [ "comment", "# tests 4\\n", ], Array [ "line", "# pass 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "# test count(4) != plan(5)\\n", ], Array [ "comment", "# test count(4) != plan(5)\\n", ], Array [ "line", "# failed 1 of 4 tests\\n", ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Object { "tapError": "incorrect number of tests", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/not-ok-todo.tap.test.cjs000066400000000000000000000146371433324523500253630ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP not-ok-todo.tap > output bail=false 1`] = ` Array [ Array [ "line", "# TAP emitted by Test::More 0.98\\n", ], Array [ "comment", "# TAP emitted by Test::More 0.98\\n", ], Array [ "line", "ok 1 - should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "line", "not ok 2 - should be equivalent # TODO but we will fix it later\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": false, "todo": "but we will fix it later", }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": false, "todo": "but we will fix it later", }, ], Array [ "todo", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": false, "todo": "but we will fix it later", }, ], Array [ "line", "# boop\\n", ], Array [ "comment", "# boop\\n", ], Array [ "line", "ok 3 - should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 4 - (unnamed assert)\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "line", "1..4\\n", ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "line", "# Looks like you failed 1 test of 4.\\n", ], Array [ "comment", "# Looks like you failed 1 test of 4.\\n", ], Array [ "line", "# todo: 1\\n", ], Array [ "comment", "# todo: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 1, }, ], ] ` exports[`test/parser.js TAP not-ok-todo.tap > output bail=true 1`] = ` Array [ Array [ "line", "# TAP emitted by Test::More 0.98\\n", ], Array [ "comment", "# TAP emitted by Test::More 0.98\\n", ], Array [ "line", "ok 1 - should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "line", "not ok 2 - should be equivalent # TODO but we will fix it later\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": false, "todo": "but we will fix it later", }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": false, "todo": "but we will fix it later", }, ], Array [ "todo", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": false, "todo": "but we will fix it later", }, ], Array [ "line", "# boop\\n", ], Array [ "comment", "# boop\\n", ], Array [ "line", "ok 3 - should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 4 - (unnamed assert)\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "line", "1..4\\n", ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "line", "# Looks like you failed 1 test of 4.\\n", ], Array [ "comment", "# Looks like you failed 1 test of 4.\\n", ], Array [ "line", "# todo: 1\\n", ], Array [ "comment", "# todo: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 1, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/not-ok-with-trailing-comment.tap.test.cjs000066400000000000000000000130011433324523500306200ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP not-ok-with-trailing-comment.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# beep\\n", ], Array [ "comment", "# beep\\n", ], Array [ "line", "ok 1 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "line", "not ok 2 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": false, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": false, }, ], Array [ "fail", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": false, }, ], Array [ "line", "# boop\\n", ], Array [ "comment", "# boop\\n", ], Array [ "line", "ok 3 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 4 (unnamed assert)\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "line", "1..4\\n", ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "line", "# tests 4\\n", ], Array [ "comment", "# tests 4\\n", ], Array [ "line", "# pass 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "line", "# fail 1\\n", ], Array [ "comment", "# fail 1\\n", ], Array [ "line", "# failed 1 of 4 tests\\n", ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": false, }, ], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP not-ok-with-trailing-comment.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# beep\\n", ], Array [ "comment", "# beep\\n", ], Array [ "line", "ok 1 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "line", "not ok 2 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": false, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": false, }, ], Array [ "fail", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": false, }, ], Array [ "line", "# boop\\n", ], Array [ "comment", "# boop\\n", ], Array [ "line", "Bail out! should be equivalent\\n", ], Array [ "bailout", "should be equivalent", ], Array [ "complete", FinalResults { "bailout": "should be equivalent", "count": 2, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/not-ok.tap.test.cjs000066400000000000000000000127251433324523500244140ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP not-ok.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# beep\\n", ], Array [ "comment", "# beep\\n", ], Array [ "line", "ok 1 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "line", "not ok 2 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": false, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": false, }, ], Array [ "fail", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": false, }, ], Array [ "line", "# boop\\n", ], Array [ "comment", "# boop\\n", ], Array [ "line", "ok 3 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 4 (unnamed assert)\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "line", "1..4\\n", ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "line", "# tests 4\\n", ], Array [ "comment", "# tests 4\\n", ], Array [ "line", "# pass 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "line", "# fail 1\\n", ], Array [ "comment", "# fail 1\\n", ], Array [ "line", "# failed 1 of 4 tests\\n", ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": false, }, ], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP not-ok.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# beep\\n", ], Array [ "comment", "# beep\\n", ], Array [ "line", "ok 1 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "line", "not ok 2 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": false, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": false, }, ], Array [ "fail", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": false, }, ], Array [ "line", "# boop\\n", ], Array [ "comment", "# boop\\n", ], Array [ "line", "Bail out! should be equivalent\\n", ], Array [ "bailout", "should be equivalent", ], Array [ "complete", FinalResults { "bailout": "should be equivalent", "count": 2, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/offset-mismatch.tap.test.cjs000066400000000000000000000264751433324523500263050ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP offset-mismatch.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# beep\\n", ], Array [ "comment", "# beep\\n", ], Array [ "line", "ok 8 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 8, "name": "should be equal", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 8, "name": "should be equal", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 8, "name": "should be equal", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "ok 9 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "# boop\\n", ], Array [ "comment", "# boop\\n", ], Array [ "line", "ok 10 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 10, "name": "should be equal", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 10, "name": "should be equal", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 10, "name": "should be equal", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "ok 11 (unnamed assert)\\n", ], Array [ "assert", Result { "fullname": "", "id": 11, "name": "(unnamed assert)", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 11, "name": "(unnamed assert)", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 11, "name": "(unnamed assert)", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "1..4\\n", ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "line", "# tests 4\\n", ], Array [ "comment", "# tests 4\\n", ], Array [ "line", "# pass 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "# failed 4 of 4 tests\\n", ], Array [ "comment", "# failed 4 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 4, "failures": Array [ Result { "fullname": "", "id": 8, "name": "should be equal", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 10, "name": "should be equal", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 11, "name": "(unnamed assert)", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP offset-mismatch.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# beep\\n", ], Array [ "comment", "# beep\\n", ], Array [ "line", "ok 8 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 8, "name": "should be equal", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 8, "name": "should be equal", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 8, "name": "should be equal", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "ok 9 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "# boop\\n", ], Array [ "comment", "# boop\\n", ], Array [ "line", "ok 10 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 10, "name": "should be equal", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 10, "name": "should be equal", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 10, "name": "should be equal", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "ok 11 (unnamed assert)\\n", ], Array [ "assert", Result { "fullname": "", "id": 11, "name": "(unnamed assert)", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 11, "name": "(unnamed assert)", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 11, "name": "(unnamed assert)", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "1..4\\n", ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "line", "# tests 4\\n", ], Array [ "comment", "# tests 4\\n", ], Array [ "line", "# pass 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "# failed 4 of 4 tests\\n", ], Array [ "comment", "# failed 4 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 4, "failures": Array [ Result { "fullname": "", "id": 8, "name": "should be equal", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 10, "name": "should be equal", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 11, "name": "(unnamed assert)", "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/offset.tap.test.cjs000066400000000000000000000147511433324523500244740ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP offset.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# beep\\n", ], Array [ "comment", "# beep\\n", ], Array [ "line", "ok 8 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 8, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 8, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 8, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 9 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# boop\\n", ], Array [ "comment", "# boop\\n", ], Array [ "line", "ok 10 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 10, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 10, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 10, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 11 (unnamed assert)\\n", ], Array [ "assert", Result { "fullname": "", "id": 11, "name": "(unnamed assert)", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 11, "name": "(unnamed assert)", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 11, "name": "(unnamed assert)", "ok": true, }, ], Array [ "line", "8..11\\n", ], Array [ "plan", Object { "end": 11, "start": 8, }, ], Array [ "line", "# tests 4\\n", ], Array [ "comment", "# tests 4\\n", ], Array [ "line", "# pass 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "# test count(4) != plan(11)\\n", ], Array [ "comment", "# test count(4) != plan(11)\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 11, "skipAll": false, "skipReason": "", "start": 8, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP offset.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# beep\\n", ], Array [ "comment", "# beep\\n", ], Array [ "line", "ok 8 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 8, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 8, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 8, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 9 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# boop\\n", ], Array [ "comment", "# boop\\n", ], Array [ "line", "ok 10 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 10, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 10, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 10, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 11 (unnamed assert)\\n", ], Array [ "assert", Result { "fullname": "", "id": 11, "name": "(unnamed assert)", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 11, "name": "(unnamed assert)", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 11, "name": "(unnamed assert)", "ok": true, }, ], Array [ "line", "8..11\\n", ], Array [ "plan", Object { "end": 11, "start": 8, }, ], Array [ "line", "# tests 4\\n", ], Array [ "comment", "# tests 4\\n", ], Array [ "line", "# pass 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "# test count(4) != plan(11)\\n", ], Array [ "comment", "# test count(4) != plan(11)\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 11, "skipAll": false, "skipReason": "", "start": 8, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/ok.tap.test.cjs000066400000000000000000000145651433324523500236220ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP ok.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# beep\\n", ], Array [ "comment", "# beep\\n", ], Array [ "line", "ok 1 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 2 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# boop\\n", ], Array [ "comment", "# boop\\n", ], Array [ "line", "ok 3 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 4 (unnamed assert)\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "line", "1..4 # just some plan comment\\n", ], Array [ "plan", Object { "comment": "just some plan comment", "end": 4, "start": 1, }, ], Array [ "line", "# tests 4\\n", ], Array [ "comment", "# tests 4\\n", ], Array [ "line", "# pass 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "just some plan comment", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP ok.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# beep\\n", ], Array [ "comment", "# beep\\n", ], Array [ "line", "ok 1 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 2 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# boop\\n", ], Array [ "comment", "# boop\\n", ], Array [ "line", "ok 3 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 4 (unnamed assert)\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "line", "1..4 # just some plan comment\\n", ], Array [ "plan", Object { "comment": "just some plan comment", "end": 4, "start": 1, }, ], Array [ "line", "# tests 4\\n", ], Array [ "comment", "# tests 4\\n", ], Array [ "line", "# pass 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "just some plan comment", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/one-ok.tap.test.cjs000066400000000000000000000044431433324523500243730ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP one-ok.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP one-ok.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/out-of-order.tap.test.cjs000066400000000000000000000143251433324523500255250ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP out-of-order.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# beep\\n", ], Array [ "comment", "# beep\\n", ], Array [ "line", "ok 1 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 3 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# boop\\n", ], Array [ "comment", "# boop\\n", ], Array [ "line", "ok 2 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 4 (unnamed assert)\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "line", "1..4\\n", ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "line", "# tests 4\\n", ], Array [ "comment", "# tests 4\\n", ], Array [ "line", "# pass 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP out-of-order.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# beep\\n", ], Array [ "comment", "# beep\\n", ], Array [ "line", "ok 1 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 3 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# boop\\n", ], Array [ "comment", "# boop\\n", ], Array [ "line", "ok 2 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 4 (unnamed assert)\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, }, ], Array [ "line", "1..4\\n", ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "line", "# tests 4\\n", ], Array [ "comment", "# tests 4\\n", ], Array [ "line", "# pass 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/out_err_mix.tap.test.cjs000066400000000000000000000036531433324523500255410ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP out_err_mix.tap > output bail=false 1`] = ` Array [ Array [ "line", "one\\n", ], Array [ "extra", "one\\n", ], Array [ "line", "three\\n", ], Array [ "extra", "three\\n", ], Array [ "line", "1..0 # no tests found\\n", ], Array [ "plan", Object { "comment": "no tests found", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "no tests found", "end": 0, "skipAll": true, "skipReason": "no tests found", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP out_err_mix.tap > output bail=true 1`] = ` Array [ Array [ "line", "one\\n", ], Array [ "extra", "one\\n", ], Array [ "line", "three\\n", ], Array [ "extra", "three\\n", ], Array [ "line", "1..0 # no tests found\\n", ], Array [ "plan", Object { "comment": "no tests found", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "no tests found", "end": 0, "skipAll": true, "skipReason": "no tests found", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/out_of_order.tap.test.cjs000066400000000000000000000322511433324523500256670ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP out_of_order.tap > output bail=false 1`] = ` Array [ Array [ "line", "ok 2 - Test that argument passing works\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Test that argument passing works", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "Test that argument passing works", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "Test that argument passing works", "ok": true, }, ], Array [ "line", "ok 3 - Test that passing arguments as references work\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "Test that passing arguments as references work", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "Test that passing arguments as references work", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "Test that passing arguments as references work", "ok": true, }, ], Array [ "line", "ok 4 - Test a normal sub\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "Test a normal sub", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "name": "Test a normal sub", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "name": "Test a normal sub", "ok": true, }, ], Array [ "line", "ok 6 - Detach test\\n", ], Array [ "assert", Result { "fullname": "", "id": 6, "name": "Detach test", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 6, "name": "Detach test", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 6, "name": "Detach test", "ok": true, }, ], Array [ "line", "ok 8 - Nested thread test\\n", ], Array [ "assert", Result { "fullname": "", "id": 8, "name": "Nested thread test", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 8, "name": "Nested thread test", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 8, "name": "Nested thread test", "ok": true, }, ], Array [ "line", "ok 9 - Nested thread test\\n", ], Array [ "assert", Result { "fullname": "", "id": 9, "name": "Nested thread test", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 9, "name": "Nested thread test", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 9, "name": "Nested thread test", "ok": true, }, ], Array [ "line", "ok 10 - Wanted 7, got 7\\n", ], Array [ "assert", Result { "fullname": "", "id": 10, "name": "Wanted 7, got 7", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 10, "name": "Wanted 7, got 7", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 10, "name": "Wanted 7, got 7", "ok": true, }, ], Array [ "line", "ok 11 - Wanted 7, got 7\\n", ], Array [ "assert", Result { "fullname": "", "id": 11, "name": "Wanted 7, got 7", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 11, "name": "Wanted 7, got 7", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 11, "name": "Wanted 7, got 7", "ok": true, }, ], Array [ "line", "ok 12 - Wanted 8, got 8\\n", ], Array [ "assert", Result { "fullname": "", "id": 12, "name": "Wanted 8, got 8", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 12, "name": "Wanted 8, got 8", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 12, "name": "Wanted 8, got 8", "ok": true, }, ], Array [ "line", "ok 13 - Wanted 8, got 8\\n", ], Array [ "assert", Result { "fullname": "", "id": 13, "name": "Wanted 8, got 8", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 13, "name": "Wanted 8, got 8", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 13, "name": "Wanted 8, got 8", "ok": true, }, ], Array [ "line", "1..15\\n", ], Array [ "plan", Object { "end": 15, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "extra", "ok 1\\n", ], Array [ "line", "ok 5 - Check that Config::threads is true\\n", ], Array [ "extra", "ok 5 - Check that Config::threads is true\\n", ], Array [ "line", "ok 7 - Detach test\\n", ], Array [ "extra", "ok 7 - Detach test\\n", ], Array [ "line", "ok 14 - Check so that tid for threads work for main thread\\n", ], Array [ "extra", "ok 14 - Check so that tid for threads work for main thread\\n", ], Array [ "line", "ok 15 - Check so that tid for threads work for main thread\\n", ], Array [ "extra", "ok 15 - Check so that tid for threads work for main thread\\n", ], Array [ "line", "# test count(10) != plan(15)\\n", ], Array [ "comment", "# test count(10) != plan(15)\\n", ], Array [ "line", "# failed 1 of 10 tests\\n", ], Array [ "comment", "# failed 1 of 10 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 10, "fail": 1, "failures": Array [ Object { "tapError": "incorrect number of tests", }, ], "ok": false, "pass": 10, "plan": FinalPlan { "comment": "", "end": 15, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP out_of_order.tap > output bail=true 1`] = ` Array [ Array [ "line", "ok 2 - Test that argument passing works\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Test that argument passing works", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "Test that argument passing works", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "Test that argument passing works", "ok": true, }, ], Array [ "line", "ok 3 - Test that passing arguments as references work\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "Test that passing arguments as references work", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "Test that passing arguments as references work", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "Test that passing arguments as references work", "ok": true, }, ], Array [ "line", "ok 4 - Test a normal sub\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "Test a normal sub", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "name": "Test a normal sub", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "name": "Test a normal sub", "ok": true, }, ], Array [ "line", "ok 6 - Detach test\\n", ], Array [ "assert", Result { "fullname": "", "id": 6, "name": "Detach test", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 6, "name": "Detach test", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 6, "name": "Detach test", "ok": true, }, ], Array [ "line", "ok 8 - Nested thread test\\n", ], Array [ "assert", Result { "fullname": "", "id": 8, "name": "Nested thread test", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 8, "name": "Nested thread test", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 8, "name": "Nested thread test", "ok": true, }, ], Array [ "line", "ok 9 - Nested thread test\\n", ], Array [ "assert", Result { "fullname": "", "id": 9, "name": "Nested thread test", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 9, "name": "Nested thread test", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 9, "name": "Nested thread test", "ok": true, }, ], Array [ "line", "ok 10 - Wanted 7, got 7\\n", ], Array [ "assert", Result { "fullname": "", "id": 10, "name": "Wanted 7, got 7", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 10, "name": "Wanted 7, got 7", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 10, "name": "Wanted 7, got 7", "ok": true, }, ], Array [ "line", "ok 11 - Wanted 7, got 7\\n", ], Array [ "assert", Result { "fullname": "", "id": 11, "name": "Wanted 7, got 7", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 11, "name": "Wanted 7, got 7", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 11, "name": "Wanted 7, got 7", "ok": true, }, ], Array [ "line", "ok 12 - Wanted 8, got 8\\n", ], Array [ "assert", Result { "fullname": "", "id": 12, "name": "Wanted 8, got 8", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 12, "name": "Wanted 8, got 8", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 12, "name": "Wanted 8, got 8", "ok": true, }, ], Array [ "line", "ok 13 - Wanted 8, got 8\\n", ], Array [ "assert", Result { "fullname": "", "id": 13, "name": "Wanted 8, got 8", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 13, "name": "Wanted 8, got 8", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 13, "name": "Wanted 8, got 8", "ok": true, }, ], Array [ "line", "1..15\\n", ], Array [ "plan", Object { "end": 15, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "extra", "ok 1\\n", ], Array [ "line", "ok 5 - Check that Config::threads is true\\n", ], Array [ "extra", "ok 5 - Check that Config::threads is true\\n", ], Array [ "line", "ok 7 - Detach test\\n", ], Array [ "extra", "ok 7 - Detach test\\n", ], Array [ "line", "ok 14 - Check so that tid for threads work for main thread\\n", ], Array [ "extra", "ok 14 - Check so that tid for threads work for main thread\\n", ], Array [ "line", "ok 15 - Check so that tid for threads work for main thread\\n", ], Array [ "extra", "ok 15 - Check so that tid for threads work for main thread\\n", ], Array [ "line", "# test count(10) != plan(15)\\n", ], Array [ "comment", "# test count(10) != plan(15)\\n", ], Array [ "line", "# failed 1 of 10 tests\\n", ], Array [ "comment", "# failed 1 of 10 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 10, "fail": 1, "failures": Array [ Object { "tapError": "incorrect number of tests", }, ], "ok": false, "pass": 10, "plan": FinalPlan { "comment": "", "end": 15, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/outside-plan-end-many.tap.test.cjs000066400000000000000000000155051433324523500273160ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP outside-plan-end-many.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 420\\n", ], Array [ "assert", Result { "fullname": "", "id": 420, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 420, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 420, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "ok 5\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "1..4\\n", ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "line", "# failed 2 of 4 tests\\n", ], Array [ "comment", "# failed 2 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 2, "failures": Array [ Result { "fullname": "", "id": 420, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP outside-plan-end-many.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 420\\n", ], Array [ "assert", Result { "fullname": "", "id": 420, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 420, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 420, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "ok 5\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "1..4\\n", ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "line", "# failed 2 of 4 tests\\n", ], Array [ "comment", "# failed 2 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 2, "failures": Array [ Result { "fullname": "", "id": 420, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/outside-plan-end.tap.test.cjs000066400000000000000000000131031433324523500263440ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP outside-plan-end.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "ok 5\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "1..4\\n", ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "line", "# failed 1 of 4 tests\\n", ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP outside-plan-end.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "ok 5\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "1..4\\n", ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "line", "# failed 1 of 4 tests\\n", ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 4, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/outside-plan-start.tap.test.cjs000066400000000000000000000135051433324523500267410ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP outside-plan-start.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, "plan": Object { "end": 5, "start": 2, }, "tapError": "id less than plan start", }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, "plan": Object { "end": 5, "start": 2, }, "tapError": "id less than plan start", }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, "plan": Object { "end": 5, "start": 2, }, "tapError": "id less than plan start", }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "ok 5\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "2..5\\n", ], Array [ "plan", Object { "end": 5, "start": 2, }, ], Array [ "line", "# test count(4) != plan(5)\\n", ], Array [ "comment", "# test count(4) != plan(5)\\n", ], Array [ "line", "# failed 1 of 4 tests\\n", ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 1, "ok": true, "plan": Object { "end": 5, "start": 2, }, "tapError": "id less than plan start", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 2, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP outside-plan-start.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, "plan": Object { "end": 5, "start": 2, }, "tapError": "id less than plan start", }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, "plan": Object { "end": 5, "start": 2, }, "tapError": "id less than plan start", }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, "plan": Object { "end": 5, "start": 2, }, "tapError": "id less than plan start", }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "ok 5\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "2..5\\n", ], Array [ "plan", Object { "end": 5, "start": 2, }, ], Array [ "line", "# test count(4) != plan(5)\\n", ], Array [ "comment", "# test count(4) != plan(5)\\n", ], Array [ "line", "# failed 1 of 4 tests\\n", ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 1, "ok": true, "plan": Object { "end": 5, "start": 2, }, "tapError": "id less than plan start", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 2, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/outside-plan.tap.test.cjs000066400000000000000000000155331433324523500256110ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP outside-plan.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "line", "ok 234 - pretty big\\n", ], Array [ "assert", Result { "fullname": "", "id": 234, "name": "pretty big", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 234, "name": "pretty big", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 234, "name": "pretty big", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "ok 5 - less big\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "less big", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 5, "name": "less big", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 5, "name": "less big", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "ok 3 - three\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "three", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "three", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "three", "ok": true, }, ], Array [ "line", "# failed 2 of 3 tests\\n", ], Array [ "comment", "# failed 2 of 3 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 2, "failures": Array [ Result { "fullname": "", "id": 234, "name": "pretty big", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 5, "name": "less big", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP outside-plan.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "line", "ok 234 - pretty big\\n", ], Array [ "assert", Result { "fullname": "", "id": 234, "name": "pretty big", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 234, "name": "pretty big", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 234, "name": "pretty big", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "ok 5 - less big\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "less big", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 5, "name": "less big", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 5, "name": "less big", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "ok 3 - three\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "three", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "three", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "three", "ok": true, }, ], Array [ "line", "# failed 2 of 3 tests\\n", ], Array [ "comment", "# failed 2 of 3 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 2, "failures": Array [ Result { "fullname": "", "id": 234, "name": "pretty big", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 5, "name": "less big", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/perl-test2-buffered.tap.test.cjs000066400000000000000000000350061433324523500267630ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP perl-test2-buffered.tap > output bail=false 1`] = ` Array [ Array [ "line", "# Seeded srand with seed '20160810' from local date.\\n", ], Array [ "comment", "# Seeded srand with seed '20160810' from local date.\\n", ], Array [ "line", "not ok 1 - empty {\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: empty\\n", ], Array [ "line", "1..0\\n", ], Array [ "plan", Object { "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "", "end": 0, "skipAll": true, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " 1..0\\n", ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "empty", "ok": false, }, ], Array [ "result", Result { "buffered": true, "fullname": "", "id": 1, "name": "empty", "ok": false, }, ], Array [ "fail", Result { "buffered": true, "fullname": "", "id": 1, "name": "empty", "ok": false, }, ], Array [ "line", "ok 2 - my_test {\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: my_test\\n", ], Array [ "line", "ok 1 - subtest event A\\n", ], Array [ "assert", Result { "fullname": "my_test", "id": 1, "name": "subtest event A", "ok": true, }, ], Array [ "line", "ok 2 - subtest event B\\n", ], Array [ "assert", Result { "fullname": "my_test", "id": 2, "name": "subtest event B", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - subtest event A\\n", ], Array [ "result", Result { "fullname": "my_test", "id": 1, "name": "subtest event A", "ok": true, }, ], Array [ "pass", Result { "fullname": "my_test", "id": 1, "name": "subtest event A", "ok": true, }, ], Array [ "line", " ok 2 - subtest event B\\n", ], Array [ "result", Result { "fullname": "my_test", "id": 2, "name": "subtest event B", "ok": true, }, ], Array [ "pass", Result { "fullname": "my_test", "id": 2, "name": "subtest event B", "ok": true, }, ], Array [ "line", " 1..2\\n", ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 2, "name": "my_test", "ok": true, }, ], Array [ "line", "ok 3 - my_test_plan {\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: my_test_plan\\n", ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "ok 1 - subtest event A\\n", ], Array [ "assert", Result { "fullname": "my_test_plan", "id": 1, "name": "subtest event A", "ok": true, }, ], Array [ "line", "ok 2 - subtest event B\\n", ], Array [ "assert", Result { "fullname": "my_test_plan", "id": 2, "name": "subtest event B", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - subtest event A\\n", ], Array [ "result", Result { "fullname": "my_test_plan", "id": 1, "name": "subtest event A", "ok": true, }, ], Array [ "pass", Result { "fullname": "my_test_plan", "id": 1, "name": "subtest event A", "ok": true, }, ], Array [ "line", " ok 2 - subtest event B\\n", ], Array [ "result", Result { "fullname": "my_test_plan", "id": 2, "name": "subtest event B", "ok": true, }, ], Array [ "pass", Result { "fullname": "my_test_plan", "id": 2, "name": "subtest event B", "ok": true, }, ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 3, "name": "my_test_plan", "ok": true, }, ], Array [ "line", "# Subtest: my_streamy_test\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: my_streamy_test\\n", ], Array [ "line", "ok 1 - subtest event A\\n", ], Array [ "assert", Result { "fullname": "my_streamy_test", "id": 1, "name": "subtest event A", "ok": true, }, ], Array [ "line", "ok 2 - subtest event B\\n", ], Array [ "assert", Result { "fullname": "my_streamy_test", "id": 2, "name": "subtest event B", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - subtest event A\\n", ], Array [ "result", Result { "fullname": "my_streamy_test", "id": 1, "name": "subtest event A", "ok": true, }, ], Array [ "pass", Result { "fullname": "my_streamy_test", "id": 1, "name": "subtest event A", "ok": true, }, ], Array [ "line", " ok 2 - subtest event B\\n", ], Array [ "result", Result { "fullname": "my_streamy_test", "id": 2, "name": "subtest event B", "ok": true, }, ], Array [ "pass", Result { "fullname": "my_streamy_test", "id": 2, "name": "subtest event B", "ok": true, }, ], Array [ "line", " 1..2\\n", ], Array [ "line", "ok 4 - Subtest: my_streamy_test\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "Subtest: my_streamy_test", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "name": "Subtest: my_streamy_test", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "name": "Subtest: my_streamy_test", "ok": true, }, ], Array [ "line", "# Subtest: my_streamy_test_plan\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: my_streamy_test_plan\\n", ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "ok 1 - subtest event A\\n", ], Array [ "assert", Result { "fullname": "my_streamy_test_plan", "id": 1, "name": "subtest event A", "ok": true, }, ], Array [ "line", "ok 2 - subtest event B\\n", ], Array [ "assert", Result { "fullname": "my_streamy_test_plan", "id": 2, "name": "subtest event B", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - subtest event A\\n", ], Array [ "result", Result { "fullname": "my_streamy_test_plan", "id": 1, "name": "subtest event A", "ok": true, }, ], Array [ "pass", Result { "fullname": "my_streamy_test_plan", "id": 1, "name": "subtest event A", "ok": true, }, ], Array [ "line", " ok 2 - subtest event B\\n", ], Array [ "result", Result { "fullname": "my_streamy_test_plan", "id": 2, "name": "subtest event B", "ok": true, }, ], Array [ "pass", Result { "fullname": "my_streamy_test_plan", "id": 2, "name": "subtest event B", "ok": true, }, ], Array [ "line", "ok 5 - Subtest: my_streamy_test_plan\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "Subtest: my_streamy_test_plan", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 5, "name": "Subtest: my_streamy_test_plan", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 5, "name": "Subtest: my_streamy_test_plan", "ok": true, }, ], Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "# failed 1 of 5 tests\\n", ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Result { "buffered": true, "fullname": "", "id": 1, "name": "empty", "ok": false, }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP perl-test2-buffered.tap > output bail=true 1`] = ` Array [ Array [ "line", "# Seeded srand with seed '20160810' from local date.\\n", ], Array [ "comment", "# Seeded srand with seed '20160810' from local date.\\n", ], Array [ "line", "not ok 1 - empty {\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: empty\\n", ], Array [ "line", "1..0\\n", ], Array [ "plan", Object { "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "", "end": 0, "skipAll": true, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " 1..0\\n", ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "empty", "ok": false, }, ], Array [ "result", Result { "buffered": true, "fullname": "", "id": 1, "name": "empty", "ok": false, }, ], Array [ "fail", Result { "buffered": true, "fullname": "", "id": 1, "name": "empty", "ok": false, }, ], Array [ "line", "Bail out! empty\\n", ], Array [ "bailout", "empty", ], Array [ "complete", FinalResults { "bailout": "empty", "count": 1, "fail": 1, "failures": Array [ Result { "buffered": true, "fullname": "", "id": 1, "name": "empty", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/perl-test2-streamed.tap.test.cjs000066400000000000000000000303431433324523500270040ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP perl-test2-streamed.tap > output bail=false 1`] = ` Array [ Array [ "line", "# Seeded srand with seed '20160809' from local date.\\n", ], Array [ "comment", "# Seeded srand with seed '20160809' from local date.\\n", ], Array [ "line", "# Subtest: my_streamy_test\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: my_streamy_test\\n", ], Array [ "line", "ok 1 - subtest event A\\n", ], Array [ "assert", Result { "fullname": "my_streamy_test", "id": 1, "name": "subtest event A", "ok": true, }, ], Array [ "line", "ok 2 - subtest event B\\n", ], Array [ "assert", Result { "fullname": "my_streamy_test", "id": 2, "name": "subtest event B", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - subtest event A\\n", ], Array [ "result", Result { "fullname": "my_streamy_test", "id": 1, "name": "subtest event A", "ok": true, }, ], Array [ "pass", Result { "fullname": "my_streamy_test", "id": 1, "name": "subtest event A", "ok": true, }, ], Array [ "line", " ok 2 - subtest event B\\n", ], Array [ "result", Result { "fullname": "my_streamy_test", "id": 2, "name": "subtest event B", "ok": true, }, ], Array [ "pass", Result { "fullname": "my_streamy_test", "id": 2, "name": "subtest event B", "ok": true, }, ], Array [ "line", " 1..2\\n", ], Array [ "line", "ok 1 - Subtest: my_streamy_test\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Subtest: my_streamy_test", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "Subtest: my_streamy_test", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "Subtest: my_streamy_test", "ok": true, }, ], Array [ "line", "# Subtest: my_streamy_test_plan\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: my_streamy_test_plan\\n", ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "ok 1 - subtest event A\\n", ], Array [ "assert", Result { "fullname": "my_streamy_test_plan", "id": 1, "name": "subtest event A", "ok": true, }, ], Array [ "line", "ok 2 - subtest event B\\n", ], Array [ "assert", Result { "fullname": "my_streamy_test_plan", "id": 2, "name": "subtest event B", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - subtest event A\\n", ], Array [ "result", Result { "fullname": "my_streamy_test_plan", "id": 1, "name": "subtest event A", "ok": true, }, ], Array [ "pass", Result { "fullname": "my_streamy_test_plan", "id": 1, "name": "subtest event A", "ok": true, }, ], Array [ "line", " ok 2 - subtest event B\\n", ], Array [ "result", Result { "fullname": "my_streamy_test_plan", "id": 2, "name": "subtest event B", "ok": true, }, ], Array [ "pass", Result { "fullname": "my_streamy_test_plan", "id": 2, "name": "subtest event B", "ok": true, }, ], Array [ "line", "ok 2 - Subtest: my_streamy_test_plan\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Subtest: my_streamy_test_plan", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "Subtest: my_streamy_test_plan", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "Subtest: my_streamy_test_plan", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP perl-test2-streamed.tap > output bail=true 1`] = ` Array [ Array [ "line", "# Seeded srand with seed '20160809' from local date.\\n", ], Array [ "comment", "# Seeded srand with seed '20160809' from local date.\\n", ], Array [ "line", "# Subtest: my_streamy_test\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: my_streamy_test\\n", ], Array [ "line", "ok 1 - subtest event A\\n", ], Array [ "assert", Result { "fullname": "my_streamy_test", "id": 1, "name": "subtest event A", "ok": true, }, ], Array [ "line", "ok 2 - subtest event B\\n", ], Array [ "assert", Result { "fullname": "my_streamy_test", "id": 2, "name": "subtest event B", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - subtest event A\\n", ], Array [ "result", Result { "fullname": "my_streamy_test", "id": 1, "name": "subtest event A", "ok": true, }, ], Array [ "pass", Result { "fullname": "my_streamy_test", "id": 1, "name": "subtest event A", "ok": true, }, ], Array [ "line", " ok 2 - subtest event B\\n", ], Array [ "result", Result { "fullname": "my_streamy_test", "id": 2, "name": "subtest event B", "ok": true, }, ], Array [ "pass", Result { "fullname": "my_streamy_test", "id": 2, "name": "subtest event B", "ok": true, }, ], Array [ "line", " 1..2\\n", ], Array [ "line", "ok 1 - Subtest: my_streamy_test\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Subtest: my_streamy_test", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "Subtest: my_streamy_test", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "Subtest: my_streamy_test", "ok": true, }, ], Array [ "line", "# Subtest: my_streamy_test_plan\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: my_streamy_test_plan\\n", ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "ok 1 - subtest event A\\n", ], Array [ "assert", Result { "fullname": "my_streamy_test_plan", "id": 1, "name": "subtest event A", "ok": true, }, ], Array [ "line", "ok 2 - subtest event B\\n", ], Array [ "assert", Result { "fullname": "my_streamy_test_plan", "id": 2, "name": "subtest event B", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - subtest event A\\n", ], Array [ "result", Result { "fullname": "my_streamy_test_plan", "id": 1, "name": "subtest event A", "ok": true, }, ], Array [ "pass", Result { "fullname": "my_streamy_test_plan", "id": 1, "name": "subtest event A", "ok": true, }, ], Array [ "line", " ok 2 - subtest event B\\n", ], Array [ "result", Result { "fullname": "my_streamy_test_plan", "id": 2, "name": "subtest event B", "ok": true, }, ], Array [ "pass", Result { "fullname": "my_streamy_test_plan", "id": 2, "name": "subtest event B", "ok": true, }, ], Array [ "line", "ok 2 - Subtest: my_streamy_test_plan\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Subtest: my_streamy_test_plan", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "Subtest: my_streamy_test_plan", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "Subtest: my_streamy_test_plan", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/plan-escape.tap.test.cjs000066400000000000000000000040431433324523500253670ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP plan-escape.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..0 # hash \\\\# slash \\\\\\\\ noesc hash # noesc slash \\\\\\n", ], Array [ "plan", Object { "comment": "hash # slash \\\\ noesc hash # noesc slash \\\\", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "hash # slash \\\\ noesc hash # noesc slash \\\\", "end": 0, "skipAll": true, "skipReason": "hash # slash \\\\ noesc hash # noesc slash \\\\", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP plan-escape.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..0 # hash \\\\# slash \\\\\\\\ noesc hash # noesc slash \\\\\\n", ], Array [ "plan", Object { "comment": "hash # slash \\\\ noesc hash # noesc slash \\\\", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "hash # slash \\\\ noesc hash # noesc slash \\\\", "end": 0, "skipAll": true, "skipReason": "hash # slash \\\\ noesc hash # noesc slash \\\\", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/plan-in-bad-places-post.tap.test.cjs000066400000000000000000000155631433324523500275220ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP plan-in-bad-places-post.tap > output bail=false 1`] = ` Array [ Array [ "line", "tap version 13\\n", ], Array [ "version", 13, ], Array [ "line", "ok subtest {\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: subtest\\n", ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "subtest", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " 1..1\\n", ], Array [ "line", " ok\\n", ], Array [ "result", Result { "fullname": "subtest", "ok": true, }, ], Array [ "pass", Result { "fullname": "subtest", "ok": true, }, ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "fullname": "", "name": "subtest", "ok": true, }, ], Array [ "line", "1..99\\n", ], Array [ "extra", "1..99\\n", ], Array [ "line", "ok yaml\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " ok: lamy\\n", ], Array [ "assert", Result { "fullname": "", "name": "yaml", "ok": true, }, ], Array [ "result", Result { "fullname": "", "name": "yaml", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "name": "yaml", "ok": true, }, ], Array [ "extra", String( --- ok: lamy ), ], Array [ "line", "1..99\\n", ], Array [ "plan", Object { "end": 99, "start": 1, }, ], Array [ "line", " ...\\n", ], Array [ "extra", " ...\\n", ], Array [ "line", "1..2\\n", ], Array [ "extra", "1..2\\n", ], Array [ "line", "1..2\\n", ], Array [ "extra", "1..2\\n", ], Array [ "line", "# test count(2) != plan(99)\\n", ], Array [ "comment", "# test count(2) != plan(99)\\n", ], Array [ "line", "# failed 1 of 2 tests\\n", ], Array [ "comment", "# failed 1 of 2 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 1, "failures": Array [ Object { "tapError": "incorrect number of tests", }, ], "ok": false, "pass": 2, "plan": FinalPlan { "comment": "", "end": 99, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP plan-in-bad-places-post.tap > output bail=true 1`] = ` Array [ Array [ "line", "tap version 13\\n", ], Array [ "version", 13, ], Array [ "line", "ok subtest {\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: subtest\\n", ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "subtest", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " 1..1\\n", ], Array [ "line", " ok\\n", ], Array [ "result", Result { "fullname": "subtest", "ok": true, }, ], Array [ "pass", Result { "fullname": "subtest", "ok": true, }, ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "fullname": "", "name": "subtest", "ok": true, }, ], Array [ "line", "1..99\\n", ], Array [ "extra", "1..99\\n", ], Array [ "line", "ok yaml\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " ok: lamy\\n", ], Array [ "assert", Result { "fullname": "", "name": "yaml", "ok": true, }, ], Array [ "result", Result { "fullname": "", "name": "yaml", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "name": "yaml", "ok": true, }, ], Array [ "extra", String( --- ok: lamy ), ], Array [ "line", "1..99\\n", ], Array [ "plan", Object { "end": 99, "start": 1, }, ], Array [ "line", " ...\\n", ], Array [ "extra", " ...\\n", ], Array [ "line", "1..2\\n", ], Array [ "extra", "1..2\\n", ], Array [ "line", "1..2\\n", ], Array [ "extra", "1..2\\n", ], Array [ "line", "# test count(2) != plan(99)\\n", ], Array [ "comment", "# test count(2) != plan(99)\\n", ], Array [ "line", "# failed 1 of 2 tests\\n", ], Array [ "comment", "# failed 1 of 2 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 1, "failures": Array [ Object { "tapError": "incorrect number of tests", }, ], "ok": false, "pass": 2, "plan": FinalPlan { "comment": "", "end": 99, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/plan-in-bad-places-pre.tap.test.cjs000066400000000000000000000143051433324523500273140ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP plan-in-bad-places-pre.tap > output bail=false 1`] = ` Array [ Array [ "line", "tap version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "1..2\\n", ], Array [ "extra", "1..2\\n", ], Array [ "line", "ok subtest {\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: subtest\\n", ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "subtest", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " 1..1\\n", ], Array [ "line", " ok\\n", ], Array [ "result", Result { "fullname": "subtest", "ok": true, }, ], Array [ "pass", Result { "fullname": "subtest", "ok": true, }, ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "fullname": "", "name": "subtest", "ok": true, }, ], Array [ "line", "1..99\\n", ], Array [ "extra", "1..99\\n", ], Array [ "line", "ok yaml\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " ok: lamy\\n", ], Array [ "assert", Result { "fullname": "", "name": "yaml", "ok": true, }, ], Array [ "result", Result { "fullname": "", "name": "yaml", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "name": "yaml", "ok": true, }, ], Array [ "extra", String( --- ok: lamy ), ], Array [ "line", "1..99\\n", ], Array [ "extra", "1..99\\n", ], Array [ "line", " ...\\n", ], Array [ "extra", " ...\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP plan-in-bad-places-pre.tap > output bail=true 1`] = ` Array [ Array [ "line", "tap version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "1..2\\n", ], Array [ "extra", "1..2\\n", ], Array [ "line", "ok subtest {\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: subtest\\n", ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "subtest", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " 1..1\\n", ], Array [ "line", " ok\\n", ], Array [ "result", Result { "fullname": "subtest", "ok": true, }, ], Array [ "pass", Result { "fullname": "subtest", "ok": true, }, ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "fullname": "", "name": "subtest", "ok": true, }, ], Array [ "line", "1..99\\n", ], Array [ "extra", "1..99\\n", ], Array [ "line", "ok yaml\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " ok: lamy\\n", ], Array [ "assert", Result { "fullname": "", "name": "yaml", "ok": true, }, ], Array [ "result", Result { "fullname": "", "name": "yaml", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "name": "yaml", "ok": true, }, ], Array [ "extra", String( --- ok: lamy ), ], Array [ "line", "1..99\\n", ], Array [ "extra", "1..99\\n", ], Array [ "line", " ...\\n", ], Array [ "extra", " ...\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/plan-invalid-strict.tap.test.cjs000066400000000000000000000060071433324523500270650ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP plan-invalid-strict.tap > output bail=false 1`] = ` Array [ Array [ "line", "pragma +strict\\n", ], Array [ "pragma", "strict", true, ], Array [ "line", "100..1\\n", ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "# failed 1 test\\n", ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Object { "plan": Object { "end": 1, "start": 100, }, "tapError": "plan end cannot be less than plan start", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP plan-invalid-strict.tap > output bail=true 1`] = ` Array [ Array [ "line", "pragma +strict\\n", ], Array [ "pragma", "strict", true, ], Array [ "line", "100..1\\n", ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "# failed 1 test\\n", ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Object { "plan": Object { "end": 1, "start": 100, }, "tapError": "plan end cannot be less than plan start", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/plan-invalid.tap.test.cjs000066400000000000000000000044551433324523500255640ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP plan-invalid.tap > output bail=false 1`] = ` Array [ Array [ "line", "100..1\\n", ], Array [ "extra", "100..1\\n", ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP plan-invalid.tap > output bail=true 1`] = ` Array [ Array [ "line", "100..1\\n", ], Array [ "extra", "100..1\\n", ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/pragma-after-failure.tap.test.cjs000066400000000000000000000053271433324523500272000ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP pragma-after-failure.tap > output bail=false 1`] = ` Array [ Array [ "line", "not ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": false, }, ], Array [ "result", Result { "fullname": "", "ok": false, }, ], Array [ "fail", Result { "fullname": "", "ok": false, }, ], Array [ "line", "pragma +custom\\n", ], Array [ "pragma", "custom", true, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "# failed 1 of 2 tests\\n", ], Array [ "comment", "# failed 1 of 2 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 1, "failures": Array [ Result { "fullname": "", "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP pragma-after-failure.tap > output bail=true 1`] = ` Array [ Array [ "line", "not ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": false, }, ], Array [ "result", Result { "fullname": "", "ok": false, }, ], Array [ "fail", Result { "fullname": "", "ok": false, }, ], Array [ "line", "Bail out!\\n", ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/pragma-invalid.tap.test.cjs000066400000000000000000000060371433324523500260770ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP pragma-invalid.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "pragma +this is not a valid pragma\\n", ], Array [ "extra", "pragma +this is not a valid pragma\\n", ], Array [ "line", "pragma -neither # is this\\n", ], Array [ "extra", "pragma -neither # is this\\n", ], Array [ "line", "pragma +thisISfineTHO_420-69_lolyolo\\n", ], Array [ "pragma", "thisISfineTHO_420-69_lolyolo", true, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP pragma-invalid.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "pragma +this is not a valid pragma\\n", ], Array [ "extra", "pragma +this is not a valid pragma\\n", ], Array [ "line", "pragma -neither # is this\\n", ], Array [ "extra", "pragma -neither # is this\\n", ], Array [ "line", "pragma +thisISfineTHO_420-69_lolyolo\\n", ], Array [ "pragma", "thisISfineTHO_420-69_lolyolo", true, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/pragma-mid-child-strict.tap.test.cjs000066400000000000000000000130331433324523500276030ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP pragma-mid-child-strict.tap > output bail=false 1`] = ` Array [ Array [ "line", "tap version 13\\n", ], Array [ "version", 13, ], Array [ "line", "pragma +strict\\n", ], Array [ "pragma", "strict", true, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " 1..1\\n", ], Array [ "line", "pragma +strict\\n", ], Array [ "extra", "pragma +strict\\n", ], Array [ "line", " ok\\n", ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "# failed 1 test\\n", ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Object { "data": "pragma +strict\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP pragma-mid-child-strict.tap > output bail=true 1`] = ` Array [ Array [ "line", "tap version 13\\n", ], Array [ "version", 13, ], Array [ "line", "pragma +strict\\n", ], Array [ "pragma", "strict", true, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " 1..1\\n", ], Array [ "line", "pragma +strict\\n", ], Array [ "extra", "pragma +strict\\n", ], Array [ "line", " ok\\n", ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "# failed 1 test\\n", ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Object { "data": "pragma +strict\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/pragma-mid-child.tap.test.cjs000066400000000000000000000115171433324523500263020ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP pragma-mid-child.tap > output bail=false 1`] = ` Array [ Array [ "line", "pragma +foo\\n", ], Array [ "pragma", "foo", true, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " 1..1\\n", ], Array [ "line", "pragma +foo\\n", ], Array [ "extra", "pragma +foo\\n", ], Array [ "line", " ok\\n", ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP pragma-mid-child.tap > output bail=true 1`] = ` Array [ Array [ "line", "pragma +foo\\n", ], Array [ "pragma", "foo", true, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " 1..1\\n", ], Array [ "line", "pragma +foo\\n", ], Array [ "extra", "pragma +foo\\n", ], Array [ "line", " ok\\n", ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/pragma-mid-yaml.tap.test.cjs000066400000000000000000000066571433324523500261720ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP pragma-mid-yaml.tap > output bail=false 1`] = ` Array [ Array [ "line", "pragma +foo\\n", ], Array [ "pragma", "foo", true, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "ok 1 - some yaml\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " ok: true\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "some yaml", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "some yaml", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "some yaml", "ok": true, }, ], Array [ "extra", String( --- ok: true ), ], Array [ "line", "pragma +foo\\n", ], Array [ "pragma", "foo", true, ], Array [ "line", " name: some yaml\\n", ], Array [ "extra", " name: some yaml\\n", ], Array [ "line", " ...\\n", ], Array [ "extra", " ...\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP pragma-mid-yaml.tap > output bail=true 1`] = ` Array [ Array [ "line", "pragma +foo\\n", ], Array [ "pragma", "foo", true, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "ok 1 - some yaml\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " ok: true\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "some yaml", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "some yaml", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "some yaml", "ok": true, }, ], Array [ "extra", String( --- ok: true ), ], Array [ "line", "pragma +foo\\n", ], Array [ "pragma", "foo", true, ], Array [ "line", " name: some yaml\\n", ], Array [ "extra", " name: some yaml\\n", ], Array [ "line", " ...\\n", ], Array [ "extra", " ...\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/repeat-test-point-id.tap.test.cjs000066400000000000000000000155551433324523500271670ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP repeat-test-point-id.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, "previous": Result { "fullname": "", "id": 1, "ok": true, }, "tapError": "test point id 1 appears multiple times", }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, "previous": Result { "fullname": "", "id": 1, "ok": true, }, "tapError": "test point id 1 appears multiple times", }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, "previous": Result { "fullname": "", "id": 1, "ok": true, }, "tapError": "test point id 1 appears multiple times", }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, "previous": Result { "fullname": "", "id": 1, "ok": true, }, "tapError": "test point id 1 appears multiple times", }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, "previous": Result { "fullname": "", "id": 1, "ok": true, }, "tapError": "test point id 1 appears multiple times", }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, "previous": Result { "fullname": "", "id": 1, "ok": true, }, "tapError": "test point id 1 appears multiple times", }, ], Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "line", "# failed 2 of 3 tests\\n", ], Array [ "comment", "# failed 2 of 3 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 2, "failures": Array [ Result { "fullname": "", "id": 1, "ok": true, "previous": Result { "fullname": "", "id": 1, "ok": true, }, "tapError": "test point id 1 appears multiple times", }, Result { "fullname": "", "id": 1, "ok": true, "previous": Result { "fullname": "", "id": 1, "ok": true, }, "tapError": "test point id 1 appears multiple times", }, ], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP repeat-test-point-id.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, "previous": Result { "fullname": "", "id": 1, "ok": true, }, "tapError": "test point id 1 appears multiple times", }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, "previous": Result { "fullname": "", "id": 1, "ok": true, }, "tapError": "test point id 1 appears multiple times", }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, "previous": Result { "fullname": "", "id": 1, "ok": true, }, "tapError": "test point id 1 appears multiple times", }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, "previous": Result { "fullname": "", "id": 1, "ok": true, }, "tapError": "test point id 1 appears multiple times", }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, "previous": Result { "fullname": "", "id": 1, "ok": true, }, "tapError": "test point id 1 appears multiple times", }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, "previous": Result { "fullname": "", "id": 1, "ok": true, }, "tapError": "test point id 1 appears multiple times", }, ], Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "line", "# failed 2 of 3 tests\\n", ], Array [ "comment", "# failed 2 of 3 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 2, "failures": Array [ Result { "fullname": "", "id": 1, "ok": true, "previous": Result { "fullname": "", "id": 1, "ok": true, }, "tapError": "test point id 1 appears multiple times", }, Result { "fullname": "", "id": 1, "ok": true, "previous": Result { "fullname": "", "id": 1, "ok": true, }, "tapError": "test point id 1 appears multiple times", }, ], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/schwern-todo-quiet.tap.test.cjs000066400000000000000000000125321433324523500267420ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP schwern-todo-quiet.tap > output bail=false 1`] = ` Array [ Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "not ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": false, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": false, }, ], Array [ "fail", Result { "fullname": "", "id": 2, "ok": false, }, ], Array [ "line", "# Failed test at ../../andy/schwern.pl line 17.\\n", ], Array [ "comment", "# Failed test at ../../andy/schwern.pl line 17.\\n", ], Array [ "line", "# got: '23'\\n", ], Array [ "comment", "# got: '23'\\n", ], Array [ "line", "# expected: '42'\\n", ], Array [ "comment", "# expected: '42'\\n", ], Array [ "line", "not ok 3 # TODO Roman numerials still not a built in type\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "", "ok": false, "todo": "Roman numerials still not a built in type", }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "", "ok": false, "todo": "Roman numerials still not a built in type", }, ], Array [ "todo", Result { "fullname": "", "id": 3, "name": "", "ok": false, "todo": "Roman numerials still not a built in type", }, ], Array [ "line", "# Failed (TODO) test at ../../andy/schwern.pl line 20.\\n", ], Array [ "comment", "# Failed (TODO) test at ../../andy/schwern.pl line 20.\\n", ], Array [ "line", "# got: 'XXIII'\\n", ], Array [ "comment", "# got: 'XXIII'\\n", ], Array [ "line", "# expected: '23'\\n", ], Array [ "comment", "# expected: '23'\\n", ], Array [ "line", "# Looks like you failed 1 test of 3.\\n", ], Array [ "comment", "# Looks like you failed 1 test of 3.\\n", ], Array [ "line", "# failed 2 of 3 tests\\n", ], Array [ "comment", "# failed 2 of 3 tests\\n", ], Array [ "line", "# todo: 1\\n", ], Array [ "comment", "# todo: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 2, "failures": Array [ Result { "fullname": "", "id": 2, "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 1, }, ], ] ` exports[`test/parser.js TAP schwern-todo-quiet.tap > output bail=true 1`] = ` Array [ Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "not ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": false, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": false, }, ], Array [ "fail", Result { "fullname": "", "id": 2, "ok": false, }, ], Array [ "line", "# Failed test at ../../andy/schwern.pl line 17.\\n", ], Array [ "comment", "# Failed test at ../../andy/schwern.pl line 17.\\n", ], Array [ "line", "# got: '23'\\n", ], Array [ "comment", "# got: '23'\\n", ], Array [ "line", "# expected: '42'\\n", ], Array [ "comment", "# expected: '42'\\n", ], Array [ "line", "Bail out!\\n", ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 2, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 2, "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/schwern.tap.test.cjs000066400000000000000000000043631433324523500246550ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP schwern.tap > output bail=false 1`] = ` Array [ Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "ok 1 - 42\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "42", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "42", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "42", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP schwern.tap > output bail=true 1`] = ` Array [ Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "ok 1 - 42\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "42", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "42", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "42", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/sequence_misparse.tap.test.cjs000066400000000000000000000141011433324523500267060ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP sequence_misparse.tap > output bail=false 1`] = ` Array [ Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 3 # skipped on foobar system\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "", "ok": true, "skip": "on foobar system", }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "", "ok": true, "skip": "on foobar system", }, ], Array [ "skip", Result { "fullname": "", "id": 3, "name": "", "ok": true, "skip": "on foobar system", }, ], Array [ "line", "# 1234567890123456789012345678901234567890\\n", ], Array [ "comment", "# 1234567890123456789012345678901234567890\\n", ], Array [ "line", "ok 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "line", "# 1234567890123456789012345678901234567890\\n", ], Array [ "comment", "# 1234567890123456789012345678901234567890\\n", ], Array [ "line", "ok 5\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "line", "# skip: 1\\n", ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP sequence_misparse.tap > output bail=true 1`] = ` Array [ Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 3 # skipped on foobar system\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "", "ok": true, "skip": "on foobar system", }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "", "ok": true, "skip": "on foobar system", }, ], Array [ "skip", Result { "fullname": "", "id": 3, "name": "", "ok": true, "skip": "on foobar system", }, ], Array [ "line", "# 1234567890123456789012345678901234567890\\n", ], Array [ "comment", "# 1234567890123456789012345678901234567890\\n", ], Array [ "line", "ok 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "line", "# 1234567890123456789012345678901234567890\\n", ], Array [ "comment", "# 1234567890123456789012345678901234567890\\n", ], Array [ "line", "ok 5\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "line", "# skip: 1\\n", ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/simple.tap.test.cjs000066400000000000000000000115571433324523500245000ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP simple.tap > output bail=false 1`] = ` Array [ Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "line", "ok 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "line", "ok 5\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP simple.tap > output bail=true 1`] = ` Array [ Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "line", "ok 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "line", "ok 5\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/simple_fail.tap.test.cjs000066400000000000000000000105531433324523500254660ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP simple_fail.tap > output bail=false 1`] = ` Array [ Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "not ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": false, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": false, }, ], Array [ "fail", Result { "fullname": "", "id": 2, "ok": false, }, ], Array [ "line", "ok 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "line", "ok 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "line", "not ok 5\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": false, }, ], Array [ "result", Result { "fullname": "", "id": 5, "ok": false, }, ], Array [ "fail", Result { "fullname": "", "id": 5, "ok": false, }, ], Array [ "line", "# failed 2 of 5 tests\\n", ], Array [ "comment", "# failed 2 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 2, "failures": Array [ Result { "fullname": "", "id": 2, "ok": false, }, Result { "fullname": "", "id": 5, "ok": false, }, ], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP simple_fail.tap > output bail=true 1`] = ` Array [ Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "not ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": false, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": false, }, ], Array [ "fail", Result { "fullname": "", "id": 2, "ok": false, }, ], Array [ "line", "Bail out!\\n", ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 2, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 2, "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/simple_yaml.tap.test.cjs000066400000000000000000000216171433324523500255200ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP simple_yaml.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " -\\n", ], Array [ "line", " fnurk: skib\\n", ], Array [ "line", " ponk: gleeb\\n", ], Array [ "line", " -\\n", ], Array [ "line", " bar: krup\\n", ], Array [ "line", " foo: plink\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Array [ Object { "fnurk": "skib", "ponk": "gleeb", }, Object { "bar": "krup", "foo": "plink", }, ], "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "diag": Array [ Object { "fnurk": "skib", "ponk": "gleeb", }, Object { "bar": "krup", "foo": "plink", }, ], "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "diag": Array [ Object { "fnurk": "skib", "ponk": "gleeb", }, Object { "bar": "krup", "foo": "plink", }, ], "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "line", "ok 4\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " expected:\\n", ], Array [ "line", " - 1\\n", ], Array [ "line", " - 2\\n", ], Array [ "line", " - 4\\n", ], Array [ "line", " got:\\n", ], Array [ "line", " - 1\\n", ], Array [ "line", " - pong\\n", ], Array [ "line", " - 4\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "expected": Array [ 1, 2, 4, ], "got": Array [ 1, "pong", 4, ], }, "fullname": "", "id": 4, "ok": true, }, ], Array [ "result", Result { "diag": Object { "expected": Array [ 1, 2, 4, ], "got": Array [ 1, "pong", 4, ], }, "fullname": "", "id": 4, "ok": true, }, ], Array [ "pass", Result { "diag": Object { "expected": Array [ 1, 2, 4, ], "got": Array [ 1, "pong", 4, ], }, "fullname": "", "id": 4, "ok": true, }, ], Array [ "line", "ok 5\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP simple_yaml.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " -\\n", ], Array [ "line", " fnurk: skib\\n", ], Array [ "line", " ponk: gleeb\\n", ], Array [ "line", " -\\n", ], Array [ "line", " bar: krup\\n", ], Array [ "line", " foo: plink\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Array [ Object { "fnurk": "skib", "ponk": "gleeb", }, Object { "bar": "krup", "foo": "plink", }, ], "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "diag": Array [ Object { "fnurk": "skib", "ponk": "gleeb", }, Object { "bar": "krup", "foo": "plink", }, ], "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "diag": Array [ Object { "fnurk": "skib", "ponk": "gleeb", }, Object { "bar": "krup", "foo": "plink", }, ], "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "line", "ok 4\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " expected:\\n", ], Array [ "line", " - 1\\n", ], Array [ "line", " - 2\\n", ], Array [ "line", " - 4\\n", ], Array [ "line", " got:\\n", ], Array [ "line", " - 1\\n", ], Array [ "line", " - pong\\n", ], Array [ "line", " - 4\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "expected": Array [ 1, 2, 4, ], "got": Array [ 1, "pong", 4, ], }, "fullname": "", "id": 4, "ok": true, }, ], Array [ "result", Result { "diag": Object { "expected": Array [ 1, 2, 4, ], "got": Array [ 1, "pong", 4, ], }, "fullname": "", "id": 4, "ok": true, }, ], Array [ "pass", Result { "diag": Object { "expected": Array [ 1, 2, 4, ], "got": Array [ 1, "pong", 4, ], }, "fullname": "", "id": 4, "ok": true, }, ], Array [ "line", "ok 5\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/simple_yaml_missing_version13.tap.test.cjs000066400000000000000000000213771433324523500311650ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP simple_yaml_missing_version13.tap > output bail=false 1`] = ` Array [ Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " -\\n", ], Array [ "line", " fnurk: skib\\n", ], Array [ "line", " ponk: gleeb\\n", ], Array [ "line", " -\\n", ], Array [ "line", " bar: krup\\n", ], Array [ "line", " foo: plink\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Array [ Object { "fnurk": "skib", "ponk": "gleeb", }, Object { "bar": "krup", "foo": "plink", }, ], "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "diag": Array [ Object { "fnurk": "skib", "ponk": "gleeb", }, Object { "bar": "krup", "foo": "plink", }, ], "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "diag": Array [ Object { "fnurk": "skib", "ponk": "gleeb", }, Object { "bar": "krup", "foo": "plink", }, ], "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "line", "ok 4\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " expected:\\n", ], Array [ "line", " - 1\\n", ], Array [ "line", " - 2\\n", ], Array [ "line", " - 4\\n", ], Array [ "line", " got:\\n", ], Array [ "line", " - 1\\n", ], Array [ "line", " - pong\\n", ], Array [ "line", " - 4\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "expected": Array [ 1, 2, 4, ], "got": Array [ 1, "pong", 4, ], }, "fullname": "", "id": 4, "ok": true, }, ], Array [ "result", Result { "diag": Object { "expected": Array [ 1, 2, 4, ], "got": Array [ 1, "pong", 4, ], }, "fullname": "", "id": 4, "ok": true, }, ], Array [ "pass", Result { "diag": Object { "expected": Array [ 1, 2, 4, ], "got": Array [ 1, "pong", 4, ], }, "fullname": "", "id": 4, "ok": true, }, ], Array [ "line", "ok 5\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP simple_yaml_missing_version13.tap > output bail=true 1`] = ` Array [ Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " -\\n", ], Array [ "line", " fnurk: skib\\n", ], Array [ "line", " ponk: gleeb\\n", ], Array [ "line", " -\\n", ], Array [ "line", " bar: krup\\n", ], Array [ "line", " foo: plink\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Array [ Object { "fnurk": "skib", "ponk": "gleeb", }, Object { "bar": "krup", "foo": "plink", }, ], "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "diag": Array [ Object { "fnurk": "skib", "ponk": "gleeb", }, Object { "bar": "krup", "foo": "plink", }, ], "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "diag": Array [ Object { "fnurk": "skib", "ponk": "gleeb", }, Object { "bar": "krup", "foo": "plink", }, ], "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "line", "ok 4\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " expected:\\n", ], Array [ "line", " - 1\\n", ], Array [ "line", " - 2\\n", ], Array [ "line", " - 4\\n", ], Array [ "line", " got:\\n", ], Array [ "line", " - 1\\n", ], Array [ "line", " - pong\\n", ], Array [ "line", " - 4\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "expected": Array [ 1, 2, 4, ], "got": Array [ 1, "pong", 4, ], }, "fullname": "", "id": 4, "ok": true, }, ], Array [ "result", Result { "diag": Object { "expected": Array [ 1, 2, 4, ], "got": Array [ 1, "pong", 4, ], }, "fullname": "", "id": 4, "ok": true, }, ], Array [ "pass", Result { "diag": Object { "expected": Array [ 1, 2, 4, ], "got": Array [ 1, "pong", 4, ], }, "fullname": "", "id": 4, "ok": true, }, ], Array [ "line", "ok 5\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/skip-all-nonempty.tap.test.cjs000066400000000000000000000060531433324523500265650ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP skip-all-nonempty.tap > output bail=false 1`] = ` Array [ Array [ "line", "# TAP emitted by Test::More 0.98\\n", ], Array [ "comment", "# TAP emitted by Test::More 0.98\\n", ], Array [ "line", "1..1 # SKIP Insufficient positron flux\\n", ], Array [ "plan", Object { "comment": "SKIP Insufficient positron flux", "end": 1, "start": 1, }, ], Array [ "line", "ok 1 found some spare flux in bottom drawer\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "found some spare flux in bottom drawer", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "found some spare flux in bottom drawer", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "found some spare flux in bottom drawer", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "SKIP Insufficient positron flux", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP skip-all-nonempty.tap > output bail=true 1`] = ` Array [ Array [ "line", "# TAP emitted by Test::More 0.98\\n", ], Array [ "comment", "# TAP emitted by Test::More 0.98\\n", ], Array [ "line", "1..1 # SKIP Insufficient positron flux\\n", ], Array [ "plan", Object { "comment": "SKIP Insufficient positron flux", "end": 1, "start": 1, }, ], Array [ "line", "ok 1 found some spare flux in bottom drawer\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "found some spare flux in bottom drawer", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "found some spare flux in bottom drawer", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "found some spare flux in bottom drawer", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "SKIP Insufficient positron flux", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/skip-all-with-assert.tap.test.cjs000066400000000000000000000043711433324523500271670ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP skip-all-with-assert.tap > output bail=false 1`] = ` Array [ Array [ "line", "# TAP emitted by Test::More 0.98\\n", ], Array [ "comment", "# TAP emitted by Test::More 0.98\\n", ], Array [ "line", "1..0 # SKIP Insufficient skipping\\n", ], Array [ "plan", Object { "comment": "SKIP Insufficient skipping", "end": 0, "start": 1, }, ], Array [ "line", "ok 1 - should not be asserting\\n", ], Array [ "extra", "ok 1 - should not be asserting\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "SKIP Insufficient skipping", "end": 0, "skipAll": true, "skipReason": "SKIP Insufficient skipping", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP skip-all-with-assert.tap > output bail=true 1`] = ` Array [ Array [ "line", "# TAP emitted by Test::More 0.98\\n", ], Array [ "comment", "# TAP emitted by Test::More 0.98\\n", ], Array [ "line", "1..0 # SKIP Insufficient skipping\\n", ], Array [ "plan", Object { "comment": "SKIP Insufficient skipping", "end": 0, "start": 1, }, ], Array [ "line", "ok 1 - should not be asserting\\n", ], Array [ "extra", "ok 1 - should not be asserting\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "SKIP Insufficient skipping", "end": 0, "skipAll": true, "skipReason": "SKIP Insufficient skipping", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/skip-all-with-test.tap.test.cjs000066400000000000000000000061131433324523500266410ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP skip-all-with-test.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "1..0\\n", ], Array [ "plan", Object { "end": 0, "start": 1, }, ], Array [ "line", "# test count(1) != plan(0)\\n", ], Array [ "comment", "# test count(1) != plan(0)\\n", ], Array [ "line", "# failed 1 test\\n", ], Array [ "comment", "# failed 1 test\\n", ], Array [ "line", "# skip: 1\\n", ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Object { "tapError": "Plan of 1..0, but test points encountered", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 0, "skipAll": true, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP skip-all-with-test.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "1..0\\n", ], Array [ "plan", Object { "end": 0, "start": 1, }, ], Array [ "line", "# test count(1) != plan(0)\\n", ], Array [ "comment", "# test count(1) != plan(0)\\n", ], Array [ "line", "# failed 1 test\\n", ], Array [ "comment", "# failed 1 test\\n", ], Array [ "line", "# skip: 1\\n", ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Object { "tapError": "Plan of 1..0, but test points encountered", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 0, "skipAll": true, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/skip-all.tap.test.cjs000066400000000000000000000037671433324523500247270ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP skip-all.tap > output bail=false 1`] = ` Array [ Array [ "line", "# TAP emitted by Test::More 0.98\\n", ], Array [ "comment", "# TAP emitted by Test::More 0.98\\n", ], Array [ "line", "1..0 # SKIP Insufficient positron flux\\n", ], Array [ "plan", Object { "comment": "SKIP Insufficient positron flux", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "SKIP Insufficient positron flux", "end": 0, "skipAll": true, "skipReason": "SKIP Insufficient positron flux", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP skip-all.tap > output bail=true 1`] = ` Array [ Array [ "line", "# TAP emitted by Test::More 0.98\\n", ], Array [ "comment", "# TAP emitted by Test::More 0.98\\n", ], Array [ "line", "1..0 # SKIP Insufficient positron flux\\n", ], Array [ "plan", Object { "comment": "SKIP Insufficient positron flux", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "SKIP Insufficient positron flux", "end": 0, "skipAll": true, "skipReason": "SKIP Insufficient positron flux", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/skip-one-fail.tap.test.cjs000066400000000000000000000056751433324523500256510ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP skip-one-fail.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "not ok 1 does not count as failure # SKIP\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "does not count as failure", "ok": false, "skip": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "does not count as failure", "ok": false, "skip": true, }, ], Array [ "skip", Result { "fullname": "", "id": 1, "name": "does not count as failure", "ok": false, "skip": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "# skip: 1\\n", ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP skip-one-fail.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "not ok 1 does not count as failure # SKIP\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "does not count as failure", "ok": false, "skip": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "does not count as failure", "ok": false, "skip": true, }, ], Array [ "skip", Result { "fullname": "", "id": 1, "name": "does not count as failure", "ok": false, "skip": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "# skip: 1\\n", ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/skip-one-ok.tap.test.cjs000066400000000000000000000055031433324523500253350ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP skip-one-ok.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "ok 1 totally fine # SKIP\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "totally fine", "ok": true, "skip": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "totally fine", "ok": true, "skip": true, }, ], Array [ "skip", Result { "fullname": "", "id": 1, "name": "totally fine", "ok": true, "skip": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "# skip: 1\\n", ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP skip-one-ok.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "ok 1 totally fine # SKIP\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "totally fine", "ok": true, "skip": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "totally fine", "ok": true, "skip": true, }, ], Array [ "skip", Result { "fullname": "", "id": 1, "name": "totally fine", "ok": true, "skip": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "# skip: 1\\n", ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/skip.tap.test.cjs000066400000000000000000000153711433324523500241530ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP skip.tap > output bail=false 1`] = ` Array [ Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2 # skip rain delay\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "", "ok": true, "skip": "rain delay", }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "", "ok": true, "skip": "rain delay", }, ], Array [ "skip", Result { "fullname": "", "id": 2, "name": "", "ok": true, "skip": "rain delay", }, ], Array [ "line", "ok 3 \\\\#skip should not skip because escaped\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "#skip should not skip because escaped", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "#skip should not skip because escaped", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "#skip should not skip because escaped", "ok": true, }, ], Array [ "line", "ok 4 notskip, because testTitle#skip is not a directive\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "notskip, because testTitle#skip is not a directive", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "name": "notskip, because testTitle#skip is not a directive", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "name": "notskip, because testTitle#skip is not a directive", "ok": true, }, ], Array [ "line", "ok 5 #sKiPpPyYy weird spelling but ok, skip it\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "", "ok": true, "skip": "weird spelling but ok, skip it", }, ], Array [ "result", Result { "fullname": "", "id": 5, "name": "", "ok": true, "skip": "weird spelling but ok, skip it", }, ], Array [ "skip", Result { "fullname": "", "id": 5, "name": "", "ok": true, "skip": "weird spelling but ok, skip it", }, ], Array [ "line", "# skip: 2\\n", ], Array [ "comment", "# skip: 2\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 2, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP skip.tap > output bail=true 1`] = ` Array [ Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2 # skip rain delay\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "", "ok": true, "skip": "rain delay", }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "", "ok": true, "skip": "rain delay", }, ], Array [ "skip", Result { "fullname": "", "id": 2, "name": "", "ok": true, "skip": "rain delay", }, ], Array [ "line", "ok 3 \\\\#skip should not skip because escaped\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "#skip should not skip because escaped", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "#skip should not skip because escaped", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "#skip should not skip because escaped", "ok": true, }, ], Array [ "line", "ok 4 notskip, because testTitle#skip is not a directive\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "notskip, because testTitle#skip is not a directive", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "name": "notskip, because testTitle#skip is not a directive", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "name": "notskip, because testTitle#skip is not a directive", "ok": true, }, ], Array [ "line", "ok 5 #sKiPpPyYy weird spelling but ok, skip it\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "", "ok": true, "skip": "weird spelling but ok, skip it", }, ], Array [ "result", Result { "fullname": "", "id": 5, "name": "", "ok": true, "skip": "weird spelling but ok, skip it", }, ], Array [ "skip", Result { "fullname": "", "id": 5, "name": "", "ok": true, "skip": "weird spelling but ok, skip it", }, ], Array [ "line", "# skip: 2\\n", ], Array [ "comment", "# skip: 2\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 2, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/skip_nomsg.tap.test.cjs000066400000000000000000000050531433324523500253520ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP skip_nomsg.tap > output bail=false 1`] = ` Array [ Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "ok 1 # Skip\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "", "ok": true, "skip": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "", "ok": true, "skip": true, }, ], Array [ "skip", Result { "fullname": "", "id": 1, "name": "", "ok": true, "skip": true, }, ], Array [ "line", "# skip: 1\\n", ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP skip_nomsg.tap > output bail=true 1`] = ` Array [ Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "ok 1 # Skip\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "", "ok": true, "skip": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "", "ok": true, "skip": true, }, ], Array [ "skip", Result { "fullname": "", "id": 1, "name": "", "ok": true, "skip": true, }, ], Array [ "line", "# skip: 1\\n", ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/skipall.tap.test.cjs000066400000000000000000000031171433324523500246370ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP skipall.tap > output bail=false 1`] = ` Array [ Array [ "line", "1..0 # skipping: rope\\n", ], Array [ "plan", Object { "comment": "skipping: rope", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "skipping: rope", "end": 0, "skipAll": true, "skipReason": "skipping: rope", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP skipall.tap > output bail=true 1`] = ` Array [ Array [ "line", "1..0 # skipping: rope\\n", ], Array [ "plan", Object { "comment": "skipping: rope", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "skipping: rope", "end": 0, "skipAll": true, "skipReason": "skipping: rope", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/skipall_nomsg.tap.test.cjs000066400000000000000000000026731433324523500260500ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP skipall_nomsg.tap > output bail=false 1`] = ` Array [ Array [ "line", "1..0\\n", ], Array [ "plan", Object { "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "", "end": 0, "skipAll": true, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP skipall_nomsg.tap > output bail=true 1`] = ` Array [ Array [ "line", "1..0\\n", ], Array [ "plan", Object { "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "", "end": 0, "skipAll": true, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/skipall_v13.tap.test.cjs000066400000000000000000000034131433324523500253270ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP skipall_v13.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..0 # skipping: rope\\n", ], Array [ "plan", Object { "comment": "skipping: rope", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "skipping: rope", "end": 0, "skipAll": true, "skipReason": "skipping: rope", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP skipall_v13.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..0 # skipping: rope\\n", ], Array [ "plan", Object { "comment": "skipping: rope", "end": 0, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 0, "fail": 0, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "skipping: rope", "end": 0, "skipAll": true, "skipReason": "skipping: rope", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/skippidy-doo-dah.tap.test.cjs000066400000000000000000000054551433324523500263540ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP skippidy-doo-dah.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "ok 1 - x #SkIpPidy doo dah\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "x", "ok": true, "skip": "doo dah", }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "x", "ok": true, "skip": "doo dah", }, ], Array [ "skip", Result { "fullname": "", "id": 1, "name": "x", "ok": true, "skip": "doo dah", }, ], Array [ "line", "# skip: 1\\n", ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP skippidy-doo-dah.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "ok 1 - x #SkIpPidy doo dah\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "x", "ok": true, "skip": "doo dah", }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "x", "ok": true, "skip": "doo dah", }, ], Array [ "skip", Result { "fullname": "", "id": 1, "name": "x", "ok": true, "skip": "doo dah", }, ], Array [ "line", "# skip: 1\\n", ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/skipping-a-few.tap.test.cjs000066400000000000000000000163351433324523500260270ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP skipping-a-few.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "ok 1 - approved operating system\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "approved operating system", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "approved operating system", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "approved operating system", "ok": true, }, ], Array [ "line", "# $^0 is solaris\\n", ], Array [ "comment", "# $^0 is solaris\\n", ], Array [ "line", "ok 2 - # SKIP no /sys directory\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "", "ok": true, "skip": "no /sys directory", }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "", "ok": true, "skip": "no /sys directory", }, ], Array [ "skip", Result { "fullname": "", "id": 2, "name": "", "ok": true, "skip": "no /sys directory", }, ], Array [ "line", "ok 3 - # SKIP no /sys directory\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "", "ok": true, "skip": "no /sys directory", }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "", "ok": true, "skip": "no /sys directory", }, ], Array [ "skip", Result { "fullname": "", "id": 3, "name": "", "ok": true, "skip": "no /sys directory", }, ], Array [ "line", "ok 4 - # SKIP no /sys directory\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "", "ok": true, "skip": "no /sys directory", }, ], Array [ "result", Result { "fullname": "", "id": 4, "name": "", "ok": true, "skip": "no /sys directory", }, ], Array [ "skip", Result { "fullname": "", "id": 4, "name": "", "ok": true, "skip": "no /sys directory", }, ], Array [ "line", "ok 5 - # SKIP no /sys directory\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "", "ok": true, "skip": "no /sys directory", }, ], Array [ "result", Result { "fullname": "", "id": 5, "name": "", "ok": true, "skip": "no /sys directory", }, ], Array [ "skip", Result { "fullname": "", "id": 5, "name": "", "ok": true, "skip": "no /sys directory", }, ], Array [ "line", "# skip: 4\\n", ], Array [ "comment", "# skip: 4\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 4, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP skipping-a-few.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "ok 1 - approved operating system\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "approved operating system", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "approved operating system", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "approved operating system", "ok": true, }, ], Array [ "line", "# $^0 is solaris\\n", ], Array [ "comment", "# $^0 is solaris\\n", ], Array [ "line", "ok 2 - # SKIP no /sys directory\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "", "ok": true, "skip": "no /sys directory", }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "", "ok": true, "skip": "no /sys directory", }, ], Array [ "skip", Result { "fullname": "", "id": 2, "name": "", "ok": true, "skip": "no /sys directory", }, ], Array [ "line", "ok 3 - # SKIP no /sys directory\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "", "ok": true, "skip": "no /sys directory", }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "", "ok": true, "skip": "no /sys directory", }, ], Array [ "skip", Result { "fullname": "", "id": 3, "name": "", "ok": true, "skip": "no /sys directory", }, ], Array [ "line", "ok 4 - # SKIP no /sys directory\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "", "ok": true, "skip": "no /sys directory", }, ], Array [ "result", Result { "fullname": "", "id": 4, "name": "", "ok": true, "skip": "no /sys directory", }, ], Array [ "skip", Result { "fullname": "", "id": 4, "name": "", "ok": true, "skip": "no /sys directory", }, ], Array [ "line", "ok 5 - # SKIP no /sys directory\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "", "ok": true, "skip": "no /sys directory", }, ], Array [ "result", Result { "fullname": "", "id": 5, "name": "", "ok": true, "skip": "no /sys directory", }, ], Array [ "skip", Result { "fullname": "", "id": 5, "name": "", "ok": true, "skip": "no /sys directory", }, ], Array [ "line", "# skip: 4\\n", ], Array [ "comment", "# skip: 4\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 4, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/space_after_plan.tap.test.cjs000066400000000000000000000137731433324523500264770ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP space_after_plan.tap > output bail=false 1`] = ` Array [ Array [ "line", "1..5 \\n", ], Array [ "extra", "1..5 \\n", ], Array [ "line", "ok 1 \\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "", "ok": true, }, ], Array [ "line", "ok 2 \\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "", "ok": true, }, ], Array [ "line", "ok 3 \\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "", "ok": true, }, ], Array [ "line", "ok 4 \\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "name": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "name": "", "ok": true, }, ], Array [ "line", "ok 5 \\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 5, "name": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 5, "name": "", "ok": true, }, ], Array [ "line", "# test count(5) != plan(null)\\n", ], Array [ "comment", "# test count(5) != plan(null)\\n", ], Array [ "line", "# failed 1 of 5 tests\\n", ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Object { "tapError": "no plan", }, ], "ok": false, "pass": 5, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP space_after_plan.tap > output bail=true 1`] = ` Array [ Array [ "line", "1..5 \\n", ], Array [ "extra", "1..5 \\n", ], Array [ "line", "ok 1 \\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "", "ok": true, }, ], Array [ "line", "ok 2 \\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "", "ok": true, }, ], Array [ "line", "ok 3 \\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "", "ok": true, }, ], Array [ "line", "ok 4 \\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "name": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "name": "", "ok": true, }, ], Array [ "line", "ok 5 \\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 5, "name": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 5, "name": "", "ok": true, }, ], Array [ "line", "# test count(5) != plan(null)\\n", ], Array [ "comment", "# test count(5) != plan(null)\\n", ], Array [ "line", "# failed 1 of 5 tests\\n", ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Object { "tapError": "no plan", }, ], "ok": false, "pass": 5, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/stdout_stderr.tap.test.cjs000066400000000000000000000102751433324523500261100ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP stdout_stderr.tap > output bail=false 1`] = ` Array [ Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "line", "ok 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "line", "1..4\\n", ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP stdout_stderr.tap > output bail=true 1`] = ` Array [ Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "line", "ok 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "line", "1..4\\n", ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 0, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/strict-pragma-child-broken-diags.tap.test.cjs000066400000000000000000000171261433324523500314060ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP strict-pragma-child-broken-diags.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "pragma +strict\\n", ], Array [ "pragma", "strict", true, ], Array [ "line", "# Subtest: child\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: child\\n", ], Array [ "line", "not ok 1 - test point in child\\n", ], Array [ "assert", Result { "fullname": "child", "id": 1, "name": "test point in child", "ok": false, }, ], Array [ "line", " ...\\n", ], Array [ "line", " hello: world\\n", ], Array [ "line", "# test count(1) != plan(null)\\n", ], Array [ "comment", "# test count(1) != plan(null)\\n", ], Array [ "line", "# failed 4 test\\n", ], Array [ "comment", "# failed 4 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 4, "failures": Array [ Object { "data": " ...\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " hello: world\\n", "tapError": "Non-TAP data encountered in strict mode", }, Result { "fullname": "child", "id": 1, "name": "test point in child", "ok": false, }, Object { "tapError": "no plan", }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " not ok 1 - test point in child\\n", ], Array [ "extra", " ...\\n", ], Array [ "extra", " hello: world\\n", ], Array [ "result", Result { "fullname": "child", "id": 1, "name": "test point in child", "ok": false, }, ], Array [ "fail", Result { "fullname": "child", "id": 1, "name": "test point in child", "ok": false, }, ], Array [ "line", " ...\\n", ], Array [ "line", " hello: world\\n", ], Array [ "line", " # test count(1) != plan(null)\\n", ], Array [ "line", " # failed 4 test\\n", ], Array [ "line", "not ok 1 - child\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "child", "ok": false, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "# failed 3 test\\n", ], Array [ "comment", "# failed 3 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 3, "failures": Array [ Object { "data": " ...\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " hello: world\\n", "tapError": "Non-TAP data encountered in strict mode", }, Result { "fullname": "", "id": 1, "name": "child", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP strict-pragma-child-broken-diags.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "pragma +strict\\n", ], Array [ "pragma", "strict", true, ], Array [ "line", "# Subtest: child\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: child\\n", ], Array [ "line", "not ok 1 - test point in child\\n", ], Array [ "assert", Result { "fullname": "child", "id": 1, "name": "test point in child", "ok": false, }, ], Array [ "line", " ...\\n", ], Array [ "line", " hello: world\\n", ], Array [ "line", "Bail out! test point in child\\n", ], Array [ "bailout", "test point in child", ], Array [ "complete", FinalResults { "bailout": "test point in child", "count": 1, "fail": 3, "failures": Array [ Object { "data": " ...\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " hello: world\\n", "tapError": "Non-TAP data encountered in strict mode", }, Result { "fullname": "child", "id": 1, "name": "test point in child", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " not ok 1 - test point in child\\n", ], Array [ "extra", " ...\\n", ], Array [ "extra", " hello: world\\n", ], Array [ "result", Result { "fullname": "child", "id": 1, "name": "test point in child", "ok": false, }, ], Array [ "fail", Result { "fullname": "child", "id": 1, "name": "test point in child", "ok": false, }, ], Array [ "line", " ...\\n", ], Array [ "line", " hello: world\\n", ], Array [ "line", " Bail out! test point in child\\n", ], Array [ "bailout", "test point in child", ], Array [ "line", "Bail out! test point in child\\n", ], Array [ "complete", FinalResults { "bailout": "test point in child", "count": 0, "fail": 2, "failures": Array [ Object { "data": " ...\\n", "tapError": "Non-TAP data encountered in strict mode", }, Object { "data": " hello: world\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/strict.tap.test.cjs000066400000000000000000000073431433324523500245150ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP strict.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "pragma +strict\\n", ], Array [ "pragma", "strict", true, ], Array [ "line", "Nonsense!\\n", ], Array [ "extra", "Nonsense!\\n", ], Array [ "line", "pragma -strict\\n", ], Array [ "pragma", "strict", false, ], Array [ "line", "Doesn't matter.\\n", ], Array [ "extra", "Doesn't matter.\\n", ], Array [ "line", "ok 1 All OK\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "All OK", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "All OK", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "All OK", "ok": true, }, ], Array [ "line", "# failed 1 test\\n", ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Object { "data": "Nonsense!\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP strict.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "pragma +strict\\n", ], Array [ "pragma", "strict", true, ], Array [ "line", "Nonsense!\\n", ], Array [ "extra", "Nonsense!\\n", ], Array [ "line", "pragma -strict\\n", ], Array [ "pragma", "strict", false, ], Array [ "line", "Doesn't matter.\\n", ], Array [ "extra", "Doesn't matter.\\n", ], Array [ "line", "ok 1 All OK\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "All OK", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "All OK", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "All OK", "ok": true, }, ], Array [ "line", "# failed 1 test\\n", ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Object { "data": "Nonsense!\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/subtest-buffer-diags-time.tap.test.cjs000066400000000000000000000260271433324523500301660ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP subtest-buffer-diags-time.tap > output bail=false 1`] = ` Array [ Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "line", "ok 1 - first # time=12.34ms {\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "line", "ok x\\n", ], Array [ "assert", Result { "fullname": "first", "name": "x", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 12.34, "todo": 0, }, ], ], ], Array [ "line", " ok x\\n", ], Array [ "result", Result { "fullname": "first", "name": "x", "ok": true, }, ], Array [ "pass", Result { "fullname": "first", "name": "x", "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "first", "ok": true, "time": 12.34, }, ], Array [ "line", "ok 2 - second { # time=12.34ms\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "line", "ok x\\n", ], Array [ "assert", Result { "fullname": "second", "name": "x", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 12.34, "todo": 0, }, ], ], ], Array [ "line", " ok x\\n", ], Array [ "result", Result { "fullname": "second", "name": "x", "ok": true, }, ], Array [ "pass", Result { "fullname": "second", "name": "x", "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 2, "name": "second", "ok": true, "time": 12.34, }, ], Array [ "line", "ok 3 - third # time=43.21ms\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " some: diagnostic\\n", ], Array [ "line", " ...\\n", ], Array [ "line", "{\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: third\\n", ], Array [ "line", "ok y\\n", ], Array [ "assert", Result { "fullname": "third", "name": "y", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 43.21, "todo": 0, }, ], ], ], Array [ "line", " ok y\\n", ], Array [ "result", Result { "fullname": "third", "name": "y", "ok": true, }, ], Array [ "pass", Result { "fullname": "third", "name": "y", "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "diag": Object { "some": "diagnostic", }, "fullname": "", "id": 3, "name": "third", "ok": true, "time": 43.21, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP subtest-buffer-diags-time.tap > output bail=true 1`] = ` Array [ Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "line", "ok 1 - first # time=12.34ms {\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "line", "ok x\\n", ], Array [ "assert", Result { "fullname": "first", "name": "x", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 12.34, "todo": 0, }, ], ], ], Array [ "line", " ok x\\n", ], Array [ "result", Result { "fullname": "first", "name": "x", "ok": true, }, ], Array [ "pass", Result { "fullname": "first", "name": "x", "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "first", "ok": true, "time": 12.34, }, ], Array [ "line", "ok 2 - second { # time=12.34ms\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "line", "ok x\\n", ], Array [ "assert", Result { "fullname": "second", "name": "x", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 12.34, "todo": 0, }, ], ], ], Array [ "line", " ok x\\n", ], Array [ "result", Result { "fullname": "second", "name": "x", "ok": true, }, ], Array [ "pass", Result { "fullname": "second", "name": "x", "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 2, "name": "second", "ok": true, "time": 12.34, }, ], Array [ "line", "ok 3 - third # time=43.21ms\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " some: diagnostic\\n", ], Array [ "line", " ...\\n", ], Array [ "line", "{\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: third\\n", ], Array [ "line", "ok y\\n", ], Array [ "assert", Result { "fullname": "third", "name": "y", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 43.21, "todo": 0, }, ], ], ], Array [ "line", " ok y\\n", ], Array [ "result", Result { "fullname": "third", "name": "y", "ok": true, }, ], Array [ "pass", Result { "fullname": "third", "name": "y", "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "diag": Object { "some": "diagnostic", }, "fullname": "", "id": 3, "name": "third", "ok": true, "time": 43.21, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/subtest-buffer-todo.tap.test.cjs000066400000000000000000000224571433324523500271130ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP subtest-buffer-todo.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "ok 1 - tbd # TODO foo {\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: tbd\\n", ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "tbd", "id": 1, "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1\\n", ], Array [ "result", Result { "fullname": "tbd", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "tbd", "id": 1, "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "tbd", "ok": true, "todo": "foo", }, ], Array [ "result", Result { "buffered": true, "fullname": "", "id": 1, "name": "tbd", "ok": true, "todo": "foo", }, ], Array [ "todo", Result { "buffered": true, "fullname": "", "id": 1, "name": "tbd", "ok": true, "todo": "foo", }, ], Array [ "line", "ok 2 - skippy # skip {\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: skippy\\n", ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "skippy", "id": 1, "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1\\n", ], Array [ "result", Result { "fullname": "skippy", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "skippy", "id": 1, "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 2, "name": "skippy", "ok": true, "skip": true, }, ], Array [ "result", Result { "buffered": true, "fullname": "", "id": 2, "name": "skippy", "ok": true, "skip": true, }, ], Array [ "skip", Result { "buffered": true, "fullname": "", "id": 2, "name": "skippy", "ok": true, "skip": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "# todo: 1\\n", ], Array [ "comment", "# todo: 1\\n", ], Array [ "line", "# skip: 1\\n", ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 1, }, ], ] ` exports[`test/parser.js TAP subtest-buffer-todo.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "ok 1 - tbd # TODO foo {\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: tbd\\n", ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "tbd", "id": 1, "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1\\n", ], Array [ "result", Result { "fullname": "tbd", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "tbd", "id": 1, "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "tbd", "ok": true, "todo": "foo", }, ], Array [ "result", Result { "buffered": true, "fullname": "", "id": 1, "name": "tbd", "ok": true, "todo": "foo", }, ], Array [ "todo", Result { "buffered": true, "fullname": "", "id": 1, "name": "tbd", "ok": true, "todo": "foo", }, ], Array [ "line", "ok 2 - skippy # skip {\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: skippy\\n", ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "skippy", "id": 1, "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1\\n", ], Array [ "result", Result { "fullname": "skippy", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "skippy", "id": 1, "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 2, "name": "skippy", "ok": true, "skip": true, }, ], Array [ "result", Result { "buffered": true, "fullname": "", "id": 2, "name": "skippy", "ok": true, "skip": true, }, ], Array [ "skip", Result { "buffered": true, "fullname": "", "id": 2, "name": "skippy", "ok": true, "skip": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "# todo: 1\\n", ], Array [ "comment", "# todo: 1\\n", ], Array [ "line", "# skip: 1\\n", ], Array [ "comment", "# skip: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 1, "time": null, "todo": 1, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/subtest-buffer.tap.test.cjs000066400000000000000000000433111433324523500261400ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP subtest-buffer.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "ok 1 - nesting {\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "ok 1 - first {\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "ok 1 - true is ok\\n", ], Array [ "assert", Result { "fullname": "nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", "ok 2 - doag is also okay\\n", ], Array [ "assert", Result { "fullname": "nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "fullname": "nesting", "id": 1, "name": "first", "ok": true, }, ], Array [ "line", "ok 2 - second {\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "line", "ok 1 - but that is ok\\n", ], Array [ "assert", Result { "fullname": "nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "ok 3 - nested ok\\n", ], Array [ "assert", Result { "fullname": "nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "fullname": "nesting", "id": 2, "name": "second", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - first {\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "result", Result { "fullname": "nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "result", Result { "fullname": "nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "line", " }\\n", ], Array [ "line", " ok 2 - second {\\n", ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "result", Result { "fullname": "nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "result", Result { "fullname": "nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "result", Result { "fullname": "nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", " 1..3\\n", ], Array [ "line", " }\\n", ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "nesting", "ok": true, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "# time=66.857ms\\n", ], Array [ "comment", "# time=66.857ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 66.857, "todo": 0, }, ], ] ` exports[`test/parser.js TAP subtest-buffer.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "ok 1 - nesting {\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "ok 1 - first {\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "ok 1 - true is ok\\n", ], Array [ "assert", Result { "fullname": "nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", "ok 2 - doag is also okay\\n", ], Array [ "assert", Result { "fullname": "nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "fullname": "nesting", "id": 1, "name": "first", "ok": true, }, ], Array [ "line", "ok 2 - second {\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "line", "ok 1 - but that is ok\\n", ], Array [ "assert", Result { "fullname": "nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "ok 3 - nested ok\\n", ], Array [ "assert", Result { "fullname": "nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "fullname": "nesting", "id": 2, "name": "second", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - first {\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "result", Result { "fullname": "nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "result", Result { "fullname": "nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "line", " }\\n", ], Array [ "line", " ok 2 - second {\\n", ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "result", Result { "fullname": "nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "result", Result { "fullname": "nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "result", Result { "fullname": "nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", " 1..3\\n", ], Array [ "line", " }\\n", ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "nesting", "ok": true, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "# time=66.857ms\\n", ], Array [ "comment", "# time=66.857ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 66.857, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/subtest-comment-indent.tap.test.cjs000066400000000000000000000640231433324523500276130ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP subtest-comment-indent.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# Subtest: ../tap/test/test/ok.js\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: ../tap/test/test/ok.js\\n", ], Array [ "line", "# Subtest: nesting\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "line", "# Subtest: first\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "ok 1 - true is ok\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", "ok 2 - doag is also okay\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "line", "ok 1 - first # time=8.987ms\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "line", "# Subtest: second\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "line", "ok 1 - but that is ok\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "ok 3 - nested ok\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", "ok 2 - second # time=5.988ms\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "line", " # Subtest: first\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "line", " ok 1 - first # time=8.987ms\\n", ], Array [ "line", " # Subtest: second\\n", ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", " ok 2 - second # time=5.988ms\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", "ok 1 - nesting # time=28.647ms\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "# time=55.292ms\\n", ], Array [ "comment", "# time=55.292ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 205.826, "todo": 0, }, ], ], ], Array [ "line", " # Subtest: nesting\\n", ], Array [ "line", " # Subtest: first\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "line", " ok 1 - first # time=8.987ms\\n", ], Array [ "line", " # Subtest: second\\n", ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", " 1..3\\n", ], Array [ "line", " ok 2 - second # time=5.988ms\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - nesting # time=28.647ms\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", " 1..2\\n", ], Array [ "line", " # time=55.292ms\\n", ], Array [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "# time=223.468ms\\n", ], Array [ "comment", "# time=223.468ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 223.468, "todo": 0, }, ], ] ` exports[`test/parser.js TAP subtest-comment-indent.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# Subtest: ../tap/test/test/ok.js\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: ../tap/test/test/ok.js\\n", ], Array [ "line", "# Subtest: nesting\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "line", "# Subtest: first\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "ok 1 - true is ok\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", "ok 2 - doag is also okay\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "line", "ok 1 - first # time=8.987ms\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "line", "# Subtest: second\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "line", "ok 1 - but that is ok\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "ok 3 - nested ok\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", "ok 2 - second # time=5.988ms\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "line", " # Subtest: first\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "line", " ok 1 - first # time=8.987ms\\n", ], Array [ "line", " # Subtest: second\\n", ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", " ok 2 - second # time=5.988ms\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", "ok 1 - nesting # time=28.647ms\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "# time=55.292ms\\n", ], Array [ "comment", "# time=55.292ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 205.826, "todo": 0, }, ], ], ], Array [ "line", " # Subtest: nesting\\n", ], Array [ "line", " # Subtest: first\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "line", " ok 1 - first # time=8.987ms\\n", ], Array [ "line", " # Subtest: second\\n", ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", " 1..3\\n", ], Array [ "line", " ok 2 - second # time=5.988ms\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - nesting # time=28.647ms\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", " 1..2\\n", ], Array [ "line", " # time=55.292ms\\n", ], Array [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "# time=223.468ms\\n", ], Array [ "comment", "# time=223.468ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 223.468, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/subtest-comment-leading.tap.test.cjs000066400000000000000000000443731433324523500277430ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP subtest-comment-leading.tap > output bail=false 1`] = ` Array [ Array [ "line", "# Subtest: test/test/ok.js\\n", ], Array [ "comment", "# Subtest: test/test/ok.js\\n", ], Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# Subtest: nesting\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "line", "# Subtest: first\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "ok 1 - true is ok\\n", ], Array [ "assert", Result { "fullname": "nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", "ok 2 - doag is also okay\\n", ], Array [ "assert", Result { "fullname": "nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "line", "ok 1 - first # time=8.987ms\\n", ], Array [ "assert", Result { "fullname": "nesting", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "line", "# Subtest: second\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "line", "ok 1 - but that is ok\\n", ], Array [ "assert", Result { "fullname": "nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "ok 3 - nested ok\\n", ], Array [ "assert", Result { "fullname": "nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", "ok 2 - second # time=5.988ms\\n", ], Array [ "assert", Result { "fullname": "nesting", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "line", " # Subtest: first\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "result", Result { "fullname": "nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "result", Result { "fullname": "nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "line", " ok 1 - first # time=8.987ms\\n", ], Array [ "line", " # Subtest: second\\n", ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "result", Result { "fullname": "nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "result", Result { "fullname": "nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "result", Result { "fullname": "nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", " 1..3\\n", ], Array [ "line", " ok 2 - second # time=5.988ms\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", "ok 1 - nesting # time=28.647ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "# time=55.292ms\\n", ], Array [ "comment", "# time=55.292ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 55.292, "todo": 0, }, ], ] ` exports[`test/parser.js TAP subtest-comment-leading.tap > output bail=true 1`] = ` Array [ Array [ "line", "# Subtest: test/test/ok.js\\n", ], Array [ "comment", "# Subtest: test/test/ok.js\\n", ], Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# Subtest: nesting\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "line", "# Subtest: first\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "ok 1 - true is ok\\n", ], Array [ "assert", Result { "fullname": "nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", "ok 2 - doag is also okay\\n", ], Array [ "assert", Result { "fullname": "nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "line", "ok 1 - first # time=8.987ms\\n", ], Array [ "assert", Result { "fullname": "nesting", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "line", "# Subtest: second\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "line", "ok 1 - but that is ok\\n", ], Array [ "assert", Result { "fullname": "nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "ok 3 - nested ok\\n", ], Array [ "assert", Result { "fullname": "nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", "ok 2 - second # time=5.988ms\\n", ], Array [ "assert", Result { "fullname": "nesting", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "line", " # Subtest: first\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "result", Result { "fullname": "nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "result", Result { "fullname": "nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "line", " ok 1 - first # time=8.987ms\\n", ], Array [ "line", " # Subtest: second\\n", ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "result", Result { "fullname": "nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "result", Result { "fullname": "nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "result", Result { "fullname": "nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", " 1..3\\n", ], Array [ "line", " ok 2 - second # time=5.988ms\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", "ok 1 - nesting # time=28.647ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "# time=55.292ms\\n", ], Array [ "comment", "# time=55.292ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 55.292, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/subtest-comment-mixed-indent.tap.test.cjs000066400000000000000000000640371433324523500307240ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP subtest-comment-mixed-indent.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# Subtest: ../tap/test/test/ok.js\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: ../tap/test/test/ok.js\\n", ], Array [ "line", "# Subtest: nesting\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "line", "# Subtest: first\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "ok 1 - true is ok\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", "ok 2 - doag is also okay\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "line", "ok 1 - first # time=8.987ms\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "line", "# Subtest: second\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "line", "ok 1 - but that is ok\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "ok 3 - nested ok\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", "ok 2 - second # time=5.988ms\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "line", " # Subtest: first\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "line", " ok 1 - first # time=8.987ms\\n", ], Array [ "line", " # Subtest: second\\n", ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", " ok 2 - second # time=5.988ms\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", "ok 1 - nesting # time=28.647ms\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "# time=55.292ms\\n", ], Array [ "comment", "# time=55.292ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 205.826, "todo": 0, }, ], ], ], Array [ "line", " # Subtest: nesting\\n", ], Array [ "line", " # Subtest: first\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "line", " ok 1 - first # time=8.987ms\\n", ], Array [ "line", " # Subtest: second\\n", ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", " 1..3\\n", ], Array [ "line", " ok 2 - second # time=5.988ms\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - nesting # time=28.647ms\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", " 1..2\\n", ], Array [ "line", " # time=55.292ms\\n", ], Array [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "# time=223.468ms\\n", ], Array [ "comment", "# time=223.468ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 223.468, "todo": 0, }, ], ] ` exports[`test/parser.js TAP subtest-comment-mixed-indent.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# Subtest: ../tap/test/test/ok.js\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: ../tap/test/test/ok.js\\n", ], Array [ "line", "# Subtest: nesting\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "line", "# Subtest: first\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "ok 1 - true is ok\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", "ok 2 - doag is also okay\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "line", "ok 1 - first # time=8.987ms\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "line", "# Subtest: second\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "line", "ok 1 - but that is ok\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "ok 3 - nested ok\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", "ok 2 - second # time=5.988ms\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "line", " # Subtest: first\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "line", " ok 1 - first # time=8.987ms\\n", ], Array [ "line", " # Subtest: second\\n", ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", " ok 2 - second # time=5.988ms\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", "ok 1 - nesting # time=28.647ms\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "# time=55.292ms\\n", ], Array [ "comment", "# time=55.292ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 205.826, "todo": 0, }, ], ], ], Array [ "line", " # Subtest: nesting\\n", ], Array [ "line", " # Subtest: first\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "line", " ok 1 - first # time=8.987ms\\n", ], Array [ "line", " # Subtest: second\\n", ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", " 1..3\\n", ], Array [ "line", " ok 2 - second # time=5.988ms\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - nesting # time=28.647ms\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", " 1..2\\n", ], Array [ "line", " # time=55.292ms\\n", ], Array [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "# time=223.468ms\\n", ], Array [ "comment", "# time=223.468ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 223.468, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/subtest-comment-noindent.tap.test.cjs000066400000000000000000000640271433324523500301540ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP subtest-comment-noindent.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# Subtest: ../tap/test/test/ok.js\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: ../tap/test/test/ok.js\\n", ], Array [ "line", "# Subtest: nesting\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "line", "# Subtest: first\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "ok 1 - true is ok\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", "ok 2 - doag is also okay\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "line", "ok 1 - first # time=8.987ms\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "line", "# Subtest: second\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "line", "ok 1 - but that is ok\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "ok 3 - nested ok\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", "ok 2 - second # time=5.988ms\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "line", " # Subtest: first\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "line", " ok 1 - first # time=8.987ms\\n", ], Array [ "line", " # Subtest: second\\n", ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", " ok 2 - second # time=5.988ms\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", "ok 1 - nesting # time=28.647ms\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "# time=55.292ms\\n", ], Array [ "comment", "# time=55.292ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 205.826, "todo": 0, }, ], ], ], Array [ "line", " # Subtest: nesting\\n", ], Array [ "line", " # Subtest: first\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "line", " ok 1 - first # time=8.987ms\\n", ], Array [ "line", " # Subtest: second\\n", ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", " 1..3\\n", ], Array [ "line", " ok 2 - second # time=5.988ms\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - nesting # time=28.647ms\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", " 1..2\\n", ], Array [ "line", " # time=55.292ms\\n", ], Array [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "# time=223.468ms\\n", ], Array [ "comment", "# time=223.468ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 223.468, "todo": 0, }, ], ] ` exports[`test/parser.js TAP subtest-comment-noindent.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# Subtest: ../tap/test/test/ok.js\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: ../tap/test/test/ok.js\\n", ], Array [ "line", "# Subtest: nesting\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "line", "# Subtest: first\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "ok 1 - true is ok\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", "ok 2 - doag is also okay\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "line", "ok 1 - first # time=8.987ms\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "line", "# Subtest: second\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "line", "ok 1 - but that is ok\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "ok 3 - nested ok\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", "ok 2 - second # time=5.988ms\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js nesting", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "line", " # Subtest: first\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "line", " ok 1 - first # time=8.987ms\\n", ], Array [ "line", " # Subtest: second\\n", ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", " ok 2 - second # time=5.988ms\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", "ok 1 - nesting # time=28.647ms\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "# time=55.292ms\\n", ], Array [ "comment", "# time=55.292ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 205.826, "todo": 0, }, ], ], ], Array [ "line", " # Subtest: nesting\\n", ], Array [ "line", " # Subtest: first\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "line", " ok 1 - first # time=8.987ms\\n", ], Array [ "line", " # Subtest: second\\n", ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", " 1..3\\n", ], Array [ "line", " ok 2 - second # time=5.988ms\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - nesting # time=28.647ms\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", " 1..2\\n", ], Array [ "line", " # time=55.292ms\\n", ], Array [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "# time=223.468ms\\n", ], Array [ "comment", "# time=223.468ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 223.468, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/subtest-confusing.tap.test.cjs000066400000000000000000000236131433324523500266650ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP subtest-confusing.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "ok 1 - a brace looks like this {\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: a brace looks like this\\n", ], Array [ "line", "# Subtest: x\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: x\\n", ], Array [ "line", "# Subtest: y\\n", ], Array [ "comment", "# Subtest: y\\n", ], Array [ "line", "ok 1 - ypoint\\n", ], Array [ "assert", Result { "fullname": "a brace looks like this x", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " # Subtest: y\\n", ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "ok 1 - y\\n", ], Array [ "assert", Result { "fullname": "a brace looks like this", "id": 1, "name": "y", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " # Subtest: x\\n", ], Array [ "line", " # Subtest: y\\n", ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "result", Result { "fullname": "a brace looks like this x", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "pass", Result { "fullname": "a brace looks like this x", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", " ok 1 - y\\n", ], Array [ "result", Result { "fullname": "a brace looks like this", "id": 1, "name": "y", "ok": true, }, ], Array [ "pass", Result { "fullname": "a brace looks like this", "id": 1, "name": "y", "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "a brace looks like this", "ok": true, }, ], Array [ "line", "ok 2 - x\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "x", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "x", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "x", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP subtest-confusing.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "ok 1 - a brace looks like this {\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: a brace looks like this\\n", ], Array [ "line", "# Subtest: x\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: x\\n", ], Array [ "line", "# Subtest: y\\n", ], Array [ "comment", "# Subtest: y\\n", ], Array [ "line", "ok 1 - ypoint\\n", ], Array [ "assert", Result { "fullname": "a brace looks like this x", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " # Subtest: y\\n", ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "ok 1 - y\\n", ], Array [ "assert", Result { "fullname": "a brace looks like this", "id": 1, "name": "y", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " # Subtest: x\\n", ], Array [ "line", " # Subtest: y\\n", ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "result", Result { "fullname": "a brace looks like this x", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "pass", Result { "fullname": "a brace looks like this x", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", " ok 1 - y\\n", ], Array [ "result", Result { "fullname": "a brace looks like this", "id": 1, "name": "y", "ok": true, }, ], Array [ "pass", Result { "fullname": "a brace looks like this", "id": 1, "name": "y", "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "a brace looks like this", "ok": true, }, ], Array [ "line", "ok 2 - x\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "x", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "x", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "x", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/subtest-heading.tap.test.cjs000066400000000000000000000176511433324523500262760ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP subtest-heading.tap > output bail=false 1`] = ` Array [ Array [ "line", "# Subtest: heading.js\\n", ], Array [ "comment", "# Subtest: heading.js\\n", ], Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# Subtest: x\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: x\\n", ], Array [ "line", "# Subtest: y\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "line", "ok 1 - ypoint\\n", ], Array [ "assert", Result { "fullname": "x y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "ok 1 - y\\n", ], Array [ "assert", Result { "fullname": "x", "id": 1, "name": "y", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " # Subtest: y\\n", ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "result", Result { "fullname": "x y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "pass", Result { "fullname": "x y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", " ok 1 - y\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "ok 1 - x\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "x", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP subtest-heading.tap > output bail=true 1`] = ` Array [ Array [ "line", "# Subtest: heading.js\\n", ], Array [ "comment", "# Subtest: heading.js\\n", ], Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# Subtest: x\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: x\\n", ], Array [ "line", "# Subtest: y\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "line", "ok 1 - ypoint\\n", ], Array [ "assert", Result { "fullname": "x y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "ok 1 - y\\n", ], Array [ "assert", Result { "fullname": "x", "id": 1, "name": "y", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " # Subtest: y\\n", ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "result", Result { "fullname": "x y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "pass", Result { "fullname": "x y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", " ok 1 - y\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "ok 1 - x\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "x", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/subtest-maybe-child-unfulfilled.tap.test.cjs000066400000000000000000000227051433324523500313600ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP subtest-maybe-child-unfulfilled.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# just a comment\\n", ], Array [ "comment", "# just a comment\\n", ], Array [ "line", "# Subtest: x\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: x\\n", ], Array [ "line", "# Subtest: fake\\n", ], Array [ "comment", "# Subtest: fake\\n", ], Array [ "line", "ok 1 - not a subtest\\n", ], Array [ "assert", Result { "fullname": "x", "id": 1, "name": "not a subtest", "ok": true, }, ], Array [ "line", "# Subtest: y\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "line", "ok 1 - ypoint\\n", ], Array [ "assert", Result { "fullname": "x y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "ok 2 - y\\n", ], Array [ "assert", Result { "fullname": "x", "id": 2, "name": "y", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " # Subtest: fake\\n", ], Array [ "line", " ok 1 - not a subtest\\n", ], Array [ "result", Result { "fullname": "x", "id": 1, "name": "not a subtest", "ok": true, }, ], Array [ "pass", Result { "fullname": "x", "id": 1, "name": "not a subtest", "ok": true, }, ], Array [ "line", " # Subtest: y\\n", ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "result", Result { "fullname": "x y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "pass", Result { "fullname": "x y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", " ok 2 - y\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", "ok 1 - x\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "x", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP subtest-maybe-child-unfulfilled.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# just a comment\\n", ], Array [ "comment", "# just a comment\\n", ], Array [ "line", "# Subtest: x\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: x\\n", ], Array [ "line", "# Subtest: fake\\n", ], Array [ "comment", "# Subtest: fake\\n", ], Array [ "line", "ok 1 - not a subtest\\n", ], Array [ "assert", Result { "fullname": "x", "id": 1, "name": "not a subtest", "ok": true, }, ], Array [ "line", "# Subtest: y\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "line", "ok 1 - ypoint\\n", ], Array [ "assert", Result { "fullname": "x y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "ok 2 - y\\n", ], Array [ "assert", Result { "fullname": "x", "id": 2, "name": "y", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " # Subtest: fake\\n", ], Array [ "line", " ok 1 - not a subtest\\n", ], Array [ "result", Result { "fullname": "x", "id": 1, "name": "not a subtest", "ok": true, }, ], Array [ "pass", Result { "fullname": "x", "id": 1, "name": "not a subtest", "ok": true, }, ], Array [ "line", " # Subtest: y\\n", ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "result", Result { "fullname": "x y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "pass", Result { "fullname": "x y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", " ok 2 - y\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", "ok 1 - x\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "x", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/subtest-mixing.tap.test.cjs000066400000000000000000001615031433324523500261660ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP subtest-mixing.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# All of these should be semantically equivalent\\n", ], Array [ "comment", "# All of these should be semantically equivalent\\n", ], Array [ "line", "ok 1 - x1 {\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: x1\\n", ], Array [ "line", "ok 1 - y {\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "line", "ok 1 - ypoint\\n", ], Array [ "assert", Result { "fullname": "x1 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "fullname": "x1", "id": 1, "name": "y", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - y {\\n", ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "result", Result { "fullname": "x1 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "pass", Result { "fullname": "x1 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", " }\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "x1", "ok": true, }, ], Array [ "line", "ok 2 - x2 {\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: x2\\n", ], Array [ "line", "# Subtest: y\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "line", "ok 1 - ypoint\\n", ], Array [ "assert", Result { "fullname": "x2 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "ok 1 - y\\n", ], Array [ "assert", Result { "fullname": "x2", "id": 1, "name": "y", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " # Subtest: y\\n", ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "result", Result { "fullname": "x2 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "pass", Result { "fullname": "x2 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", " ok 1 - y\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 2, "name": "x2", "ok": true, }, ], Array [ "line", "ok 3 - x3 {\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: x3\\n", ], Array [ "line", "# Subtest: y\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "line", "ok 1 - ypoint\\n", ], Array [ "assert", Result { "fullname": "x3 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "ok 1 - y\\n", ], Array [ "assert", Result { "fullname": "x3", "id": 1, "name": "y", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " # Subtest: y\\n", ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "result", Result { "fullname": "x3 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "pass", Result { "fullname": "x3 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", " ok 1 - y\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 3, "name": "x3", "ok": true, }, ], Array [ "line", "# Subtest: x4\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: x4\\n", ], Array [ "line", "ok 1 - y {\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "line", "ok 1 - ypoint\\n", ], Array [ "assert", Result { "fullname": "x4 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "fullname": "x4", "id": 1, "name": "y", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - y {\\n", ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "result", Result { "fullname": "x4 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "pass", Result { "fullname": "x4 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", " }\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "ok 4 - x4\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "x4", "ok": true, }, ], Array [ "line", "# Subtest: x5\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: x5\\n", ], Array [ "line", "# Subtest: y\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "line", "ok 1 - ypoint\\n", ], Array [ "assert", Result { "fullname": "x5 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "ok 1 - y\\n", ], Array [ "assert", Result { "fullname": "x5", "id": 1, "name": "y", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " # Subtest: y\\n", ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "result", Result { "fullname": "x5 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "pass", Result { "fullname": "x5 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", " ok 1 - y\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "ok 5 - x5\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "x5", "ok": true, }, ], Array [ "line", "# Subtest: x6\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: x6\\n", ], Array [ "line", "# Subtest: y\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "line", "ok 1 - ypoint\\n", ], Array [ "assert", Result { "fullname": "x6 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "ok 1 - y\\n", ], Array [ "assert", Result { "fullname": "x6", "id": 1, "name": "y", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " # Subtest: y\\n", ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "result", Result { "fullname": "x6 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "pass", Result { "fullname": "x6 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", " ok 1 - y\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "ok 6 - x6\\n", ], Array [ "assert", Result { "fullname": "", "id": 6, "name": "x6", "ok": true, }, ], Array [ "line", "# Subtest: x7\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: x7\\n", ], Array [ "line", "ok 1 - y {\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "line", "ok 1 - ypoint\\n", ], Array [ "assert", Result { "fullname": "x7 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "fullname": "x7", "id": 1, "name": "y", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - y {\\n", ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "result", Result { "fullname": "x7 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "pass", Result { "fullname": "x7 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", " }\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "ok 7 - x7\\n", ], Array [ "assert", Result { "fullname": "", "id": 7, "name": "x7", "ok": true, }, ], Array [ "line", "# Subtest: x8\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: x8\\n", ], Array [ "line", "# Subtest: y\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "line", "ok 1 - ypoint\\n", ], Array [ "assert", Result { "fullname": "x8 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "ok 1 - y\\n", ], Array [ "assert", Result { "fullname": "x8", "id": 1, "name": "y", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " # Subtest: y\\n", ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "result", Result { "fullname": "x8 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "pass", Result { "fullname": "x8 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", " ok 1 - y\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "ok 8 - x8\\n", ], Array [ "assert", Result { "fullname": "", "id": 8, "name": "x8", "ok": true, }, ], Array [ "line", "# Subtest: x9\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: x9\\n", ], Array [ "line", "# Subtest: y\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "line", "ok 1 - ypoint\\n", ], Array [ "assert", Result { "fullname": "x9 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "ok 1 - y\\n", ], Array [ "assert", Result { "fullname": "x9", "id": 1, "name": "y", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " # Subtest: y\\n", ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "result", Result { "fullname": "x9 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "pass", Result { "fullname": "x9 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", " ok 1 - y\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "ok 9 - x9\\n", ], Array [ "assert", Result { "fullname": "", "id": 9, "name": "x9", "ok": true, }, ], Array [ "line", "1..9\\n", ], Array [ "plan", Object { "end": 9, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 9, "fail": 0, "failures": Array [], "ok": true, "pass": 9, "plan": FinalPlan { "comment": "", "end": 9, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP subtest-mixing.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# All of these should be semantically equivalent\\n", ], Array [ "comment", "# All of these should be semantically equivalent\\n", ], Array [ "line", "ok 1 - x1 {\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: x1\\n", ], Array [ "line", "ok 1 - y {\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "line", "ok 1 - ypoint\\n", ], Array [ "assert", Result { "fullname": "x1 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "fullname": "x1", "id": 1, "name": "y", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - y {\\n", ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "result", Result { "fullname": "x1 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "pass", Result { "fullname": "x1 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", " }\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 1, "name": "x1", "ok": true, }, ], Array [ "line", "ok 2 - x2 {\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: x2\\n", ], Array [ "line", "# Subtest: y\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "line", "ok 1 - ypoint\\n", ], Array [ "assert", Result { "fullname": "x2 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "ok 1 - y\\n", ], Array [ "assert", Result { "fullname": "x2", "id": 1, "name": "y", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " # Subtest: y\\n", ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "result", Result { "fullname": "x2 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "pass", Result { "fullname": "x2 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", " ok 1 - y\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 2, "name": "x2", "ok": true, }, ], Array [ "line", "ok 3 - x3 {\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: x3\\n", ], Array [ "line", "# Subtest: y\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "line", "ok 1 - ypoint\\n", ], Array [ "assert", Result { "fullname": "x3 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "ok 1 - y\\n", ], Array [ "assert", Result { "fullname": "x3", "id": 1, "name": "y", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " # Subtest: y\\n", ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "result", Result { "fullname": "x3 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "pass", Result { "fullname": "x3 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", " ok 1 - y\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 3, "name": "x3", "ok": true, }, ], Array [ "line", "# Subtest: x4\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: x4\\n", ], Array [ "line", "ok 1 - y {\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "line", "ok 1 - ypoint\\n", ], Array [ "assert", Result { "fullname": "x4 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "fullname": "x4", "id": 1, "name": "y", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - y {\\n", ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "result", Result { "fullname": "x4 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "pass", Result { "fullname": "x4 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", " }\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "ok 4 - x4\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "x4", "ok": true, }, ], Array [ "line", "# Subtest: x5\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: x5\\n", ], Array [ "line", "# Subtest: y\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "line", "ok 1 - ypoint\\n", ], Array [ "assert", Result { "fullname": "x5 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "ok 1 - y\\n", ], Array [ "assert", Result { "fullname": "x5", "id": 1, "name": "y", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " # Subtest: y\\n", ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "result", Result { "fullname": "x5 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "pass", Result { "fullname": "x5 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", " ok 1 - y\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "ok 5 - x5\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "x5", "ok": true, }, ], Array [ "line", "# Subtest: x6\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: x6\\n", ], Array [ "line", "# Subtest: y\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "line", "ok 1 - ypoint\\n", ], Array [ "assert", Result { "fullname": "x6 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "ok 1 - y\\n", ], Array [ "assert", Result { "fullname": "x6", "id": 1, "name": "y", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " # Subtest: y\\n", ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "result", Result { "fullname": "x6 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "pass", Result { "fullname": "x6 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", " ok 1 - y\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "ok 6 - x6\\n", ], Array [ "assert", Result { "fullname": "", "id": 6, "name": "x6", "ok": true, }, ], Array [ "line", "# Subtest: x7\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: x7\\n", ], Array [ "line", "ok 1 - y {\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "line", "ok 1 - ypoint\\n", ], Array [ "assert", Result { "fullname": "x7 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "fullname": "x7", "id": 1, "name": "y", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - y {\\n", ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "result", Result { "fullname": "x7 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "pass", Result { "fullname": "x7 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", " }\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "ok 7 - x7\\n", ], Array [ "assert", Result { "fullname": "", "id": 7, "name": "x7", "ok": true, }, ], Array [ "line", "# Subtest: x8\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: x8\\n", ], Array [ "line", "# Subtest: y\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "line", "ok 1 - ypoint\\n", ], Array [ "assert", Result { "fullname": "x8 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "ok 1 - y\\n", ], Array [ "assert", Result { "fullname": "x8", "id": 1, "name": "y", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " # Subtest: y\\n", ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "result", Result { "fullname": "x8 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "pass", Result { "fullname": "x8 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", " ok 1 - y\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "ok 8 - x8\\n", ], Array [ "assert", Result { "fullname": "", "id": 8, "name": "x8", "ok": true, }, ], Array [ "line", "# Subtest: x9\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: x9\\n", ], Array [ "line", "# Subtest: y\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: y\\n", ], Array [ "line", "ok 1 - ypoint\\n", ], Array [ "assert", Result { "fullname": "x9 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "ok 1 - y\\n", ], Array [ "assert", Result { "fullname": "x9", "id": 1, "name": "y", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " # Subtest: y\\n", ], Array [ "line", " ok 1 - ypoint\\n", ], Array [ "result", Result { "fullname": "x9 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "pass", Result { "fullname": "x9 y", "id": 1, "name": "ypoint", "ok": true, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", " ok 1 - y\\n", ], Array [ "line", " 1..1\\n", ], Array [ "line", "ok 9 - x9\\n", ], Array [ "assert", Result { "fullname": "", "id": 9, "name": "x9", "ok": true, }, ], Array [ "line", "1..9\\n", ], Array [ "plan", Object { "end": 9, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 9, "fail": 0, "failures": Array [], "ok": true, "pass": 9, "plan": FinalPlan { "comment": "", "end": 9, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/subtest-no-comment-leading-comment.tap.test.cjs000066400000000000000000000654631433324523500320200ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP subtest-no-comment-leading-comment.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# Subtest: ../tap/test/test/ok.js\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: ../tap/test/test/ok.js\\n", ], Array [ "line", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "line", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "ok 1 - true is ok\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", "ok 2 - doag is also okay\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "line", "ok 1 - first # time=8.987ms\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "line", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "line", "ok 1 - but that is ok\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "ok 3 - nested ok\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", "ok 2 - second # time=5.988ms\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "line", " # Subtest\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "line", " ok 1 - first # time=8.987ms\\n", ], Array [ "line", " # Subtest\\n", ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", " ok 2 - second # time=5.988ms\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", "ok 1 - nesting # time=28.647ms\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 205.826, "todo": 0, }, ], ], ], Array [ "line", " # Subtest\\n", ], Array [ "line", " # Subtest\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "line", " ok 1 - first # time=8.987ms\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "line", " # Subtest\\n", ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", " 1..3\\n", ], Array [ "line", " ok 2 - second # time=5.988ms\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - nesting # time=28.647ms\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", " 1..2\\n", ], Array [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP subtest-no-comment-leading-comment.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# Subtest: ../tap/test/test/ok.js\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: ../tap/test/test/ok.js\\n", ], Array [ "line", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "line", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "ok 1 - true is ok\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", "ok 2 - doag is also okay\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "line", "ok 1 - first # time=8.987ms\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "line", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "line", "ok 1 - but that is ok\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "ok 3 - nested ok\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", "ok 2 - second # time=5.988ms\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "line", " # Subtest\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "line", " ok 1 - first # time=8.987ms\\n", ], Array [ "line", " # Subtest\\n", ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", " ok 2 - second # time=5.988ms\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", "ok 1 - nesting # time=28.647ms\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 205.826, "todo": 0, }, ], ], ], Array [ "line", " # Subtest\\n", ], Array [ "line", " # Subtest\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "line", " ok 1 - first # time=8.987ms\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "line", " # Subtest\\n", ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", " 1..3\\n", ], Array [ "line", " ok 2 - second # time=5.988ms\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - nesting # time=28.647ms\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "result", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "../tap/test/test/ok.js", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", " 1..2\\n", ], Array [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/subtest-no-comment-mid-comment-indent.tap.test.cjs000066400000000000000000000637211433324523500324400ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP subtest-no-comment-mid-comment-indent.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "line", "# Subtest: nesting\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "line", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "ok 1 - true is ok\\n", ], Array [ "assert", Result { "fullname": "nesting", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", "ok 2 - doag is also okay\\n", ], Array [ "assert", Result { "fullname": "nesting", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "line", "ok 1 - first # time=8.987ms\\n", ], Array [ "assert", Result { "fullname": "nesting", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "line", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "line", "ok 1 - but that is ok\\n", ], Array [ "assert", Result { "fullname": "nesting", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "nesting", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "ok 3 - nested ok\\n", ], Array [ "assert", Result { "fullname": "nesting", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", "ok 2 - second # time=5.988ms\\n", ], Array [ "assert", Result { "fullname": "nesting", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "line", " # Subtest\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "line", " ok 1 - first # time=8.987ms\\n", ], Array [ "line", " # Subtest\\n", ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", " ok 2 - second # time=5.988ms\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", "ok 1 - nesting # time=28.647ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 205.826, "todo": 0, }, ], ], ], Array [ "line", " # Subtest: nesting\\n", ], Array [ "line", " # Subtest\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "result", Result { "fullname": "nesting", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "result", Result { "fullname": "nesting", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "line", " ok 1 - first # time=8.987ms\\n", ], Array [ "result", Result { "fullname": "nesting", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "pass", Result { "fullname": "nesting", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "line", " # Subtest\\n", ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "result", Result { "fullname": "nesting", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "result", Result { "fullname": "nesting", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "result", Result { "fullname": "nesting", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", " 1..3\\n", ], Array [ "line", " ok 2 - second # time=5.988ms\\n", ], Array [ "result", Result { "fullname": "nesting", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "pass", Result { "fullname": "nesting", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - nesting # time=28.647ms\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "result", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", " 1..2\\n", ], Array [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP subtest-no-comment-mid-comment-indent.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "line", "# Subtest: nesting\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "line", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "ok 1 - true is ok\\n", ], Array [ "assert", Result { "fullname": "nesting", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", "ok 2 - doag is also okay\\n", ], Array [ "assert", Result { "fullname": "nesting", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "line", "ok 1 - first # time=8.987ms\\n", ], Array [ "assert", Result { "fullname": "nesting", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "line", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "line", "ok 1 - but that is ok\\n", ], Array [ "assert", Result { "fullname": "nesting", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "nesting", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "ok 3 - nested ok\\n", ], Array [ "assert", Result { "fullname": "nesting", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", "ok 2 - second # time=5.988ms\\n", ], Array [ "assert", Result { "fullname": "nesting", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "line", " # Subtest\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "line", " ok 1 - first # time=8.987ms\\n", ], Array [ "line", " # Subtest\\n", ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", " ok 2 - second # time=5.988ms\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", "ok 1 - nesting # time=28.647ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 205.826, "todo": 0, }, ], ], ], Array [ "line", " # Subtest: nesting\\n", ], Array [ "line", " # Subtest\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "result", Result { "fullname": "nesting", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "result", Result { "fullname": "nesting", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "line", " ok 1 - first # time=8.987ms\\n", ], Array [ "result", Result { "fullname": "nesting", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "pass", Result { "fullname": "nesting", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "line", " # Subtest\\n", ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "result", Result { "fullname": "nesting", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "result", Result { "fullname": "nesting", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "result", Result { "fullname": "nesting", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", " 1..3\\n", ], Array [ "line", " ok 2 - second # time=5.988ms\\n", ], Array [ "result", Result { "fullname": "nesting", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "pass", Result { "fullname": "nesting", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - nesting # time=28.647ms\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "result", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", " 1..2\\n", ], Array [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/subtest-no-comment-mid-comment.tap.test.cjs000066400000000000000000000646731433324523500311700ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP subtest-no-comment-mid-comment.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "line", "# Subtest: first\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "line", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "ok 1 - true is ok\\n", ], Array [ "assert", Result { "fullname": "first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", "ok 2 - doag is also okay\\n", ], Array [ "assert", Result { "fullname": "first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "line", "ok 1 - first # time=8.987ms\\n", ], Array [ "assert", Result { "fullname": "first", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "line", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "line", "ok 1 - but that is ok\\n", ], Array [ "assert", Result { "fullname": "first", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "first", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "ok 3 - nested ok\\n", ], Array [ "assert", Result { "fullname": "first", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", "ok 2 - second # time=5.988ms\\n", ], Array [ "assert", Result { "fullname": "first", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "line", " # Subtest\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "line", " ok 1 - first # time=8.987ms\\n", ], Array [ "line", " # Subtest\\n", ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", " ok 2 - second # time=5.988ms\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", "ok 1 - nesting # time=28.647ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 205.826, "todo": 0, }, ], ], ], Array [ "line", " # Subtest: first\\n", ], Array [ "line", " # Subtest\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "result", Result { "fullname": "first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "result", Result { "fullname": "first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "pass", Result { "fullname": "first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "line", " ok 1 - first # time=8.987ms\\n", ], Array [ "result", Result { "fullname": "first", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "pass", Result { "fullname": "first", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "line", " # Subtest\\n", ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "result", Result { "fullname": "first", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "first", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "result", Result { "fullname": "first", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "first", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "result", Result { "fullname": "first", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "first", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", " 1..3\\n", ], Array [ "line", " ok 2 - second # time=5.988ms\\n", ], Array [ "result", Result { "fullname": "first", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "pass", Result { "fullname": "first", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - nesting # time=28.647ms\\n", ], Array [ "result", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "result", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", " 1..2\\n", ], Array [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP subtest-no-comment-mid-comment.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "line", "# Subtest: first\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "line", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "ok 1 - true is ok\\n", ], Array [ "assert", Result { "fullname": "first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", "ok 2 - doag is also okay\\n", ], Array [ "assert", Result { "fullname": "first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "line", "ok 1 - first # time=8.987ms\\n", ], Array [ "assert", Result { "fullname": "first", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "line", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "line", "ok 1 - but that is ok\\n", ], Array [ "assert", Result { "fullname": "first", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "first", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "ok 3 - nested ok\\n", ], Array [ "assert", Result { "fullname": "first", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", "ok 2 - second # time=5.988ms\\n", ], Array [ "assert", Result { "fullname": "first", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "line", " # Subtest\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "line", " ok 1 - first # time=8.987ms\\n", ], Array [ "line", " # Subtest\\n", ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", " ok 2 - second # time=5.988ms\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", "ok 1 - nesting # time=28.647ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 205.826, "todo": 0, }, ], ], ], Array [ "line", " # Subtest: first\\n", ], Array [ "line", " # Subtest\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "result", Result { "fullname": "first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "result", Result { "fullname": "first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "pass", Result { "fullname": "first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "line", " ok 1 - first # time=8.987ms\\n", ], Array [ "result", Result { "fullname": "first", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "pass", Result { "fullname": "first", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "line", " # Subtest\\n", ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "result", Result { "fullname": "first", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "first", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "result", Result { "fullname": "first", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "first", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "result", Result { "fullname": "first", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "first", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", " 1..3\\n", ], Array [ "line", " ok 2 - second # time=5.988ms\\n", ], Array [ "result", Result { "fullname": "first", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "pass", Result { "fullname": "first", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - nesting # time=28.647ms\\n", ], Array [ "result", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "result", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", " 1..2\\n", ], Array [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/subtest-no-comment.tap.test.cjs000066400000000000000000000642471433324523500267560ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP subtest-no-comment.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "line", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "line", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "ok 1 - true is ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", "ok 2 - doag is also okay\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "line", "ok 1 - first # time=8.987ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "line", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "line", "ok 1 - but that is ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "ok 3 - nested ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", "ok 2 - second # time=5.988ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "line", " # Subtest\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "line", " ok 1 - first # time=8.987ms\\n", ], Array [ "line", " # Subtest\\n", ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", " ok 2 - second # time=5.988ms\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", "ok 1 - nesting # time=28.647ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 205.826, "todo": 0, }, ], ], ], Array [ "line", " # Subtest\\n", ], Array [ "line", " # Subtest\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "result", Result { "fullname": "", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "result", Result { "fullname": "", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "line", " ok 1 - first # time=8.987ms\\n", ], Array [ "result", Result { "fullname": "", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "line", " # Subtest\\n", ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "result", Result { "fullname": "", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "result", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "result", Result { "fullname": "", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", " 1..3\\n", ], Array [ "line", " ok 2 - second # time=5.988ms\\n", ], Array [ "result", Result { "fullname": "", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - nesting # time=28.647ms\\n", ], Array [ "result", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "result", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", " 1..2\\n", ], Array [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP subtest-no-comment.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "line", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "line", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "ok 1 - true is ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", "ok 2 - doag is also okay\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 8.987, "todo": 0, }, ], ], ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "line", "ok 1 - first # time=8.987ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "line", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "line", "ok 1 - but that is ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "ok 3 - nested ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 5.988, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", "ok 2 - second # time=5.988ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 28.647, "todo": 0, }, ], ], ], Array [ "line", " # Subtest\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "line", " ok 1 - first # time=8.987ms\\n", ], Array [ "line", " # Subtest\\n", ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", " ok 2 - second # time=5.988ms\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", "ok 1 - nesting # time=28.647ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 205.826, "todo": 0, }, ], ], ], Array [ "line", " # Subtest\\n", ], Array [ "line", " # Subtest\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "result", Result { "fullname": "", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "result", Result { "fullname": "", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "line", " ok 1 - first # time=8.987ms\\n", ], Array [ "result", Result { "fullname": "", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "first", "ok": true, "time": 8.987, }, ], Array [ "line", " # Subtest\\n", ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "result", Result { "fullname": "", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "result", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "result", Result { "fullname": "", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", " 1..3\\n", ], Array [ "line", " ok 2 - second # time=5.988ms\\n", ], Array [ "result", Result { "fullname": "", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "second", "ok": true, "time": 5.988, }, ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - nesting # time=28.647ms\\n", ], Array [ "result", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 28.647, }, ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "result", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", " 1..2\\n", ], Array [ "line", "ok 1 - ../tap/test/test/ok.js # time=205.826ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "../tap/test/test/ok.js", "ok": true, "time": 205.826, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/subtest-stream-comment-indent.tap.test.cjs000066400000000000000000000443471433324523500311130ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP subtest-stream-comment-indent.tap > output bail=false 1`] = ` Array [ Array [ "line", "# Subtest: ok.js\\n", ], Array [ "comment", "# Subtest: ok.js\\n", ], Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# Subtest: nesting\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "# Subtest: first\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "ok 1 - true is ok\\n", ], Array [ "assert", Result { "fullname": "nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", "ok 2 - doag is also okay\\n", ], Array [ "assert", Result { "fullname": "nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 11.345, "todo": 0, }, ], ], ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "line", "ok 1 - first # time=11.345ms\\n", ], Array [ "assert", Result { "fullname": "nesting", "id": 1, "name": "first", "ok": true, "time": 11.345, }, ], Array [ "line", "# Subtest: second\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "line", "ok 1 - but that is ok\\n", ], Array [ "assert", Result { "fullname": "nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "ok 3 - nested ok\\n", ], Array [ "assert", Result { "fullname": "nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 3.613, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", "ok 2 - second # time=3.613ms\\n", ], Array [ "assert", Result { "fullname": "nesting", "id": 2, "name": "second", "ok": true, "time": 3.613, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 36.045, "todo": 0, }, ], ], ], Array [ "line", " 1..2\\n", ], Array [ "line", " # Subtest: first\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "result", Result { "fullname": "nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "result", Result { "fullname": "nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "line", " ok 1 - first # time=11.345ms\\n", ], Array [ "line", " # Subtest: second\\n", ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "result", Result { "fullname": "nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "result", Result { "fullname": "nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "result", Result { "fullname": "nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", " 1..3\\n", ], Array [ "line", " ok 2 - second # time=3.613ms\\n", ], Array [ "line", "ok 1 - nesting # time=36.045ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 36.045, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "# time=66.857ms\\n", ], Array [ "comment", "# time=66.857ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 66.857, "todo": 0, }, ], ] ` exports[`test/parser.js TAP subtest-stream-comment-indent.tap > output bail=true 1`] = ` Array [ Array [ "line", "# Subtest: ok.js\\n", ], Array [ "comment", "# Subtest: ok.js\\n", ], Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# Subtest: nesting\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "# Subtest: first\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "ok 1 - true is ok\\n", ], Array [ "assert", Result { "fullname": "nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", "ok 2 - doag is also okay\\n", ], Array [ "assert", Result { "fullname": "nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 11.345, "todo": 0, }, ], ], ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "line", "ok 1 - first # time=11.345ms\\n", ], Array [ "assert", Result { "fullname": "nesting", "id": 1, "name": "first", "ok": true, "time": 11.345, }, ], Array [ "line", "# Subtest: second\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "line", "ok 1 - but that is ok\\n", ], Array [ "assert", Result { "fullname": "nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "ok 3 - nested ok\\n", ], Array [ "assert", Result { "fullname": "nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 3.613, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", "ok 2 - second # time=3.613ms\\n", ], Array [ "assert", Result { "fullname": "nesting", "id": 2, "name": "second", "ok": true, "time": 3.613, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 36.045, "todo": 0, }, ], ], ], Array [ "line", " 1..2\\n", ], Array [ "line", " # Subtest: first\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "result", Result { "fullname": "nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "result", Result { "fullname": "nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "line", " ok 1 - first # time=11.345ms\\n", ], Array [ "line", " # Subtest: second\\n", ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "result", Result { "fullname": "nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "result", Result { "fullname": "nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "result", Result { "fullname": "nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", " 1..3\\n", ], Array [ "line", " ok 2 - second # time=3.613ms\\n", ], Array [ "line", "ok 1 - nesting # time=36.045ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 36.045, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "# time=66.857ms\\n", ], Array [ "comment", "# time=66.857ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 66.857, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/subtest-stream-comment.tap.test.cjs000066400000000000000000000437731433324523500276360ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP subtest-stream-comment.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# Subtest: nesting\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "# Subtest: first\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "ok 1 - true is ok\\n", ], Array [ "assert", Result { "fullname": "nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", "ok 2 - doag is also okay\\n", ], Array [ "assert", Result { "fullname": "nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 11.345, "todo": 0, }, ], ], ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "line", "ok 1 - first # time=11.345ms\\n", ], Array [ "assert", Result { "fullname": "nesting", "id": 1, "name": "first", "ok": true, "time": 11.345, }, ], Array [ "line", "# Subtest: second\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "line", "ok 1 - but that is ok\\n", ], Array [ "assert", Result { "fullname": "nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "ok 3 - nested ok\\n", ], Array [ "assert", Result { "fullname": "nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 3.613, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", "ok 2 - second # time=3.613ms\\n", ], Array [ "assert", Result { "fullname": "nesting", "id": 2, "name": "second", "ok": true, "time": 3.613, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 36.045, "todo": 0, }, ], ], ], Array [ "line", " 1..2\\n", ], Array [ "line", " # Subtest: first\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "result", Result { "fullname": "nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "result", Result { "fullname": "nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "line", " ok 1 - first # time=11.345ms\\n", ], Array [ "line", " # Subtest: second\\n", ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "result", Result { "fullname": "nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "result", Result { "fullname": "nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "result", Result { "fullname": "nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", " 1..3\\n", ], Array [ "line", " ok 2 - second # time=3.613ms\\n", ], Array [ "line", "ok 1 - nesting # time=36.045ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 36.045, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "# time=66.857ms\\n", ], Array [ "comment", "# time=66.857ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 66.857, "todo": 0, }, ], ] ` exports[`test/parser.js TAP subtest-stream-comment.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# Subtest: nesting\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: nesting\\n", ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "# Subtest: first\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: first\\n", ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "ok 1 - true is ok\\n", ], Array [ "assert", Result { "fullname": "nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", "ok 2 - doag is also okay\\n", ], Array [ "assert", Result { "fullname": "nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 11.345, "todo": 0, }, ], ], ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "line", "ok 1 - first # time=11.345ms\\n", ], Array [ "assert", Result { "fullname": "nesting", "id": 1, "name": "first", "ok": true, "time": 11.345, }, ], Array [ "line", "# Subtest: second\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: second\\n", ], Array [ "line", "ok 1 - but that is ok\\n", ], Array [ "assert", Result { "fullname": "nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "ok 3 - nested ok\\n", ], Array [ "assert", Result { "fullname": "nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 3.613, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", "ok 2 - second # time=3.613ms\\n", ], Array [ "assert", Result { "fullname": "nesting", "id": 2, "name": "second", "ok": true, "time": 3.613, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 36.045, "todo": 0, }, ], ], ], Array [ "line", " 1..2\\n", ], Array [ "line", " # Subtest: first\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "result", Result { "fullname": "nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting first", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "result", Result { "fullname": "nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting first", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "line", " ok 1 - first # time=11.345ms\\n", ], Array [ "line", " # Subtest: second\\n", ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "result", Result { "fullname": "nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting second", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "result", Result { "fullname": "nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting second", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "result", Result { "fullname": "nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "nesting second", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", " 1..3\\n", ], Array [ "line", " ok 2 - second # time=3.613ms\\n", ], Array [ "line", "ok 1 - nesting # time=36.045ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 36.045, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "# time=66.857ms\\n", ], Array [ "comment", "# time=66.857ms\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 66.857, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/subtest-stream-no-comment.tap.test.cjs000066400000000000000000000457511433324523500302460ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP subtest-stream-no-comment.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "ok 1 - true is ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", "ok 2 - doag is also okay\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 11.345, "todo": 0, }, ], ], ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "line", "ok 1 - first # time=11.345ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "first", "ok": true, "time": 11.345, }, ], Array [ "line", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "line", "ok 1 - but that is ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "ok 3 - nested ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 3.613, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", "ok 2 - second # time=3.613ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "second", "ok": true, "time": 3.613, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 36.045, "todo": 0, }, ], ], ], Array [ "line", " 1..2\\n", ], Array [ "line", " # Subtest\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "result", Result { "fullname": "", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "result", Result { "fullname": "", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "line", " ok 1 - first # time=11.345ms\\n", ], Array [ "result", Result { "fullname": "", "id": 1, "name": "first", "ok": true, "time": 11.345, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "first", "ok": true, "time": 11.345, }, ], Array [ "line", " # Subtest\\n", ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "result", Result { "fullname": "", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "result", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "result", Result { "fullname": "", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", " 1..3\\n", ], Array [ "line", " ok 2 - second # time=3.613ms\\n", ], Array [ "result", Result { "fullname": "", "id": 2, "name": "second", "ok": true, "time": 3.613, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "second", "ok": true, "time": 3.613, }, ], Array [ "line", "ok 1 - nesting # time=36.045ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 36.045, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 36.045, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 36.045, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP subtest-stream-no-comment.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "ok 1 - true is ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", "ok 2 - doag is also okay\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 11.345, "todo": 0, }, ], ], ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "line", "ok 1 - first # time=11.345ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "first", "ok": true, "time": 11.345, }, ], Array [ "line", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "line", "ok 1 - but that is ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "ok 3 - nested ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 3.613, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", "ok 2 - second # time=3.613ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "second", "ok": true, "time": 3.613, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": 36.045, "todo": 0, }, ], ], ], Array [ "line", " 1..2\\n", ], Array [ "line", " # Subtest\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 1 - true is ok\\n", ], Array [ "result", Result { "fullname": "", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "true is ok", "ok": true, }, ], Array [ "line", " ok 2 - doag is also okay\\n", ], Array [ "result", Result { "fullname": "", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "doag is also okay", "ok": true, }, ], Array [ "line", " ok 1 - first # time=11.345ms\\n", ], Array [ "result", Result { "fullname": "", "id": 1, "name": "first", "ok": true, "time": 11.345, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "first", "ok": true, "time": 11.345, }, ], Array [ "line", " # Subtest\\n", ], Array [ "line", " ok 1 - but that is ok\\n", ], Array [ "result", Result { "fullname": "", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "but that is ok", "ok": true, }, ], Array [ "line", " ok 2 - this passes\\n", ], Array [ "result", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", " ok 3 - nested ok\\n", ], Array [ "result", Result { "fullname": "", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "nested ok", "ok": true, }, ], Array [ "line", " 1..3\\n", ], Array [ "line", " ok 2 - second # time=3.613ms\\n", ], Array [ "result", Result { "fullname": "", "id": 2, "name": "second", "ok": true, "time": 3.613, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "second", "ok": true, "time": 3.613, }, ], Array [ "line", "ok 1 - nesting # time=36.045ms\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 36.045, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 36.045, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "nesting", "ok": true, "time": 36.045, }, ], Array [ "line", "ok 2 - this passes\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "this passes", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/subtest-unfinished.tap.test.cjs000066400000000000000000000113471433324523500270270ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP subtest-unfinished.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "# Subtest: unfinished\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: unfinished\\n", ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "unfinished", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " 1..1\\n", ], Array [ "line", " ok\\n", ], Array [ "result", Result { "fullname": "unfinished", "ok": true, }, ], Array [ "pass", Result { "fullname": "unfinished", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP subtest-unfinished.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "", "ok": true, }, ], Array [ "result", Result { "fullname": "", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "ok": true, }, ], Array [ "line", "# Subtest: unfinished\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: unfinished\\n", ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "ok\\n", ], Array [ "assert", Result { "fullname": "unfinished", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " 1..1\\n", ], Array [ "line", " ok\\n", ], Array [ "result", Result { "fullname": "unfinished", "ok": true, }, ], Array [ "pass", Result { "fullname": "unfinished", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/switches.tap.test.cjs000066400000000000000000000050221433324523500250260ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP switches.tap > output bail=false 1`] = ` Array [ Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "not ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": false, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": false, }, ], Array [ "fail", Result { "fullname": "", "id": 1, "ok": false, }, ], Array [ "line", "# failed 1 test\\n", ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 1, "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP switches.tap > output bail=true 1`] = ` Array [ Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "not ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": false, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": false, }, ], Array [ "fail", Result { "fullname": "", "id": 1, "ok": false, }, ], Array [ "line", "Bail out!\\n", ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 1, "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/tap-tests-stdout.tap.test.cjs000066400000000000000000010603071433324523500264510ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP tap-tests-stdout.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# buffer_compare.js\\n", ], Array [ "comment", "# buffer_compare.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# same buffers\\n", ], Array [ "comment", "# same buffers\\n", ], Array [ "line", "ok 1 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# not same buffers\\n", ], Array [ "comment", "# not same buffers\\n", ], Array [ "line", "ok 2 should not be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should not be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "should not be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "should not be equivalent", "ok": true, }, ], Array [ "line", "# tests 2\\n", ], Array [ "comment", "# tests 2\\n", ], Array [ "line", "# pass 2\\n", ], Array [ "comment", "# pass 2\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 3 test/buffer_compare.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "test/buffer_compare.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "test/buffer_compare.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "test/buffer_compare.js", "ok": true, }, ], Array [ "line", "# common.js\\n", ], Array [ "comment", "# common.js\\n", ], Array [ "line", "ok 4 just setup, nothing relevant\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "just setup, nothing relevant", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "name": "just setup, nothing relevant", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "name": "just setup, nothing relevant", "ok": true, }, ], Array [ "line", "ok 5 test/common.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "test/common.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 5, "name": "test/common.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 5, "name": "test/common.js", "ok": true, }, ], Array [ "line", "# consumer.js\\n", ], Array [ "comment", "# consumer.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# basic.tap\\n", ], Array [ "comment", "# basic.tap\\n", ], Array [ "line", "ok 6 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 6, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 6, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 6, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# indent.tap\\n", ], Array [ "comment", "# indent.tap\\n", ], Array [ "line", "ok 7 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 7, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 7, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 7, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# missing.tap\\n", ], Array [ "comment", "# missing.tap\\n", ], Array [ "line", "ok 8 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 8, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 8, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 8, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# skip-all.tap\\n", ], Array [ "comment", "# skip-all.tap\\n", ], Array [ "line", "ok 9 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# tap-tests.tap\\n", ], Array [ "comment", "# tap-tests.tap\\n", ], Array [ "line", "ok 10 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 10, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 10, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 10, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# yamlish.tap\\n", ], Array [ "comment", "# yamlish.tap\\n", ], Array [ "line", "ok 11 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 11, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 11, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 11, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# tests 6\\n", ], Array [ "comment", "# tests 6\\n", ], Array [ "line", "# pass 6\\n", ], Array [ "comment", "# pass 6\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 12 test/consumer.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 12, "name": "test/consumer.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 12, "name": "test/consumer.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 12, "name": "test/consumer.js", "ok": true, }, ], Array [ "line", "# debug-test.js\\n", ], Array [ "comment", "# debug-test.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# debug test\\n", ], Array [ "comment", "# debug test\\n", ], Array [ "line", "ok 13 Should output debugger message\\n", ], Array [ "assert", Result { "fullname": "", "id": 13, "name": "Should output debugger message", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 13, "name": "Should output debugger message", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 13, "name": "Should output debugger message", "ok": true, }, ], Array [ "line", "# tests 1\\n", ], Array [ "comment", "# tests 1\\n", ], Array [ "line", "# pass 1\\n", ], Array [ "comment", "# pass 1\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 14 test/debug-test.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 14, "name": "test/debug-test.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 14, "name": "test/debug-test.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 14, "name": "test/debug-test.js", "ok": true, }, ], Array [ "line", "# deep-strict.js\\n", ], Array [ "comment", "# deep-strict.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# strictDeepEquals shouldn't care about key order\\n", ], Array [ "comment", "# strictDeepEquals shouldn't care about key order\\n", ], Array [ "line", "ok 15 should be strictly equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 15, "name": "should be strictly equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 15, "name": "should be strictly equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 15, "name": "should be strictly equal", "ok": true, }, ], Array [ "line", "# strictDeepEquals shouldn't care about key order recursively\\n", ], Array [ "comment", "# strictDeepEquals shouldn't care about key order recursively\\n", ], Array [ "line", "ok 16 should be strictly equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 16, "name": "should be strictly equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 16, "name": "should be strictly equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 16, "name": "should be strictly equal", "ok": true, }, ], Array [ "line", "# strictDeepEquals shoudn't care about key order (but still might)\\n", ], Array [ "comment", "# strictDeepEquals shoudn't care about key order (but still might)\\n", ], Array [ "line", "ok 17 should be strictly equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 17, "name": "should be strictly equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 17, "name": "should be strictly equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 17, "name": "should be strictly equal", "ok": true, }, ], Array [ "line", "# tests 3\\n", ], Array [ "comment", "# tests 3\\n", ], Array [ "line", "# pass 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 18 test/deep-strict.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 18, "name": "test/deep-strict.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 18, "name": "test/deep-strict.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 18, "name": "test/deep-strict.js", "ok": true, }, ], Array [ "line", "# deep.js\\n", ], Array [ "comment", "# deep.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# deepEquals shouldn't care about key order and types\\n", ], Array [ "comment", "# deepEquals shouldn't care about key order and types\\n", ], Array [ "line", "ok 19 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 19, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 19, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 19, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# deepEquals shouldn't care about key order recursively and types\\n", ], Array [ "comment", "# deepEquals shouldn't care about key order recursively and types\\n", ], Array [ "line", "ok 20 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 20, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 20, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 20, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# deepEquals shoudn't care about key order (but still might) and types\\n", ], Array [ "comment", "# deepEquals shoudn't care about key order (but still might) and types\\n", ], Array [ "line", "ok 21 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 21, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 21, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 21, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# tests 3\\n", ], Array [ "comment", "# tests 3\\n", ], Array [ "line", "# pass 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 22 test/deep.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 22, "name": "test/deep.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 22, "name": "test/deep.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 22, "name": "test/deep.js", "ok": true, }, ], Array [ "line", "# executed.sh\\n", ], Array [ "comment", "# executed.sh\\n", ], Array [ "line", "ok 23 File with executable bit should be executed\\n", ], Array [ "assert", Result { "fullname": "", "id": 23, "name": "File with executable bit should be executed", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 23, "name": "File with executable bit should be executed", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 23, "name": "File with executable bit should be executed", "ok": true, }, ], Array [ "line", "ok 24 test/executed.sh\\n", ], Array [ "assert", Result { "fullname": "", "id": 24, "name": "test/executed.sh", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 24, "name": "test/executed.sh", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 24, "name": "test/executed.sh", "ok": true, }, ], Array [ "line", "# exit-code.js\\n", ], Array [ "comment", "# exit-code.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# exit code 1 when tap results show failure\\n", ], Array [ "comment", "# exit code 1 when tap results show failure\\n", ], Array [ "line", "# test exits 0, has failures\\n", ], Array [ "comment", "# test exits 0, has failures\\n", ], Array [ "line", "ok 25 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 25, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 25, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 25, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 26 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 26, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 26, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 26, "name": "should be equal", "ok": true, }, ], Array [ "line", "# test exits 1, has failures\\n", ], Array [ "comment", "# test exits 1, has failures\\n", ], Array [ "line", "ok 27 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 27, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 27, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 27, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 28 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 28, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 28, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 28, "name": "should be equal", "ok": true, }, ], Array [ "line", "# test exits 1, has no failures\\n", ], Array [ "comment", "# test exits 1, has no failures\\n", ], Array [ "line", "ok 29 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 29, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 29, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 29, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 30 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 30, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 30, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 30, "name": "should be equal", "ok": true, }, ], Array [ "line", "# successes exit 0\\n", ], Array [ "comment", "# successes exit 0\\n", ], Array [ "line", "# test that does nothing, but exits 0\\n", ], Array [ "comment", "# test that does nothing, but exits 0\\n", ], Array [ "line", "ok 31 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 31, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 31, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 31, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 32 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 32, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 32, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 32, "name": "should be equal", "ok": true, }, ], Array [ "line", "# test that succeeds, and exits 0\\n", ], Array [ "comment", "# test that succeeds, and exits 0\\n", ], Array [ "line", "ok 33 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 33, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 33, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 33, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 34 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 34, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 34, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 34, "name": "should be equal", "ok": true, }, ], Array [ "line", "# tests 10\\n", ], Array [ "comment", "# tests 10\\n", ], Array [ "line", "# pass 10\\n", ], Array [ "comment", "# pass 10\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 35 test/exit-code.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 35, "name": "test/exit-code.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 35, "name": "test/exit-code.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 35, "name": "test/exit-code.js", "ok": true, }, ], Array [ "line", "# expose-gc-test.js\\n", ], Array [ "comment", "# expose-gc-test.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# gc test when the gc isn't there\\n", ], Array [ "comment", "# gc test when the gc isn't there\\n", ], Array [ "line", "ok 36 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 36, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 36, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 36, "name": "should be equal", "ok": true, }, ], Array [ "line", "# gc test when the gc should be there\\n", ], Array [ "comment", "# gc test when the gc should be there\\n", ], Array [ "line", "# test for gc using --gc\\n", ], Array [ "comment", "# test for gc using --gc\\n", ], Array [ "line", "ok 37 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 37, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 37, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 37, "name": "should be equal", "ok": true, }, ], Array [ "line", "# test for gc using --expose-gc\\n", ], Array [ "comment", "# test for gc using --expose-gc\\n", ], Array [ "line", "ok 38 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 38, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 38, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 38, "name": "should be equal", "ok": true, }, ], Array [ "line", "# cleanup\\n", ], Array [ "comment", "# cleanup\\n", ], Array [ "line", "# tests 3\\n", ], Array [ "comment", "# tests 3\\n", ], Array [ "line", "# pass 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 39 test/expose-gc-test.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 39, "name": "test/expose-gc-test.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 39, "name": "test/expose-gc-test.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 39, "name": "test/expose-gc-test.js", "ok": true, }, ], Array [ "line", "# global-harness-async.js\\n", ], Array [ "comment", "# global-harness-async.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# outer\\n", ], Array [ "comment", "# outer\\n", ], Array [ "line", "# inner 1\\n", ], Array [ "comment", "# inner 1\\n", ], Array [ "line", "ok 40 1-1\\n", ], Array [ "assert", Result { "fullname": "", "id": 40, "name": "1-1", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 40, "name": "1-1", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 40, "name": "1-1", "ok": true, }, ], Array [ "line", "# inner 2\\n", ], Array [ "comment", "# inner 2\\n", ], Array [ "line", "ok 41 2-1\\n", ], Array [ "assert", Result { "fullname": "", "id": 41, "name": "2-1", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 41, "name": "2-1", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 41, "name": "2-1", "ok": true, }, ], Array [ "line", "# inner 3\\n", ], Array [ "comment", "# inner 3\\n", ], Array [ "line", "ok 42 3-1\\n", ], Array [ "assert", Result { "fullname": "", "id": 42, "name": "3-1", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 42, "name": "3-1", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 42, "name": "3-1", "ok": true, }, ], Array [ "line", "ok 43 test/global-harness-async.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 43, "name": "test/global-harness-async.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 43, "name": "test/global-harness-async.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 43, "name": "test/global-harness-async.js", "ok": true, }, ], Array [ "line", "# independent-timeouts.js\\n", ], Array [ "comment", "# independent-timeouts.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# finishes in time\\n", ], Array [ "comment", "# finishes in time\\n", ], Array [ "line", "# finishes in time too\\n", ], Array [ "comment", "# finishes in time too\\n", ], Array [ "line", "# tests 0\\n", ], Array [ "comment", "# tests 0\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 44 test/independent-timeouts.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 44, "name": "test/independent-timeouts.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 44, "name": "test/independent-timeouts.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 44, "name": "test/independent-timeouts.js", "ok": true, }, ], Array [ "line", "# isolated-conf-test.js\\n", ], Array [ "comment", "# isolated-conf-test.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# one\\n", ], Array [ "comment", "# one\\n", ], Array [ "line", "ok 45 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 45, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 45, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 45, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 46 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 46, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 46, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 46, "name": "should be equal", "ok": true, }, ], Array [ "line", "# two\\n", ], Array [ "comment", "# two\\n", ], Array [ "line", "ok 47 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 47, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 47, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 47, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 48 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 48, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 48, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 48, "name": "should be equal", "ok": true, }, ], Array [ "line", "# tests 4\\n", ], Array [ "comment", "# tests 4\\n", ], Array [ "line", "# pass 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 49 test/isolated-conf-test.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 49, "name": "test/isolated-conf-test.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 49, "name": "test/isolated-conf-test.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 49, "name": "test/isolated-conf-test.js", "ok": true, }, ], Array [ "line", "# meta-test.js\\n", ], Array [ "comment", "# meta-test.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# meta test\\n", ], Array [ "comment", "# meta test\\n", ], Array [ "line", "ok 50 sanity check\\n", ], Array [ "assert", Result { "fullname": "", "id": 50, "name": "sanity check", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 50, "name": "sanity check", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 50, "name": "sanity check", "ok": true, }, ], Array [ "line", "ok 51 not ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 51, "name": "not ok", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 51, "name": "not ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 51, "name": "not ok", "ok": true, }, ], Array [ "line", "ok 52 total test count\\n", ], Array [ "assert", Result { "fullname": "", "id": 52, "name": "total test count", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 52, "name": "total test count", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 52, "name": "total test count", "ok": true, }, ], Array [ "line", "ok 53 tests passed\\n", ], Array [ "assert", Result { "fullname": "", "id": 53, "name": "tests passed", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 53, "name": "tests passed", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 53, "name": "tests passed", "ok": true, }, ], Array [ "line", "ok 54 tests failed\\n", ], Array [ "assert", Result { "fullname": "", "id": 54, "name": "tests failed", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 54, "name": "tests failed", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 54, "name": "tests failed", "ok": true, }, ], Array [ "line", "ok 55 ok is boolean\\n", ], Array [ "assert", Result { "fullname": "", "id": 55, "name": "ok is boolean", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 55, "name": "ok is boolean", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 55, "name": "ok is boolean", "ok": true, }, ], Array [ "line", "ok 56 skip is number\\n", ], Array [ "assert", Result { "fullname": "", "id": 56, "name": "skip is number", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 56, "name": "skip is number", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 56, "name": "skip is number", "ok": true, }, ], Array [ "line", "ok 57 results isa Results\\n", ], Array [ "assert", Result { "fullname": "", "id": 57, "name": "results isa Results", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 57, "name": "results isa Results", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 57, "name": "results isa Results", "ok": true, }, ], Array [ "line", "ok 58 test isa Test\\n", ], Array [ "assert", Result { "fullname": "", "id": 58, "name": "test isa Test", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 58, "name": "test isa Test", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 58, "name": "test isa Test", "ok": true, }, ], Array [ "line", "ok 59 test isa Harness\\n", ], Array [ "assert", Result { "fullname": "", "id": 59, "name": "test isa Harness", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 59, "name": "test isa Harness", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 59, "name": "test isa Harness", "ok": true, }, ], Array [ "line", "# tests 10\\n", ], Array [ "comment", "# tests 10\\n", ], Array [ "line", "# pass 10\\n", ], Array [ "comment", "# pass 10\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 60 test/meta-test.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 60, "name": "test/meta-test.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 60, "name": "test/meta-test.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 60, "name": "test/meta-test.js", "ok": true, }, ], Array [ "line", "# nested-async.js\\n", ], Array [ "comment", "# nested-async.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# Harness async test support\\n", ], Array [ "comment", "# Harness async test support\\n", ], Array [ "line", "ok 61 sync child A\\n", ], Array [ "assert", Result { "fullname": "", "id": 61, "name": "sync child A", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 61, "name": "sync child A", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 61, "name": "sync child A", "ok": true, }, ], Array [ "line", "# sync child B\\n", ], Array [ "comment", "# sync child B\\n", ], Array [ "line", "# async grandchild A\\n", ], Array [ "comment", "# async grandchild A\\n", ], Array [ "line", "ok 62 (unnamed assert)\\n", ], Array [ "assert", Result { "fullname": "", "id": 62, "name": "(unnamed assert)", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 62, "name": "(unnamed assert)", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 62, "name": "(unnamed assert)", "ok": true, }, ], Array [ "line", "# async grandchild B\\n", ], Array [ "comment", "# async grandchild B\\n", ], Array [ "line", "ok 63 (unnamed assert)\\n", ], Array [ "assert", Result { "fullname": "", "id": 63, "name": "(unnamed assert)", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 63, "name": "(unnamed assert)", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 63, "name": "(unnamed assert)", "ok": true, }, ], Array [ "line", "# async child\\n", ], Array [ "comment", "# async child\\n", ], Array [ "line", "ok 64 sync grandchild in async child A\\n", ], Array [ "assert", Result { "fullname": "", "id": 64, "name": "sync grandchild in async child A", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 64, "name": "sync grandchild in async child A", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 64, "name": "sync grandchild in async child A", "ok": true, }, ], Array [ "line", "# sync grandchild in async child B\\n", ], Array [ "comment", "# sync grandchild in async child B\\n", ], Array [ "line", "ok 65 (unnamed assert)\\n", ], Array [ "assert", Result { "fullname": "", "id": 65, "name": "(unnamed assert)", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 65, "name": "(unnamed assert)", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 65, "name": "(unnamed assert)", "ok": true, }, ], Array [ "line", "# tests 5\\n", ], Array [ "comment", "# tests 5\\n", ], Array [ "line", "# pass 5\\n", ], Array [ "comment", "# pass 5\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 66 test/nested-async.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 66, "name": "test/nested-async.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 66, "name": "test/nested-async.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 66, "name": "test/nested-async.js", "ok": true, }, ], Array [ "line", "# nested-test.js\\n", ], Array [ "comment", "# nested-test.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# parent\\n", ], Array [ "comment", "# parent\\n", ], Array [ "line", "ok 67 p test\\n", ], Array [ "assert", Result { "fullname": "", "id": 67, "name": "p test", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 67, "name": "p test", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 67, "name": "p test", "ok": true, }, ], Array [ "line", "# subtest\\n", ], Array [ "comment", "# subtest\\n", ], Array [ "line", "ok 68 ch test\\n", ], Array [ "assert", Result { "fullname": "", "id": 68, "name": "ch test", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 68, "name": "ch test", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 68, "name": "ch test", "ok": true, }, ], Array [ "line", "# nested subtest\\n", ], Array [ "comment", "# nested subtest\\n", ], Array [ "line", "ok 69 grch test\\n", ], Array [ "assert", Result { "fullname": "", "id": 69, "name": "grch test", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 69, "name": "grch test", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 69, "name": "grch test", "ok": true, }, ], Array [ "line", "# another subtest\\n", ], Array [ "comment", "# another subtest\\n", ], Array [ "line", "ok 70 ch test 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 70, "name": "ch test 2", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 70, "name": "ch test 2", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 70, "name": "ch test 2", "ok": true, }, ], Array [ "line", "# tests 4\\n", ], Array [ "comment", "# tests 4\\n", ], Array [ "line", "# pass 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 71 test/nested-test.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 71, "name": "test/nested-test.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 71, "name": "test/nested-test.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 71, "name": "test/nested-test.js", "ok": true, }, ], Array [ "line", "# non-tap-output.js\\n", ], Array [ "comment", "# non-tap-output.js\\n", ], Array [ "line", "# everything is fine\\n", ], Array [ "comment", "# everything is fine\\n", ], Array [ "line", "# there are no errors\\n", ], Array [ "comment", "# there are no errors\\n", ], Array [ "line", "# this output is not haiku.\\n", ], Array [ "comment", "# this output is not haiku.\\n", ], Array [ "line", "# is 8 ok?\\n", ], Array [ "comment", "# is 8 ok?\\n", ], Array [ "line", "ok 72 , 8 can stay.\\n", ], Array [ "assert", Result { "fullname": "", "id": 72, "name": ", 8 can stay.", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 72, "name": ", 8 can stay.", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 72, "name": ", 8 can stay.", "ok": true, }, ], Array [ "line", "# but: nevertheless, here we are\\n", ], Array [ "comment", "# but: nevertheless, here we are\\n", ], Array [ "line", "# this: is indented\\n", ], Array [ "comment", "# this: is indented\\n", ], Array [ "line", "# and: it\\n", ], Array [ "comment", "# and: it\\n", ], Array [ "line", "# might: ~\\n", ], Array [ "comment", "# might: ~\\n", ], Array [ "line", "# be: yaml?\\n", ], Array [ "comment", "# be: yaml?\\n", ], Array [ "line", "ok 73 might be confusing\\n", ], Array [ "assert", Result { "fullname": "", "id": 73, "name": "might be confusing", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 73, "name": "might be confusing", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 73, "name": "might be confusing", "ok": true, }, ], Array [ "line", "ok 74 done now, exiting\\n", ], Array [ "assert", Result { "fullname": "", "id": 74, "name": "done now, exiting", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 74, "name": "done now, exiting", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 74, "name": "done now, exiting", "ok": true, }, ], Array [ "line", "ok 75 test/non-tap-output.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 75, "name": "test/non-tap-output.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 75, "name": "test/non-tap-output.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 75, "name": "test/non-tap-output.js", "ok": true, }, ], Array [ "line", "# not-executed.sh\\n", ], Array [ "comment", "# not-executed.sh\\n", ], Array [ "line", "# output-childtest-description.js\\n", ], Array [ "comment", "# output-childtest-description.js\\n", ], Array [ "line", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\\n", ], Array [ "comment", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# nested tests, parent and child pass\\n", ], Array [ "comment", "# nested tests, parent and child pass\\n", ], Array [ "line", "ok 76 outputs parent description\\n", ], Array [ "assert", Result { "fullname": "", "id": 76, "name": "outputs parent description", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 76, "name": "outputs parent description", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 76, "name": "outputs parent description", "ok": true, }, ], Array [ "line", "ok 77 outputs child description\\n", ], Array [ "assert", Result { "fullname": "", "id": 77, "name": "outputs child description", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 77, "name": "outputs child description", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 77, "name": "outputs child description", "ok": true, }, ], Array [ "line", "ok 78 outputs parent description before parent result\\n", ], Array [ "assert", Result { "fullname": "", "id": 78, "name": "outputs parent description before parent result", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 78, "name": "outputs parent description before parent result", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 78, "name": "outputs parent description before parent result", "ok": true, }, ], Array [ "line", "ok 79 outputs parent result before child description\\n", ], Array [ "assert", Result { "fullname": "", "id": 79, "name": "outputs parent result before child description", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 79, "name": "outputs parent result before child description", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 79, "name": "outputs parent result before child description", "ok": true, }, ], Array [ "line", "ok 80 outputs child description before child result\\n", ], Array [ "assert", Result { "fullname": "", "id": 80, "name": "outputs child description before child result", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 80, "name": "outputs child description before child result", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 80, "name": "outputs child description before child result", "ok": true, }, ], Array [ "line", "# tests 5\\n", ], Array [ "comment", "# tests 5\\n", ], Array [ "line", "# pass 5\\n", ], Array [ "comment", "# pass 5\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 81 test/output-childtest-description.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 81, "name": "test/output-childtest-description.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 81, "name": "test/output-childtest-description.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 81, "name": "test/output-childtest-description.js", "ok": true, }, ], Array [ "line", "# result-trap.js\\n", ], Array [ "comment", "# result-trap.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# trap result\\n", ], Array [ "comment", "# trap result\\n", ], Array [ "line", "ok 82 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 82, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 82, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 82, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 83 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 83, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 83, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 83, "name": "should be equal", "ok": true, }, ], Array [ "line", "# tests 2\\n", ], Array [ "comment", "# tests 2\\n", ], Array [ "line", "# pass 2\\n", ], Array [ "comment", "# pass 2\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 84 test/result-trap.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 84, "name": "test/result-trap.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 84, "name": "test/result-trap.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 84, "name": "test/result-trap.js", "ok": true, }, ], Array [ "line", "# segv.js\\n", ], Array [ "comment", "# segv.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# setup\\n", ], Array [ "comment", "# setup\\n", ], Array [ "line", "ok 85 compiled seg faulter\\n", ], Array [ "assert", Result { "fullname": "", "id": 85, "name": "compiled seg faulter", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 85, "name": "compiled seg faulter", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 85, "name": "compiled seg faulter", "ok": true, }, ], Array [ "line", "# segv\\n", ], Array [ "comment", "# segv\\n", ], Array [ "line", "ok 86 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 86, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 86, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 86, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "ok 87 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 87, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 87, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 87, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "ok 88 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 88, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 88, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 88, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "ok 89 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 89, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 89, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 89, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "ok 90 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 90, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 90, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 90, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "ok 91 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 91, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 91, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 91, "name": "should be equal", "ok": true, }, ], Array [ "line", "# cleanup\\n", ], Array [ "comment", "# cleanup\\n", ], Array [ "line", "ok 92 cleaned up\\n", ], Array [ "assert", Result { "fullname": "", "id": 92, "name": "cleaned up", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 92, "name": "cleaned up", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 92, "name": "cleaned up", "ok": true, }, ], Array [ "line", "# tests 8\\n", ], Array [ "comment", "# tests 8\\n", ], Array [ "line", "# pass 8\\n", ], Array [ "comment", "# pass 8\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 93 test/segv.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 93, "name": "test/segv.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 93, "name": "test/segv.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 93, "name": "test/segv.js", "ok": true, }, ], Array [ "line", "# simple-harness-test-with-plan.js\\n", ], Array [ "comment", "# simple-harness-test-with-plan.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# trivial success\\n", ], Array [ "comment", "# trivial success\\n", ], Array [ "line", "ok 94 it works\\n", ], Array [ "assert", Result { "fullname": "", "id": 94, "name": "it works", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 94, "name": "it works", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 94, "name": "it works", "ok": true, }, ], Array [ "line", "# two tests\\n", ], Array [ "comment", "# two tests\\n", ], Array [ "line", "ok 95 math should work\\n", ], Array [ "assert", Result { "fullname": "", "id": 95, "name": "math should work", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 95, "name": "math should work", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 95, "name": "math should work", "ok": true, }, ], Array [ "line", "ok 96 false should not be ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 96, "name": "false should not be ok", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 96, "name": "false should not be ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 96, "name": "false should not be ok", "ok": true, }, ], Array [ "line", "# tests 3\\n", ], Array [ "comment", "# tests 3\\n", ], Array [ "line", "# pass 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 97 test/simple-harness-test-with-plan.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 97, "name": "test/simple-harness-test-with-plan.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 97, "name": "test/simple-harness-test-with-plan.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 97, "name": "test/simple-harness-test-with-plan.js", "ok": true, }, ], Array [ "line", "# simple-harness-test.js\\n", ], Array [ "comment", "# simple-harness-test.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# trivial success\\n", ], Array [ "comment", "# trivial success\\n", ], Array [ "line", "ok 98 it works\\n", ], Array [ "assert", Result { "fullname": "", "id": 98, "name": "it works", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 98, "name": "it works", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 98, "name": "it works", "ok": true, }, ], Array [ "line", "# two tests\\n", ], Array [ "comment", "# two tests\\n", ], Array [ "line", "ok 99 math should work\\n", ], Array [ "assert", Result { "fullname": "", "id": 99, "name": "math should work", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 99, "name": "math should work", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 99, "name": "math should work", "ok": true, }, ], Array [ "line", "ok 100 false should not be ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 100, "name": "false should not be ok", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 100, "name": "false should not be ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 100, "name": "false should not be ok", "ok": true, }, ], Array [ "line", "# tests 3\\n", ], Array [ "comment", "# tests 3\\n", ], Array [ "line", "# pass 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 101 test/simple-harness-test.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 101, "name": "test/simple-harness-test.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 101, "name": "test/simple-harness-test.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 101, "name": "test/simple-harness-test.js", "ok": true, }, ], Array [ "line", "# test-assert-todo-skip.js\\n", ], Array [ "comment", "# test-assert-todo-skip.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# not much\\n", ], Array [ "comment", "# not much\\n", ], Array [ "line", "ok 102 always passes # SKIP skip it good\\n", ], Array [ "assert", Result { "fullname": "", "id": 102, "name": "always passes", "ok": true, "skip": "skip it good", }, ], Array [ "result", Result { "fullname": "", "id": 102, "name": "always passes", "ok": true, "skip": "skip it good", }, ], Array [ "skip", Result { "fullname": "", "id": 102, "name": "always passes", "ok": true, "skip": "skip it good", }, ], Array [ "line", "ok 103 false # SKIP always fails\\n", ], Array [ "assert", Result { "fullname": "", "id": 103, "name": "false", "ok": true, "skip": "always fails", }, ], Array [ "result", Result { "fullname": "", "id": 103, "name": "false", "ok": true, "skip": "always fails", }, ], Array [ "skip", Result { "fullname": "", "id": 103, "name": "false", "ok": true, "skip": "always fails", }, ], Array [ "line", "ok 104 bonus # TODO remove todo directive\\n", ], Array [ "assert", Result { "fullname": "", "id": 104, "name": "bonus", "ok": true, "todo": "remove todo directive", }, ], Array [ "result", Result { "fullname": "", "id": 104, "name": "bonus", "ok": true, "todo": "remove todo directive", }, ], Array [ "todo", Result { "fullname": "", "id": 104, "name": "bonus", "ok": true, "todo": "remove todo directive", }, ], Array [ "line", "ok 105 expected # TODO implement a thing\\n", ], Array [ "assert", Result { "fullname": "", "id": 105, "name": "expected", "ok": true, "todo": "implement a thing", }, ], Array [ "result", Result { "fullname": "", "id": 105, "name": "expected", "ok": true, "todo": "implement a thing", }, ], Array [ "todo", Result { "fullname": "", "id": 105, "name": "expected", "ok": true, "todo": "implement a thing", }, ], Array [ "line", "ok 106 always passes without explanation # SKIP \\n", ], Array [ "assert", Result { "fullname": "", "id": 106, "name": "always passes without explanation", "ok": true, "skip": true, }, ], Array [ "result", Result { "fullname": "", "id": 106, "name": "always passes without explanation", "ok": true, "skip": true, }, ], Array [ "skip", Result { "fullname": "", "id": 106, "name": "always passes without explanation", "ok": true, "skip": true, }, ], Array [ "line", "ok 107 false without explanation # SKIP \\n", ], Array [ "assert", Result { "fullname": "", "id": 107, "name": "false without explanation", "ok": true, "skip": true, }, ], Array [ "result", Result { "fullname": "", "id": 107, "name": "false without explanation", "ok": true, "skip": true, }, ], Array [ "skip", Result { "fullname": "", "id": 107, "name": "false without explanation", "ok": true, "skip": true, }, ], Array [ "line", "ok 108 bonus without explanation # TODO \\n", ], Array [ "assert", Result { "fullname": "", "id": 108, "name": "bonus without explanation", "ok": true, "todo": true, }, ], Array [ "result", Result { "fullname": "", "id": 108, "name": "bonus without explanation", "ok": true, "todo": true, }, ], Array [ "todo", Result { "fullname": "", "id": 108, "name": "bonus without explanation", "ok": true, "todo": true, }, ], Array [ "line", "ok 109 expected without explanation # TODO \\n", ], Array [ "assert", Result { "fullname": "", "id": 109, "name": "expected without explanation", "ok": true, "todo": true, }, ], Array [ "result", Result { "fullname": "", "id": 109, "name": "expected without explanation", "ok": true, "todo": true, }, ], Array [ "todo", Result { "fullname": "", "id": 109, "name": "expected without explanation", "ok": true, "todo": true, }, ], Array [ "line", "# tests 8\\n", ], Array [ "comment", "# tests 8\\n", ], Array [ "line", "# skip 4\\n", ], Array [ "comment", "# skip 4\\n", ], Array [ "line", "# todo 4\\n", ], Array [ "comment", "# todo 4\\n", ], Array [ "line", "ok 110 test/test-assert-todo-skip.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 110, "name": "test/test-assert-todo-skip.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 110, "name": "test/test-assert-todo-skip.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 110, "name": "test/test-assert-todo-skip.js", "ok": true, }, ], Array [ "line", "# test-descriptions.js\\n", ], Array [ "comment", "# test-descriptions.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# captures test descriptions\\n", ], Array [ "comment", "# captures test descriptions\\n", ], Array [ "line", "ok 111 exit cleanly\\n", ], Array [ "assert", Result { "fullname": "", "id": 111, "name": "exit cleanly", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 111, "name": "exit cleanly", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 111, "name": "exit cleanly", "ok": true, }, ], Array [ "line", "ok 112 captures SKIP description\\n", ], Array [ "assert", Result { "fullname": "", "id": 112, "name": "captures SKIP description", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 112, "name": "captures SKIP description", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 112, "name": "captures SKIP description", "ok": true, }, ], Array [ "line", "ok 113 skip summary is not from file\\n", ], Array [ "assert", Result { "fullname": "", "id": 113, "name": "skip summary is not from file", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 113, "name": "skip summary is not from file", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 113, "name": "skip summary is not from file", "ok": true, }, ], Array [ "line", "ok 114 todo summary is not from file\\n", ], Array [ "assert", Result { "fullname": "", "id": 114, "name": "todo summary is not from file", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 114, "name": "todo summary is not from file", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 114, "name": "todo summary is not from file", "ok": true, }, ], Array [ "line", "not ok 115 captures TODO description\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " file: child_process.js\\n", ], Array [ "line", " line: 707\\n", ], Array [ "line", " column: 7\\n", ], Array [ "line", " stack: \\n", ], Array [ "line", " - |\\n", ], Array [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " ChildProcess.exithandler (child_process.js:707:7)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " emitTwo (events.js:87:13)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " ChildProcess.emit (events.js:169:7)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " maybeClose (child_process.js:984:16)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " Socket. (child_process.js:1153:11)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " emitOne (events.js:77:13)\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 115, "name": "captures TODO description", "ok": false, }, ], Array [ "result", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 115, "name": "captures TODO description", "ok": false, }, ], Array [ "fail", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 115, "name": "captures TODO description", "ok": false, }, ], Array [ "line", "ok 116 exit cleanly\\n", ], Array [ "assert", Result { "fullname": "", "id": 116, "name": "exit cleanly", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 116, "name": "exit cleanly", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 116, "name": "exit cleanly", "ok": true, }, ], Array [ "line", "ok 117 captures SKIP description\\n", ], Array [ "assert", Result { "fullname": "", "id": 117, "name": "captures SKIP description", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 117, "name": "captures SKIP description", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 117, "name": "captures SKIP description", "ok": true, }, ], Array [ "line", "ok 118 skip summary is not in TAP output\\n", ], Array [ "assert", Result { "fullname": "", "id": 118, "name": "skip summary is not in TAP output", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 118, "name": "skip summary is not in TAP output", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 118, "name": "skip summary is not in TAP output", "ok": true, }, ], Array [ "line", "ok 119 todo summary is not in TAP output\\n", ], Array [ "assert", Result { "fullname": "", "id": 119, "name": "todo summary is not in TAP output", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 119, "name": "todo summary is not in TAP output", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 119, "name": "todo summary is not in TAP output", "ok": true, }, ], Array [ "line", "not ok 120 captures TODO description\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " file: child_process.js\\n", ], Array [ "line", " line: 707\\n", ], Array [ "line", " column: 7\\n", ], Array [ "line", " stack: \\n", ], Array [ "line", " - |\\n", ], Array [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:18:7\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " ChildProcess.exithandler (child_process.js:707:7)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " emitTwo (events.js:87:13)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " ChildProcess.emit (events.js:169:7)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " maybeClose (child_process.js:984:16)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " Process.ChildProcess._handle.onexit (child_process.js:1057:5)\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 120, "name": "captures TODO description", "ok": false, }, ], Array [ "result", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 120, "name": "captures TODO description", "ok": false, }, ], Array [ "fail", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 120, "name": "captures TODO description", "ok": false, }, ], Array [ "line", "ok 121 exit cleanly\\n", ], Array [ "assert", Result { "fullname": "", "id": 121, "name": "exit cleanly", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 121, "name": "exit cleanly", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 121, "name": "exit cleanly", "ok": true, }, ], Array [ "line", "not ok 122 summarizes skipped count\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " file: child_process.js\\n", ], Array [ "line", " line: 707\\n", ], Array [ "line", " column: 7\\n", ], Array [ "line", " stack: \\n", ], Array [ "line", " - |\\n", ], Array [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:23:7\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " ChildProcess.exithandler (child_process.js:707:7)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " emitTwo (events.js:87:13)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " ChildProcess.emit (events.js:169:7)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " maybeClose (child_process.js:984:16)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " Process.ChildProcess._handle.onexit (child_process.js:1057:5)\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 122, "name": "summarizes skipped count", "ok": false, }, ], Array [ "result", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 122, "name": "summarizes skipped count", "ok": false, }, ], Array [ "fail", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 122, "name": "summarizes skipped count", "ok": false, }, ], Array [ "line", "not ok 123 summarizes todo count\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " file: child_process.js\\n", ], Array [ "line", " line: 707\\n", ], Array [ "line", " column: 7\\n", ], Array [ "line", " stack: \\n", ], Array [ "line", " - |\\n", ], Array [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:24:7\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " ChildProcess.exithandler (child_process.js:707:7)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " emitTwo (events.js:87:13)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " ChildProcess.emit (events.js:169:7)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " maybeClose (child_process.js:984:16)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " Process.ChildProcess._handle.onexit (child_process.js:1057:5)\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 123, "name": "summarizes todo count", "ok": false, }, ], Array [ "result", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 123, "name": "summarizes todo count", "ok": false, }, ], Array [ "fail", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 123, "name": "summarizes todo count", "ok": false, }, ], Array [ "line", "# tests 13\\n", ], Array [ "comment", "# tests 13\\n", ], Array [ "line", "# pass 9\\n", ], Array [ "comment", "# pass 9\\n", ], Array [ "line", "# fail 4\\n", ], Array [ "comment", "# fail 4\\n", ], Array [ "line", "not ok 124 test/test-descriptions.js\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " exit: 1\\n", ], Array [ "line", " command: \\"/usr/local/bin/iojs test-descriptions.js\\"\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "command": "/usr/local/bin/iojs test-descriptions.js", "exit": 1, }, "fullname": "", "id": 124, "name": "test/test-descriptions.js", "ok": false, }, ], Array [ "result", Result { "diag": Object { "command": "/usr/local/bin/iojs test-descriptions.js", "exit": 1, }, "fullname": "", "id": 124, "name": "test/test-descriptions.js", "ok": false, }, ], Array [ "fail", Result { "diag": Object { "command": "/usr/local/bin/iojs test-descriptions.js", "exit": 1, }, "fullname": "", "id": 124, "name": "test/test-descriptions.js", "ok": false, }, ], Array [ "line", "# test-directives.js\\n", ], Array [ "comment", "# test-directives.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# captures test descriptions\\n", ], Array [ "comment", "# captures test descriptions\\n", ], Array [ "line", "# raw TAP > TAP consumer > TAP producer\\n", ], Array [ "comment", "# raw TAP > TAP consumer > TAP producer\\n", ], Array [ "line", "ok 125 overall result is PASS\\n", ], Array [ "assert", Result { "fullname": "", "id": 125, "name": "overall result is PASS", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 125, "name": "overall result is PASS", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 125, "name": "overall result is PASS", "ok": true, }, ], Array [ "line", "ok 126 captures ok SKIP\\n", ], Array [ "assert", Result { "fullname": "", "id": 126, "name": "captures ok SKIP", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 126, "name": "captures ok SKIP", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 126, "name": "captures ok SKIP", "ok": true, }, ], Array [ "line", "ok 127 captures not ok SKIP\\n", ], Array [ "assert", Result { "fullname": "", "id": 127, "name": "captures not ok SKIP", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 127, "name": "captures not ok SKIP", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 127, "name": "captures not ok SKIP", "ok": true, }, ], Array [ "line", "ok 128 skip summary not in TAP output\\n", ], Array [ "assert", Result { "fullname": "", "id": 128, "name": "skip summary not in TAP output", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 128, "name": "skip summary not in TAP output", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 128, "name": "skip summary not in TAP output", "ok": true, }, ], Array [ "line", "ok 129 captures ok TODO\\n", ], Array [ "assert", Result { "fullname": "", "id": 129, "name": "captures ok TODO", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 129, "name": "captures ok TODO", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 129, "name": "captures ok TODO", "ok": true, }, ], Array [ "line", "ok 130 captures not ok TODO\\n", ], Array [ "assert", Result { "fullname": "", "id": 130, "name": "captures not ok TODO", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 130, "name": "captures not ok TODO", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 130, "name": "captures not ok TODO", "ok": true, }, ], Array [ "line", "ok 131 todo summary is not in TAP output\\n", ], Array [ "assert", Result { "fullname": "", "id": 131, "name": "todo summary is not in TAP output", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 131, "name": "todo summary is not in TAP output", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 131, "name": "todo summary is not in TAP output", "ok": true, }, ], Array [ "line", "ok 132 no ugly \\"undefined\\" in output\\n", ], Array [ "assert", Result { "fullname": "", "id": 132, "name": "no ugly \\"undefined\\" in output", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 132, "name": "no ugly \\"undefined\\" in output", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 132, "name": "no ugly \\"undefined\\" in output", "ok": true, }, ], Array [ "line", "# raw TAP > TAP consumer > summary\\n", ], Array [ "comment", "# raw TAP > TAP consumer > summary\\n", ], Array [ "line", "ok 133 overall result is PASS\\n", ], Array [ "assert", Result { "fullname": "", "id": 133, "name": "overall result is PASS", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 133, "name": "overall result is PASS", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 133, "name": "overall result is PASS", "ok": true, }, ], Array [ "line", "ok 134 no SKIP in summary\\n", ], Array [ "assert", Result { "fullname": "", "id": 134, "name": "no SKIP in summary", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 134, "name": "no SKIP in summary", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 134, "name": "no SKIP in summary", "ok": true, }, ], Array [ "line", "ok 135 skip summary is not in TAP output\\n", ], Array [ "assert", Result { "fullname": "", "id": 135, "name": "skip summary is not in TAP output", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 135, "name": "skip summary is not in TAP output", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 135, "name": "skip summary is not in TAP output", "ok": true, }, ], Array [ "line", "ok 136 no TODO in summary\\n", ], Array [ "assert", Result { "fullname": "", "id": 136, "name": "no TODO in summary", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 136, "name": "no TODO in summary", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 136, "name": "no TODO in summary", "ok": true, }, ], Array [ "line", "ok 137 todo summary is not in TAP output\\n", ], Array [ "assert", Result { "fullname": "", "id": 137, "name": "todo summary is not in TAP output", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 137, "name": "todo summary is not in TAP output", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 137, "name": "todo summary is not in TAP output", "ok": true, }, ], Array [ "line", "ok 138 no ugly \\"undefined\\" in output\\n", ], Array [ "assert", Result { "fullname": "", "id": 138, "name": "no ugly \\"undefined\\" in output", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 138, "name": "no ugly \\"undefined\\" in output", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 138, "name": "no ugly \\"undefined\\" in output", "ok": true, }, ], Array [ "line", "# TAP producer via require(\\"tap\\")\\n", ], Array [ "comment", "# TAP producer via require(\\"tap\\")\\n", ], Array [ "line", "ok 139 overall result is PASS\\n", ], Array [ "assert", Result { "fullname": "", "id": 139, "name": "overall result is PASS", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 139, "name": "overall result is PASS", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 139, "name": "overall result is PASS", "ok": true, }, ], Array [ "line", "ok 140 captures ok SKIP\\n", ], Array [ "assert", Result { "fullname": "", "id": 140, "name": "captures ok SKIP", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 140, "name": "captures ok SKIP", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 140, "name": "captures ok SKIP", "ok": true, }, ], Array [ "line", "ok 141 captures not ok SKIP\\n", ], Array [ "assert", Result { "fullname": "", "id": 141, "name": "captures not ok SKIP", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 141, "name": "captures not ok SKIP", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 141, "name": "captures not ok SKIP", "ok": true, }, ], Array [ "line", "ok 142 skip summary not in TAP output\\n", ], Array [ "assert", Result { "fullname": "", "id": 142, "name": "skip summary not in TAP output", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 142, "name": "skip summary not in TAP output", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 142, "name": "skip summary not in TAP output", "ok": true, }, ], Array [ "line", "ok 143 captures ok TODO\\n", ], Array [ "assert", Result { "fullname": "", "id": 143, "name": "captures ok TODO", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 143, "name": "captures ok TODO", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 143, "name": "captures ok TODO", "ok": true, }, ], Array [ "line", "ok 144 captures not ok TODO\\n", ], Array [ "assert", Result { "fullname": "", "id": 144, "name": "captures not ok TODO", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 144, "name": "captures not ok TODO", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 144, "name": "captures not ok TODO", "ok": true, }, ], Array [ "line", "ok 145 todo summary is not in TAP output\\n", ], Array [ "assert", Result { "fullname": "", "id": 145, "name": "todo summary is not in TAP output", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 145, "name": "todo summary is not in TAP output", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 145, "name": "todo summary is not in TAP output", "ok": true, }, ], Array [ "line", "ok 146 no ugly \\"undefined\\" in output\\n", ], Array [ "assert", Result { "fullname": "", "id": 146, "name": "no ugly \\"undefined\\" in output", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 146, "name": "no ugly \\"undefined\\" in output", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 146, "name": "no ugly \\"undefined\\" in output", "ok": true, }, ], Array [ "line", "# tests 22\\n", ], Array [ "comment", "# tests 22\\n", ], Array [ "line", "# pass 22\\n", ], Array [ "comment", "# pass 22\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 147 test/test-directives.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 147, "name": "test/test-directives.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 147, "name": "test/test-directives.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 147, "name": "test/test-directives.js", "ok": true, }, ], Array [ "line", "# test-skip.js\\n", ], Array [ "comment", "# test-skip.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "ok 148 does not count as failure # SKIP \\n", ], Array [ "assert", Result { "fullname": "", "id": 148, "name": "does not count as failure", "ok": true, "skip": true, }, ], Array [ "result", Result { "fullname": "", "id": 148, "name": "does not count as failure", "ok": true, "skip": true, }, ], Array [ "skip", Result { "fullname": "", "id": 148, "name": "does not count as failure", "ok": true, "skip": true, }, ], Array [ "line", "# tests 1\\n", ], Array [ "comment", "# tests 1\\n", ], Array [ "line", "# skip 1\\n", ], Array [ "comment", "# skip 1\\n", ], Array [ "line", "ok 149 test/test-skip.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 149, "name": "test/test-skip.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 149, "name": "test/test-skip.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 149, "name": "test/test-skip.js", "ok": true, }, ], Array [ "line", "# test-test.js\\n", ], Array [ "comment", "# test-test.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# testing the test object\\n", ], Array [ "comment", "# testing the test object\\n", ], Array [ "line", "ok 150 test object should be instanceof Test\\n", ], Array [ "assert", Result { "fullname": "", "id": 150, "name": "test object should be instanceof Test", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 150, "name": "test object should be instanceof Test", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 150, "name": "test object should be instanceof Test", "ok": true, }, ], Array [ "line", "ok 151 test object should be instanceof Harness\\n", ], Array [ "assert", Result { "fullname": "", "id": 151, "name": "test object should be instanceof Harness", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 151, "name": "test object should be instanceof Harness", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 151, "name": "test object should be instanceof Harness", "ok": true, }, ], Array [ "line", "ok 152 test._Test should be the Test class\\n", ], Array [ "assert", Result { "fullname": "", "id": 152, "name": "test._Test should be the Test class", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 152, "name": "test._Test should be the Test class", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 152, "name": "test._Test should be the Test class", "ok": true, }, ], Array [ "line", "ok 153 should have isNotDeepEqual method\\n", ], Array [ "assert", Result { "fullname": "", "id": 153, "name": "should have isNotDeepEqual method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 153, "name": "should have isNotDeepEqual method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 153, "name": "should have isNotDeepEqual method", "ok": true, }, ], Array [ "line", "ok 154 isNotDeepEqual method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 154, "name": "isNotDeepEqual method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 154, "name": "isNotDeepEqual method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 154, "name": "isNotDeepEqual method should be a function", "ok": true, }, ], Array [ "line", "ok 155 should have equals method\\n", ], Array [ "assert", Result { "fullname": "", "id": 155, "name": "should have equals method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 155, "name": "should have equals method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 155, "name": "should have equals method", "ok": true, }, ], Array [ "line", "ok 156 equals method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 156, "name": "equals method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 156, "name": "equals method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 156, "name": "equals method should be a function", "ok": true, }, ], Array [ "line", "ok 157 should have inequivalent method\\n", ], Array [ "assert", Result { "fullname": "", "id": 157, "name": "should have inequivalent method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 157, "name": "should have inequivalent method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 157, "name": "should have inequivalent method", "ok": true, }, ], Array [ "line", "ok 158 inequivalent method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 158, "name": "inequivalent method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 158, "name": "inequivalent method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 158, "name": "inequivalent method should be a function", "ok": true, }, ], Array [ "line", "ok 159 should have threw method\\n", ], Array [ "assert", Result { "fullname": "", "id": 159, "name": "should have threw method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 159, "name": "should have threw method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 159, "name": "should have threw method", "ok": true, }, ], Array [ "line", "ok 160 threw method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 160, "name": "threw method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 160, "name": "threw method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 160, "name": "threw method should be a function", "ok": true, }, ], Array [ "line", "ok 161 should have strictEqual method\\n", ], Array [ "assert", Result { "fullname": "", "id": 161, "name": "should have strictEqual method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 161, "name": "should have strictEqual method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 161, "name": "should have strictEqual method", "ok": true, }, ], Array [ "line", "ok 162 strictEqual method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 162, "name": "strictEqual method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 162, "name": "strictEqual method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 162, "name": "strictEqual method should be a function", "ok": true, }, ], Array [ "line", "ok 163 should have emit method\\n", ], Array [ "assert", Result { "fullname": "", "id": 163, "name": "should have emit method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 163, "name": "should have emit method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 163, "name": "should have emit method", "ok": true, }, ], Array [ "line", "ok 164 emit method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 164, "name": "emit method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 164, "name": "emit method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 164, "name": "emit method should be a function", "ok": true, }, ], Array [ "line", "ok 165 should have fail method\\n", ], Array [ "assert", Result { "fullname": "", "id": 165, "name": "should have fail method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 165, "name": "should have fail method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 165, "name": "should have fail method", "ok": true, }, ], Array [ "line", "ok 166 fail method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 166, "name": "fail method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 166, "name": "fail method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 166, "name": "fail method should be a function", "ok": true, }, ], Array [ "line", "ok 167 should have strictEquals method\\n", ], Array [ "assert", Result { "fullname": "", "id": 167, "name": "should have strictEquals method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 167, "name": "should have strictEquals method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 167, "name": "should have strictEquals method", "ok": true, }, ], Array [ "line", "ok 168 strictEquals method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 168, "name": "strictEquals method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 168, "name": "strictEquals method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 168, "name": "strictEquals method should be a function", "ok": true, }, ], Array [ "line", "ok 169 should have notLike method\\n", ], Array [ "assert", Result { "fullname": "", "id": 169, "name": "should have notLike method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 169, "name": "should have notLike method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 169, "name": "should have notLike method", "ok": true, }, ], Array [ "line", "ok 170 notLike method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 170, "name": "notLike method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 170, "name": "notLike method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 170, "name": "notLike method should be a function", "ok": true, }, ], Array [ "line", "ok 171 should have dissimilar method\\n", ], Array [ "assert", Result { "fullname": "", "id": 171, "name": "should have dissimilar method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 171, "name": "should have dissimilar method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 171, "name": "should have dissimilar method", "ok": true, }, ], Array [ "line", "ok 172 dissimilar method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 172, "name": "dissimilar method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 172, "name": "dissimilar method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 172, "name": "dissimilar method should be a function", "ok": true, }, ], Array [ "line", "ok 173 should have true method\\n", ], Array [ "assert", Result { "fullname": "", "id": 173, "name": "should have true method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 173, "name": "should have true method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 173, "name": "should have true method", "ok": true, }, ], Array [ "line", "ok 174 true method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 174, "name": "true method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 174, "name": "true method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 174, "name": "true method should be a function", "ok": true, }, ], Array [ "line", "ok 175 should have assert method\\n", ], Array [ "assert", Result { "fullname": "", "id": 175, "name": "should have assert method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 175, "name": "should have assert method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 175, "name": "should have assert method", "ok": true, }, ], Array [ "line", "ok 176 assert method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 176, "name": "assert method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 176, "name": "assert method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 176, "name": "assert method should be a function", "ok": true, }, ], Array [ "line", "ok 177 should have is method\\n", ], Array [ "assert", Result { "fullname": "", "id": 177, "name": "should have is method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 177, "name": "should have is method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 177, "name": "should have is method", "ok": true, }, ], Array [ "line", "ok 178 is method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 178, "name": "is method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 178, "name": "is method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 178, "name": "is method should be a function", "ok": true, }, ], Array [ "line", "ok 179 should have ok method\\n", ], Array [ "assert", Result { "fullname": "", "id": 179, "name": "should have ok method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 179, "name": "should have ok method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 179, "name": "should have ok method", "ok": true, }, ], Array [ "line", "ok 180 ok method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 180, "name": "ok method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 180, "name": "ok method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 180, "name": "ok method should be a function", "ok": true, }, ], Array [ "line", "ok 181 should have isEqual method\\n", ], Array [ "assert", Result { "fullname": "", "id": 181, "name": "should have isEqual method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 181, "name": "should have isEqual method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 181, "name": "should have isEqual method", "ok": true, }, ], Array [ "line", "ok 182 isEqual method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 182, "name": "isEqual method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 182, "name": "isEqual method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 182, "name": "isEqual method should be a function", "ok": true, }, ], Array [ "line", "ok 183 should have isDeeply method\\n", ], Array [ "assert", Result { "fullname": "", "id": 183, "name": "should have isDeeply method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 183, "name": "should have isDeeply method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 183, "name": "should have isDeeply method", "ok": true, }, ], Array [ "line", "ok 184 isDeeply method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 184, "name": "isDeeply method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 184, "name": "isDeeply method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 184, "name": "isDeeply method should be a function", "ok": true, }, ], Array [ "line", "ok 185 should have deepEqual method\\n", ], Array [ "assert", Result { "fullname": "", "id": 185, "name": "should have deepEqual method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 185, "name": "should have deepEqual method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 185, "name": "should have deepEqual method", "ok": true, }, ], Array [ "line", "ok 186 deepEqual method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 186, "name": "deepEqual method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 186, "name": "deepEqual method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 186, "name": "deepEqual method should be a function", "ok": true, }, ], Array [ "line", "ok 187 should have deepEquals method\\n", ], Array [ "assert", Result { "fullname": "", "id": 187, "name": "should have deepEquals method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 187, "name": "should have deepEquals method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 187, "name": "should have deepEquals method", "ok": true, }, ], Array [ "line", "ok 188 deepEquals method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 188, "name": "deepEquals method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 188, "name": "deepEquals method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 188, "name": "deepEquals method should be a function", "ok": true, }, ], Array [ "line", "ok 189 should have pass method\\n", ], Array [ "assert", Result { "fullname": "", "id": 189, "name": "should have pass method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 189, "name": "should have pass method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 189, "name": "should have pass method", "ok": true, }, ], Array [ "line", "ok 190 pass method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 190, "name": "pass method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 190, "name": "pass method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 190, "name": "pass method should be a function", "ok": true, }, ], Array [ "line", "ok 191 should have length method\\n", ], Array [ "assert", Result { "fullname": "", "id": 191, "name": "should have length method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 191, "name": "should have length method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 191, "name": "should have length method", "ok": true, }, ], Array [ "line", "ok 192 length method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 192, "name": "length method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 192, "name": "length method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 192, "name": "length method should be a function", "ok": true, }, ], Array [ "line", "ok 193 should have skip method\\n", ], Array [ "assert", Result { "fullname": "", "id": 193, "name": "should have skip method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 193, "name": "should have skip method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 193, "name": "should have skip method", "ok": true, }, ], Array [ "line", "ok 194 skip method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 194, "name": "skip method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 194, "name": "skip method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 194, "name": "skip method should be a function", "ok": true, }, ], Array [ "line", "ok 195 should have isNotEqual method\\n", ], Array [ "assert", Result { "fullname": "", "id": 195, "name": "should have isNotEqual method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 195, "name": "should have isNotEqual method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 195, "name": "should have isNotEqual method", "ok": true, }, ], Array [ "line", "ok 196 isNotEqual method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 196, "name": "isNotEqual method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 196, "name": "isNotEqual method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 196, "name": "isNotEqual method should be a function", "ok": true, }, ], Array [ "line", "ok 197 should have looseEquals method\\n", ], Array [ "assert", Result { "fullname": "", "id": 197, "name": "should have looseEquals method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 197, "name": "should have looseEquals method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 197, "name": "should have looseEquals method", "ok": true, }, ], Array [ "line", "ok 198 looseEquals method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 198, "name": "looseEquals method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 198, "name": "looseEquals method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 198, "name": "looseEquals method should be a function", "ok": true, }, ], Array [ "line", "ok 199 should have false method\\n", ], Array [ "assert", Result { "fullname": "", "id": 199, "name": "should have false method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 199, "name": "should have false method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 199, "name": "should have false method", "ok": true, }, ], Array [ "line", "ok 200 false method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 200, "name": "false method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 200, "name": "false method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 200, "name": "false method should be a function", "ok": true, }, ], Array [ "line", "ok 201 should have notDeeply method\\n", ], Array [ "assert", Result { "fullname": "", "id": 201, "name": "should have notDeeply method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 201, "name": "should have notDeeply method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 201, "name": "should have notDeeply method", "ok": true, }, ], Array [ "line", "ok 202 notDeeply method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 202, "name": "notDeeply method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 202, "name": "notDeeply method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 202, "name": "notDeeply method should be a function", "ok": true, }, ], Array [ "line", "ok 203 should have ifErr method\\n", ], Array [ "assert", Result { "fullname": "", "id": 203, "name": "should have ifErr method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 203, "name": "should have ifErr method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 203, "name": "should have ifErr method", "ok": true, }, ], Array [ "line", "ok 204 ifErr method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 204, "name": "ifErr method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 204, "name": "ifErr method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 204, "name": "ifErr method should be a function", "ok": true, }, ], Array [ "line", "ok 205 should have hasFields method\\n", ], Array [ "assert", Result { "fullname": "", "id": 205, "name": "should have hasFields method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 205, "name": "should have hasFields method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 205, "name": "should have hasFields method", "ok": true, }, ], Array [ "line", "ok 206 hasFields method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 206, "name": "hasFields method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 206, "name": "hasFields method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 206, "name": "hasFields method should be a function", "ok": true, }, ], Array [ "line", "ok 207 should have isNotDeeply method\\n", ], Array [ "assert", Result { "fullname": "", "id": 207, "name": "should have isNotDeeply method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 207, "name": "should have isNotDeeply method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 207, "name": "should have isNotDeeply method", "ok": true, }, ], Array [ "line", "ok 208 isNotDeeply method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 208, "name": "isNotDeeply method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 208, "name": "isNotDeeply method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 208, "name": "isNotDeeply method should be a function", "ok": true, }, ], Array [ "line", "ok 209 should have like method\\n", ], Array [ "assert", Result { "fullname": "", "id": 209, "name": "should have like method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 209, "name": "should have like method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 209, "name": "should have like method", "ok": true, }, ], Array [ "line", "ok 210 like method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 210, "name": "like method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 210, "name": "like method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 210, "name": "like method should be a function", "ok": true, }, ], Array [ "line", "ok 211 should have similar method\\n", ], Array [ "assert", Result { "fullname": "", "id": 211, "name": "should have similar method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 211, "name": "should have similar method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 211, "name": "should have similar method", "ok": true, }, ], Array [ "line", "ok 212 similar method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 212, "name": "similar method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 212, "name": "similar method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 212, "name": "similar method should be a function", "ok": true, }, ], Array [ "line", "ok 213 should have notOk method\\n", ], Array [ "assert", Result { "fullname": "", "id": 213, "name": "should have notOk method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 213, "name": "should have notOk method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 213, "name": "should have notOk method", "ok": true, }, ], Array [ "line", "ok 214 notOk method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 214, "name": "notOk method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 214, "name": "notOk method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 214, "name": "notOk method should be a function", "ok": true, }, ], Array [ "line", "ok 215 should have isDissimilar method\\n", ], Array [ "assert", Result { "fullname": "", "id": 215, "name": "should have isDissimilar method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 215, "name": "should have isDissimilar method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 215, "name": "should have isDissimilar method", "ok": true, }, ], Array [ "line", "ok 216 isDissimilar method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 216, "name": "isDissimilar method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 216, "name": "isDissimilar method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 216, "name": "isDissimilar method should be a function", "ok": true, }, ], Array [ "line", "ok 217 should have isEquivalent method\\n", ], Array [ "assert", Result { "fullname": "", "id": 217, "name": "should have isEquivalent method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 217, "name": "should have isEquivalent method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 217, "name": "should have isEquivalent method", "ok": true, }, ], Array [ "line", "ok 218 isEquivalent method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 218, "name": "isEquivalent method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 218, "name": "isEquivalent method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 218, "name": "isEquivalent method should be a function", "ok": true, }, ], Array [ "line", "ok 219 should have doesNotEqual method\\n", ], Array [ "assert", Result { "fullname": "", "id": 219, "name": "should have doesNotEqual method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 219, "name": "should have doesNotEqual method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 219, "name": "should have doesNotEqual method", "ok": true, }, ], Array [ "line", "ok 220 doesNotEqual method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 220, "name": "doesNotEqual method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 220, "name": "doesNotEqual method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 220, "name": "doesNotEqual method should be a function", "ok": true, }, ], Array [ "line", "ok 221 should have isSimilar method\\n", ], Array [ "assert", Result { "fullname": "", "id": 221, "name": "should have isSimilar method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 221, "name": "should have isSimilar method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 221, "name": "should have isSimilar method", "ok": true, }, ], Array [ "line", "ok 222 isSimilar method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 222, "name": "isSimilar method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 222, "name": "isSimilar method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 222, "name": "isSimilar method should be a function", "ok": true, }, ], Array [ "line", "ok 223 should have notDeepEqual method\\n", ], Array [ "assert", Result { "fullname": "", "id": 223, "name": "should have notDeepEqual method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 223, "name": "should have notDeepEqual method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 223, "name": "should have notDeepEqual method", "ok": true, }, ], Array [ "line", "ok 224 notDeepEqual method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 224, "name": "notDeepEqual method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 224, "name": "notDeepEqual method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 224, "name": "notDeepEqual method should be a function", "ok": true, }, ], Array [ "line", "ok 225 should have type method\\n", ], Array [ "assert", Result { "fullname": "", "id": 225, "name": "should have type method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 225, "name": "should have type method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 225, "name": "should have type method", "ok": true, }, ], Array [ "line", "ok 226 type method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 226, "name": "type method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 226, "name": "type method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 226, "name": "type method should be a function", "ok": true, }, ], Array [ "line", "ok 227 should have notok method\\n", ], Array [ "assert", Result { "fullname": "", "id": 227, "name": "should have notok method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 227, "name": "should have notok method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 227, "name": "should have notok method", "ok": true, }, ], Array [ "line", "ok 228 notok method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 228, "name": "notok method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 228, "name": "notok method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 228, "name": "notok method should be a function", "ok": true, }, ], Array [ "line", "ok 229 should have isInequivalent method\\n", ], Array [ "assert", Result { "fullname": "", "id": 229, "name": "should have isInequivalent method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 229, "name": "should have isInequivalent method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 229, "name": "should have isInequivalent method", "ok": true, }, ], Array [ "line", "ok 230 isInequivalent method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 230, "name": "isInequivalent method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 230, "name": "isInequivalent method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 230, "name": "isInequivalent method should be a function", "ok": true, }, ], Array [ "line", "ok 231 should have isNot method\\n", ], Array [ "assert", Result { "fullname": "", "id": 231, "name": "should have isNot method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 231, "name": "should have isNot method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 231, "name": "should have isNot method", "ok": true, }, ], Array [ "line", "ok 232 isNot method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 232, "name": "isNot method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 232, "name": "isNot method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 232, "name": "isNot method should be a function", "ok": true, }, ], Array [ "line", "ok 233 should have same method\\n", ], Array [ "assert", Result { "fullname": "", "id": 233, "name": "should have same method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 233, "name": "should have same method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 233, "name": "should have same method", "ok": true, }, ], Array [ "line", "ok 234 same method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 234, "name": "same method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 234, "name": "same method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 234, "name": "same method should be a function", "ok": true, }, ], Array [ "line", "ok 235 should have isInequal method\\n", ], Array [ "assert", Result { "fullname": "", "id": 235, "name": "should have isInequal method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 235, "name": "should have isInequal method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 235, "name": "should have isInequal method", "ok": true, }, ], Array [ "line", "ok 236 isInequal method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 236, "name": "isInequal method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 236, "name": "isInequal method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 236, "name": "isInequal method should be a function", "ok": true, }, ], Array [ "line", "ok 237 should have _endNice method\\n", ], Array [ "assert", Result { "fullname": "", "id": 237, "name": "should have _endNice method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 237, "name": "should have _endNice method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 237, "name": "should have _endNice method", "ok": true, }, ], Array [ "line", "ok 238 _endNice method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 238, "name": "_endNice method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 238, "name": "_endNice method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 238, "name": "_endNice method should be a function", "ok": true, }, ], Array [ "line", "ok 239 should have ifError method\\n", ], Array [ "assert", Result { "fullname": "", "id": 239, "name": "should have ifError method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 239, "name": "should have ifError method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 239, "name": "should have ifError method", "ok": true, }, ], Array [ "line", "ok 240 ifError method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 240, "name": "ifError method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 240, "name": "ifError method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 240, "name": "ifError method should be a function", "ok": true, }, ], Array [ "line", "ok 241 should have iferror method\\n", ], Array [ "assert", Result { "fullname": "", "id": 241, "name": "should have iferror method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 241, "name": "should have iferror method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 241, "name": "should have iferror method", "ok": true, }, ], Array [ "line", "ok 242 iferror method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 242, "name": "iferror method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 242, "name": "iferror method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 242, "name": "iferror method should be a function", "ok": true, }, ], Array [ "line", "ok 243 should have clear method\\n", ], Array [ "assert", Result { "fullname": "", "id": 243, "name": "should have clear method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 243, "name": "should have clear method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 243, "name": "should have clear method", "ok": true, }, ], Array [ "line", "ok 244 clear method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 244, "name": "clear method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 244, "name": "clear method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 244, "name": "clear method should be a function", "ok": true, }, ], Array [ "line", "ok 245 should have has method\\n", ], Array [ "assert", Result { "fullname": "", "id": 245, "name": "should have has method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 245, "name": "should have has method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 245, "name": "should have has method", "ok": true, }, ], Array [ "line", "ok 246 has method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 246, "name": "has method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 246, "name": "has method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 246, "name": "has method should be a function", "ok": true, }, ], Array [ "line", "ok 247 should have not method\\n", ], Array [ "assert", Result { "fullname": "", "id": 247, "name": "should have not method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 247, "name": "should have not method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 247, "name": "should have not method", "ok": true, }, ], Array [ "line", "ok 248 not method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 248, "name": "not method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 248, "name": "not method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 248, "name": "not method should be a function", "ok": true, }, ], Array [ "line", "ok 249 should have timeout method\\n", ], Array [ "assert", Result { "fullname": "", "id": 249, "name": "should have timeout method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 249, "name": "should have timeout method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 249, "name": "should have timeout method", "ok": true, }, ], Array [ "line", "ok 250 timeout method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 250, "name": "timeout method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 250, "name": "timeout method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 250, "name": "timeout method should be a function", "ok": true, }, ], Array [ "line", "ok 251 should have notSimilar method\\n", ], Array [ "assert", Result { "fullname": "", "id": 251, "name": "should have notSimilar method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 251, "name": "should have notSimilar method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 251, "name": "should have notSimilar method", "ok": true, }, ], Array [ "line", "ok 252 notSimilar method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 252, "name": "notSimilar method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 252, "name": "notSimilar method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 252, "name": "notSimilar method should be a function", "ok": true, }, ], Array [ "line", "ok 253 should have isUnlike method\\n", ], Array [ "assert", Result { "fullname": "", "id": 253, "name": "should have isUnlike method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 253, "name": "should have isUnlike method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 253, "name": "should have isUnlike method", "ok": true, }, ], Array [ "line", "ok 254 isUnlike method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 254, "name": "isUnlike method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 254, "name": "isUnlike method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 254, "name": "isUnlike method should be a function", "ok": true, }, ], Array [ "line", "ok 255 should have notEquals method\\n", ], Array [ "assert", Result { "fullname": "", "id": 255, "name": "should have notEquals method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 255, "name": "should have notEquals method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 255, "name": "should have notEquals method", "ok": true, }, ], Array [ "line", "ok 256 notEquals method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 256, "name": "notEquals method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 256, "name": "notEquals method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 256, "name": "notEquals method should be a function", "ok": true, }, ], Array [ "line", "ok 257 should have unsimilar method\\n", ], Array [ "assert", Result { "fullname": "", "id": 257, "name": "should have unsimilar method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 257, "name": "should have unsimilar method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 257, "name": "should have unsimilar method", "ok": true, }, ], Array [ "line", "ok 258 unsimilar method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 258, "name": "unsimilar method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 258, "name": "unsimilar method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 258, "name": "unsimilar method should be a function", "ok": true, }, ], Array [ "line", "ok 259 should have result method\\n", ], Array [ "assert", Result { "fullname": "", "id": 259, "name": "should have result method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 259, "name": "should have result method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 259, "name": "should have result method", "ok": true, }, ], Array [ "line", "ok 260 result method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 260, "name": "result method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 260, "name": "result method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 260, "name": "result method should be a function", "ok": true, }, ], Array [ "line", "ok 261 should have doesNotThrow method\\n", ], Array [ "assert", Result { "fullname": "", "id": 261, "name": "should have doesNotThrow method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 261, "name": "should have doesNotThrow method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 261, "name": "should have doesNotThrow method", "ok": true, }, ], Array [ "line", "ok 262 doesNotThrow method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 262, "name": "doesNotThrow method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 262, "name": "doesNotThrow method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 262, "name": "doesNotThrow method should be a function", "ok": true, }, ], Array [ "line", "ok 263 should have error method\\n", ], Array [ "assert", Result { "fullname": "", "id": 263, "name": "should have error method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 263, "name": "should have error method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 263, "name": "should have error method", "ok": true, }, ], Array [ "line", "ok 264 error method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 264, "name": "error method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 264, "name": "error method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 264, "name": "error method should be a function", "ok": true, }, ], Array [ "line", "ok 265 should have constructor method\\n", ], Array [ "assert", Result { "fullname": "", "id": 265, "name": "should have constructor method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 265, "name": "should have constructor method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 265, "name": "should have constructor method", "ok": true, }, ], Array [ "line", "ok 266 constructor method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 266, "name": "constructor method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 266, "name": "constructor method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 266, "name": "constructor method should be a function", "ok": true, }, ], Array [ "line", "ok 267 should have notEqual method\\n", ], Array [ "assert", Result { "fullname": "", "id": 267, "name": "should have notEqual method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 267, "name": "should have notEqual method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 267, "name": "should have notEqual method", "ok": true, }, ], Array [ "line", "ok 268 notEqual method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 268, "name": "notEqual method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 268, "name": "notEqual method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 268, "name": "notEqual method should be a function", "ok": true, }, ], Array [ "line", "ok 269 should have throws method\\n", ], Array [ "assert", Result { "fullname": "", "id": 269, "name": "should have throws method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 269, "name": "should have throws method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 269, "name": "should have throws method", "ok": true, }, ], Array [ "line", "ok 270 throws method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 270, "name": "throws method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 270, "name": "throws method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 270, "name": "throws method should be a function", "ok": true, }, ], Array [ "line", "ok 271 should have isLike method\\n", ], Array [ "assert", Result { "fullname": "", "id": 271, "name": "should have isLike method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 271, "name": "should have isLike method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 271, "name": "should have isLike method", "ok": true, }, ], Array [ "line", "ok 272 isLike method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 272, "name": "isLike method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 272, "name": "isLike method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 272, "name": "isLike method should be a function", "ok": true, }, ], Array [ "line", "ok 273 should have isNotSimilar method\\n", ], Array [ "assert", Result { "fullname": "", "id": 273, "name": "should have isNotSimilar method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 273, "name": "should have isNotSimilar method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 273, "name": "should have isNotSimilar method", "ok": true, }, ], Array [ "line", "ok 274 isNotSimilar method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 274, "name": "isNotSimilar method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 274, "name": "isNotSimilar method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 274, "name": "isNotSimilar method should be a function", "ok": true, }, ], Array [ "line", "ok 275 should have isNotEquivalent method\\n", ], Array [ "assert", Result { "fullname": "", "id": 275, "name": "should have isNotEquivalent method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 275, "name": "should have isNotEquivalent method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 275, "name": "should have isNotEquivalent method", "ok": true, }, ], Array [ "line", "ok 276 isNotEquivalent method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 276, "name": "isNotEquivalent method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 276, "name": "isNotEquivalent method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 276, "name": "isNotEquivalent method should be a function", "ok": true, }, ], Array [ "line", "ok 277 should have inequal method\\n", ], Array [ "assert", Result { "fullname": "", "id": 277, "name": "should have inequal method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 277, "name": "should have inequal method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 277, "name": "should have inequal method", "ok": true, }, ], Array [ "line", "ok 278 inequal method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 278, "name": "inequal method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 278, "name": "inequal method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 278, "name": "inequal method should be a function", "ok": true, }, ], Array [ "line", "ok 279 should have notEquivalent method\\n", ], Array [ "assert", Result { "fullname": "", "id": 279, "name": "should have notEquivalent method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 279, "name": "should have notEquivalent method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 279, "name": "should have notEquivalent method", "ok": true, }, ], Array [ "line", "ok 280 notEquivalent method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 280, "name": "notEquivalent method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 280, "name": "notEquivalent method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 280, "name": "notEquivalent method should be a function", "ok": true, }, ], Array [ "line", "ok 281 should have isNotLike method\\n", ], Array [ "assert", Result { "fullname": "", "id": 281, "name": "should have isNotLike method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 281, "name": "should have isNotLike method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 281, "name": "should have isNotLike method", "ok": true, }, ], Array [ "line", "ok 282 isNotLike method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 282, "name": "isNotLike method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 282, "name": "isNotLike method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 282, "name": "isNotLike method should be a function", "ok": true, }, ], Array [ "line", "ok 283 should have equivalent method\\n", ], Array [ "assert", Result { "fullname": "", "id": 283, "name": "should have equivalent method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 283, "name": "should have equivalent method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 283, "name": "should have equivalent method", "ok": true, }, ], Array [ "line", "ok 284 equivalent method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 284, "name": "equivalent method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 284, "name": "equivalent method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 284, "name": "equivalent method should be a function", "ok": true, }, ], Array [ "line", "ok 285 should have looseEqual method\\n", ], Array [ "assert", Result { "fullname": "", "id": 285, "name": "should have looseEqual method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 285, "name": "should have looseEqual method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 285, "name": "should have looseEqual method", "ok": true, }, ], Array [ "line", "ok 286 looseEqual method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 286, "name": "looseEqual method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 286, "name": "looseEqual method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 286, "name": "looseEqual method should be a function", "ok": true, }, ], Array [ "line", "ok 287 should have equal method\\n", ], Array [ "assert", Result { "fullname": "", "id": 287, "name": "should have equal method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 287, "name": "should have equal method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 287, "name": "should have equal method", "ok": true, }, ], Array [ "line", "ok 288 equal method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 288, "name": "equal method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 288, "name": "equal method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 288, "name": "equal method should be a function", "ok": true, }, ], Array [ "line", "ok 289 should have unlike method\\n", ], Array [ "assert", Result { "fullname": "", "id": 289, "name": "should have unlike method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 289, "name": "should have unlike method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 289, "name": "should have unlike method", "ok": true, }, ], Array [ "line", "ok 290 unlike method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 290, "name": "unlike method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 290, "name": "unlike method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 290, "name": "unlike method should be a function", "ok": true, }, ], Array [ "line", "ok 291 should have doesNotHave method\\n", ], Array [ "assert", Result { "fullname": "", "id": 291, "name": "should have doesNotHave method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 291, "name": "should have doesNotHave method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 291, "name": "should have doesNotHave method", "ok": true, }, ], Array [ "line", "ok 292 doesNotHave method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 292, "name": "doesNotHave method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 292, "name": "doesNotHave method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 292, "name": "doesNotHave method should be a function", "ok": true, }, ], Array [ "line", "ok 293 should have comment method\\n", ], Array [ "assert", Result { "fullname": "", "id": 293, "name": "should have comment method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 293, "name": "should have comment method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 293, "name": "should have comment method", "ok": true, }, ], Array [ "line", "ok 294 comment method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 294, "name": "comment method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 294, "name": "comment method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 294, "name": "comment method should be a function", "ok": true, }, ], Array [ "line", "ok 295 should have isa method\\n", ], Array [ "assert", Result { "fullname": "", "id": 295, "name": "should have isa method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 295, "name": "should have isa method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 295, "name": "should have isa method", "ok": true, }, ], Array [ "line", "ok 296 isa method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 296, "name": "isa method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 296, "name": "isa method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 296, "name": "isa method should be a function", "ok": true, }, ], Array [ "line", "# tests 147\\n", ], Array [ "comment", "# tests 147\\n", ], Array [ "line", "# pass 147\\n", ], Array [ "comment", "# pass 147\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 297 test/test-test.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 297, "name": "test/test-test.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 297, "name": "test/test-test.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 297, "name": "test/test-test.js", "ok": true, }, ], Array [ "line", "# timeout.js\\n", ], Array [ "comment", "# timeout.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# timeout test with plan only\\n", ], Array [ "comment", "# timeout test with plan only\\n", ], Array [ "line", "ok 298 a\\n", ], Array [ "assert", Result { "fullname": "", "id": 298, "name": "a", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 298, "name": "a", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 298, "name": "a", "ok": true, }, ], Array [ "line", "ok 299 b\\n", ], Array [ "assert", Result { "fullname": "", "id": 299, "name": "b", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 299, "name": "b", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 299, "name": "b", "ok": true, }, ], Array [ "line", "# timeout test with plan and end\\n", ], Array [ "comment", "# timeout test with plan and end\\n", ], Array [ "line", "ok 300 a\\n", ], Array [ "assert", Result { "fullname": "", "id": 300, "name": "a", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 300, "name": "a", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 300, "name": "a", "ok": true, }, ], Array [ "line", "ok 301 b\\n", ], Array [ "assert", Result { "fullname": "", "id": 301, "name": "b", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 301, "name": "b", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 301, "name": "b", "ok": true, }, ], Array [ "line", "# tests 4\\n", ], Array [ "comment", "# tests 4\\n", ], Array [ "line", "# pass 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 302 test/timeout.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 302, "name": "test/timeout.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 302, "name": "test/timeout.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 302, "name": "test/timeout.js", "ok": true, }, ], Array [ "line", "# trivial-success.js\\n", ], Array [ "comment", "# trivial-success.js\\n", ], Array [ "line", "ok 303 test/trivial-success.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 303, "name": "test/trivial-success.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 303, "name": "test/trivial-success.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 303, "name": "test/trivial-success.js", "ok": true, }, ], Array [ "line", "# undefined_indented.js\\n", ], Array [ "comment", "# undefined_indented.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# consume yaml\\n", ], Array [ "comment", "# consume yaml\\n", ], Array [ "line", "ok 304 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 304, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 304, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 304, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# tests 1\\n", ], Array [ "comment", "# tests 1\\n", ], Array [ "line", "# pass 1\\n", ], Array [ "comment", "# pass 1\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 305 test/undefined_indented.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 305, "name": "test/undefined_indented.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 305, "name": "test/undefined_indented.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 305, "name": "test/undefined_indented.js", "ok": true, }, ], Array [ "line", "# valid-command.js\\n", ], Array [ "comment", "# valid-command.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# valid command\\n", ], Array [ "comment", "# valid command\\n", ], Array [ "line", "ok 306 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 306, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 306, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 306, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "ok 307 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 307, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 307, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 307, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "ok 308 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 308, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 308, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 308, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "ok 309 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 309, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 309, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 309, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "ok 310 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 310, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 310, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 310, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "ok 311 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 311, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 311, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 311, "name": "should be equal", "ok": true, }, ], Array [ "line", "# tests 6\\n", ], Array [ "comment", "# tests 6\\n", ], Array [ "line", "# pass 6\\n", ], Array [ "comment", "# pass 6\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 312 test/valid-command.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 312, "name": "test/valid-command.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 312, "name": "test/valid-command.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 312, "name": "test/valid-command.js", "ok": true, }, ], Array [ "line", "1..312\\n", ], Array [ "plan", Object { "end": 312, "start": 1, }, ], Array [ "line", "# tests 312\\n", ], Array [ "comment", "# tests 312\\n", ], Array [ "line", "# pass 298\\n", ], Array [ "comment", "# pass 298\\n", ], Array [ "line", "# fail 5\\n", ], Array [ "comment", "# fail 5\\n", ], Array [ "line", "# skip 5\\n", ], Array [ "comment", "# skip 5\\n", ], Array [ "line", "# todo 4\\n", ], Array [ "comment", "# todo 4\\n", ], Array [ "line", "# failed 5 of 312 tests\\n", ], Array [ "comment", "# failed 5 of 312 tests\\n", ], Array [ "line", "# todo: 4\\n", ], Array [ "comment", "# todo: 4\\n", ], Array [ "line", "# skip: 5\\n", ], Array [ "comment", "# skip: 5\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 312, "fail": 5, "failures": Array [ Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 115, "name": "captures TODO description", "ok": false, }, Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 120, "name": "captures TODO description", "ok": false, }, Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 122, "name": "summarizes skipped count", "ok": false, }, Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 123, "name": "summarizes todo count", "ok": false, }, Result { "diag": Object { "command": "/usr/local/bin/iojs test-descriptions.js", "exit": 1, }, "fullname": "", "id": 124, "name": "test/test-descriptions.js", "ok": false, }, ], "ok": false, "pass": 307, "plan": FinalPlan { "comment": "", "end": 312, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 5, "time": null, "todo": 4, }, ], ] ` exports[`test/parser.js TAP tap-tests-stdout.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# buffer_compare.js\\n", ], Array [ "comment", "# buffer_compare.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# same buffers\\n", ], Array [ "comment", "# same buffers\\n", ], Array [ "line", "ok 1 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# not same buffers\\n", ], Array [ "comment", "# not same buffers\\n", ], Array [ "line", "ok 2 should not be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should not be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "should not be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "should not be equivalent", "ok": true, }, ], Array [ "line", "# tests 2\\n", ], Array [ "comment", "# tests 2\\n", ], Array [ "line", "# pass 2\\n", ], Array [ "comment", "# pass 2\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 3 test/buffer_compare.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "test/buffer_compare.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "test/buffer_compare.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "test/buffer_compare.js", "ok": true, }, ], Array [ "line", "# common.js\\n", ], Array [ "comment", "# common.js\\n", ], Array [ "line", "ok 4 just setup, nothing relevant\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "just setup, nothing relevant", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "name": "just setup, nothing relevant", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "name": "just setup, nothing relevant", "ok": true, }, ], Array [ "line", "ok 5 test/common.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "test/common.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 5, "name": "test/common.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 5, "name": "test/common.js", "ok": true, }, ], Array [ "line", "# consumer.js\\n", ], Array [ "comment", "# consumer.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# basic.tap\\n", ], Array [ "comment", "# basic.tap\\n", ], Array [ "line", "ok 6 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 6, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 6, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 6, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# indent.tap\\n", ], Array [ "comment", "# indent.tap\\n", ], Array [ "line", "ok 7 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 7, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 7, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 7, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# missing.tap\\n", ], Array [ "comment", "# missing.tap\\n", ], Array [ "line", "ok 8 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 8, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 8, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 8, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# skip-all.tap\\n", ], Array [ "comment", "# skip-all.tap\\n", ], Array [ "line", "ok 9 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# tap-tests.tap\\n", ], Array [ "comment", "# tap-tests.tap\\n", ], Array [ "line", "ok 10 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 10, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 10, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 10, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# yamlish.tap\\n", ], Array [ "comment", "# yamlish.tap\\n", ], Array [ "line", "ok 11 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 11, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 11, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 11, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# tests 6\\n", ], Array [ "comment", "# tests 6\\n", ], Array [ "line", "# pass 6\\n", ], Array [ "comment", "# pass 6\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 12 test/consumer.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 12, "name": "test/consumer.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 12, "name": "test/consumer.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 12, "name": "test/consumer.js", "ok": true, }, ], Array [ "line", "# debug-test.js\\n", ], Array [ "comment", "# debug-test.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# debug test\\n", ], Array [ "comment", "# debug test\\n", ], Array [ "line", "ok 13 Should output debugger message\\n", ], Array [ "assert", Result { "fullname": "", "id": 13, "name": "Should output debugger message", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 13, "name": "Should output debugger message", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 13, "name": "Should output debugger message", "ok": true, }, ], Array [ "line", "# tests 1\\n", ], Array [ "comment", "# tests 1\\n", ], Array [ "line", "# pass 1\\n", ], Array [ "comment", "# pass 1\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 14 test/debug-test.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 14, "name": "test/debug-test.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 14, "name": "test/debug-test.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 14, "name": "test/debug-test.js", "ok": true, }, ], Array [ "line", "# deep-strict.js\\n", ], Array [ "comment", "# deep-strict.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# strictDeepEquals shouldn't care about key order\\n", ], Array [ "comment", "# strictDeepEquals shouldn't care about key order\\n", ], Array [ "line", "ok 15 should be strictly equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 15, "name": "should be strictly equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 15, "name": "should be strictly equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 15, "name": "should be strictly equal", "ok": true, }, ], Array [ "line", "# strictDeepEquals shouldn't care about key order recursively\\n", ], Array [ "comment", "# strictDeepEquals shouldn't care about key order recursively\\n", ], Array [ "line", "ok 16 should be strictly equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 16, "name": "should be strictly equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 16, "name": "should be strictly equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 16, "name": "should be strictly equal", "ok": true, }, ], Array [ "line", "# strictDeepEquals shoudn't care about key order (but still might)\\n", ], Array [ "comment", "# strictDeepEquals shoudn't care about key order (but still might)\\n", ], Array [ "line", "ok 17 should be strictly equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 17, "name": "should be strictly equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 17, "name": "should be strictly equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 17, "name": "should be strictly equal", "ok": true, }, ], Array [ "line", "# tests 3\\n", ], Array [ "comment", "# tests 3\\n", ], Array [ "line", "# pass 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 18 test/deep-strict.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 18, "name": "test/deep-strict.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 18, "name": "test/deep-strict.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 18, "name": "test/deep-strict.js", "ok": true, }, ], Array [ "line", "# deep.js\\n", ], Array [ "comment", "# deep.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# deepEquals shouldn't care about key order and types\\n", ], Array [ "comment", "# deepEquals shouldn't care about key order and types\\n", ], Array [ "line", "ok 19 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 19, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 19, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 19, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# deepEquals shouldn't care about key order recursively and types\\n", ], Array [ "comment", "# deepEquals shouldn't care about key order recursively and types\\n", ], Array [ "line", "ok 20 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 20, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 20, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 20, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# deepEquals shoudn't care about key order (but still might) and types\\n", ], Array [ "comment", "# deepEquals shoudn't care about key order (but still might) and types\\n", ], Array [ "line", "ok 21 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 21, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 21, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 21, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# tests 3\\n", ], Array [ "comment", "# tests 3\\n", ], Array [ "line", "# pass 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 22 test/deep.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 22, "name": "test/deep.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 22, "name": "test/deep.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 22, "name": "test/deep.js", "ok": true, }, ], Array [ "line", "# executed.sh\\n", ], Array [ "comment", "# executed.sh\\n", ], Array [ "line", "ok 23 File with executable bit should be executed\\n", ], Array [ "assert", Result { "fullname": "", "id": 23, "name": "File with executable bit should be executed", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 23, "name": "File with executable bit should be executed", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 23, "name": "File with executable bit should be executed", "ok": true, }, ], Array [ "line", "ok 24 test/executed.sh\\n", ], Array [ "assert", Result { "fullname": "", "id": 24, "name": "test/executed.sh", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 24, "name": "test/executed.sh", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 24, "name": "test/executed.sh", "ok": true, }, ], Array [ "line", "# exit-code.js\\n", ], Array [ "comment", "# exit-code.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# exit code 1 when tap results show failure\\n", ], Array [ "comment", "# exit code 1 when tap results show failure\\n", ], Array [ "line", "# test exits 0, has failures\\n", ], Array [ "comment", "# test exits 0, has failures\\n", ], Array [ "line", "ok 25 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 25, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 25, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 25, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 26 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 26, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 26, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 26, "name": "should be equal", "ok": true, }, ], Array [ "line", "# test exits 1, has failures\\n", ], Array [ "comment", "# test exits 1, has failures\\n", ], Array [ "line", "ok 27 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 27, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 27, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 27, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 28 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 28, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 28, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 28, "name": "should be equal", "ok": true, }, ], Array [ "line", "# test exits 1, has no failures\\n", ], Array [ "comment", "# test exits 1, has no failures\\n", ], Array [ "line", "ok 29 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 29, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 29, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 29, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 30 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 30, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 30, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 30, "name": "should be equal", "ok": true, }, ], Array [ "line", "# successes exit 0\\n", ], Array [ "comment", "# successes exit 0\\n", ], Array [ "line", "# test that does nothing, but exits 0\\n", ], Array [ "comment", "# test that does nothing, but exits 0\\n", ], Array [ "line", "ok 31 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 31, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 31, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 31, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 32 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 32, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 32, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 32, "name": "should be equal", "ok": true, }, ], Array [ "line", "# test that succeeds, and exits 0\\n", ], Array [ "comment", "# test that succeeds, and exits 0\\n", ], Array [ "line", "ok 33 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 33, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 33, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 33, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 34 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 34, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 34, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 34, "name": "should be equal", "ok": true, }, ], Array [ "line", "# tests 10\\n", ], Array [ "comment", "# tests 10\\n", ], Array [ "line", "# pass 10\\n", ], Array [ "comment", "# pass 10\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 35 test/exit-code.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 35, "name": "test/exit-code.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 35, "name": "test/exit-code.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 35, "name": "test/exit-code.js", "ok": true, }, ], Array [ "line", "# expose-gc-test.js\\n", ], Array [ "comment", "# expose-gc-test.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# gc test when the gc isn't there\\n", ], Array [ "comment", "# gc test when the gc isn't there\\n", ], Array [ "line", "ok 36 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 36, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 36, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 36, "name": "should be equal", "ok": true, }, ], Array [ "line", "# gc test when the gc should be there\\n", ], Array [ "comment", "# gc test when the gc should be there\\n", ], Array [ "line", "# test for gc using --gc\\n", ], Array [ "comment", "# test for gc using --gc\\n", ], Array [ "line", "ok 37 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 37, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 37, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 37, "name": "should be equal", "ok": true, }, ], Array [ "line", "# test for gc using --expose-gc\\n", ], Array [ "comment", "# test for gc using --expose-gc\\n", ], Array [ "line", "ok 38 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 38, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 38, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 38, "name": "should be equal", "ok": true, }, ], Array [ "line", "# cleanup\\n", ], Array [ "comment", "# cleanup\\n", ], Array [ "line", "# tests 3\\n", ], Array [ "comment", "# tests 3\\n", ], Array [ "line", "# pass 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 39 test/expose-gc-test.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 39, "name": "test/expose-gc-test.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 39, "name": "test/expose-gc-test.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 39, "name": "test/expose-gc-test.js", "ok": true, }, ], Array [ "line", "# global-harness-async.js\\n", ], Array [ "comment", "# global-harness-async.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# outer\\n", ], Array [ "comment", "# outer\\n", ], Array [ "line", "# inner 1\\n", ], Array [ "comment", "# inner 1\\n", ], Array [ "line", "ok 40 1-1\\n", ], Array [ "assert", Result { "fullname": "", "id": 40, "name": "1-1", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 40, "name": "1-1", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 40, "name": "1-1", "ok": true, }, ], Array [ "line", "# inner 2\\n", ], Array [ "comment", "# inner 2\\n", ], Array [ "line", "ok 41 2-1\\n", ], Array [ "assert", Result { "fullname": "", "id": 41, "name": "2-1", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 41, "name": "2-1", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 41, "name": "2-1", "ok": true, }, ], Array [ "line", "# inner 3\\n", ], Array [ "comment", "# inner 3\\n", ], Array [ "line", "ok 42 3-1\\n", ], Array [ "assert", Result { "fullname": "", "id": 42, "name": "3-1", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 42, "name": "3-1", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 42, "name": "3-1", "ok": true, }, ], Array [ "line", "ok 43 test/global-harness-async.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 43, "name": "test/global-harness-async.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 43, "name": "test/global-harness-async.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 43, "name": "test/global-harness-async.js", "ok": true, }, ], Array [ "line", "# independent-timeouts.js\\n", ], Array [ "comment", "# independent-timeouts.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# finishes in time\\n", ], Array [ "comment", "# finishes in time\\n", ], Array [ "line", "# finishes in time too\\n", ], Array [ "comment", "# finishes in time too\\n", ], Array [ "line", "# tests 0\\n", ], Array [ "comment", "# tests 0\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 44 test/independent-timeouts.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 44, "name": "test/independent-timeouts.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 44, "name": "test/independent-timeouts.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 44, "name": "test/independent-timeouts.js", "ok": true, }, ], Array [ "line", "# isolated-conf-test.js\\n", ], Array [ "comment", "# isolated-conf-test.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# one\\n", ], Array [ "comment", "# one\\n", ], Array [ "line", "ok 45 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 45, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 45, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 45, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 46 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 46, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 46, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 46, "name": "should be equal", "ok": true, }, ], Array [ "line", "# two\\n", ], Array [ "comment", "# two\\n", ], Array [ "line", "ok 47 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 47, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 47, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 47, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 48 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 48, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 48, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 48, "name": "should be equal", "ok": true, }, ], Array [ "line", "# tests 4\\n", ], Array [ "comment", "# tests 4\\n", ], Array [ "line", "# pass 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 49 test/isolated-conf-test.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 49, "name": "test/isolated-conf-test.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 49, "name": "test/isolated-conf-test.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 49, "name": "test/isolated-conf-test.js", "ok": true, }, ], Array [ "line", "# meta-test.js\\n", ], Array [ "comment", "# meta-test.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# meta test\\n", ], Array [ "comment", "# meta test\\n", ], Array [ "line", "ok 50 sanity check\\n", ], Array [ "assert", Result { "fullname": "", "id": 50, "name": "sanity check", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 50, "name": "sanity check", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 50, "name": "sanity check", "ok": true, }, ], Array [ "line", "ok 51 not ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 51, "name": "not ok", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 51, "name": "not ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 51, "name": "not ok", "ok": true, }, ], Array [ "line", "ok 52 total test count\\n", ], Array [ "assert", Result { "fullname": "", "id": 52, "name": "total test count", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 52, "name": "total test count", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 52, "name": "total test count", "ok": true, }, ], Array [ "line", "ok 53 tests passed\\n", ], Array [ "assert", Result { "fullname": "", "id": 53, "name": "tests passed", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 53, "name": "tests passed", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 53, "name": "tests passed", "ok": true, }, ], Array [ "line", "ok 54 tests failed\\n", ], Array [ "assert", Result { "fullname": "", "id": 54, "name": "tests failed", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 54, "name": "tests failed", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 54, "name": "tests failed", "ok": true, }, ], Array [ "line", "ok 55 ok is boolean\\n", ], Array [ "assert", Result { "fullname": "", "id": 55, "name": "ok is boolean", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 55, "name": "ok is boolean", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 55, "name": "ok is boolean", "ok": true, }, ], Array [ "line", "ok 56 skip is number\\n", ], Array [ "assert", Result { "fullname": "", "id": 56, "name": "skip is number", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 56, "name": "skip is number", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 56, "name": "skip is number", "ok": true, }, ], Array [ "line", "ok 57 results isa Results\\n", ], Array [ "assert", Result { "fullname": "", "id": 57, "name": "results isa Results", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 57, "name": "results isa Results", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 57, "name": "results isa Results", "ok": true, }, ], Array [ "line", "ok 58 test isa Test\\n", ], Array [ "assert", Result { "fullname": "", "id": 58, "name": "test isa Test", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 58, "name": "test isa Test", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 58, "name": "test isa Test", "ok": true, }, ], Array [ "line", "ok 59 test isa Harness\\n", ], Array [ "assert", Result { "fullname": "", "id": 59, "name": "test isa Harness", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 59, "name": "test isa Harness", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 59, "name": "test isa Harness", "ok": true, }, ], Array [ "line", "# tests 10\\n", ], Array [ "comment", "# tests 10\\n", ], Array [ "line", "# pass 10\\n", ], Array [ "comment", "# pass 10\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 60 test/meta-test.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 60, "name": "test/meta-test.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 60, "name": "test/meta-test.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 60, "name": "test/meta-test.js", "ok": true, }, ], Array [ "line", "# nested-async.js\\n", ], Array [ "comment", "# nested-async.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# Harness async test support\\n", ], Array [ "comment", "# Harness async test support\\n", ], Array [ "line", "ok 61 sync child A\\n", ], Array [ "assert", Result { "fullname": "", "id": 61, "name": "sync child A", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 61, "name": "sync child A", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 61, "name": "sync child A", "ok": true, }, ], Array [ "line", "# sync child B\\n", ], Array [ "comment", "# sync child B\\n", ], Array [ "line", "# async grandchild A\\n", ], Array [ "comment", "# async grandchild A\\n", ], Array [ "line", "ok 62 (unnamed assert)\\n", ], Array [ "assert", Result { "fullname": "", "id": 62, "name": "(unnamed assert)", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 62, "name": "(unnamed assert)", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 62, "name": "(unnamed assert)", "ok": true, }, ], Array [ "line", "# async grandchild B\\n", ], Array [ "comment", "# async grandchild B\\n", ], Array [ "line", "ok 63 (unnamed assert)\\n", ], Array [ "assert", Result { "fullname": "", "id": 63, "name": "(unnamed assert)", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 63, "name": "(unnamed assert)", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 63, "name": "(unnamed assert)", "ok": true, }, ], Array [ "line", "# async child\\n", ], Array [ "comment", "# async child\\n", ], Array [ "line", "ok 64 sync grandchild in async child A\\n", ], Array [ "assert", Result { "fullname": "", "id": 64, "name": "sync grandchild in async child A", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 64, "name": "sync grandchild in async child A", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 64, "name": "sync grandchild in async child A", "ok": true, }, ], Array [ "line", "# sync grandchild in async child B\\n", ], Array [ "comment", "# sync grandchild in async child B\\n", ], Array [ "line", "ok 65 (unnamed assert)\\n", ], Array [ "assert", Result { "fullname": "", "id": 65, "name": "(unnamed assert)", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 65, "name": "(unnamed assert)", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 65, "name": "(unnamed assert)", "ok": true, }, ], Array [ "line", "# tests 5\\n", ], Array [ "comment", "# tests 5\\n", ], Array [ "line", "# pass 5\\n", ], Array [ "comment", "# pass 5\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 66 test/nested-async.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 66, "name": "test/nested-async.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 66, "name": "test/nested-async.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 66, "name": "test/nested-async.js", "ok": true, }, ], Array [ "line", "# nested-test.js\\n", ], Array [ "comment", "# nested-test.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# parent\\n", ], Array [ "comment", "# parent\\n", ], Array [ "line", "ok 67 p test\\n", ], Array [ "assert", Result { "fullname": "", "id": 67, "name": "p test", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 67, "name": "p test", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 67, "name": "p test", "ok": true, }, ], Array [ "line", "# subtest\\n", ], Array [ "comment", "# subtest\\n", ], Array [ "line", "ok 68 ch test\\n", ], Array [ "assert", Result { "fullname": "", "id": 68, "name": "ch test", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 68, "name": "ch test", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 68, "name": "ch test", "ok": true, }, ], Array [ "line", "# nested subtest\\n", ], Array [ "comment", "# nested subtest\\n", ], Array [ "line", "ok 69 grch test\\n", ], Array [ "assert", Result { "fullname": "", "id": 69, "name": "grch test", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 69, "name": "grch test", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 69, "name": "grch test", "ok": true, }, ], Array [ "line", "# another subtest\\n", ], Array [ "comment", "# another subtest\\n", ], Array [ "line", "ok 70 ch test 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 70, "name": "ch test 2", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 70, "name": "ch test 2", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 70, "name": "ch test 2", "ok": true, }, ], Array [ "line", "# tests 4\\n", ], Array [ "comment", "# tests 4\\n", ], Array [ "line", "# pass 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 71 test/nested-test.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 71, "name": "test/nested-test.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 71, "name": "test/nested-test.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 71, "name": "test/nested-test.js", "ok": true, }, ], Array [ "line", "# non-tap-output.js\\n", ], Array [ "comment", "# non-tap-output.js\\n", ], Array [ "line", "# everything is fine\\n", ], Array [ "comment", "# everything is fine\\n", ], Array [ "line", "# there are no errors\\n", ], Array [ "comment", "# there are no errors\\n", ], Array [ "line", "# this output is not haiku.\\n", ], Array [ "comment", "# this output is not haiku.\\n", ], Array [ "line", "# is 8 ok?\\n", ], Array [ "comment", "# is 8 ok?\\n", ], Array [ "line", "ok 72 , 8 can stay.\\n", ], Array [ "assert", Result { "fullname": "", "id": 72, "name": ", 8 can stay.", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 72, "name": ", 8 can stay.", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 72, "name": ", 8 can stay.", "ok": true, }, ], Array [ "line", "# but: nevertheless, here we are\\n", ], Array [ "comment", "# but: nevertheless, here we are\\n", ], Array [ "line", "# this: is indented\\n", ], Array [ "comment", "# this: is indented\\n", ], Array [ "line", "# and: it\\n", ], Array [ "comment", "# and: it\\n", ], Array [ "line", "# might: ~\\n", ], Array [ "comment", "# might: ~\\n", ], Array [ "line", "# be: yaml?\\n", ], Array [ "comment", "# be: yaml?\\n", ], Array [ "line", "ok 73 might be confusing\\n", ], Array [ "assert", Result { "fullname": "", "id": 73, "name": "might be confusing", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 73, "name": "might be confusing", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 73, "name": "might be confusing", "ok": true, }, ], Array [ "line", "ok 74 done now, exiting\\n", ], Array [ "assert", Result { "fullname": "", "id": 74, "name": "done now, exiting", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 74, "name": "done now, exiting", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 74, "name": "done now, exiting", "ok": true, }, ], Array [ "line", "ok 75 test/non-tap-output.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 75, "name": "test/non-tap-output.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 75, "name": "test/non-tap-output.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 75, "name": "test/non-tap-output.js", "ok": true, }, ], Array [ "line", "# not-executed.sh\\n", ], Array [ "comment", "# not-executed.sh\\n", ], Array [ "line", "# output-childtest-description.js\\n", ], Array [ "comment", "# output-childtest-description.js\\n", ], Array [ "line", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\\n", ], Array [ "comment", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# nested tests, parent and child pass\\n", ], Array [ "comment", "# nested tests, parent and child pass\\n", ], Array [ "line", "ok 76 outputs parent description\\n", ], Array [ "assert", Result { "fullname": "", "id": 76, "name": "outputs parent description", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 76, "name": "outputs parent description", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 76, "name": "outputs parent description", "ok": true, }, ], Array [ "line", "ok 77 outputs child description\\n", ], Array [ "assert", Result { "fullname": "", "id": 77, "name": "outputs child description", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 77, "name": "outputs child description", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 77, "name": "outputs child description", "ok": true, }, ], Array [ "line", "ok 78 outputs parent description before parent result\\n", ], Array [ "assert", Result { "fullname": "", "id": 78, "name": "outputs parent description before parent result", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 78, "name": "outputs parent description before parent result", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 78, "name": "outputs parent description before parent result", "ok": true, }, ], Array [ "line", "ok 79 outputs parent result before child description\\n", ], Array [ "assert", Result { "fullname": "", "id": 79, "name": "outputs parent result before child description", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 79, "name": "outputs parent result before child description", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 79, "name": "outputs parent result before child description", "ok": true, }, ], Array [ "line", "ok 80 outputs child description before child result\\n", ], Array [ "assert", Result { "fullname": "", "id": 80, "name": "outputs child description before child result", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 80, "name": "outputs child description before child result", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 80, "name": "outputs child description before child result", "ok": true, }, ], Array [ "line", "# tests 5\\n", ], Array [ "comment", "# tests 5\\n", ], Array [ "line", "# pass 5\\n", ], Array [ "comment", "# pass 5\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 81 test/output-childtest-description.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 81, "name": "test/output-childtest-description.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 81, "name": "test/output-childtest-description.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 81, "name": "test/output-childtest-description.js", "ok": true, }, ], Array [ "line", "# result-trap.js\\n", ], Array [ "comment", "# result-trap.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# trap result\\n", ], Array [ "comment", "# trap result\\n", ], Array [ "line", "ok 82 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 82, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 82, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 82, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 83 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 83, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 83, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 83, "name": "should be equal", "ok": true, }, ], Array [ "line", "# tests 2\\n", ], Array [ "comment", "# tests 2\\n", ], Array [ "line", "# pass 2\\n", ], Array [ "comment", "# pass 2\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 84 test/result-trap.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 84, "name": "test/result-trap.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 84, "name": "test/result-trap.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 84, "name": "test/result-trap.js", "ok": true, }, ], Array [ "line", "# segv.js\\n", ], Array [ "comment", "# segv.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# setup\\n", ], Array [ "comment", "# setup\\n", ], Array [ "line", "ok 85 compiled seg faulter\\n", ], Array [ "assert", Result { "fullname": "", "id": 85, "name": "compiled seg faulter", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 85, "name": "compiled seg faulter", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 85, "name": "compiled seg faulter", "ok": true, }, ], Array [ "line", "# segv\\n", ], Array [ "comment", "# segv\\n", ], Array [ "line", "ok 86 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 86, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 86, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 86, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "ok 87 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 87, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 87, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 87, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "ok 88 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 88, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 88, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 88, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "ok 89 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 89, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 89, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 89, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "ok 90 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 90, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 90, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 90, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "ok 91 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 91, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 91, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 91, "name": "should be equal", "ok": true, }, ], Array [ "line", "# cleanup\\n", ], Array [ "comment", "# cleanup\\n", ], Array [ "line", "ok 92 cleaned up\\n", ], Array [ "assert", Result { "fullname": "", "id": 92, "name": "cleaned up", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 92, "name": "cleaned up", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 92, "name": "cleaned up", "ok": true, }, ], Array [ "line", "# tests 8\\n", ], Array [ "comment", "# tests 8\\n", ], Array [ "line", "# pass 8\\n", ], Array [ "comment", "# pass 8\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 93 test/segv.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 93, "name": "test/segv.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 93, "name": "test/segv.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 93, "name": "test/segv.js", "ok": true, }, ], Array [ "line", "# simple-harness-test-with-plan.js\\n", ], Array [ "comment", "# simple-harness-test-with-plan.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# trivial success\\n", ], Array [ "comment", "# trivial success\\n", ], Array [ "line", "ok 94 it works\\n", ], Array [ "assert", Result { "fullname": "", "id": 94, "name": "it works", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 94, "name": "it works", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 94, "name": "it works", "ok": true, }, ], Array [ "line", "# two tests\\n", ], Array [ "comment", "# two tests\\n", ], Array [ "line", "ok 95 math should work\\n", ], Array [ "assert", Result { "fullname": "", "id": 95, "name": "math should work", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 95, "name": "math should work", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 95, "name": "math should work", "ok": true, }, ], Array [ "line", "ok 96 false should not be ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 96, "name": "false should not be ok", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 96, "name": "false should not be ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 96, "name": "false should not be ok", "ok": true, }, ], Array [ "line", "# tests 3\\n", ], Array [ "comment", "# tests 3\\n", ], Array [ "line", "# pass 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 97 test/simple-harness-test-with-plan.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 97, "name": "test/simple-harness-test-with-plan.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 97, "name": "test/simple-harness-test-with-plan.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 97, "name": "test/simple-harness-test-with-plan.js", "ok": true, }, ], Array [ "line", "# simple-harness-test.js\\n", ], Array [ "comment", "# simple-harness-test.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# trivial success\\n", ], Array [ "comment", "# trivial success\\n", ], Array [ "line", "ok 98 it works\\n", ], Array [ "assert", Result { "fullname": "", "id": 98, "name": "it works", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 98, "name": "it works", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 98, "name": "it works", "ok": true, }, ], Array [ "line", "# two tests\\n", ], Array [ "comment", "# two tests\\n", ], Array [ "line", "ok 99 math should work\\n", ], Array [ "assert", Result { "fullname": "", "id": 99, "name": "math should work", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 99, "name": "math should work", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 99, "name": "math should work", "ok": true, }, ], Array [ "line", "ok 100 false should not be ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 100, "name": "false should not be ok", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 100, "name": "false should not be ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 100, "name": "false should not be ok", "ok": true, }, ], Array [ "line", "# tests 3\\n", ], Array [ "comment", "# tests 3\\n", ], Array [ "line", "# pass 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 101 test/simple-harness-test.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 101, "name": "test/simple-harness-test.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 101, "name": "test/simple-harness-test.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 101, "name": "test/simple-harness-test.js", "ok": true, }, ], Array [ "line", "# test-assert-todo-skip.js\\n", ], Array [ "comment", "# test-assert-todo-skip.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# not much\\n", ], Array [ "comment", "# not much\\n", ], Array [ "line", "ok 102 always passes # SKIP skip it good\\n", ], Array [ "assert", Result { "fullname": "", "id": 102, "name": "always passes", "ok": true, "skip": "skip it good", }, ], Array [ "result", Result { "fullname": "", "id": 102, "name": "always passes", "ok": true, "skip": "skip it good", }, ], Array [ "skip", Result { "fullname": "", "id": 102, "name": "always passes", "ok": true, "skip": "skip it good", }, ], Array [ "line", "ok 103 false # SKIP always fails\\n", ], Array [ "assert", Result { "fullname": "", "id": 103, "name": "false", "ok": true, "skip": "always fails", }, ], Array [ "result", Result { "fullname": "", "id": 103, "name": "false", "ok": true, "skip": "always fails", }, ], Array [ "skip", Result { "fullname": "", "id": 103, "name": "false", "ok": true, "skip": "always fails", }, ], Array [ "line", "ok 104 bonus # TODO remove todo directive\\n", ], Array [ "assert", Result { "fullname": "", "id": 104, "name": "bonus", "ok": true, "todo": "remove todo directive", }, ], Array [ "result", Result { "fullname": "", "id": 104, "name": "bonus", "ok": true, "todo": "remove todo directive", }, ], Array [ "todo", Result { "fullname": "", "id": 104, "name": "bonus", "ok": true, "todo": "remove todo directive", }, ], Array [ "line", "ok 105 expected # TODO implement a thing\\n", ], Array [ "assert", Result { "fullname": "", "id": 105, "name": "expected", "ok": true, "todo": "implement a thing", }, ], Array [ "result", Result { "fullname": "", "id": 105, "name": "expected", "ok": true, "todo": "implement a thing", }, ], Array [ "todo", Result { "fullname": "", "id": 105, "name": "expected", "ok": true, "todo": "implement a thing", }, ], Array [ "line", "ok 106 always passes without explanation # SKIP \\n", ], Array [ "assert", Result { "fullname": "", "id": 106, "name": "always passes without explanation", "ok": true, "skip": true, }, ], Array [ "result", Result { "fullname": "", "id": 106, "name": "always passes without explanation", "ok": true, "skip": true, }, ], Array [ "skip", Result { "fullname": "", "id": 106, "name": "always passes without explanation", "ok": true, "skip": true, }, ], Array [ "line", "ok 107 false without explanation # SKIP \\n", ], Array [ "assert", Result { "fullname": "", "id": 107, "name": "false without explanation", "ok": true, "skip": true, }, ], Array [ "result", Result { "fullname": "", "id": 107, "name": "false without explanation", "ok": true, "skip": true, }, ], Array [ "skip", Result { "fullname": "", "id": 107, "name": "false without explanation", "ok": true, "skip": true, }, ], Array [ "line", "ok 108 bonus without explanation # TODO \\n", ], Array [ "assert", Result { "fullname": "", "id": 108, "name": "bonus without explanation", "ok": true, "todo": true, }, ], Array [ "result", Result { "fullname": "", "id": 108, "name": "bonus without explanation", "ok": true, "todo": true, }, ], Array [ "todo", Result { "fullname": "", "id": 108, "name": "bonus without explanation", "ok": true, "todo": true, }, ], Array [ "line", "ok 109 expected without explanation # TODO \\n", ], Array [ "assert", Result { "fullname": "", "id": 109, "name": "expected without explanation", "ok": true, "todo": true, }, ], Array [ "result", Result { "fullname": "", "id": 109, "name": "expected without explanation", "ok": true, "todo": true, }, ], Array [ "todo", Result { "fullname": "", "id": 109, "name": "expected without explanation", "ok": true, "todo": true, }, ], Array [ "line", "# tests 8\\n", ], Array [ "comment", "# tests 8\\n", ], Array [ "line", "# skip 4\\n", ], Array [ "comment", "# skip 4\\n", ], Array [ "line", "# todo 4\\n", ], Array [ "comment", "# todo 4\\n", ], Array [ "line", "ok 110 test/test-assert-todo-skip.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 110, "name": "test/test-assert-todo-skip.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 110, "name": "test/test-assert-todo-skip.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 110, "name": "test/test-assert-todo-skip.js", "ok": true, }, ], Array [ "line", "# test-descriptions.js\\n", ], Array [ "comment", "# test-descriptions.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# captures test descriptions\\n", ], Array [ "comment", "# captures test descriptions\\n", ], Array [ "line", "ok 111 exit cleanly\\n", ], Array [ "assert", Result { "fullname": "", "id": 111, "name": "exit cleanly", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 111, "name": "exit cleanly", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 111, "name": "exit cleanly", "ok": true, }, ], Array [ "line", "ok 112 captures SKIP description\\n", ], Array [ "assert", Result { "fullname": "", "id": 112, "name": "captures SKIP description", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 112, "name": "captures SKIP description", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 112, "name": "captures SKIP description", "ok": true, }, ], Array [ "line", "ok 113 skip summary is not from file\\n", ], Array [ "assert", Result { "fullname": "", "id": 113, "name": "skip summary is not from file", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 113, "name": "skip summary is not from file", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 113, "name": "skip summary is not from file", "ok": true, }, ], Array [ "line", "ok 114 todo summary is not from file\\n", ], Array [ "assert", Result { "fullname": "", "id": 114, "name": "todo summary is not from file", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 114, "name": "todo summary is not from file", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 114, "name": "todo summary is not from file", "ok": true, }, ], Array [ "line", "not ok 115 captures TODO description\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " file: child_process.js\\n", ], Array [ "line", " line: 707\\n", ], Array [ "line", " column: 7\\n", ], Array [ "line", " stack: \\n", ], Array [ "line", " - |\\n", ], Array [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " ChildProcess.exithandler (child_process.js:707:7)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " emitTwo (events.js:87:13)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " ChildProcess.emit (events.js:169:7)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " maybeClose (child_process.js:984:16)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " Socket. (child_process.js:1153:11)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " emitOne (events.js:77:13)\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 115, "name": "captures TODO description", "ok": false, }, ], Array [ "result", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 115, "name": "captures TODO description", "ok": false, }, ], Array [ "fail", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 115, "name": "captures TODO description", "ok": false, }, ], Array [ "line", "Bail out! captures TODO description\\n", ], Array [ "bailout", "captures TODO description", ], Array [ "complete", FinalResults { "bailout": "captures TODO description", "count": 115, "fail": 1, "failures": Array [ Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 115, "name": "captures TODO description", "ok": false, }, ], "ok": false, "pass": 114, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 4, "time": null, "todo": 4, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/tap-tests.tap.test.cjs000066400000000000000000010651661433324523500251410ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP tap-tests.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# buffer_compare.js\\n", ], Array [ "comment", "# buffer_compare.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# same buffers\\n", ], Array [ "comment", "# same buffers\\n", ], Array [ "line", "ok 1 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# not same buffers\\n", ], Array [ "comment", "# not same buffers\\n", ], Array [ "line", "ok 2 should not be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should not be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "should not be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "should not be equivalent", "ok": true, }, ], Array [ "line", "# tests 2\\n", ], Array [ "comment", "# tests 2\\n", ], Array [ "line", "# pass 2\\n", ], Array [ "comment", "# pass 2\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 3 test/buffer_compare.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "test/buffer_compare.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "test/buffer_compare.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "test/buffer_compare.js", "ok": true, }, ], Array [ "line", "# common.js\\n", ], Array [ "comment", "# common.js\\n", ], Array [ "line", "ok 4 just setup, nothing relevant\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "just setup, nothing relevant", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "name": "just setup, nothing relevant", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "name": "just setup, nothing relevant", "ok": true, }, ], Array [ "line", "ok 5 test/common.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "test/common.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 5, "name": "test/common.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 5, "name": "test/common.js", "ok": true, }, ], Array [ "line", "# consumer.js\\n", ], Array [ "comment", "# consumer.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# basic.tap\\n", ], Array [ "comment", "# basic.tap\\n", ], Array [ "line", "ok 6 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 6, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 6, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 6, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# indent.tap\\n", ], Array [ "comment", "# indent.tap\\n", ], Array [ "line", "ok 7 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 7, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 7, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 7, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# missing.tap\\n", ], Array [ "comment", "# missing.tap\\n", ], Array [ "line", "ok 8 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 8, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 8, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 8, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# skip-all.tap\\n", ], Array [ "comment", "# skip-all.tap\\n", ], Array [ "line", "ok 9 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# yamlish.tap\\n", ], Array [ "comment", "# yamlish.tap\\n", ], Array [ "line", "ok 10 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 10, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 10, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 10, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# tests 5\\n", ], Array [ "comment", "# tests 5\\n", ], Array [ "line", "# pass 5\\n", ], Array [ "comment", "# pass 5\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 11 test/consumer.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 11, "name": "test/consumer.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 11, "name": "test/consumer.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 11, "name": "test/consumer.js", "ok": true, }, ], Array [ "line", "# debug-test.js\\n", ], Array [ "comment", "# debug-test.js\\n", ], Array [ "line", "debug test\\n", ], Array [ "extra", "debug test\\n", ], Array [ "line", "t.plan=1\\n", ], Array [ "extra", "t.plan=1\\n", ], Array [ "line", "'Debugger listening on port 5858\\\\n'\\n", ], Array [ "extra", "'Debugger listening on port 5858\\\\n'\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# debug test\\n", ], Array [ "comment", "# debug test\\n", ], Array [ "line", "ok 12 Should output debugger message\\n", ], Array [ "assert", Result { "fullname": "", "id": 12, "name": "Should output debugger message", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 12, "name": "Should output debugger message", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 12, "name": "Should output debugger message", "ok": true, }, ], Array [ "line", "# tests 1\\n", ], Array [ "comment", "# tests 1\\n", ], Array [ "line", "# pass 1\\n", ], Array [ "comment", "# pass 1\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 13 test/debug-test.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 13, "name": "test/debug-test.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 13, "name": "test/debug-test.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 13, "name": "test/debug-test.js", "ok": true, }, ], Array [ "line", "# deep-strict.js\\n", ], Array [ "comment", "# deep-strict.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# strictDeepEquals shouldn't care about key order\\n", ], Array [ "comment", "# strictDeepEquals shouldn't care about key order\\n", ], Array [ "line", "ok 14 should be strictly equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 14, "name": "should be strictly equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 14, "name": "should be strictly equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 14, "name": "should be strictly equal", "ok": true, }, ], Array [ "line", "# strictDeepEquals shouldn't care about key order recursively\\n", ], Array [ "comment", "# strictDeepEquals shouldn't care about key order recursively\\n", ], Array [ "line", "ok 15 should be strictly equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 15, "name": "should be strictly equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 15, "name": "should be strictly equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 15, "name": "should be strictly equal", "ok": true, }, ], Array [ "line", "# strictDeepEquals shoudn't care about key order (but still might)\\n", ], Array [ "comment", "# strictDeepEquals shoudn't care about key order (but still might)\\n", ], Array [ "line", "ok 16 should be strictly equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 16, "name": "should be strictly equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 16, "name": "should be strictly equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 16, "name": "should be strictly equal", "ok": true, }, ], Array [ "line", "# tests 3\\n", ], Array [ "comment", "# tests 3\\n", ], Array [ "line", "# pass 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 17 test/deep-strict.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 17, "name": "test/deep-strict.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 17, "name": "test/deep-strict.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 17, "name": "test/deep-strict.js", "ok": true, }, ], Array [ "line", "# deep.js\\n", ], Array [ "comment", "# deep.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# deepEquals shouldn't care about key order and types\\n", ], Array [ "comment", "# deepEquals shouldn't care about key order and types\\n", ], Array [ "line", "ok 18 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 18, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 18, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 18, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# deepEquals shouldn't care about key order recursively and types\\n", ], Array [ "comment", "# deepEquals shouldn't care about key order recursively and types\\n", ], Array [ "line", "ok 19 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 19, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 19, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 19, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# deepEquals shoudn't care about key order (but still might) and types\\n", ], Array [ "comment", "# deepEquals shoudn't care about key order (but still might) and types\\n", ], Array [ "line", "ok 20 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 20, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 20, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 20, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# tests 3\\n", ], Array [ "comment", "# tests 3\\n", ], Array [ "line", "# pass 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 21 test/deep.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 21, "name": "test/deep.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 21, "name": "test/deep.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 21, "name": "test/deep.js", "ok": true, }, ], Array [ "line", "# executed.sh\\n", ], Array [ "comment", "# executed.sh\\n", ], Array [ "line", "ok 22 File with executable bit should be executed\\n", ], Array [ "assert", Result { "fullname": "", "id": 22, "name": "File with executable bit should be executed", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 22, "name": "File with executable bit should be executed", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 22, "name": "File with executable bit should be executed", "ok": true, }, ], Array [ "line", "ok 23 test/executed.sh\\n", ], Array [ "assert", Result { "fullname": "", "id": 23, "name": "test/executed.sh", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 23, "name": "test/executed.sh", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 23, "name": "test/executed.sh", "ok": true, }, ], Array [ "line", "# exit-code.js\\n", ], Array [ "comment", "# exit-code.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# exit code 1 when tap results show failure\\n", ], Array [ "comment", "# exit code 1 when tap results show failure\\n", ], Array [ "line", "# test exits 0, has failures\\n", ], Array [ "comment", "# test exits 0, has failures\\n", ], Array [ "line", "ok 24 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 24, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 24, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 24, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 25 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 25, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 25, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 25, "name": "should be equal", "ok": true, }, ], Array [ "line", "# test exits 1, has failures\\n", ], Array [ "comment", "# test exits 1, has failures\\n", ], Array [ "line", "ok 26 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 26, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 26, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 26, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 27 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 27, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 27, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 27, "name": "should be equal", "ok": true, }, ], Array [ "line", "# test exits 1, has no failures\\n", ], Array [ "comment", "# test exits 1, has no failures\\n", ], Array [ "line", "ok 28 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 28, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 28, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 28, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 29 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 29, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 29, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 29, "name": "should be equal", "ok": true, }, ], Array [ "line", "# successes exit 0\\n", ], Array [ "comment", "# successes exit 0\\n", ], Array [ "line", "# test that does nothing, but exits 0\\n", ], Array [ "comment", "# test that does nothing, but exits 0\\n", ], Array [ "line", "ok 30 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 30, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 30, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 30, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 31 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 31, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 31, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 31, "name": "should be equal", "ok": true, }, ], Array [ "line", "# test that succeeds, and exits 0\\n", ], Array [ "comment", "# test that succeeds, and exits 0\\n", ], Array [ "line", "ok 32 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 32, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 32, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 32, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 33 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 33, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 33, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 33, "name": "should be equal", "ok": true, }, ], Array [ "line", "# tests 10\\n", ], Array [ "comment", "# tests 10\\n", ], Array [ "line", "# pass 10\\n", ], Array [ "comment", "# pass 10\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 34 test/exit-code.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 34, "name": "test/exit-code.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 34, "name": "test/exit-code.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 34, "name": "test/exit-code.js", "ok": true, }, ], Array [ "line", "# expose-gc-test.js\\n", ], Array [ "comment", "# expose-gc-test.js\\n", ], Array [ "line", "gc test\\n", ], Array [ "extra", "gc test\\n", ], Array [ "line", "t.plan=1\\n", ], Array [ "extra", "t.plan=1\\n", ], Array [ "line", "assert gc does not exist\\n", ], Array [ "extra", "assert gc does not exist\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# gc test when the gc isn't there\\n", ], Array [ "comment", "# gc test when the gc isn't there\\n", ], Array [ "line", "gc test\\n", ], Array [ "extra", "gc test\\n", ], Array [ "line", "t.plan=2\\n", ], Array [ "extra", "t.plan=2\\n", ], Array [ "line", "gc test using --gc\\n", ], Array [ "extra", "gc test using --gc\\n", ], Array [ "line", "t.plan=1\\n", ], Array [ "extra", "t.plan=1\\n", ], Array [ "line", "assert gc exists\\n", ], Array [ "extra", "assert gc exists\\n", ], Array [ "line", "gc test using --expose-gc\\n", ], Array [ "extra", "gc test using --expose-gc\\n", ], Array [ "line", "t.plan=1\\n", ], Array [ "extra", "t.plan=1\\n", ], Array [ "line", "assert gc exists\\n", ], Array [ "extra", "assert gc exists\\n", ], Array [ "line", "ok 35 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 35, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 35, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 35, "name": "should be equal", "ok": true, }, ], Array [ "line", "# gc test when the gc should be there\\n", ], Array [ "comment", "# gc test when the gc should be there\\n", ], Array [ "line", "# test for gc using --gc\\n", ], Array [ "comment", "# test for gc using --gc\\n", ], Array [ "line", "ok 36 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 36, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 36, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 36, "name": "should be equal", "ok": true, }, ], Array [ "line", "# test for gc using --expose-gc\\n", ], Array [ "comment", "# test for gc using --expose-gc\\n", ], Array [ "line", "ok 37 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 37, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 37, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 37, "name": "should be equal", "ok": true, }, ], Array [ "line", "# cleanup\\n", ], Array [ "comment", "# cleanup\\n", ], Array [ "line", "# tests 3\\n", ], Array [ "comment", "# tests 3\\n", ], Array [ "line", "# pass 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 38 test/expose-gc-test.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 38, "name": "test/expose-gc-test.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 38, "name": "test/expose-gc-test.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 38, "name": "test/expose-gc-test.js", "ok": true, }, ], Array [ "line", "# global-harness-async.js\\n", ], Array [ "comment", "# global-harness-async.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# outer\\n", ], Array [ "comment", "# outer\\n", ], Array [ "line", "# inner 1\\n", ], Array [ "comment", "# inner 1\\n", ], Array [ "line", "ok 39 1-1\\n", ], Array [ "assert", Result { "fullname": "", "id": 39, "name": "1-1", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 39, "name": "1-1", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 39, "name": "1-1", "ok": true, }, ], Array [ "line", "# inner 2\\n", ], Array [ "comment", "# inner 2\\n", ], Array [ "line", "ok 40 2-1\\n", ], Array [ "assert", Result { "fullname": "", "id": 40, "name": "2-1", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 40, "name": "2-1", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 40, "name": "2-1", "ok": true, }, ], Array [ "line", "# inner 3\\n", ], Array [ "comment", "# inner 3\\n", ], Array [ "line", "ok 41 3-1\\n", ], Array [ "assert", Result { "fullname": "", "id": 41, "name": "3-1", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 41, "name": "3-1", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 41, "name": "3-1", "ok": true, }, ], Array [ "line", "ok 42 test/global-harness-async.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 42, "name": "test/global-harness-async.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 42, "name": "test/global-harness-async.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 42, "name": "test/global-harness-async.js", "ok": true, }, ], Array [ "line", "# independent-timeouts.js\\n", ], Array [ "comment", "# independent-timeouts.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# finishes in time\\n", ], Array [ "comment", "# finishes in time\\n", ], Array [ "line", "# finishes in time too\\n", ], Array [ "comment", "# finishes in time too\\n", ], Array [ "line", "# tests 0\\n", ], Array [ "comment", "# tests 0\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 43 test/independent-timeouts.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 43, "name": "test/independent-timeouts.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 43, "name": "test/independent-timeouts.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 43, "name": "test/independent-timeouts.js", "ok": true, }, ], Array [ "line", "# isolated-conf-test.js\\n", ], Array [ "comment", "# isolated-conf-test.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# one\\n", ], Array [ "comment", "# one\\n", ], Array [ "line", "ok 44 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 44, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 44, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 44, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 45 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 45, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 45, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 45, "name": "should be equal", "ok": true, }, ], Array [ "line", "# two\\n", ], Array [ "comment", "# two\\n", ], Array [ "line", "ok 46 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 46, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 46, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 46, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 47 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 47, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 47, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 47, "name": "should be equal", "ok": true, }, ], Array [ "line", "# tests 4\\n", ], Array [ "comment", "# tests 4\\n", ], Array [ "line", "# pass 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 48 test/isolated-conf-test.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 48, "name": "test/isolated-conf-test.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 48, "name": "test/isolated-conf-test.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 48, "name": "test/isolated-conf-test.js", "ok": true, }, ], Array [ "line", "# meta-test.js\\n", ], Array [ "comment", "# meta-test.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# meta test\\n", ], Array [ "comment", "# meta test\\n", ], Array [ "line", "ok 49 sanity check\\n", ], Array [ "assert", Result { "fullname": "", "id": 49, "name": "sanity check", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 49, "name": "sanity check", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 49, "name": "sanity check", "ok": true, }, ], Array [ "line", "ok 50 not ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 50, "name": "not ok", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 50, "name": "not ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 50, "name": "not ok", "ok": true, }, ], Array [ "line", "ok 51 total test count\\n", ], Array [ "assert", Result { "fullname": "", "id": 51, "name": "total test count", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 51, "name": "total test count", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 51, "name": "total test count", "ok": true, }, ], Array [ "line", "ok 52 tests passed\\n", ], Array [ "assert", Result { "fullname": "", "id": 52, "name": "tests passed", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 52, "name": "tests passed", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 52, "name": "tests passed", "ok": true, }, ], Array [ "line", "ok 53 tests failed\\n", ], Array [ "assert", Result { "fullname": "", "id": 53, "name": "tests failed", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 53, "name": "tests failed", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 53, "name": "tests failed", "ok": true, }, ], Array [ "line", "ok 54 ok is boolean\\n", ], Array [ "assert", Result { "fullname": "", "id": 54, "name": "ok is boolean", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 54, "name": "ok is boolean", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 54, "name": "ok is boolean", "ok": true, }, ], Array [ "line", "ok 55 skip is number\\n", ], Array [ "assert", Result { "fullname": "", "id": 55, "name": "skip is number", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 55, "name": "skip is number", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 55, "name": "skip is number", "ok": true, }, ], Array [ "line", "ok 56 results isa Results\\n", ], Array [ "assert", Result { "fullname": "", "id": 56, "name": "results isa Results", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 56, "name": "results isa Results", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 56, "name": "results isa Results", "ok": true, }, ], Array [ "line", "ok 57 test isa Test\\n", ], Array [ "assert", Result { "fullname": "", "id": 57, "name": "test isa Test", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 57, "name": "test isa Test", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 57, "name": "test isa Test", "ok": true, }, ], Array [ "line", "ok 58 test isa Harness\\n", ], Array [ "assert", Result { "fullname": "", "id": 58, "name": "test isa Harness", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 58, "name": "test isa Harness", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 58, "name": "test isa Harness", "ok": true, }, ], Array [ "line", "# tests 10\\n", ], Array [ "comment", "# tests 10\\n", ], Array [ "line", "# pass 10\\n", ], Array [ "comment", "# pass 10\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 59 test/meta-test.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 59, "name": "test/meta-test.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 59, "name": "test/meta-test.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 59, "name": "test/meta-test.js", "ok": true, }, ], Array [ "line", "# nested-async.js\\n", ], Array [ "comment", "# nested-async.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# Harness async test support\\n", ], Array [ "comment", "# Harness async test support\\n", ], Array [ "line", "ok 60 sync child A\\n", ], Array [ "assert", Result { "fullname": "", "id": 60, "name": "sync child A", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 60, "name": "sync child A", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 60, "name": "sync child A", "ok": true, }, ], Array [ "line", "# sync child B\\n", ], Array [ "comment", "# sync child B\\n", ], Array [ "line", "# async grandchild A\\n", ], Array [ "comment", "# async grandchild A\\n", ], Array [ "line", "ok 61 (unnamed assert)\\n", ], Array [ "assert", Result { "fullname": "", "id": 61, "name": "(unnamed assert)", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 61, "name": "(unnamed assert)", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 61, "name": "(unnamed assert)", "ok": true, }, ], Array [ "line", "# async grandchild B\\n", ], Array [ "comment", "# async grandchild B\\n", ], Array [ "line", "ok 62 (unnamed assert)\\n", ], Array [ "assert", Result { "fullname": "", "id": 62, "name": "(unnamed assert)", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 62, "name": "(unnamed assert)", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 62, "name": "(unnamed assert)", "ok": true, }, ], Array [ "line", "# async child\\n", ], Array [ "comment", "# async child\\n", ], Array [ "line", "ok 63 sync grandchild in async child A\\n", ], Array [ "assert", Result { "fullname": "", "id": 63, "name": "sync grandchild in async child A", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 63, "name": "sync grandchild in async child A", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 63, "name": "sync grandchild in async child A", "ok": true, }, ], Array [ "line", "# sync grandchild in async child B\\n", ], Array [ "comment", "# sync grandchild in async child B\\n", ], Array [ "line", "ok 64 (unnamed assert)\\n", ], Array [ "assert", Result { "fullname": "", "id": 64, "name": "(unnamed assert)", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 64, "name": "(unnamed assert)", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 64, "name": "(unnamed assert)", "ok": true, }, ], Array [ "line", "# tests 5\\n", ], Array [ "comment", "# tests 5\\n", ], Array [ "line", "# pass 5\\n", ], Array [ "comment", "# pass 5\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 65 test/nested-async.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 65, "name": "test/nested-async.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 65, "name": "test/nested-async.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 65, "name": "test/nested-async.js", "ok": true, }, ], Array [ "line", "# nested-test.js\\n", ], Array [ "comment", "# nested-test.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# parent\\n", ], Array [ "comment", "# parent\\n", ], Array [ "line", "ok 66 p test\\n", ], Array [ "assert", Result { "fullname": "", "id": 66, "name": "p test", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 66, "name": "p test", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 66, "name": "p test", "ok": true, }, ], Array [ "line", "# subtest\\n", ], Array [ "comment", "# subtest\\n", ], Array [ "line", "ok 67 ch test\\n", ], Array [ "assert", Result { "fullname": "", "id": 67, "name": "ch test", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 67, "name": "ch test", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 67, "name": "ch test", "ok": true, }, ], Array [ "line", "# nested subtest\\n", ], Array [ "comment", "# nested subtest\\n", ], Array [ "line", "ok 68 grch test\\n", ], Array [ "assert", Result { "fullname": "", "id": 68, "name": "grch test", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 68, "name": "grch test", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 68, "name": "grch test", "ok": true, }, ], Array [ "line", "# another subtest\\n", ], Array [ "comment", "# another subtest\\n", ], Array [ "line", "ok 69 ch test 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 69, "name": "ch test 2", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 69, "name": "ch test 2", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 69, "name": "ch test 2", "ok": true, }, ], Array [ "line", "# tests 4\\n", ], Array [ "comment", "# tests 4\\n", ], Array [ "line", "# pass 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 70 test/nested-test.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 70, "name": "test/nested-test.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 70, "name": "test/nested-test.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 70, "name": "test/nested-test.js", "ok": true, }, ], Array [ "line", "# non-tap-output.js\\n", ], Array [ "comment", "# non-tap-output.js\\n", ], Array [ "line", "# everything is fine\\n", ], Array [ "comment", "# everything is fine\\n", ], Array [ "line", "# there are no errors\\n", ], Array [ "comment", "# there are no errors\\n", ], Array [ "line", "# this output is not haiku.\\n", ], Array [ "comment", "# this output is not haiku.\\n", ], Array [ "line", "# is 8 ok?\\n", ], Array [ "comment", "# is 8 ok?\\n", ], Array [ "line", "ok 71 , 8 can stay.\\n", ], Array [ "assert", Result { "fullname": "", "id": 71, "name": ", 8 can stay.", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 71, "name": ", 8 can stay.", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 71, "name": ", 8 can stay.", "ok": true, }, ], Array [ "line", "# but: nevertheless, here we are\\n", ], Array [ "comment", "# but: nevertheless, here we are\\n", ], Array [ "line", "# this: is indented\\n", ], Array [ "comment", "# this: is indented\\n", ], Array [ "line", "# and: it\\n", ], Array [ "comment", "# and: it\\n", ], Array [ "line", "# might: ~\\n", ], Array [ "comment", "# might: ~\\n", ], Array [ "line", "# be: yaml?\\n", ], Array [ "comment", "# be: yaml?\\n", ], Array [ "line", "ok 72 might be confusing\\n", ], Array [ "assert", Result { "fullname": "", "id": 72, "name": "might be confusing", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 72, "name": "might be confusing", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 72, "name": "might be confusing", "ok": true, }, ], Array [ "line", "ok 73 done now, exiting\\n", ], Array [ "assert", Result { "fullname": "", "id": 73, "name": "done now, exiting", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 73, "name": "done now, exiting", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 73, "name": "done now, exiting", "ok": true, }, ], Array [ "line", "ok 74 test/non-tap-output.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 74, "name": "test/non-tap-output.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 74, "name": "test/non-tap-output.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 74, "name": "test/non-tap-output.js", "ok": true, }, ], Array [ "line", "# not-executed.sh\\n", ], Array [ "comment", "# not-executed.sh\\n", ], Array [ "line", "# output-childtest-description.js\\n", ], Array [ "comment", "# output-childtest-description.js\\n", ], Array [ "line", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\\n", ], Array [ "comment", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# nested tests, parent and child pass\\n", ], Array [ "comment", "# nested tests, parent and child pass\\n", ], Array [ "line", "ok 75 outputs parent description\\n", ], Array [ "assert", Result { "fullname": "", "id": 75, "name": "outputs parent description", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 75, "name": "outputs parent description", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 75, "name": "outputs parent description", "ok": true, }, ], Array [ "line", "ok 76 outputs child description\\n", ], Array [ "assert", Result { "fullname": "", "id": 76, "name": "outputs child description", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 76, "name": "outputs child description", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 76, "name": "outputs child description", "ok": true, }, ], Array [ "line", "ok 77 outputs parent description before parent result\\n", ], Array [ "assert", Result { "fullname": "", "id": 77, "name": "outputs parent description before parent result", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 77, "name": "outputs parent description before parent result", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 77, "name": "outputs parent description before parent result", "ok": true, }, ], Array [ "line", "ok 78 outputs parent result before child description\\n", ], Array [ "assert", Result { "fullname": "", "id": 78, "name": "outputs parent result before child description", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 78, "name": "outputs parent result before child description", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 78, "name": "outputs parent result before child description", "ok": true, }, ], Array [ "line", "ok 79 outputs child description before child result\\n", ], Array [ "assert", Result { "fullname": "", "id": 79, "name": "outputs child description before child result", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 79, "name": "outputs child description before child result", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 79, "name": "outputs child description before child result", "ok": true, }, ], Array [ "line", "# tests 5\\n", ], Array [ "comment", "# tests 5\\n", ], Array [ "line", "# pass 5\\n", ], Array [ "comment", "# pass 5\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 80 test/output-childtest-description.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 80, "name": "test/output-childtest-description.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 80, "name": "test/output-childtest-description.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 80, "name": "test/output-childtest-description.js", "ok": true, }, ], Array [ "line", "# result-trap.js\\n", ], Array [ "comment", "# result-trap.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# trap result\\n", ], Array [ "comment", "# trap result\\n", ], Array [ "line", "ok 81 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 81, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 81, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 81, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 82 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 82, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 82, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 82, "name": "should be equal", "ok": true, }, ], Array [ "line", "# tests 2\\n", ], Array [ "comment", "# tests 2\\n", ], Array [ "line", "# pass 2\\n", ], Array [ "comment", "# pass 2\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 83 test/result-trap.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 83, "name": "test/result-trap.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 83, "name": "test/result-trap.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 83, "name": "test/result-trap.js", "ok": true, }, ], Array [ "line", "# segv.js\\n", ], Array [ "comment", "# segv.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# setup\\n", ], Array [ "comment", "# setup\\n", ], Array [ "line", "ok 84 compiled seg faulter\\n", ], Array [ "assert", Result { "fullname": "", "id": 84, "name": "compiled seg faulter", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 84, "name": "compiled seg faulter", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 84, "name": "compiled seg faulter", "ok": true, }, ], Array [ "line", "# segv\\n", ], Array [ "comment", "# segv\\n", ], Array [ "line", "ok 85 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 85, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 85, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 85, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "ok 86 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 86, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 86, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 86, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "ok 87 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 87, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 87, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 87, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "ok 88 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 88, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 88, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 88, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "ok 89 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 89, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 89, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 89, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "ok 90 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 90, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 90, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 90, "name": "should be equal", "ok": true, }, ], Array [ "line", "# cleanup\\n", ], Array [ "comment", "# cleanup\\n", ], Array [ "line", "ok 91 cleaned up\\n", ], Array [ "assert", Result { "fullname": "", "id": 91, "name": "cleaned up", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 91, "name": "cleaned up", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 91, "name": "cleaned up", "ok": true, }, ], Array [ "line", "# tests 8\\n", ], Array [ "comment", "# tests 8\\n", ], Array [ "line", "# pass 8\\n", ], Array [ "comment", "# pass 8\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 92 test/segv.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 92, "name": "test/segv.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 92, "name": "test/segv.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 92, "name": "test/segv.js", "ok": true, }, ], Array [ "line", "# simple-harness-test-with-plan.js\\n", ], Array [ "comment", "# simple-harness-test-with-plan.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# trivial success\\n", ], Array [ "comment", "# trivial success\\n", ], Array [ "line", "ok 93 it works\\n", ], Array [ "assert", Result { "fullname": "", "id": 93, "name": "it works", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 93, "name": "it works", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 93, "name": "it works", "ok": true, }, ], Array [ "line", "# two tests\\n", ], Array [ "comment", "# two tests\\n", ], Array [ "line", "ok 94 math should work\\n", ], Array [ "assert", Result { "fullname": "", "id": 94, "name": "math should work", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 94, "name": "math should work", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 94, "name": "math should work", "ok": true, }, ], Array [ "line", "ok 95 false should not be ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 95, "name": "false should not be ok", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 95, "name": "false should not be ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 95, "name": "false should not be ok", "ok": true, }, ], Array [ "line", "# tests 3\\n", ], Array [ "comment", "# tests 3\\n", ], Array [ "line", "# pass 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 96 test/simple-harness-test-with-plan.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 96, "name": "test/simple-harness-test-with-plan.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 96, "name": "test/simple-harness-test-with-plan.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 96, "name": "test/simple-harness-test-with-plan.js", "ok": true, }, ], Array [ "line", "# simple-harness-test.js\\n", ], Array [ "comment", "# simple-harness-test.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# trivial success\\n", ], Array [ "comment", "# trivial success\\n", ], Array [ "line", "ok 97 it works\\n", ], Array [ "assert", Result { "fullname": "", "id": 97, "name": "it works", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 97, "name": "it works", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 97, "name": "it works", "ok": true, }, ], Array [ "line", "# two tests\\n", ], Array [ "comment", "# two tests\\n", ], Array [ "line", "ok 98 math should work\\n", ], Array [ "assert", Result { "fullname": "", "id": 98, "name": "math should work", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 98, "name": "math should work", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 98, "name": "math should work", "ok": true, }, ], Array [ "line", "ok 99 false should not be ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 99, "name": "false should not be ok", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 99, "name": "false should not be ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 99, "name": "false should not be ok", "ok": true, }, ], Array [ "line", "# tests 3\\n", ], Array [ "comment", "# tests 3\\n", ], Array [ "line", "# pass 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 100 test/simple-harness-test.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 100, "name": "test/simple-harness-test.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 100, "name": "test/simple-harness-test.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 100, "name": "test/simple-harness-test.js", "ok": true, }, ], Array [ "line", "# test-assert-todo-skip.js\\n", ], Array [ "comment", "# test-assert-todo-skip.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# not much\\n", ], Array [ "comment", "# not much\\n", ], Array [ "line", "ok 101 always passes # SKIP skip it good\\n", ], Array [ "assert", Result { "fullname": "", "id": 101, "name": "always passes", "ok": true, "skip": "skip it good", }, ], Array [ "result", Result { "fullname": "", "id": 101, "name": "always passes", "ok": true, "skip": "skip it good", }, ], Array [ "skip", Result { "fullname": "", "id": 101, "name": "always passes", "ok": true, "skip": "skip it good", }, ], Array [ "line", "ok 102 false # SKIP always fails\\n", ], Array [ "assert", Result { "fullname": "", "id": 102, "name": "false", "ok": true, "skip": "always fails", }, ], Array [ "result", Result { "fullname": "", "id": 102, "name": "false", "ok": true, "skip": "always fails", }, ], Array [ "skip", Result { "fullname": "", "id": 102, "name": "false", "ok": true, "skip": "always fails", }, ], Array [ "line", "ok 103 bonus # TODO remove todo directive\\n", ], Array [ "assert", Result { "fullname": "", "id": 103, "name": "bonus", "ok": true, "todo": "remove todo directive", }, ], Array [ "result", Result { "fullname": "", "id": 103, "name": "bonus", "ok": true, "todo": "remove todo directive", }, ], Array [ "todo", Result { "fullname": "", "id": 103, "name": "bonus", "ok": true, "todo": "remove todo directive", }, ], Array [ "line", "ok 104 expected # TODO implement a thing\\n", ], Array [ "assert", Result { "fullname": "", "id": 104, "name": "expected", "ok": true, "todo": "implement a thing", }, ], Array [ "result", Result { "fullname": "", "id": 104, "name": "expected", "ok": true, "todo": "implement a thing", }, ], Array [ "todo", Result { "fullname": "", "id": 104, "name": "expected", "ok": true, "todo": "implement a thing", }, ], Array [ "line", "ok 105 always passes without explanation # SKIP\\n", ], Array [ "assert", Result { "fullname": "", "id": 105, "name": "always passes without explanation", "ok": true, "skip": true, }, ], Array [ "result", Result { "fullname": "", "id": 105, "name": "always passes without explanation", "ok": true, "skip": true, }, ], Array [ "skip", Result { "fullname": "", "id": 105, "name": "always passes without explanation", "ok": true, "skip": true, }, ], Array [ "line", "ok 106 false without explanation # SKIP\\n", ], Array [ "assert", Result { "fullname": "", "id": 106, "name": "false without explanation", "ok": true, "skip": true, }, ], Array [ "result", Result { "fullname": "", "id": 106, "name": "false without explanation", "ok": true, "skip": true, }, ], Array [ "skip", Result { "fullname": "", "id": 106, "name": "false without explanation", "ok": true, "skip": true, }, ], Array [ "line", "ok 107 bonus without explanation # TODO\\n", ], Array [ "assert", Result { "fullname": "", "id": 107, "name": "bonus without explanation", "ok": true, "todo": true, }, ], Array [ "result", Result { "fullname": "", "id": 107, "name": "bonus without explanation", "ok": true, "todo": true, }, ], Array [ "todo", Result { "fullname": "", "id": 107, "name": "bonus without explanation", "ok": true, "todo": true, }, ], Array [ "line", "ok 108 expected without explanation # TODO\\n", ], Array [ "assert", Result { "fullname": "", "id": 108, "name": "expected without explanation", "ok": true, "todo": true, }, ], Array [ "result", Result { "fullname": "", "id": 108, "name": "expected without explanation", "ok": true, "todo": true, }, ], Array [ "todo", Result { "fullname": "", "id": 108, "name": "expected without explanation", "ok": true, "todo": true, }, ], Array [ "line", "# tests 8\\n", ], Array [ "comment", "# tests 8\\n", ], Array [ "line", "# skip 4\\n", ], Array [ "comment", "# skip 4\\n", ], Array [ "line", "# todo 4\\n", ], Array [ "comment", "# todo 4\\n", ], Array [ "line", "ok 109 test/test-assert-todo-skip.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 109, "name": "test/test-assert-todo-skip.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 109, "name": "test/test-assert-todo-skip.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 109, "name": "test/test-assert-todo-skip.js", "ok": true, }, ], Array [ "line", "# test-descriptions.js\\n", ], Array [ "comment", "# test-descriptions.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# captures test descriptions\\n", ], Array [ "comment", "# captures test descriptions\\n", ], Array [ "line", "ok 110 exit cleanly\\n", ], Array [ "assert", Result { "fullname": "", "id": 110, "name": "exit cleanly", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 110, "name": "exit cleanly", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 110, "name": "exit cleanly", "ok": true, }, ], Array [ "line", "ok 111 captures SKIP description\\n", ], Array [ "assert", Result { "fullname": "", "id": 111, "name": "captures SKIP description", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 111, "name": "captures SKIP description", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 111, "name": "captures SKIP description", "ok": true, }, ], Array [ "line", "ok 112 skip summary is not from file\\n", ], Array [ "assert", Result { "fullname": "", "id": 112, "name": "skip summary is not from file", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 112, "name": "skip summary is not from file", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 112, "name": "skip summary is not from file", "ok": true, }, ], Array [ "line", "ok 113 todo summary is not from file\\n", ], Array [ "assert", Result { "fullname": "", "id": 113, "name": "todo summary is not from file", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 113, "name": "todo summary is not from file", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 113, "name": "todo summary is not from file", "ok": true, }, ], Array [ "line", "not ok 114 captures TODO description\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " file: child_process.js\\n", ], Array [ "line", " line: 707\\n", ], Array [ "line", " column: 7\\n", ], Array [ "line", " stack:\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " ChildProcess.exithandler (child_process.js:707:7)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " emitTwo (events.js:87:13)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " ChildProcess.emit (events.js:169:7)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " maybeClose (child_process.js:984:16)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " Socket. (child_process.js:1153:11)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " emitOne (events.js:77:13)\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 114, "name": "captures TODO description", "ok": false, }, ], Array [ "result", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 114, "name": "captures TODO description", "ok": false, }, ], Array [ "fail", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 114, "name": "captures TODO description", "ok": false, }, ], Array [ "line", "ok 115 exit cleanly\\n", ], Array [ "assert", Result { "fullname": "", "id": 115, "name": "exit cleanly", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 115, "name": "exit cleanly", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 115, "name": "exit cleanly", "ok": true, }, ], Array [ "line", "ok 116 captures SKIP description\\n", ], Array [ "assert", Result { "fullname": "", "id": 116, "name": "captures SKIP description", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 116, "name": "captures SKIP description", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 116, "name": "captures SKIP description", "ok": true, }, ], Array [ "line", "ok 117 skip summary is not in TAP output\\n", ], Array [ "assert", Result { "fullname": "", "id": 117, "name": "skip summary is not in TAP output", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 117, "name": "skip summary is not in TAP output", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 117, "name": "skip summary is not in TAP output", "ok": true, }, ], Array [ "line", "ok 118 todo summary is not in TAP output\\n", ], Array [ "assert", Result { "fullname": "", "id": 118, "name": "todo summary is not in TAP output", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 118, "name": "todo summary is not in TAP output", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 118, "name": "todo summary is not in TAP output", "ok": true, }, ], Array [ "line", "not ok 119 captures TODO description\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " file: child_process.js\\n", ], Array [ "line", " line: 707\\n", ], Array [ "line", " column: 7\\n", ], Array [ "line", " stack:\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:18:7\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " ChildProcess.exithandler (child_process.js:707:7)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " emitTwo (events.js:87:13)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " ChildProcess.emit (events.js:169:7)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " maybeClose (child_process.js:984:16)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " Process.ChildProcess._handle.onexit (child_process.js:1057:5)\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 119, "name": "captures TODO description", "ok": false, }, ], Array [ "result", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 119, "name": "captures TODO description", "ok": false, }, ], Array [ "fail", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 119, "name": "captures TODO description", "ok": false, }, ], Array [ "line", "ok 120 exit cleanly\\n", ], Array [ "assert", Result { "fullname": "", "id": 120, "name": "exit cleanly", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 120, "name": "exit cleanly", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 120, "name": "exit cleanly", "ok": true, }, ], Array [ "line", "not ok 121 summarizes skipped count\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " file: child_process.js\\n", ], Array [ "line", " line: 707\\n", ], Array [ "line", " column: 7\\n", ], Array [ "line", " stack:\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:23:7\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " ChildProcess.exithandler (child_process.js:707:7)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " emitTwo (events.js:87:13)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " ChildProcess.emit (events.js:169:7)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " maybeClose (child_process.js:984:16)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " Process.ChildProcess._handle.onexit (child_process.js:1057:5)\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 121, "name": "summarizes skipped count", "ok": false, }, ], Array [ "result", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 121, "name": "summarizes skipped count", "ok": false, }, ], Array [ "fail", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 121, "name": "summarizes skipped count", "ok": false, }, ], Array [ "line", "not ok 122 summarizes todo count\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " file: child_process.js\\n", ], Array [ "line", " line: 707\\n", ], Array [ "line", " column: 7\\n", ], Array [ "line", " stack:\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:24:7\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " ChildProcess.exithandler (child_process.js:707:7)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " emitTwo (events.js:87:13)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " ChildProcess.emit (events.js:169:7)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " maybeClose (child_process.js:984:16)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " Process.ChildProcess._handle.onexit (child_process.js:1057:5)\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 122, "name": "summarizes todo count", "ok": false, }, ], Array [ "result", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 122, "name": "summarizes todo count", "ok": false, }, ], Array [ "fail", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 122, "name": "summarizes todo count", "ok": false, }, ], Array [ "line", "# tests 13\\n", ], Array [ "comment", "# tests 13\\n", ], Array [ "line", "# pass 9\\n", ], Array [ "comment", "# pass 9\\n", ], Array [ "line", "# fail 4\\n", ], Array [ "comment", "# fail 4\\n", ], Array [ "line", "not ok 123 test/test-descriptions.js\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " exit: 1\\n", ], Array [ "line", " command: \\"/usr/local/bin/iojs test-descriptions.js\\"\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "command": "/usr/local/bin/iojs test-descriptions.js", "exit": 1, }, "fullname": "", "id": 123, "name": "test/test-descriptions.js", "ok": false, }, ], Array [ "result", Result { "diag": Object { "command": "/usr/local/bin/iojs test-descriptions.js", "exit": 1, }, "fullname": "", "id": 123, "name": "test/test-descriptions.js", "ok": false, }, ], Array [ "fail", Result { "diag": Object { "command": "/usr/local/bin/iojs test-descriptions.js", "exit": 1, }, "fullname": "", "id": 123, "name": "test/test-descriptions.js", "ok": false, }, ], Array [ "line", "# test-directives.js\\n", ], Array [ "comment", "# test-directives.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# captures test descriptions\\n", ], Array [ "comment", "# captures test descriptions\\n", ], Array [ "line", "# raw TAP > TAP consumer > TAP producer\\n", ], Array [ "comment", "# raw TAP > TAP consumer > TAP producer\\n", ], Array [ "line", "ok 124 overall result is PASS\\n", ], Array [ "assert", Result { "fullname": "", "id": 124, "name": "overall result is PASS", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 124, "name": "overall result is PASS", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 124, "name": "overall result is PASS", "ok": true, }, ], Array [ "line", "ok 125 captures ok SKIP\\n", ], Array [ "assert", Result { "fullname": "", "id": 125, "name": "captures ok SKIP", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 125, "name": "captures ok SKIP", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 125, "name": "captures ok SKIP", "ok": true, }, ], Array [ "line", "ok 126 captures not ok SKIP\\n", ], Array [ "assert", Result { "fullname": "", "id": 126, "name": "captures not ok SKIP", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 126, "name": "captures not ok SKIP", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 126, "name": "captures not ok SKIP", "ok": true, }, ], Array [ "line", "ok 127 skip summary not in TAP output\\n", ], Array [ "assert", Result { "fullname": "", "id": 127, "name": "skip summary not in TAP output", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 127, "name": "skip summary not in TAP output", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 127, "name": "skip summary not in TAP output", "ok": true, }, ], Array [ "line", "ok 128 captures ok TODO\\n", ], Array [ "assert", Result { "fullname": "", "id": 128, "name": "captures ok TODO", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 128, "name": "captures ok TODO", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 128, "name": "captures ok TODO", "ok": true, }, ], Array [ "line", "ok 129 captures not ok TODO\\n", ], Array [ "assert", Result { "fullname": "", "id": 129, "name": "captures not ok TODO", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 129, "name": "captures not ok TODO", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 129, "name": "captures not ok TODO", "ok": true, }, ], Array [ "line", "ok 130 todo summary is not in TAP output\\n", ], Array [ "assert", Result { "fullname": "", "id": 130, "name": "todo summary is not in TAP output", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 130, "name": "todo summary is not in TAP output", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 130, "name": "todo summary is not in TAP output", "ok": true, }, ], Array [ "line", "ok 131 no ugly \\"undefined\\" in output\\n", ], Array [ "assert", Result { "fullname": "", "id": 131, "name": "no ugly \\"undefined\\" in output", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 131, "name": "no ugly \\"undefined\\" in output", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 131, "name": "no ugly \\"undefined\\" in output", "ok": true, }, ], Array [ "line", "# raw TAP > TAP consumer > summary\\n", ], Array [ "comment", "# raw TAP > TAP consumer > summary\\n", ], Array [ "line", "ok 132 overall result is PASS\\n", ], Array [ "assert", Result { "fullname": "", "id": 132, "name": "overall result is PASS", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 132, "name": "overall result is PASS", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 132, "name": "overall result is PASS", "ok": true, }, ], Array [ "line", "ok 133 no SKIP in summary\\n", ], Array [ "assert", Result { "fullname": "", "id": 133, "name": "no SKIP in summary", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 133, "name": "no SKIP in summary", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 133, "name": "no SKIP in summary", "ok": true, }, ], Array [ "line", "ok 134 skip summary is not in TAP output\\n", ], Array [ "assert", Result { "fullname": "", "id": 134, "name": "skip summary is not in TAP output", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 134, "name": "skip summary is not in TAP output", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 134, "name": "skip summary is not in TAP output", "ok": true, }, ], Array [ "line", "ok 135 no TODO in summary\\n", ], Array [ "assert", Result { "fullname": "", "id": 135, "name": "no TODO in summary", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 135, "name": "no TODO in summary", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 135, "name": "no TODO in summary", "ok": true, }, ], Array [ "line", "ok 136 todo summary is not in TAP output\\n", ], Array [ "assert", Result { "fullname": "", "id": 136, "name": "todo summary is not in TAP output", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 136, "name": "todo summary is not in TAP output", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 136, "name": "todo summary is not in TAP output", "ok": true, }, ], Array [ "line", "ok 137 no ugly \\"undefined\\" in output\\n", ], Array [ "assert", Result { "fullname": "", "id": 137, "name": "no ugly \\"undefined\\" in output", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 137, "name": "no ugly \\"undefined\\" in output", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 137, "name": "no ugly \\"undefined\\" in output", "ok": true, }, ], Array [ "line", "# TAP producer via require(\\"tap\\")\\n", ], Array [ "comment", "# TAP producer via require(\\"tap\\")\\n", ], Array [ "line", "ok 138 overall result is PASS\\n", ], Array [ "assert", Result { "fullname": "", "id": 138, "name": "overall result is PASS", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 138, "name": "overall result is PASS", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 138, "name": "overall result is PASS", "ok": true, }, ], Array [ "line", "ok 139 captures ok SKIP\\n", ], Array [ "assert", Result { "fullname": "", "id": 139, "name": "captures ok SKIP", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 139, "name": "captures ok SKIP", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 139, "name": "captures ok SKIP", "ok": true, }, ], Array [ "line", "ok 140 captures not ok SKIP\\n", ], Array [ "assert", Result { "fullname": "", "id": 140, "name": "captures not ok SKIP", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 140, "name": "captures not ok SKIP", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 140, "name": "captures not ok SKIP", "ok": true, }, ], Array [ "line", "ok 141 skip summary not in TAP output\\n", ], Array [ "assert", Result { "fullname": "", "id": 141, "name": "skip summary not in TAP output", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 141, "name": "skip summary not in TAP output", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 141, "name": "skip summary not in TAP output", "ok": true, }, ], Array [ "line", "ok 142 captures ok TODO\\n", ], Array [ "assert", Result { "fullname": "", "id": 142, "name": "captures ok TODO", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 142, "name": "captures ok TODO", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 142, "name": "captures ok TODO", "ok": true, }, ], Array [ "line", "ok 143 captures not ok TODO\\n", ], Array [ "assert", Result { "fullname": "", "id": 143, "name": "captures not ok TODO", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 143, "name": "captures not ok TODO", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 143, "name": "captures not ok TODO", "ok": true, }, ], Array [ "line", "ok 144 todo summary is not in TAP output\\n", ], Array [ "assert", Result { "fullname": "", "id": 144, "name": "todo summary is not in TAP output", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 144, "name": "todo summary is not in TAP output", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 144, "name": "todo summary is not in TAP output", "ok": true, }, ], Array [ "line", "ok 145 no ugly \\"undefined\\" in output\\n", ], Array [ "assert", Result { "fullname": "", "id": 145, "name": "no ugly \\"undefined\\" in output", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 145, "name": "no ugly \\"undefined\\" in output", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 145, "name": "no ugly \\"undefined\\" in output", "ok": true, }, ], Array [ "line", "# tests 22\\n", ], Array [ "comment", "# tests 22\\n", ], Array [ "line", "# pass 22\\n", ], Array [ "comment", "# pass 22\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 146 test/test-directives.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 146, "name": "test/test-directives.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 146, "name": "test/test-directives.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 146, "name": "test/test-directives.js", "ok": true, }, ], Array [ "line", "# test-skip.js\\n", ], Array [ "comment", "# test-skip.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "ok 147 does not count as failure # SKIP\\n", ], Array [ "assert", Result { "fullname": "", "id": 147, "name": "does not count as failure", "ok": true, "skip": true, }, ], Array [ "result", Result { "fullname": "", "id": 147, "name": "does not count as failure", "ok": true, "skip": true, }, ], Array [ "skip", Result { "fullname": "", "id": 147, "name": "does not count as failure", "ok": true, "skip": true, }, ], Array [ "line", "# tests 1\\n", ], Array [ "comment", "# tests 1\\n", ], Array [ "line", "# skip 1\\n", ], Array [ "comment", "# skip 1\\n", ], Array [ "line", "ok 148 test/test-skip.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 148, "name": "test/test-skip.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 148, "name": "test/test-skip.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 148, "name": "test/test-skip.js", "ok": true, }, ], Array [ "line", "# test-test.js\\n", ], Array [ "comment", "# test-test.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# testing the test object\\n", ], Array [ "comment", "# testing the test object\\n", ], Array [ "line", "ok 149 test object should be instanceof Test\\n", ], Array [ "assert", Result { "fullname": "", "id": 149, "name": "test object should be instanceof Test", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 149, "name": "test object should be instanceof Test", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 149, "name": "test object should be instanceof Test", "ok": true, }, ], Array [ "line", "ok 150 test object should be instanceof Harness\\n", ], Array [ "assert", Result { "fullname": "", "id": 150, "name": "test object should be instanceof Harness", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 150, "name": "test object should be instanceof Harness", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 150, "name": "test object should be instanceof Harness", "ok": true, }, ], Array [ "line", "ok 151 test._Test should be the Test class\\n", ], Array [ "assert", Result { "fullname": "", "id": 151, "name": "test._Test should be the Test class", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 151, "name": "test._Test should be the Test class", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 151, "name": "test._Test should be the Test class", "ok": true, }, ], Array [ "line", "ok 152 should have isNotDeepEqual method\\n", ], Array [ "assert", Result { "fullname": "", "id": 152, "name": "should have isNotDeepEqual method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 152, "name": "should have isNotDeepEqual method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 152, "name": "should have isNotDeepEqual method", "ok": true, }, ], Array [ "line", "ok 153 isNotDeepEqual method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 153, "name": "isNotDeepEqual method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 153, "name": "isNotDeepEqual method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 153, "name": "isNotDeepEqual method should be a function", "ok": true, }, ], Array [ "line", "ok 154 should have equals method\\n", ], Array [ "assert", Result { "fullname": "", "id": 154, "name": "should have equals method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 154, "name": "should have equals method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 154, "name": "should have equals method", "ok": true, }, ], Array [ "line", "ok 155 equals method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 155, "name": "equals method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 155, "name": "equals method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 155, "name": "equals method should be a function", "ok": true, }, ], Array [ "line", "ok 156 should have inequivalent method\\n", ], Array [ "assert", Result { "fullname": "", "id": 156, "name": "should have inequivalent method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 156, "name": "should have inequivalent method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 156, "name": "should have inequivalent method", "ok": true, }, ], Array [ "line", "ok 157 inequivalent method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 157, "name": "inequivalent method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 157, "name": "inequivalent method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 157, "name": "inequivalent method should be a function", "ok": true, }, ], Array [ "line", "ok 158 should have threw method\\n", ], Array [ "assert", Result { "fullname": "", "id": 158, "name": "should have threw method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 158, "name": "should have threw method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 158, "name": "should have threw method", "ok": true, }, ], Array [ "line", "ok 159 threw method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 159, "name": "threw method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 159, "name": "threw method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 159, "name": "threw method should be a function", "ok": true, }, ], Array [ "line", "ok 160 should have strictEqual method\\n", ], Array [ "assert", Result { "fullname": "", "id": 160, "name": "should have strictEqual method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 160, "name": "should have strictEqual method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 160, "name": "should have strictEqual method", "ok": true, }, ], Array [ "line", "ok 161 strictEqual method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 161, "name": "strictEqual method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 161, "name": "strictEqual method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 161, "name": "strictEqual method should be a function", "ok": true, }, ], Array [ "line", "ok 162 should have emit method\\n", ], Array [ "assert", Result { "fullname": "", "id": 162, "name": "should have emit method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 162, "name": "should have emit method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 162, "name": "should have emit method", "ok": true, }, ], Array [ "line", "ok 163 emit method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 163, "name": "emit method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 163, "name": "emit method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 163, "name": "emit method should be a function", "ok": true, }, ], Array [ "line", "ok 164 should have fail method\\n", ], Array [ "assert", Result { "fullname": "", "id": 164, "name": "should have fail method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 164, "name": "should have fail method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 164, "name": "should have fail method", "ok": true, }, ], Array [ "line", "ok 165 fail method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 165, "name": "fail method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 165, "name": "fail method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 165, "name": "fail method should be a function", "ok": true, }, ], Array [ "line", "ok 166 should have strictEquals method\\n", ], Array [ "assert", Result { "fullname": "", "id": 166, "name": "should have strictEquals method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 166, "name": "should have strictEquals method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 166, "name": "should have strictEquals method", "ok": true, }, ], Array [ "line", "ok 167 strictEquals method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 167, "name": "strictEquals method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 167, "name": "strictEquals method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 167, "name": "strictEquals method should be a function", "ok": true, }, ], Array [ "line", "ok 168 should have notLike method\\n", ], Array [ "assert", Result { "fullname": "", "id": 168, "name": "should have notLike method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 168, "name": "should have notLike method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 168, "name": "should have notLike method", "ok": true, }, ], Array [ "line", "ok 169 notLike method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 169, "name": "notLike method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 169, "name": "notLike method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 169, "name": "notLike method should be a function", "ok": true, }, ], Array [ "line", "ok 170 should have dissimilar method\\n", ], Array [ "assert", Result { "fullname": "", "id": 170, "name": "should have dissimilar method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 170, "name": "should have dissimilar method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 170, "name": "should have dissimilar method", "ok": true, }, ], Array [ "line", "ok 171 dissimilar method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 171, "name": "dissimilar method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 171, "name": "dissimilar method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 171, "name": "dissimilar method should be a function", "ok": true, }, ], Array [ "line", "ok 172 should have true method\\n", ], Array [ "assert", Result { "fullname": "", "id": 172, "name": "should have true method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 172, "name": "should have true method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 172, "name": "should have true method", "ok": true, }, ], Array [ "line", "ok 173 true method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 173, "name": "true method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 173, "name": "true method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 173, "name": "true method should be a function", "ok": true, }, ], Array [ "line", "ok 174 should have assert method\\n", ], Array [ "assert", Result { "fullname": "", "id": 174, "name": "should have assert method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 174, "name": "should have assert method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 174, "name": "should have assert method", "ok": true, }, ], Array [ "line", "ok 175 assert method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 175, "name": "assert method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 175, "name": "assert method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 175, "name": "assert method should be a function", "ok": true, }, ], Array [ "line", "ok 176 should have is method\\n", ], Array [ "assert", Result { "fullname": "", "id": 176, "name": "should have is method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 176, "name": "should have is method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 176, "name": "should have is method", "ok": true, }, ], Array [ "line", "ok 177 is method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 177, "name": "is method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 177, "name": "is method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 177, "name": "is method should be a function", "ok": true, }, ], Array [ "line", "ok 178 should have ok method\\n", ], Array [ "assert", Result { "fullname": "", "id": 178, "name": "should have ok method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 178, "name": "should have ok method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 178, "name": "should have ok method", "ok": true, }, ], Array [ "line", "ok 179 ok method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 179, "name": "ok method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 179, "name": "ok method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 179, "name": "ok method should be a function", "ok": true, }, ], Array [ "line", "ok 180 should have isEqual method\\n", ], Array [ "assert", Result { "fullname": "", "id": 180, "name": "should have isEqual method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 180, "name": "should have isEqual method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 180, "name": "should have isEqual method", "ok": true, }, ], Array [ "line", "ok 181 isEqual method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 181, "name": "isEqual method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 181, "name": "isEqual method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 181, "name": "isEqual method should be a function", "ok": true, }, ], Array [ "line", "ok 182 should have isDeeply method\\n", ], Array [ "assert", Result { "fullname": "", "id": 182, "name": "should have isDeeply method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 182, "name": "should have isDeeply method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 182, "name": "should have isDeeply method", "ok": true, }, ], Array [ "line", "ok 183 isDeeply method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 183, "name": "isDeeply method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 183, "name": "isDeeply method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 183, "name": "isDeeply method should be a function", "ok": true, }, ], Array [ "line", "ok 184 should have deepEqual method\\n", ], Array [ "assert", Result { "fullname": "", "id": 184, "name": "should have deepEqual method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 184, "name": "should have deepEqual method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 184, "name": "should have deepEqual method", "ok": true, }, ], Array [ "line", "ok 185 deepEqual method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 185, "name": "deepEqual method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 185, "name": "deepEqual method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 185, "name": "deepEqual method should be a function", "ok": true, }, ], Array [ "line", "ok 186 should have deepEquals method\\n", ], Array [ "assert", Result { "fullname": "", "id": 186, "name": "should have deepEquals method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 186, "name": "should have deepEquals method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 186, "name": "should have deepEquals method", "ok": true, }, ], Array [ "line", "ok 187 deepEquals method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 187, "name": "deepEquals method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 187, "name": "deepEquals method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 187, "name": "deepEquals method should be a function", "ok": true, }, ], Array [ "line", "ok 188 should have pass method\\n", ], Array [ "assert", Result { "fullname": "", "id": 188, "name": "should have pass method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 188, "name": "should have pass method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 188, "name": "should have pass method", "ok": true, }, ], Array [ "line", "ok 189 pass method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 189, "name": "pass method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 189, "name": "pass method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 189, "name": "pass method should be a function", "ok": true, }, ], Array [ "line", "ok 190 should have length method\\n", ], Array [ "assert", Result { "fullname": "", "id": 190, "name": "should have length method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 190, "name": "should have length method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 190, "name": "should have length method", "ok": true, }, ], Array [ "line", "ok 191 length method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 191, "name": "length method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 191, "name": "length method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 191, "name": "length method should be a function", "ok": true, }, ], Array [ "line", "ok 192 should have skip method\\n", ], Array [ "assert", Result { "fullname": "", "id": 192, "name": "should have skip method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 192, "name": "should have skip method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 192, "name": "should have skip method", "ok": true, }, ], Array [ "line", "ok 193 skip method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 193, "name": "skip method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 193, "name": "skip method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 193, "name": "skip method should be a function", "ok": true, }, ], Array [ "line", "ok 194 should have isNotEqual method\\n", ], Array [ "assert", Result { "fullname": "", "id": 194, "name": "should have isNotEqual method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 194, "name": "should have isNotEqual method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 194, "name": "should have isNotEqual method", "ok": true, }, ], Array [ "line", "ok 195 isNotEqual method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 195, "name": "isNotEqual method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 195, "name": "isNotEqual method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 195, "name": "isNotEqual method should be a function", "ok": true, }, ], Array [ "line", "ok 196 should have looseEquals method\\n", ], Array [ "assert", Result { "fullname": "", "id": 196, "name": "should have looseEquals method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 196, "name": "should have looseEquals method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 196, "name": "should have looseEquals method", "ok": true, }, ], Array [ "line", "ok 197 looseEquals method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 197, "name": "looseEquals method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 197, "name": "looseEquals method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 197, "name": "looseEquals method should be a function", "ok": true, }, ], Array [ "line", "ok 198 should have false method\\n", ], Array [ "assert", Result { "fullname": "", "id": 198, "name": "should have false method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 198, "name": "should have false method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 198, "name": "should have false method", "ok": true, }, ], Array [ "line", "ok 199 false method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 199, "name": "false method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 199, "name": "false method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 199, "name": "false method should be a function", "ok": true, }, ], Array [ "line", "ok 200 should have notDeeply method\\n", ], Array [ "assert", Result { "fullname": "", "id": 200, "name": "should have notDeeply method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 200, "name": "should have notDeeply method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 200, "name": "should have notDeeply method", "ok": true, }, ], Array [ "line", "ok 201 notDeeply method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 201, "name": "notDeeply method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 201, "name": "notDeeply method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 201, "name": "notDeeply method should be a function", "ok": true, }, ], Array [ "line", "ok 202 should have ifErr method\\n", ], Array [ "assert", Result { "fullname": "", "id": 202, "name": "should have ifErr method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 202, "name": "should have ifErr method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 202, "name": "should have ifErr method", "ok": true, }, ], Array [ "line", "ok 203 ifErr method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 203, "name": "ifErr method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 203, "name": "ifErr method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 203, "name": "ifErr method should be a function", "ok": true, }, ], Array [ "line", "ok 204 should have hasFields method\\n", ], Array [ "assert", Result { "fullname": "", "id": 204, "name": "should have hasFields method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 204, "name": "should have hasFields method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 204, "name": "should have hasFields method", "ok": true, }, ], Array [ "line", "ok 205 hasFields method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 205, "name": "hasFields method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 205, "name": "hasFields method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 205, "name": "hasFields method should be a function", "ok": true, }, ], Array [ "line", "ok 206 should have isNotDeeply method\\n", ], Array [ "assert", Result { "fullname": "", "id": 206, "name": "should have isNotDeeply method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 206, "name": "should have isNotDeeply method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 206, "name": "should have isNotDeeply method", "ok": true, }, ], Array [ "line", "ok 207 isNotDeeply method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 207, "name": "isNotDeeply method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 207, "name": "isNotDeeply method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 207, "name": "isNotDeeply method should be a function", "ok": true, }, ], Array [ "line", "ok 208 should have like method\\n", ], Array [ "assert", Result { "fullname": "", "id": 208, "name": "should have like method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 208, "name": "should have like method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 208, "name": "should have like method", "ok": true, }, ], Array [ "line", "ok 209 like method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 209, "name": "like method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 209, "name": "like method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 209, "name": "like method should be a function", "ok": true, }, ], Array [ "line", "ok 210 should have similar method\\n", ], Array [ "assert", Result { "fullname": "", "id": 210, "name": "should have similar method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 210, "name": "should have similar method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 210, "name": "should have similar method", "ok": true, }, ], Array [ "line", "ok 211 similar method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 211, "name": "similar method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 211, "name": "similar method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 211, "name": "similar method should be a function", "ok": true, }, ], Array [ "line", "ok 212 should have notOk method\\n", ], Array [ "assert", Result { "fullname": "", "id": 212, "name": "should have notOk method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 212, "name": "should have notOk method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 212, "name": "should have notOk method", "ok": true, }, ], Array [ "line", "ok 213 notOk method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 213, "name": "notOk method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 213, "name": "notOk method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 213, "name": "notOk method should be a function", "ok": true, }, ], Array [ "line", "ok 214 should have isDissimilar method\\n", ], Array [ "assert", Result { "fullname": "", "id": 214, "name": "should have isDissimilar method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 214, "name": "should have isDissimilar method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 214, "name": "should have isDissimilar method", "ok": true, }, ], Array [ "line", "ok 215 isDissimilar method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 215, "name": "isDissimilar method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 215, "name": "isDissimilar method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 215, "name": "isDissimilar method should be a function", "ok": true, }, ], Array [ "line", "ok 216 should have isEquivalent method\\n", ], Array [ "assert", Result { "fullname": "", "id": 216, "name": "should have isEquivalent method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 216, "name": "should have isEquivalent method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 216, "name": "should have isEquivalent method", "ok": true, }, ], Array [ "line", "ok 217 isEquivalent method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 217, "name": "isEquivalent method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 217, "name": "isEquivalent method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 217, "name": "isEquivalent method should be a function", "ok": true, }, ], Array [ "line", "ok 218 should have doesNotEqual method\\n", ], Array [ "assert", Result { "fullname": "", "id": 218, "name": "should have doesNotEqual method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 218, "name": "should have doesNotEqual method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 218, "name": "should have doesNotEqual method", "ok": true, }, ], Array [ "line", "ok 219 doesNotEqual method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 219, "name": "doesNotEqual method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 219, "name": "doesNotEqual method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 219, "name": "doesNotEqual method should be a function", "ok": true, }, ], Array [ "line", "ok 220 should have isSimilar method\\n", ], Array [ "assert", Result { "fullname": "", "id": 220, "name": "should have isSimilar method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 220, "name": "should have isSimilar method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 220, "name": "should have isSimilar method", "ok": true, }, ], Array [ "line", "ok 221 isSimilar method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 221, "name": "isSimilar method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 221, "name": "isSimilar method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 221, "name": "isSimilar method should be a function", "ok": true, }, ], Array [ "line", "ok 222 should have notDeepEqual method\\n", ], Array [ "assert", Result { "fullname": "", "id": 222, "name": "should have notDeepEqual method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 222, "name": "should have notDeepEqual method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 222, "name": "should have notDeepEqual method", "ok": true, }, ], Array [ "line", "ok 223 notDeepEqual method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 223, "name": "notDeepEqual method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 223, "name": "notDeepEqual method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 223, "name": "notDeepEqual method should be a function", "ok": true, }, ], Array [ "line", "ok 224 should have type method\\n", ], Array [ "assert", Result { "fullname": "", "id": 224, "name": "should have type method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 224, "name": "should have type method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 224, "name": "should have type method", "ok": true, }, ], Array [ "line", "ok 225 type method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 225, "name": "type method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 225, "name": "type method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 225, "name": "type method should be a function", "ok": true, }, ], Array [ "line", "ok 226 should have notok method\\n", ], Array [ "assert", Result { "fullname": "", "id": 226, "name": "should have notok method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 226, "name": "should have notok method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 226, "name": "should have notok method", "ok": true, }, ], Array [ "line", "ok 227 notok method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 227, "name": "notok method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 227, "name": "notok method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 227, "name": "notok method should be a function", "ok": true, }, ], Array [ "line", "ok 228 should have isInequivalent method\\n", ], Array [ "assert", Result { "fullname": "", "id": 228, "name": "should have isInequivalent method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 228, "name": "should have isInequivalent method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 228, "name": "should have isInequivalent method", "ok": true, }, ], Array [ "line", "ok 229 isInequivalent method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 229, "name": "isInequivalent method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 229, "name": "isInequivalent method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 229, "name": "isInequivalent method should be a function", "ok": true, }, ], Array [ "line", "ok 230 should have isNot method\\n", ], Array [ "assert", Result { "fullname": "", "id": 230, "name": "should have isNot method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 230, "name": "should have isNot method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 230, "name": "should have isNot method", "ok": true, }, ], Array [ "line", "ok 231 isNot method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 231, "name": "isNot method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 231, "name": "isNot method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 231, "name": "isNot method should be a function", "ok": true, }, ], Array [ "line", "ok 232 should have same method\\n", ], Array [ "assert", Result { "fullname": "", "id": 232, "name": "should have same method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 232, "name": "should have same method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 232, "name": "should have same method", "ok": true, }, ], Array [ "line", "ok 233 same method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 233, "name": "same method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 233, "name": "same method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 233, "name": "same method should be a function", "ok": true, }, ], Array [ "line", "ok 234 should have isInequal method\\n", ], Array [ "assert", Result { "fullname": "", "id": 234, "name": "should have isInequal method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 234, "name": "should have isInequal method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 234, "name": "should have isInequal method", "ok": true, }, ], Array [ "line", "ok 235 isInequal method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 235, "name": "isInequal method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 235, "name": "isInequal method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 235, "name": "isInequal method should be a function", "ok": true, }, ], Array [ "line", "ok 236 should have _endNice method\\n", ], Array [ "assert", Result { "fullname": "", "id": 236, "name": "should have _endNice method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 236, "name": "should have _endNice method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 236, "name": "should have _endNice method", "ok": true, }, ], Array [ "line", "ok 237 _endNice method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 237, "name": "_endNice method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 237, "name": "_endNice method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 237, "name": "_endNice method should be a function", "ok": true, }, ], Array [ "line", "ok 238 should have ifError method\\n", ], Array [ "assert", Result { "fullname": "", "id": 238, "name": "should have ifError method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 238, "name": "should have ifError method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 238, "name": "should have ifError method", "ok": true, }, ], Array [ "line", "ok 239 ifError method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 239, "name": "ifError method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 239, "name": "ifError method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 239, "name": "ifError method should be a function", "ok": true, }, ], Array [ "line", "ok 240 should have iferror method\\n", ], Array [ "assert", Result { "fullname": "", "id": 240, "name": "should have iferror method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 240, "name": "should have iferror method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 240, "name": "should have iferror method", "ok": true, }, ], Array [ "line", "ok 241 iferror method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 241, "name": "iferror method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 241, "name": "iferror method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 241, "name": "iferror method should be a function", "ok": true, }, ], Array [ "line", "ok 242 should have clear method\\n", ], Array [ "assert", Result { "fullname": "", "id": 242, "name": "should have clear method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 242, "name": "should have clear method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 242, "name": "should have clear method", "ok": true, }, ], Array [ "line", "ok 243 clear method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 243, "name": "clear method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 243, "name": "clear method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 243, "name": "clear method should be a function", "ok": true, }, ], Array [ "line", "ok 244 should have has method\\n", ], Array [ "assert", Result { "fullname": "", "id": 244, "name": "should have has method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 244, "name": "should have has method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 244, "name": "should have has method", "ok": true, }, ], Array [ "line", "ok 245 has method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 245, "name": "has method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 245, "name": "has method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 245, "name": "has method should be a function", "ok": true, }, ], Array [ "line", "ok 246 should have not method\\n", ], Array [ "assert", Result { "fullname": "", "id": 246, "name": "should have not method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 246, "name": "should have not method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 246, "name": "should have not method", "ok": true, }, ], Array [ "line", "ok 247 not method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 247, "name": "not method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 247, "name": "not method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 247, "name": "not method should be a function", "ok": true, }, ], Array [ "line", "ok 248 should have timeout method\\n", ], Array [ "assert", Result { "fullname": "", "id": 248, "name": "should have timeout method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 248, "name": "should have timeout method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 248, "name": "should have timeout method", "ok": true, }, ], Array [ "line", "ok 249 timeout method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 249, "name": "timeout method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 249, "name": "timeout method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 249, "name": "timeout method should be a function", "ok": true, }, ], Array [ "line", "ok 250 should have notSimilar method\\n", ], Array [ "assert", Result { "fullname": "", "id": 250, "name": "should have notSimilar method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 250, "name": "should have notSimilar method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 250, "name": "should have notSimilar method", "ok": true, }, ], Array [ "line", "ok 251 notSimilar method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 251, "name": "notSimilar method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 251, "name": "notSimilar method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 251, "name": "notSimilar method should be a function", "ok": true, }, ], Array [ "line", "ok 252 should have isUnlike method\\n", ], Array [ "assert", Result { "fullname": "", "id": 252, "name": "should have isUnlike method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 252, "name": "should have isUnlike method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 252, "name": "should have isUnlike method", "ok": true, }, ], Array [ "line", "ok 253 isUnlike method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 253, "name": "isUnlike method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 253, "name": "isUnlike method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 253, "name": "isUnlike method should be a function", "ok": true, }, ], Array [ "line", "ok 254 should have notEquals method\\n", ], Array [ "assert", Result { "fullname": "", "id": 254, "name": "should have notEquals method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 254, "name": "should have notEquals method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 254, "name": "should have notEquals method", "ok": true, }, ], Array [ "line", "ok 255 notEquals method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 255, "name": "notEquals method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 255, "name": "notEquals method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 255, "name": "notEquals method should be a function", "ok": true, }, ], Array [ "line", "ok 256 should have unsimilar method\\n", ], Array [ "assert", Result { "fullname": "", "id": 256, "name": "should have unsimilar method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 256, "name": "should have unsimilar method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 256, "name": "should have unsimilar method", "ok": true, }, ], Array [ "line", "ok 257 unsimilar method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 257, "name": "unsimilar method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 257, "name": "unsimilar method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 257, "name": "unsimilar method should be a function", "ok": true, }, ], Array [ "line", "ok 258 should have result method\\n", ], Array [ "assert", Result { "fullname": "", "id": 258, "name": "should have result method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 258, "name": "should have result method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 258, "name": "should have result method", "ok": true, }, ], Array [ "line", "ok 259 result method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 259, "name": "result method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 259, "name": "result method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 259, "name": "result method should be a function", "ok": true, }, ], Array [ "line", "ok 260 should have doesNotThrow method\\n", ], Array [ "assert", Result { "fullname": "", "id": 260, "name": "should have doesNotThrow method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 260, "name": "should have doesNotThrow method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 260, "name": "should have doesNotThrow method", "ok": true, }, ], Array [ "line", "ok 261 doesNotThrow method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 261, "name": "doesNotThrow method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 261, "name": "doesNotThrow method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 261, "name": "doesNotThrow method should be a function", "ok": true, }, ], Array [ "line", "ok 262 should have error method\\n", ], Array [ "assert", Result { "fullname": "", "id": 262, "name": "should have error method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 262, "name": "should have error method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 262, "name": "should have error method", "ok": true, }, ], Array [ "line", "ok 263 error method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 263, "name": "error method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 263, "name": "error method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 263, "name": "error method should be a function", "ok": true, }, ], Array [ "line", "ok 264 should have constructor method\\n", ], Array [ "assert", Result { "fullname": "", "id": 264, "name": "should have constructor method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 264, "name": "should have constructor method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 264, "name": "should have constructor method", "ok": true, }, ], Array [ "line", "ok 265 constructor method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 265, "name": "constructor method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 265, "name": "constructor method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 265, "name": "constructor method should be a function", "ok": true, }, ], Array [ "line", "ok 266 should have notEqual method\\n", ], Array [ "assert", Result { "fullname": "", "id": 266, "name": "should have notEqual method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 266, "name": "should have notEqual method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 266, "name": "should have notEqual method", "ok": true, }, ], Array [ "line", "ok 267 notEqual method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 267, "name": "notEqual method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 267, "name": "notEqual method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 267, "name": "notEqual method should be a function", "ok": true, }, ], Array [ "line", "ok 268 should have throws method\\n", ], Array [ "assert", Result { "fullname": "", "id": 268, "name": "should have throws method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 268, "name": "should have throws method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 268, "name": "should have throws method", "ok": true, }, ], Array [ "line", "ok 269 throws method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 269, "name": "throws method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 269, "name": "throws method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 269, "name": "throws method should be a function", "ok": true, }, ], Array [ "line", "ok 270 should have isLike method\\n", ], Array [ "assert", Result { "fullname": "", "id": 270, "name": "should have isLike method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 270, "name": "should have isLike method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 270, "name": "should have isLike method", "ok": true, }, ], Array [ "line", "ok 271 isLike method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 271, "name": "isLike method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 271, "name": "isLike method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 271, "name": "isLike method should be a function", "ok": true, }, ], Array [ "line", "ok 272 should have isNotSimilar method\\n", ], Array [ "assert", Result { "fullname": "", "id": 272, "name": "should have isNotSimilar method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 272, "name": "should have isNotSimilar method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 272, "name": "should have isNotSimilar method", "ok": true, }, ], Array [ "line", "ok 273 isNotSimilar method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 273, "name": "isNotSimilar method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 273, "name": "isNotSimilar method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 273, "name": "isNotSimilar method should be a function", "ok": true, }, ], Array [ "line", "ok 274 should have isNotEquivalent method\\n", ], Array [ "assert", Result { "fullname": "", "id": 274, "name": "should have isNotEquivalent method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 274, "name": "should have isNotEquivalent method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 274, "name": "should have isNotEquivalent method", "ok": true, }, ], Array [ "line", "ok 275 isNotEquivalent method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 275, "name": "isNotEquivalent method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 275, "name": "isNotEquivalent method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 275, "name": "isNotEquivalent method should be a function", "ok": true, }, ], Array [ "line", "ok 276 should have inequal method\\n", ], Array [ "assert", Result { "fullname": "", "id": 276, "name": "should have inequal method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 276, "name": "should have inequal method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 276, "name": "should have inequal method", "ok": true, }, ], Array [ "line", "ok 277 inequal method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 277, "name": "inequal method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 277, "name": "inequal method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 277, "name": "inequal method should be a function", "ok": true, }, ], Array [ "line", "ok 278 should have notEquivalent method\\n", ], Array [ "assert", Result { "fullname": "", "id": 278, "name": "should have notEquivalent method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 278, "name": "should have notEquivalent method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 278, "name": "should have notEquivalent method", "ok": true, }, ], Array [ "line", "ok 279 notEquivalent method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 279, "name": "notEquivalent method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 279, "name": "notEquivalent method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 279, "name": "notEquivalent method should be a function", "ok": true, }, ], Array [ "line", "ok 280 should have isNotLike method\\n", ], Array [ "assert", Result { "fullname": "", "id": 280, "name": "should have isNotLike method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 280, "name": "should have isNotLike method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 280, "name": "should have isNotLike method", "ok": true, }, ], Array [ "line", "ok 281 isNotLike method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 281, "name": "isNotLike method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 281, "name": "isNotLike method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 281, "name": "isNotLike method should be a function", "ok": true, }, ], Array [ "line", "ok 282 should have equivalent method\\n", ], Array [ "assert", Result { "fullname": "", "id": 282, "name": "should have equivalent method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 282, "name": "should have equivalent method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 282, "name": "should have equivalent method", "ok": true, }, ], Array [ "line", "ok 283 equivalent method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 283, "name": "equivalent method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 283, "name": "equivalent method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 283, "name": "equivalent method should be a function", "ok": true, }, ], Array [ "line", "ok 284 should have looseEqual method\\n", ], Array [ "assert", Result { "fullname": "", "id": 284, "name": "should have looseEqual method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 284, "name": "should have looseEqual method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 284, "name": "should have looseEqual method", "ok": true, }, ], Array [ "line", "ok 285 looseEqual method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 285, "name": "looseEqual method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 285, "name": "looseEqual method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 285, "name": "looseEqual method should be a function", "ok": true, }, ], Array [ "line", "ok 286 should have equal method\\n", ], Array [ "assert", Result { "fullname": "", "id": 286, "name": "should have equal method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 286, "name": "should have equal method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 286, "name": "should have equal method", "ok": true, }, ], Array [ "line", "ok 287 equal method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 287, "name": "equal method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 287, "name": "equal method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 287, "name": "equal method should be a function", "ok": true, }, ], Array [ "line", "ok 288 should have unlike method\\n", ], Array [ "assert", Result { "fullname": "", "id": 288, "name": "should have unlike method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 288, "name": "should have unlike method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 288, "name": "should have unlike method", "ok": true, }, ], Array [ "line", "ok 289 unlike method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 289, "name": "unlike method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 289, "name": "unlike method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 289, "name": "unlike method should be a function", "ok": true, }, ], Array [ "line", "ok 290 should have doesNotHave method\\n", ], Array [ "assert", Result { "fullname": "", "id": 290, "name": "should have doesNotHave method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 290, "name": "should have doesNotHave method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 290, "name": "should have doesNotHave method", "ok": true, }, ], Array [ "line", "ok 291 doesNotHave method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 291, "name": "doesNotHave method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 291, "name": "doesNotHave method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 291, "name": "doesNotHave method should be a function", "ok": true, }, ], Array [ "line", "ok 292 should have comment method\\n", ], Array [ "assert", Result { "fullname": "", "id": 292, "name": "should have comment method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 292, "name": "should have comment method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 292, "name": "should have comment method", "ok": true, }, ], Array [ "line", "ok 293 comment method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 293, "name": "comment method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 293, "name": "comment method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 293, "name": "comment method should be a function", "ok": true, }, ], Array [ "line", "ok 294 should have isa method\\n", ], Array [ "assert", Result { "fullname": "", "id": 294, "name": "should have isa method", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 294, "name": "should have isa method", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 294, "name": "should have isa method", "ok": true, }, ], Array [ "line", "ok 295 isa method should be a function\\n", ], Array [ "assert", Result { "fullname": "", "id": 295, "name": "isa method should be a function", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 295, "name": "isa method should be a function", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 295, "name": "isa method should be a function", "ok": true, }, ], Array [ "line", "# tests 147\\n", ], Array [ "comment", "# tests 147\\n", ], Array [ "line", "# pass 147\\n", ], Array [ "comment", "# pass 147\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 296 test/test-test.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 296, "name": "test/test-test.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 296, "name": "test/test-test.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 296, "name": "test/test-test.js", "ok": true, }, ], Array [ "line", "# timeout.js\\n", ], Array [ "comment", "# timeout.js\\n", ], Array [ "line", "timeout test\\n", ], Array [ "extra", "timeout test\\n", ], Array [ "line", "t.plan=2\\n", ], Array [ "extra", "t.plan=2\\n", ], Array [ "line", "a assert\\n", ], Array [ "extra", "a assert\\n", ], Array [ "line", "b assert\\n", ], Array [ "extra", "b assert\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# timeout test with plan only\\n", ], Array [ "comment", "# timeout test with plan only\\n", ], Array [ "line", "ok 297 a\\n", ], Array [ "assert", Result { "fullname": "", "id": 297, "name": "a", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 297, "name": "a", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 297, "name": "a", "ok": true, }, ], Array [ "line", "timeout test\\n", ], Array [ "extra", "timeout test\\n", ], Array [ "line", "t.plan=2\\n", ], Array [ "extra", "t.plan=2\\n", ], Array [ "line", "a assert\\n", ], Array [ "extra", "a assert\\n", ], Array [ "line", "b assert\\n", ], Array [ "extra", "b assert\\n", ], Array [ "line", "ok 298 b\\n", ], Array [ "assert", Result { "fullname": "", "id": 298, "name": "b", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 298, "name": "b", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 298, "name": "b", "ok": true, }, ], Array [ "line", "# timeout test with plan and end\\n", ], Array [ "comment", "# timeout test with plan and end\\n", ], Array [ "line", "ok 299 a\\n", ], Array [ "assert", Result { "fullname": "", "id": 299, "name": "a", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 299, "name": "a", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 299, "name": "a", "ok": true, }, ], Array [ "line", "ok 300 b\\n", ], Array [ "assert", Result { "fullname": "", "id": 300, "name": "b", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 300, "name": "b", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 300, "name": "b", "ok": true, }, ], Array [ "line", "# tests 4\\n", ], Array [ "comment", "# tests 4\\n", ], Array [ "line", "# pass 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 301 test/timeout.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 301, "name": "test/timeout.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 301, "name": "test/timeout.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 301, "name": "test/timeout.js", "ok": true, }, ], Array [ "line", "# trivial-success.js\\n", ], Array [ "comment", "# trivial-success.js\\n", ], Array [ "line", "ok 302 test/trivial-success.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 302, "name": "test/trivial-success.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 302, "name": "test/trivial-success.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 302, "name": "test/trivial-success.js", "ok": true, }, ], Array [ "line", "# undefined_indented.js\\n", ], Array [ "comment", "# undefined_indented.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# consume yaml\\n", ], Array [ "comment", "# consume yaml\\n", ], Array [ "line", "ok 303 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 303, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 303, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 303, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# tests 1\\n", ], Array [ "comment", "# tests 1\\n", ], Array [ "line", "# pass 1\\n", ], Array [ "comment", "# pass 1\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 304 test/undefined_indented.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 304, "name": "test/undefined_indented.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 304, "name": "test/undefined_indented.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 304, "name": "test/undefined_indented.js", "ok": true, }, ], Array [ "line", "# valid-command.js\\n", ], Array [ "comment", "# valid-command.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# valid command\\n", ], Array [ "comment", "# valid command\\n", ], Array [ "line", "ok 305 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 305, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 305, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 305, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "ok 306 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 306, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 306, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 306, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "ok 307 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 307, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 307, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 307, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "ok 308 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 308, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 308, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 308, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "ok 309 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 309, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 309, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 309, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "ok 310 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 310, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 310, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 310, "name": "should be equal", "ok": true, }, ], Array [ "line", "# tests 6\\n", ], Array [ "comment", "# tests 6\\n", ], Array [ "line", "# pass 6\\n", ], Array [ "comment", "# pass 6\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 311 test/valid-command.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 311, "name": "test/valid-command.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 311, "name": "test/valid-command.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 311, "name": "test/valid-command.js", "ok": true, }, ], Array [ "line", "1..311\\n", ], Array [ "plan", Object { "end": 311, "start": 1, }, ], Array [ "line", "# tests 311\\n", ], Array [ "comment", "# tests 311\\n", ], Array [ "line", "# pass 297\\n", ], Array [ "comment", "# pass 297\\n", ], Array [ "line", "# fail 5\\n", ], Array [ "comment", "# fail 5\\n", ], Array [ "line", "# skip 5\\n", ], Array [ "comment", "# skip 5\\n", ], Array [ "line", "# todo 4\\n", ], Array [ "comment", "# todo 4\\n", ], Array [ "line", "# failed 5 of 311 tests\\n", ], Array [ "comment", "# failed 5 of 311 tests\\n", ], Array [ "line", "# todo: 4\\n", ], Array [ "comment", "# todo: 4\\n", ], Array [ "line", "# skip: 5\\n", ], Array [ "comment", "# skip: 5\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 311, "fail": 5, "failures": Array [ Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 114, "name": "captures TODO description", "ok": false, }, Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 119, "name": "captures TODO description", "ok": false, }, Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 121, "name": "summarizes skipped count", "ok": false, }, Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 122, "name": "summarizes todo count", "ok": false, }, Result { "diag": Object { "command": "/usr/local/bin/iojs test-descriptions.js", "exit": 1, }, "fullname": "", "id": 123, "name": "test/test-descriptions.js", "ok": false, }, ], "ok": false, "pass": 306, "plan": FinalPlan { "comment": "", "end": 311, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 5, "time": null, "todo": 4, }, ], ] ` exports[`test/parser.js TAP tap-tests.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# buffer_compare.js\\n", ], Array [ "comment", "# buffer_compare.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# same buffers\\n", ], Array [ "comment", "# same buffers\\n", ], Array [ "line", "ok 1 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# not same buffers\\n", ], Array [ "comment", "# not same buffers\\n", ], Array [ "line", "ok 2 should not be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should not be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "should not be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "should not be equivalent", "ok": true, }, ], Array [ "line", "# tests 2\\n", ], Array [ "comment", "# tests 2\\n", ], Array [ "line", "# pass 2\\n", ], Array [ "comment", "# pass 2\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 3 test/buffer_compare.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "test/buffer_compare.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "test/buffer_compare.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "test/buffer_compare.js", "ok": true, }, ], Array [ "line", "# common.js\\n", ], Array [ "comment", "# common.js\\n", ], Array [ "line", "ok 4 just setup, nothing relevant\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "just setup, nothing relevant", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "name": "just setup, nothing relevant", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "name": "just setup, nothing relevant", "ok": true, }, ], Array [ "line", "ok 5 test/common.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "test/common.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 5, "name": "test/common.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 5, "name": "test/common.js", "ok": true, }, ], Array [ "line", "# consumer.js\\n", ], Array [ "comment", "# consumer.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# basic.tap\\n", ], Array [ "comment", "# basic.tap\\n", ], Array [ "line", "ok 6 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 6, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 6, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 6, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# indent.tap\\n", ], Array [ "comment", "# indent.tap\\n", ], Array [ "line", "ok 7 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 7, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 7, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 7, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# missing.tap\\n", ], Array [ "comment", "# missing.tap\\n", ], Array [ "line", "ok 8 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 8, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 8, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 8, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# skip-all.tap\\n", ], Array [ "comment", "# skip-all.tap\\n", ], Array [ "line", "ok 9 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 9, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# yamlish.tap\\n", ], Array [ "comment", "# yamlish.tap\\n", ], Array [ "line", "ok 10 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 10, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 10, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 10, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# tests 5\\n", ], Array [ "comment", "# tests 5\\n", ], Array [ "line", "# pass 5\\n", ], Array [ "comment", "# pass 5\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 11 test/consumer.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 11, "name": "test/consumer.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 11, "name": "test/consumer.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 11, "name": "test/consumer.js", "ok": true, }, ], Array [ "line", "# debug-test.js\\n", ], Array [ "comment", "# debug-test.js\\n", ], Array [ "line", "debug test\\n", ], Array [ "extra", "debug test\\n", ], Array [ "line", "t.plan=1\\n", ], Array [ "extra", "t.plan=1\\n", ], Array [ "line", "'Debugger listening on port 5858\\\\n'\\n", ], Array [ "extra", "'Debugger listening on port 5858\\\\n'\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# debug test\\n", ], Array [ "comment", "# debug test\\n", ], Array [ "line", "ok 12 Should output debugger message\\n", ], Array [ "assert", Result { "fullname": "", "id": 12, "name": "Should output debugger message", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 12, "name": "Should output debugger message", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 12, "name": "Should output debugger message", "ok": true, }, ], Array [ "line", "# tests 1\\n", ], Array [ "comment", "# tests 1\\n", ], Array [ "line", "# pass 1\\n", ], Array [ "comment", "# pass 1\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 13 test/debug-test.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 13, "name": "test/debug-test.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 13, "name": "test/debug-test.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 13, "name": "test/debug-test.js", "ok": true, }, ], Array [ "line", "# deep-strict.js\\n", ], Array [ "comment", "# deep-strict.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# strictDeepEquals shouldn't care about key order\\n", ], Array [ "comment", "# strictDeepEquals shouldn't care about key order\\n", ], Array [ "line", "ok 14 should be strictly equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 14, "name": "should be strictly equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 14, "name": "should be strictly equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 14, "name": "should be strictly equal", "ok": true, }, ], Array [ "line", "# strictDeepEquals shouldn't care about key order recursively\\n", ], Array [ "comment", "# strictDeepEquals shouldn't care about key order recursively\\n", ], Array [ "line", "ok 15 should be strictly equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 15, "name": "should be strictly equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 15, "name": "should be strictly equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 15, "name": "should be strictly equal", "ok": true, }, ], Array [ "line", "# strictDeepEquals shoudn't care about key order (but still might)\\n", ], Array [ "comment", "# strictDeepEquals shoudn't care about key order (but still might)\\n", ], Array [ "line", "ok 16 should be strictly equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 16, "name": "should be strictly equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 16, "name": "should be strictly equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 16, "name": "should be strictly equal", "ok": true, }, ], Array [ "line", "# tests 3\\n", ], Array [ "comment", "# tests 3\\n", ], Array [ "line", "# pass 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 17 test/deep-strict.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 17, "name": "test/deep-strict.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 17, "name": "test/deep-strict.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 17, "name": "test/deep-strict.js", "ok": true, }, ], Array [ "line", "# deep.js\\n", ], Array [ "comment", "# deep.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# deepEquals shouldn't care about key order and types\\n", ], Array [ "comment", "# deepEquals shouldn't care about key order and types\\n", ], Array [ "line", "ok 18 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 18, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 18, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 18, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# deepEquals shouldn't care about key order recursively and types\\n", ], Array [ "comment", "# deepEquals shouldn't care about key order recursively and types\\n", ], Array [ "line", "ok 19 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 19, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 19, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 19, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# deepEquals shoudn't care about key order (but still might) and types\\n", ], Array [ "comment", "# deepEquals shoudn't care about key order (but still might) and types\\n", ], Array [ "line", "ok 20 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 20, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 20, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 20, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# tests 3\\n", ], Array [ "comment", "# tests 3\\n", ], Array [ "line", "# pass 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 21 test/deep.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 21, "name": "test/deep.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 21, "name": "test/deep.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 21, "name": "test/deep.js", "ok": true, }, ], Array [ "line", "# executed.sh\\n", ], Array [ "comment", "# executed.sh\\n", ], Array [ "line", "ok 22 File with executable bit should be executed\\n", ], Array [ "assert", Result { "fullname": "", "id": 22, "name": "File with executable bit should be executed", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 22, "name": "File with executable bit should be executed", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 22, "name": "File with executable bit should be executed", "ok": true, }, ], Array [ "line", "ok 23 test/executed.sh\\n", ], Array [ "assert", Result { "fullname": "", "id": 23, "name": "test/executed.sh", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 23, "name": "test/executed.sh", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 23, "name": "test/executed.sh", "ok": true, }, ], Array [ "line", "# exit-code.js\\n", ], Array [ "comment", "# exit-code.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# exit code 1 when tap results show failure\\n", ], Array [ "comment", "# exit code 1 when tap results show failure\\n", ], Array [ "line", "# test exits 0, has failures\\n", ], Array [ "comment", "# test exits 0, has failures\\n", ], Array [ "line", "ok 24 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 24, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 24, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 24, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 25 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 25, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 25, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 25, "name": "should be equal", "ok": true, }, ], Array [ "line", "# test exits 1, has failures\\n", ], Array [ "comment", "# test exits 1, has failures\\n", ], Array [ "line", "ok 26 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 26, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 26, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 26, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 27 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 27, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 27, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 27, "name": "should be equal", "ok": true, }, ], Array [ "line", "# test exits 1, has no failures\\n", ], Array [ "comment", "# test exits 1, has no failures\\n", ], Array [ "line", "ok 28 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 28, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 28, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 28, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 29 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 29, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 29, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 29, "name": "should be equal", "ok": true, }, ], Array [ "line", "# successes exit 0\\n", ], Array [ "comment", "# successes exit 0\\n", ], Array [ "line", "# test that does nothing, but exits 0\\n", ], Array [ "comment", "# test that does nothing, but exits 0\\n", ], Array [ "line", "ok 30 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 30, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 30, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 30, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 31 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 31, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 31, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 31, "name": "should be equal", "ok": true, }, ], Array [ "line", "# test that succeeds, and exits 0\\n", ], Array [ "comment", "# test that succeeds, and exits 0\\n", ], Array [ "line", "ok 32 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 32, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 32, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 32, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 33 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 33, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 33, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 33, "name": "should be equal", "ok": true, }, ], Array [ "line", "# tests 10\\n", ], Array [ "comment", "# tests 10\\n", ], Array [ "line", "# pass 10\\n", ], Array [ "comment", "# pass 10\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 34 test/exit-code.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 34, "name": "test/exit-code.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 34, "name": "test/exit-code.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 34, "name": "test/exit-code.js", "ok": true, }, ], Array [ "line", "# expose-gc-test.js\\n", ], Array [ "comment", "# expose-gc-test.js\\n", ], Array [ "line", "gc test\\n", ], Array [ "extra", "gc test\\n", ], Array [ "line", "t.plan=1\\n", ], Array [ "extra", "t.plan=1\\n", ], Array [ "line", "assert gc does not exist\\n", ], Array [ "extra", "assert gc does not exist\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# gc test when the gc isn't there\\n", ], Array [ "comment", "# gc test when the gc isn't there\\n", ], Array [ "line", "gc test\\n", ], Array [ "extra", "gc test\\n", ], Array [ "line", "t.plan=2\\n", ], Array [ "extra", "t.plan=2\\n", ], Array [ "line", "gc test using --gc\\n", ], Array [ "extra", "gc test using --gc\\n", ], Array [ "line", "t.plan=1\\n", ], Array [ "extra", "t.plan=1\\n", ], Array [ "line", "assert gc exists\\n", ], Array [ "extra", "assert gc exists\\n", ], Array [ "line", "gc test using --expose-gc\\n", ], Array [ "extra", "gc test using --expose-gc\\n", ], Array [ "line", "t.plan=1\\n", ], Array [ "extra", "t.plan=1\\n", ], Array [ "line", "assert gc exists\\n", ], Array [ "extra", "assert gc exists\\n", ], Array [ "line", "ok 35 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 35, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 35, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 35, "name": "should be equal", "ok": true, }, ], Array [ "line", "# gc test when the gc should be there\\n", ], Array [ "comment", "# gc test when the gc should be there\\n", ], Array [ "line", "# test for gc using --gc\\n", ], Array [ "comment", "# test for gc using --gc\\n", ], Array [ "line", "ok 36 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 36, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 36, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 36, "name": "should be equal", "ok": true, }, ], Array [ "line", "# test for gc using --expose-gc\\n", ], Array [ "comment", "# test for gc using --expose-gc\\n", ], Array [ "line", "ok 37 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 37, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 37, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 37, "name": "should be equal", "ok": true, }, ], Array [ "line", "# cleanup\\n", ], Array [ "comment", "# cleanup\\n", ], Array [ "line", "# tests 3\\n", ], Array [ "comment", "# tests 3\\n", ], Array [ "line", "# pass 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 38 test/expose-gc-test.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 38, "name": "test/expose-gc-test.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 38, "name": "test/expose-gc-test.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 38, "name": "test/expose-gc-test.js", "ok": true, }, ], Array [ "line", "# global-harness-async.js\\n", ], Array [ "comment", "# global-harness-async.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# outer\\n", ], Array [ "comment", "# outer\\n", ], Array [ "line", "# inner 1\\n", ], Array [ "comment", "# inner 1\\n", ], Array [ "line", "ok 39 1-1\\n", ], Array [ "assert", Result { "fullname": "", "id": 39, "name": "1-1", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 39, "name": "1-1", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 39, "name": "1-1", "ok": true, }, ], Array [ "line", "# inner 2\\n", ], Array [ "comment", "# inner 2\\n", ], Array [ "line", "ok 40 2-1\\n", ], Array [ "assert", Result { "fullname": "", "id": 40, "name": "2-1", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 40, "name": "2-1", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 40, "name": "2-1", "ok": true, }, ], Array [ "line", "# inner 3\\n", ], Array [ "comment", "# inner 3\\n", ], Array [ "line", "ok 41 3-1\\n", ], Array [ "assert", Result { "fullname": "", "id": 41, "name": "3-1", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 41, "name": "3-1", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 41, "name": "3-1", "ok": true, }, ], Array [ "line", "ok 42 test/global-harness-async.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 42, "name": "test/global-harness-async.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 42, "name": "test/global-harness-async.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 42, "name": "test/global-harness-async.js", "ok": true, }, ], Array [ "line", "# independent-timeouts.js\\n", ], Array [ "comment", "# independent-timeouts.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# finishes in time\\n", ], Array [ "comment", "# finishes in time\\n", ], Array [ "line", "# finishes in time too\\n", ], Array [ "comment", "# finishes in time too\\n", ], Array [ "line", "# tests 0\\n", ], Array [ "comment", "# tests 0\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 43 test/independent-timeouts.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 43, "name": "test/independent-timeouts.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 43, "name": "test/independent-timeouts.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 43, "name": "test/independent-timeouts.js", "ok": true, }, ], Array [ "line", "# isolated-conf-test.js\\n", ], Array [ "comment", "# isolated-conf-test.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# one\\n", ], Array [ "comment", "# one\\n", ], Array [ "line", "ok 44 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 44, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 44, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 44, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 45 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 45, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 45, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 45, "name": "should be equal", "ok": true, }, ], Array [ "line", "# two\\n", ], Array [ "comment", "# two\\n", ], Array [ "line", "ok 46 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 46, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 46, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 46, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 47 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 47, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 47, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 47, "name": "should be equal", "ok": true, }, ], Array [ "line", "# tests 4\\n", ], Array [ "comment", "# tests 4\\n", ], Array [ "line", "# pass 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 48 test/isolated-conf-test.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 48, "name": "test/isolated-conf-test.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 48, "name": "test/isolated-conf-test.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 48, "name": "test/isolated-conf-test.js", "ok": true, }, ], Array [ "line", "# meta-test.js\\n", ], Array [ "comment", "# meta-test.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# meta test\\n", ], Array [ "comment", "# meta test\\n", ], Array [ "line", "ok 49 sanity check\\n", ], Array [ "assert", Result { "fullname": "", "id": 49, "name": "sanity check", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 49, "name": "sanity check", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 49, "name": "sanity check", "ok": true, }, ], Array [ "line", "ok 50 not ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 50, "name": "not ok", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 50, "name": "not ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 50, "name": "not ok", "ok": true, }, ], Array [ "line", "ok 51 total test count\\n", ], Array [ "assert", Result { "fullname": "", "id": 51, "name": "total test count", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 51, "name": "total test count", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 51, "name": "total test count", "ok": true, }, ], Array [ "line", "ok 52 tests passed\\n", ], Array [ "assert", Result { "fullname": "", "id": 52, "name": "tests passed", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 52, "name": "tests passed", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 52, "name": "tests passed", "ok": true, }, ], Array [ "line", "ok 53 tests failed\\n", ], Array [ "assert", Result { "fullname": "", "id": 53, "name": "tests failed", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 53, "name": "tests failed", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 53, "name": "tests failed", "ok": true, }, ], Array [ "line", "ok 54 ok is boolean\\n", ], Array [ "assert", Result { "fullname": "", "id": 54, "name": "ok is boolean", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 54, "name": "ok is boolean", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 54, "name": "ok is boolean", "ok": true, }, ], Array [ "line", "ok 55 skip is number\\n", ], Array [ "assert", Result { "fullname": "", "id": 55, "name": "skip is number", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 55, "name": "skip is number", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 55, "name": "skip is number", "ok": true, }, ], Array [ "line", "ok 56 results isa Results\\n", ], Array [ "assert", Result { "fullname": "", "id": 56, "name": "results isa Results", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 56, "name": "results isa Results", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 56, "name": "results isa Results", "ok": true, }, ], Array [ "line", "ok 57 test isa Test\\n", ], Array [ "assert", Result { "fullname": "", "id": 57, "name": "test isa Test", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 57, "name": "test isa Test", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 57, "name": "test isa Test", "ok": true, }, ], Array [ "line", "ok 58 test isa Harness\\n", ], Array [ "assert", Result { "fullname": "", "id": 58, "name": "test isa Harness", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 58, "name": "test isa Harness", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 58, "name": "test isa Harness", "ok": true, }, ], Array [ "line", "# tests 10\\n", ], Array [ "comment", "# tests 10\\n", ], Array [ "line", "# pass 10\\n", ], Array [ "comment", "# pass 10\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 59 test/meta-test.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 59, "name": "test/meta-test.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 59, "name": "test/meta-test.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 59, "name": "test/meta-test.js", "ok": true, }, ], Array [ "line", "# nested-async.js\\n", ], Array [ "comment", "# nested-async.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# Harness async test support\\n", ], Array [ "comment", "# Harness async test support\\n", ], Array [ "line", "ok 60 sync child A\\n", ], Array [ "assert", Result { "fullname": "", "id": 60, "name": "sync child A", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 60, "name": "sync child A", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 60, "name": "sync child A", "ok": true, }, ], Array [ "line", "# sync child B\\n", ], Array [ "comment", "# sync child B\\n", ], Array [ "line", "# async grandchild A\\n", ], Array [ "comment", "# async grandchild A\\n", ], Array [ "line", "ok 61 (unnamed assert)\\n", ], Array [ "assert", Result { "fullname": "", "id": 61, "name": "(unnamed assert)", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 61, "name": "(unnamed assert)", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 61, "name": "(unnamed assert)", "ok": true, }, ], Array [ "line", "# async grandchild B\\n", ], Array [ "comment", "# async grandchild B\\n", ], Array [ "line", "ok 62 (unnamed assert)\\n", ], Array [ "assert", Result { "fullname": "", "id": 62, "name": "(unnamed assert)", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 62, "name": "(unnamed assert)", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 62, "name": "(unnamed assert)", "ok": true, }, ], Array [ "line", "# async child\\n", ], Array [ "comment", "# async child\\n", ], Array [ "line", "ok 63 sync grandchild in async child A\\n", ], Array [ "assert", Result { "fullname": "", "id": 63, "name": "sync grandchild in async child A", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 63, "name": "sync grandchild in async child A", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 63, "name": "sync grandchild in async child A", "ok": true, }, ], Array [ "line", "# sync grandchild in async child B\\n", ], Array [ "comment", "# sync grandchild in async child B\\n", ], Array [ "line", "ok 64 (unnamed assert)\\n", ], Array [ "assert", Result { "fullname": "", "id": 64, "name": "(unnamed assert)", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 64, "name": "(unnamed assert)", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 64, "name": "(unnamed assert)", "ok": true, }, ], Array [ "line", "# tests 5\\n", ], Array [ "comment", "# tests 5\\n", ], Array [ "line", "# pass 5\\n", ], Array [ "comment", "# pass 5\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 65 test/nested-async.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 65, "name": "test/nested-async.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 65, "name": "test/nested-async.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 65, "name": "test/nested-async.js", "ok": true, }, ], Array [ "line", "# nested-test.js\\n", ], Array [ "comment", "# nested-test.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# parent\\n", ], Array [ "comment", "# parent\\n", ], Array [ "line", "ok 66 p test\\n", ], Array [ "assert", Result { "fullname": "", "id": 66, "name": "p test", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 66, "name": "p test", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 66, "name": "p test", "ok": true, }, ], Array [ "line", "# subtest\\n", ], Array [ "comment", "# subtest\\n", ], Array [ "line", "ok 67 ch test\\n", ], Array [ "assert", Result { "fullname": "", "id": 67, "name": "ch test", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 67, "name": "ch test", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 67, "name": "ch test", "ok": true, }, ], Array [ "line", "# nested subtest\\n", ], Array [ "comment", "# nested subtest\\n", ], Array [ "line", "ok 68 grch test\\n", ], Array [ "assert", Result { "fullname": "", "id": 68, "name": "grch test", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 68, "name": "grch test", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 68, "name": "grch test", "ok": true, }, ], Array [ "line", "# another subtest\\n", ], Array [ "comment", "# another subtest\\n", ], Array [ "line", "ok 69 ch test 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 69, "name": "ch test 2", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 69, "name": "ch test 2", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 69, "name": "ch test 2", "ok": true, }, ], Array [ "line", "# tests 4\\n", ], Array [ "comment", "# tests 4\\n", ], Array [ "line", "# pass 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 70 test/nested-test.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 70, "name": "test/nested-test.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 70, "name": "test/nested-test.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 70, "name": "test/nested-test.js", "ok": true, }, ], Array [ "line", "# non-tap-output.js\\n", ], Array [ "comment", "# non-tap-output.js\\n", ], Array [ "line", "# everything is fine\\n", ], Array [ "comment", "# everything is fine\\n", ], Array [ "line", "# there are no errors\\n", ], Array [ "comment", "# there are no errors\\n", ], Array [ "line", "# this output is not haiku.\\n", ], Array [ "comment", "# this output is not haiku.\\n", ], Array [ "line", "# is 8 ok?\\n", ], Array [ "comment", "# is 8 ok?\\n", ], Array [ "line", "ok 71 , 8 can stay.\\n", ], Array [ "assert", Result { "fullname": "", "id": 71, "name": ", 8 can stay.", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 71, "name": ", 8 can stay.", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 71, "name": ", 8 can stay.", "ok": true, }, ], Array [ "line", "# but: nevertheless, here we are\\n", ], Array [ "comment", "# but: nevertheless, here we are\\n", ], Array [ "line", "# this: is indented\\n", ], Array [ "comment", "# this: is indented\\n", ], Array [ "line", "# and: it\\n", ], Array [ "comment", "# and: it\\n", ], Array [ "line", "# might: ~\\n", ], Array [ "comment", "# might: ~\\n", ], Array [ "line", "# be: yaml?\\n", ], Array [ "comment", "# be: yaml?\\n", ], Array [ "line", "ok 72 might be confusing\\n", ], Array [ "assert", Result { "fullname": "", "id": 72, "name": "might be confusing", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 72, "name": "might be confusing", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 72, "name": "might be confusing", "ok": true, }, ], Array [ "line", "ok 73 done now, exiting\\n", ], Array [ "assert", Result { "fullname": "", "id": 73, "name": "done now, exiting", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 73, "name": "done now, exiting", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 73, "name": "done now, exiting", "ok": true, }, ], Array [ "line", "ok 74 test/non-tap-output.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 74, "name": "test/non-tap-output.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 74, "name": "test/non-tap-output.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 74, "name": "test/non-tap-output.js", "ok": true, }, ], Array [ "line", "# not-executed.sh\\n", ], Array [ "comment", "# not-executed.sh\\n", ], Array [ "line", "# output-childtest-description.js\\n", ], Array [ "comment", "# output-childtest-description.js\\n", ], Array [ "line", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\\n", ], Array [ "comment", "# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# nested tests, parent and child pass\\n", ], Array [ "comment", "# nested tests, parent and child pass\\n", ], Array [ "line", "ok 75 outputs parent description\\n", ], Array [ "assert", Result { "fullname": "", "id": 75, "name": "outputs parent description", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 75, "name": "outputs parent description", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 75, "name": "outputs parent description", "ok": true, }, ], Array [ "line", "ok 76 outputs child description\\n", ], Array [ "assert", Result { "fullname": "", "id": 76, "name": "outputs child description", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 76, "name": "outputs child description", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 76, "name": "outputs child description", "ok": true, }, ], Array [ "line", "ok 77 outputs parent description before parent result\\n", ], Array [ "assert", Result { "fullname": "", "id": 77, "name": "outputs parent description before parent result", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 77, "name": "outputs parent description before parent result", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 77, "name": "outputs parent description before parent result", "ok": true, }, ], Array [ "line", "ok 78 outputs parent result before child description\\n", ], Array [ "assert", Result { "fullname": "", "id": 78, "name": "outputs parent result before child description", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 78, "name": "outputs parent result before child description", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 78, "name": "outputs parent result before child description", "ok": true, }, ], Array [ "line", "ok 79 outputs child description before child result\\n", ], Array [ "assert", Result { "fullname": "", "id": 79, "name": "outputs child description before child result", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 79, "name": "outputs child description before child result", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 79, "name": "outputs child description before child result", "ok": true, }, ], Array [ "line", "# tests 5\\n", ], Array [ "comment", "# tests 5\\n", ], Array [ "line", "# pass 5\\n", ], Array [ "comment", "# pass 5\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 80 test/output-childtest-description.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 80, "name": "test/output-childtest-description.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 80, "name": "test/output-childtest-description.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 80, "name": "test/output-childtest-description.js", "ok": true, }, ], Array [ "line", "# result-trap.js\\n", ], Array [ "comment", "# result-trap.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# trap result\\n", ], Array [ "comment", "# trap result\\n", ], Array [ "line", "ok 81 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 81, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 81, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 81, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 82 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 82, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 82, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 82, "name": "should be equal", "ok": true, }, ], Array [ "line", "# tests 2\\n", ], Array [ "comment", "# tests 2\\n", ], Array [ "line", "# pass 2\\n", ], Array [ "comment", "# pass 2\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 83 test/result-trap.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 83, "name": "test/result-trap.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 83, "name": "test/result-trap.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 83, "name": "test/result-trap.js", "ok": true, }, ], Array [ "line", "# segv.js\\n", ], Array [ "comment", "# segv.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# setup\\n", ], Array [ "comment", "# setup\\n", ], Array [ "line", "ok 84 compiled seg faulter\\n", ], Array [ "assert", Result { "fullname": "", "id": 84, "name": "compiled seg faulter", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 84, "name": "compiled seg faulter", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 84, "name": "compiled seg faulter", "ok": true, }, ], Array [ "line", "# segv\\n", ], Array [ "comment", "# segv\\n", ], Array [ "line", "ok 85 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 85, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 85, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 85, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "ok 86 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 86, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 86, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 86, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "ok 87 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 87, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 87, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 87, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "ok 88 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 88, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 88, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 88, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "ok 89 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 89, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 89, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 89, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "ok 90 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 90, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 90, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 90, "name": "should be equal", "ok": true, }, ], Array [ "line", "# cleanup\\n", ], Array [ "comment", "# cleanup\\n", ], Array [ "line", "ok 91 cleaned up\\n", ], Array [ "assert", Result { "fullname": "", "id": 91, "name": "cleaned up", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 91, "name": "cleaned up", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 91, "name": "cleaned up", "ok": true, }, ], Array [ "line", "# tests 8\\n", ], Array [ "comment", "# tests 8\\n", ], Array [ "line", "# pass 8\\n", ], Array [ "comment", "# pass 8\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 92 test/segv.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 92, "name": "test/segv.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 92, "name": "test/segv.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 92, "name": "test/segv.js", "ok": true, }, ], Array [ "line", "# simple-harness-test-with-plan.js\\n", ], Array [ "comment", "# simple-harness-test-with-plan.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# trivial success\\n", ], Array [ "comment", "# trivial success\\n", ], Array [ "line", "ok 93 it works\\n", ], Array [ "assert", Result { "fullname": "", "id": 93, "name": "it works", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 93, "name": "it works", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 93, "name": "it works", "ok": true, }, ], Array [ "line", "# two tests\\n", ], Array [ "comment", "# two tests\\n", ], Array [ "line", "ok 94 math should work\\n", ], Array [ "assert", Result { "fullname": "", "id": 94, "name": "math should work", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 94, "name": "math should work", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 94, "name": "math should work", "ok": true, }, ], Array [ "line", "ok 95 false should not be ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 95, "name": "false should not be ok", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 95, "name": "false should not be ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 95, "name": "false should not be ok", "ok": true, }, ], Array [ "line", "# tests 3\\n", ], Array [ "comment", "# tests 3\\n", ], Array [ "line", "# pass 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 96 test/simple-harness-test-with-plan.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 96, "name": "test/simple-harness-test-with-plan.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 96, "name": "test/simple-harness-test-with-plan.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 96, "name": "test/simple-harness-test-with-plan.js", "ok": true, }, ], Array [ "line", "# simple-harness-test.js\\n", ], Array [ "comment", "# simple-harness-test.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# trivial success\\n", ], Array [ "comment", "# trivial success\\n", ], Array [ "line", "ok 97 it works\\n", ], Array [ "assert", Result { "fullname": "", "id": 97, "name": "it works", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 97, "name": "it works", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 97, "name": "it works", "ok": true, }, ], Array [ "line", "# two tests\\n", ], Array [ "comment", "# two tests\\n", ], Array [ "line", "ok 98 math should work\\n", ], Array [ "assert", Result { "fullname": "", "id": 98, "name": "math should work", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 98, "name": "math should work", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 98, "name": "math should work", "ok": true, }, ], Array [ "line", "ok 99 false should not be ok\\n", ], Array [ "assert", Result { "fullname": "", "id": 99, "name": "false should not be ok", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 99, "name": "false should not be ok", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 99, "name": "false should not be ok", "ok": true, }, ], Array [ "line", "# tests 3\\n", ], Array [ "comment", "# tests 3\\n", ], Array [ "line", "# pass 3\\n", ], Array [ "comment", "# pass 3\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "ok 100 test/simple-harness-test.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 100, "name": "test/simple-harness-test.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 100, "name": "test/simple-harness-test.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 100, "name": "test/simple-harness-test.js", "ok": true, }, ], Array [ "line", "# test-assert-todo-skip.js\\n", ], Array [ "comment", "# test-assert-todo-skip.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# not much\\n", ], Array [ "comment", "# not much\\n", ], Array [ "line", "ok 101 always passes # SKIP skip it good\\n", ], Array [ "assert", Result { "fullname": "", "id": 101, "name": "always passes", "ok": true, "skip": "skip it good", }, ], Array [ "result", Result { "fullname": "", "id": 101, "name": "always passes", "ok": true, "skip": "skip it good", }, ], Array [ "skip", Result { "fullname": "", "id": 101, "name": "always passes", "ok": true, "skip": "skip it good", }, ], Array [ "line", "ok 102 false # SKIP always fails\\n", ], Array [ "assert", Result { "fullname": "", "id": 102, "name": "false", "ok": true, "skip": "always fails", }, ], Array [ "result", Result { "fullname": "", "id": 102, "name": "false", "ok": true, "skip": "always fails", }, ], Array [ "skip", Result { "fullname": "", "id": 102, "name": "false", "ok": true, "skip": "always fails", }, ], Array [ "line", "ok 103 bonus # TODO remove todo directive\\n", ], Array [ "assert", Result { "fullname": "", "id": 103, "name": "bonus", "ok": true, "todo": "remove todo directive", }, ], Array [ "result", Result { "fullname": "", "id": 103, "name": "bonus", "ok": true, "todo": "remove todo directive", }, ], Array [ "todo", Result { "fullname": "", "id": 103, "name": "bonus", "ok": true, "todo": "remove todo directive", }, ], Array [ "line", "ok 104 expected # TODO implement a thing\\n", ], Array [ "assert", Result { "fullname": "", "id": 104, "name": "expected", "ok": true, "todo": "implement a thing", }, ], Array [ "result", Result { "fullname": "", "id": 104, "name": "expected", "ok": true, "todo": "implement a thing", }, ], Array [ "todo", Result { "fullname": "", "id": 104, "name": "expected", "ok": true, "todo": "implement a thing", }, ], Array [ "line", "ok 105 always passes without explanation # SKIP\\n", ], Array [ "assert", Result { "fullname": "", "id": 105, "name": "always passes without explanation", "ok": true, "skip": true, }, ], Array [ "result", Result { "fullname": "", "id": 105, "name": "always passes without explanation", "ok": true, "skip": true, }, ], Array [ "skip", Result { "fullname": "", "id": 105, "name": "always passes without explanation", "ok": true, "skip": true, }, ], Array [ "line", "ok 106 false without explanation # SKIP\\n", ], Array [ "assert", Result { "fullname": "", "id": 106, "name": "false without explanation", "ok": true, "skip": true, }, ], Array [ "result", Result { "fullname": "", "id": 106, "name": "false without explanation", "ok": true, "skip": true, }, ], Array [ "skip", Result { "fullname": "", "id": 106, "name": "false without explanation", "ok": true, "skip": true, }, ], Array [ "line", "ok 107 bonus without explanation # TODO\\n", ], Array [ "assert", Result { "fullname": "", "id": 107, "name": "bonus without explanation", "ok": true, "todo": true, }, ], Array [ "result", Result { "fullname": "", "id": 107, "name": "bonus without explanation", "ok": true, "todo": true, }, ], Array [ "todo", Result { "fullname": "", "id": 107, "name": "bonus without explanation", "ok": true, "todo": true, }, ], Array [ "line", "ok 108 expected without explanation # TODO\\n", ], Array [ "assert", Result { "fullname": "", "id": 108, "name": "expected without explanation", "ok": true, "todo": true, }, ], Array [ "result", Result { "fullname": "", "id": 108, "name": "expected without explanation", "ok": true, "todo": true, }, ], Array [ "todo", Result { "fullname": "", "id": 108, "name": "expected without explanation", "ok": true, "todo": true, }, ], Array [ "line", "# tests 8\\n", ], Array [ "comment", "# tests 8\\n", ], Array [ "line", "# skip 4\\n", ], Array [ "comment", "# skip 4\\n", ], Array [ "line", "# todo 4\\n", ], Array [ "comment", "# todo 4\\n", ], Array [ "line", "ok 109 test/test-assert-todo-skip.js\\n", ], Array [ "assert", Result { "fullname": "", "id": 109, "name": "test/test-assert-todo-skip.js", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 109, "name": "test/test-assert-todo-skip.js", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 109, "name": "test/test-assert-todo-skip.js", "ok": true, }, ], Array [ "line", "# test-descriptions.js\\n", ], Array [ "comment", "# test-descriptions.js\\n", ], Array [ "line", "# TAP version 13\\n", ], Array [ "comment", "# TAP version 13\\n", ], Array [ "line", "# captures test descriptions\\n", ], Array [ "comment", "# captures test descriptions\\n", ], Array [ "line", "ok 110 exit cleanly\\n", ], Array [ "assert", Result { "fullname": "", "id": 110, "name": "exit cleanly", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 110, "name": "exit cleanly", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 110, "name": "exit cleanly", "ok": true, }, ], Array [ "line", "ok 111 captures SKIP description\\n", ], Array [ "assert", Result { "fullname": "", "id": 111, "name": "captures SKIP description", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 111, "name": "captures SKIP description", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 111, "name": "captures SKIP description", "ok": true, }, ], Array [ "line", "ok 112 skip summary is not from file\\n", ], Array [ "assert", Result { "fullname": "", "id": 112, "name": "skip summary is not from file", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 112, "name": "skip summary is not from file", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 112, "name": "skip summary is not from file", "ok": true, }, ], Array [ "line", "ok 113 todo summary is not from file\\n", ], Array [ "assert", Result { "fullname": "", "id": 113, "name": "todo summary is not from file", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 113, "name": "todo summary is not from file", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 113, "name": "todo summary is not from file", "ok": true, }, ], Array [ "line", "not ok 114 captures TODO description\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " file: child_process.js\\n", ], Array [ "line", " line: 707\\n", ], Array [ "line", " column: 7\\n", ], Array [ "line", " stack:\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " /Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " ChildProcess.exithandler (child_process.js:707:7)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " emitTwo (events.js:87:13)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " ChildProcess.emit (events.js:169:7)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " maybeClose (child_process.js:984:16)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " Socket. (child_process.js:1153:11)\\n", ], Array [ "line", " - |\\n", ], Array [ "line", " emitOne (events.js:77:13)\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 114, "name": "captures TODO description", "ok": false, }, ], Array [ "result", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 114, "name": "captures TODO description", "ok": false, }, ], Array [ "fail", Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 114, "name": "captures TODO description", "ok": false, }, ], Array [ "line", "Bail out! captures TODO description\\n", ], Array [ "bailout", "captures TODO description", ], Array [ "complete", FinalResults { "bailout": "captures TODO description", "count": 114, "fail": 1, "failures": Array [ Result { "diag": Object { "column": 7, "file": "child_process.js", "line": 707, "stack": Array [ "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", ], }, "fullname": "", "id": 114, "name": "captures TODO description", "ok": false, }, ], "ok": false, "pass": 113, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 4, "time": null, "todo": 4, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/todo.tap.test.cjs000066400000000000000000000734731433324523500241610ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP todo.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 14\\n", ], Array [ "version", 14, ], Array [ "line", "# Subtest: a set of tests to be done later\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: a set of tests to be done later\\n", ], Array [ "line", "ok 1 - should have a thingie # TODO\\n", ], Array [ "assert", Result { "fullname": "a set of tests to be done later", "id": 1, "name": "should have a thingie", "ok": true, "todo": true, }, ], Array [ "line", "ok 2 - should have a second whoosits also # TODO\\n", ], Array [ "assert", Result { "fullname": "a set of tests to be done later", "id": 2, "name": "should have a second whoosits also", "ok": true, "todo": true, }, ], Array [ "line", "# Subtest: the subset\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: the subset\\n", ], Array [ "line", "ok 1 - should be a child thingie # TODO\\n", ], Array [ "assert", Result { "fullname": "a set of tests to be done later the subset", "id": 1, "name": "should be a child thingie", "ok": true, "todo": true, }, ], Array [ "line", "ok 2 - should also be a whoosits # TODO\\n", ], Array [ "assert", Result { "fullname": "a set of tests to be done later the subset", "id": 2, "name": "should also be a whoosits", "ok": true, "todo": true, }, ], Array [ "line", "# Subtest: has some of these things\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: has some of these things\\n", ], Array [ "line", "ok 1 - true is truthy\\n", ], Array [ "assert", Result { "fullname": "a set of tests to be done later the subset has some of these things", "id": 1, "name": "true is truthy", "ok": true, }, ], Array [ "line", "ok 2 - ten is also truthy\\n", ], Array [ "assert", Result { "fullname": "a set of tests to be done later the subset has some of these things", "id": 2, "name": "ten is also truthy", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - true is truthy\\n", ], Array [ "line", " ok 2 - ten is also truthy\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", "ok 3 - has some of these things\\n", ], Array [ "assert", Result { "fullname": "a set of tests to be done later the subset", "id": 3, "name": "has some of these things", "ok": true, }, ], Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "line", "# todo: 2\\n", ], Array [ "comment", "# todo: 2\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 2, }, ], ], ], Array [ "line", " ok 1 - should be a child thingie # TODO\\n", ], Array [ "line", " ok 2 - should also be a whoosits # TODO\\n", ], Array [ "line", " # Subtest: has some of these things\\n", ], Array [ "line", " ok 1 - true is truthy\\n", ], Array [ "line", " ok 2 - ten is also truthy\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 3 - has some of these things\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", " # todo: 2\\n", ], Array [ "line", "ok 3 - the subset\\n", ], Array [ "assert", Result { "fullname": "a set of tests to be done later", "id": 3, "name": "the subset", "ok": true, }, ], Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "line", "# todo: 2\\n", ], Array [ "comment", "# todo: 2\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 2, }, ], ], ], Array [ "line", " ok 1 - should have a thingie # TODO\\n", ], Array [ "result", Result { "fullname": "a set of tests to be done later", "id": 1, "name": "should have a thingie", "ok": true, "todo": true, }, ], Array [ "todo", Result { "fullname": "a set of tests to be done later", "id": 1, "name": "should have a thingie", "ok": true, "todo": true, }, ], Array [ "line", " ok 2 - should have a second whoosits also # TODO\\n", ], Array [ "result", Result { "fullname": "a set of tests to be done later", "id": 2, "name": "should have a second whoosits also", "ok": true, "todo": true, }, ], Array [ "todo", Result { "fullname": "a set of tests to be done later", "id": 2, "name": "should have a second whoosits also", "ok": true, "todo": true, }, ], Array [ "line", " # Subtest: the subset\\n", ], Array [ "line", " ok 1 - should be a child thingie # TODO\\n", ], Array [ "result", Result { "fullname": "a set of tests to be done later the subset", "id": 1, "name": "should be a child thingie", "ok": true, "todo": true, }, ], Array [ "todo", Result { "fullname": "a set of tests to be done later the subset", "id": 1, "name": "should be a child thingie", "ok": true, "todo": true, }, ], Array [ "line", " ok 2 - should also be a whoosits # TODO\\n", ], Array [ "result", Result { "fullname": "a set of tests to be done later the subset", "id": 2, "name": "should also be a whoosits", "ok": true, "todo": true, }, ], Array [ "todo", Result { "fullname": "a set of tests to be done later the subset", "id": 2, "name": "should also be a whoosits", "ok": true, "todo": true, }, ], Array [ "line", " # Subtest: has some of these things\\n", ], Array [ "line", " ok 1 - true is truthy\\n", ], Array [ "result", Result { "fullname": "a set of tests to be done later the subset has some of these things", "id": 1, "name": "true is truthy", "ok": true, }, ], Array [ "pass", Result { "fullname": "a set of tests to be done later the subset has some of these things", "id": 1, "name": "true is truthy", "ok": true, }, ], Array [ "line", " ok 2 - ten is also truthy\\n", ], Array [ "result", Result { "fullname": "a set of tests to be done later the subset has some of these things", "id": 2, "name": "ten is also truthy", "ok": true, }, ], Array [ "pass", Result { "fullname": "a set of tests to be done later the subset has some of these things", "id": 2, "name": "ten is also truthy", "ok": true, }, ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 3 - has some of these things\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", " # todo: 2\\n", ], Array [ "line", " ok 3 - the subset\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", " # todo: 2\\n", ], Array [ "line", "ok 1 - a set of tests to be done later\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "a set of tests to be done later", "ok": true, }, ], Array [ "line", "# Subtest: another set of tests\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: another set of tests\\n", ], Array [ "line", "ok 1 - is a second set # TODO\\n", ], Array [ "assert", Result { "fullname": "another set of tests", "id": 1, "name": "is a second set", "ok": true, "todo": true, }, ], Array [ "line", "ok 2 - looks like english # TODO\\n", ], Array [ "assert", Result { "fullname": "another set of tests", "id": 2, "name": "looks like english", "ok": true, "todo": true, }, ], Array [ "line", "ok 3 - is marked TODO # TODO\\n", ], Array [ "assert", Result { "fullname": "another set of tests", "id": 3, "name": "is marked TODO", "ok": true, "todo": true, }, ], Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "line", "# todo: 3\\n", ], Array [ "comment", "# todo: 3\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 3, }, ], ], ], Array [ "line", " ok 1 - is a second set # TODO\\n", ], Array [ "result", Result { "fullname": "another set of tests", "id": 1, "name": "is a second set", "ok": true, "todo": true, }, ], Array [ "todo", Result { "fullname": "another set of tests", "id": 1, "name": "is a second set", "ok": true, "todo": true, }, ], Array [ "line", " ok 2 - looks like english # TODO\\n", ], Array [ "result", Result { "fullname": "another set of tests", "id": 2, "name": "looks like english", "ok": true, "todo": true, }, ], Array [ "todo", Result { "fullname": "another set of tests", "id": 2, "name": "looks like english", "ok": true, "todo": true, }, ], Array [ "line", " ok 3 - is marked TODO # TODO\\n", ], Array [ "result", Result { "fullname": "another set of tests", "id": 3, "name": "is marked TODO", "ok": true, "todo": true, }, ], Array [ "todo", Result { "fullname": "another set of tests", "id": 3, "name": "is marked TODO", "ok": true, "todo": true, }, ], Array [ "line", " 1..3\\n", ], Array [ "line", " # todo: 3\\n", ], Array [ "line", "ok 2 - another set of tests\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "another set of tests", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP todo.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 14\\n", ], Array [ "version", 14, ], Array [ "line", "# Subtest: a set of tests to be done later\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: a set of tests to be done later\\n", ], Array [ "line", "ok 1 - should have a thingie # TODO\\n", ], Array [ "assert", Result { "fullname": "a set of tests to be done later", "id": 1, "name": "should have a thingie", "ok": true, "todo": true, }, ], Array [ "line", "ok 2 - should have a second whoosits also # TODO\\n", ], Array [ "assert", Result { "fullname": "a set of tests to be done later", "id": 2, "name": "should have a second whoosits also", "ok": true, "todo": true, }, ], Array [ "line", "# Subtest: the subset\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: the subset\\n", ], Array [ "line", "ok 1 - should be a child thingie # TODO\\n", ], Array [ "assert", Result { "fullname": "a set of tests to be done later the subset", "id": 1, "name": "should be a child thingie", "ok": true, "todo": true, }, ], Array [ "line", "ok 2 - should also be a whoosits # TODO\\n", ], Array [ "assert", Result { "fullname": "a set of tests to be done later the subset", "id": 2, "name": "should also be a whoosits", "ok": true, "todo": true, }, ], Array [ "line", "# Subtest: has some of these things\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: has some of these things\\n", ], Array [ "line", "ok 1 - true is truthy\\n", ], Array [ "assert", Result { "fullname": "a set of tests to be done later the subset has some of these things", "id": 1, "name": "true is truthy", "ok": true, }, ], Array [ "line", "ok 2 - ten is also truthy\\n", ], Array [ "assert", Result { "fullname": "a set of tests to be done later the subset has some of these things", "id": 2, "name": "ten is also truthy", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " ok 1 - true is truthy\\n", ], Array [ "line", " ok 2 - ten is also truthy\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", "ok 3 - has some of these things\\n", ], Array [ "assert", Result { "fullname": "a set of tests to be done later the subset", "id": 3, "name": "has some of these things", "ok": true, }, ], Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "line", "# todo: 2\\n", ], Array [ "comment", "# todo: 2\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 2, }, ], ], ], Array [ "line", " ok 1 - should be a child thingie # TODO\\n", ], Array [ "line", " ok 2 - should also be a whoosits # TODO\\n", ], Array [ "line", " # Subtest: has some of these things\\n", ], Array [ "line", " ok 1 - true is truthy\\n", ], Array [ "line", " ok 2 - ten is also truthy\\n", ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 3 - has some of these things\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", " # todo: 2\\n", ], Array [ "line", "ok 3 - the subset\\n", ], Array [ "assert", Result { "fullname": "a set of tests to be done later", "id": 3, "name": "the subset", "ok": true, }, ], Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "line", "# todo: 2\\n", ], Array [ "comment", "# todo: 2\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 2, }, ], ], ], Array [ "line", " ok 1 - should have a thingie # TODO\\n", ], Array [ "result", Result { "fullname": "a set of tests to be done later", "id": 1, "name": "should have a thingie", "ok": true, "todo": true, }, ], Array [ "todo", Result { "fullname": "a set of tests to be done later", "id": 1, "name": "should have a thingie", "ok": true, "todo": true, }, ], Array [ "line", " ok 2 - should have a second whoosits also # TODO\\n", ], Array [ "result", Result { "fullname": "a set of tests to be done later", "id": 2, "name": "should have a second whoosits also", "ok": true, "todo": true, }, ], Array [ "todo", Result { "fullname": "a set of tests to be done later", "id": 2, "name": "should have a second whoosits also", "ok": true, "todo": true, }, ], Array [ "line", " # Subtest: the subset\\n", ], Array [ "line", " ok 1 - should be a child thingie # TODO\\n", ], Array [ "result", Result { "fullname": "a set of tests to be done later the subset", "id": 1, "name": "should be a child thingie", "ok": true, "todo": true, }, ], Array [ "todo", Result { "fullname": "a set of tests to be done later the subset", "id": 1, "name": "should be a child thingie", "ok": true, "todo": true, }, ], Array [ "line", " ok 2 - should also be a whoosits # TODO\\n", ], Array [ "result", Result { "fullname": "a set of tests to be done later the subset", "id": 2, "name": "should also be a whoosits", "ok": true, "todo": true, }, ], Array [ "todo", Result { "fullname": "a set of tests to be done later the subset", "id": 2, "name": "should also be a whoosits", "ok": true, "todo": true, }, ], Array [ "line", " # Subtest: has some of these things\\n", ], Array [ "line", " ok 1 - true is truthy\\n", ], Array [ "result", Result { "fullname": "a set of tests to be done later the subset has some of these things", "id": 1, "name": "true is truthy", "ok": true, }, ], Array [ "pass", Result { "fullname": "a set of tests to be done later the subset has some of these things", "id": 1, "name": "true is truthy", "ok": true, }, ], Array [ "line", " ok 2 - ten is also truthy\\n", ], Array [ "result", Result { "fullname": "a set of tests to be done later the subset has some of these things", "id": 2, "name": "ten is also truthy", "ok": true, }, ], Array [ "pass", Result { "fullname": "a set of tests to be done later the subset has some of these things", "id": 2, "name": "ten is also truthy", "ok": true, }, ], Array [ "line", " 1..2\\n", ], Array [ "line", " ok 3 - has some of these things\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", " # todo: 2\\n", ], Array [ "line", " ok 3 - the subset\\n", ], Array [ "line", " 1..3\\n", ], Array [ "line", " # todo: 2\\n", ], Array [ "line", "ok 1 - a set of tests to be done later\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "a set of tests to be done later", "ok": true, }, ], Array [ "line", "# Subtest: another set of tests\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: another set of tests\\n", ], Array [ "line", "ok 1 - is a second set # TODO\\n", ], Array [ "assert", Result { "fullname": "another set of tests", "id": 1, "name": "is a second set", "ok": true, "todo": true, }, ], Array [ "line", "ok 2 - looks like english # TODO\\n", ], Array [ "assert", Result { "fullname": "another set of tests", "id": 2, "name": "looks like english", "ok": true, "todo": true, }, ], Array [ "line", "ok 3 - is marked TODO # TODO\\n", ], Array [ "assert", Result { "fullname": "another set of tests", "id": 3, "name": "is marked TODO", "ok": true, "todo": true, }, ], Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "line", "# todo: 3\\n", ], Array [ "comment", "# todo: 3\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 3, }, ], ], ], Array [ "line", " ok 1 - is a second set # TODO\\n", ], Array [ "result", Result { "fullname": "another set of tests", "id": 1, "name": "is a second set", "ok": true, "todo": true, }, ], Array [ "todo", Result { "fullname": "another set of tests", "id": 1, "name": "is a second set", "ok": true, "todo": true, }, ], Array [ "line", " ok 2 - looks like english # TODO\\n", ], Array [ "result", Result { "fullname": "another set of tests", "id": 2, "name": "looks like english", "ok": true, "todo": true, }, ], Array [ "todo", Result { "fullname": "another set of tests", "id": 2, "name": "looks like english", "ok": true, "todo": true, }, ], Array [ "line", " ok 3 - is marked TODO # TODO\\n", ], Array [ "result", Result { "fullname": "another set of tests", "id": 3, "name": "is marked TODO", "ok": true, "todo": true, }, ], Array [ "todo", Result { "fullname": "another set of tests", "id": 3, "name": "is marked TODO", "ok": true, "todo": true, }, ], Array [ "line", " 1..3\\n", ], Array [ "line", " # todo: 3\\n", ], Array [ "line", "ok 2 - another set of tests\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "another set of tests", "ok": true, }, ], Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/todo_inline.tap.test.cjs000066400000000000000000000166331433324523500255120ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP todo_inline.tap > output bail=false 1`] = ` Array [ Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "not ok 1 - Foo # TODO Just testing the todo interface.\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Foo", "ok": false, "todo": "Just testing the todo interface.", }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "Foo", "ok": false, "todo": "Just testing the todo interface.", }, ], Array [ "todo", Result { "fullname": "", "id": 1, "name": "Foo", "ok": false, "todo": "Just testing the todo interface.", }, ], Array [ "line", "ok 2 - Unexpected success # TODO Just testing the todo interface.\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Unexpected success", "ok": true, "todo": "Just testing the todo interface.", }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "Unexpected success", "ok": true, "todo": "Just testing the todo interface.", }, ], Array [ "todo", Result { "fullname": "", "id": 2, "name": "Unexpected success", "ok": true, "todo": "Just testing the todo interface.", }, ], Array [ "line", "ok 3 - This is not todo\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "This is not todo", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "This is not todo", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "This is not todo", "ok": true, }, ], Array [ "line", "ok 4 - #todo This is a todo with an empty description\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "", "ok": true, "todo": "This is a todo with an empty description", }, ], Array [ "result", Result { "fullname": "", "id": 4, "name": "", "ok": true, "todo": "This is a todo with an empty description", }, ], Array [ "todo", Result { "fullname": "", "id": 4, "name": "", "ok": true, "todo": "This is a todo with an empty description", }, ], Array [ "line", "ok 5 - testTitle#todo is not a todo, it's a url\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "testTitle#todo is not a todo, it's a url", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 5, "name": "testTitle#todo is not a todo, it's a url", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 5, "name": "testTitle#todo is not a todo, it's a url", "ok": true, }, ], Array [ "line", "# todo: 3\\n", ], Array [ "comment", "# todo: 3\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 3, }, ], ] ` exports[`test/parser.js TAP todo_inline.tap > output bail=true 1`] = ` Array [ Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "not ok 1 - Foo # TODO Just testing the todo interface.\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Foo", "ok": false, "todo": "Just testing the todo interface.", }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "Foo", "ok": false, "todo": "Just testing the todo interface.", }, ], Array [ "todo", Result { "fullname": "", "id": 1, "name": "Foo", "ok": false, "todo": "Just testing the todo interface.", }, ], Array [ "line", "ok 2 - Unexpected success # TODO Just testing the todo interface.\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Unexpected success", "ok": true, "todo": "Just testing the todo interface.", }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "Unexpected success", "ok": true, "todo": "Just testing the todo interface.", }, ], Array [ "todo", Result { "fullname": "", "id": 2, "name": "Unexpected success", "ok": true, "todo": "Just testing the todo interface.", }, ], Array [ "line", "ok 3 - This is not todo\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "This is not todo", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "This is not todo", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "This is not todo", "ok": true, }, ], Array [ "line", "ok 4 - #todo This is a todo with an empty description\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "", "ok": true, "todo": "This is a todo with an empty description", }, ], Array [ "result", Result { "fullname": "", "id": 4, "name": "", "ok": true, "todo": "This is a todo with an empty description", }, ], Array [ "todo", Result { "fullname": "", "id": 4, "name": "", "ok": true, "todo": "This is a todo with an empty description", }, ], Array [ "line", "ok 5 - testTitle#todo is not a todo, it's a url\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "testTitle#todo is not a todo, it's a url", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 5, "name": "testTitle#todo is not a todo, it's a url", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 5, "name": "testTitle#todo is not a todo, it's a url", "ok": true, }, ], Array [ "line", "# todo: 3\\n", ], Array [ "comment", "# todo: 3\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [], "ok": true, "pass": 4, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 3, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/todo_misparse.tap.test.cjs000066400000000000000000000052231433324523500260500ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP todo_misparse.tap > output bail=false 1`] = ` Array [ Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "not ok 1 Hamlette # TODOORNOTTODO\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Hamlette", "ok": false, "todo": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "Hamlette", "ok": false, "todo": true, }, ], Array [ "todo", Result { "fullname": "", "id": 1, "name": "Hamlette", "ok": false, "todo": true, }, ], Array [ "line", "# todo: 1\\n", ], Array [ "comment", "# todo: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 1, }, ], ] ` exports[`test/parser.js TAP todo_misparse.tap > output bail=true 1`] = ` Array [ Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "not ok 1 Hamlette # TODOORNOTTODO\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "Hamlette", "ok": false, "todo": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "Hamlette", "ok": false, "todo": true, }, ], Array [ "todo", Result { "fullname": "", "id": 1, "name": "Hamlette", "ok": false, "todo": true, }, ], Array [ "line", "# todo: 1\\n", ], Array [ "comment", "# todo: 1\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [], "ok": true, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 1, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/too-many.tap.test.cjs000066400000000000000000000176471433324523500247600ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP too-many.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# beep\\n", ], Array [ "comment", "# beep\\n", ], Array [ "line", "ok 1 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 2 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# boop\\n", ], Array [ "comment", "# boop\\n", ], Array [ "line", "ok 3 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 4 (unnamed assert)\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "line", "# tests 4\\n", ], Array [ "comment", "# tests 4\\n", ], Array [ "line", "# pass 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "# test count(4) != plan(3)\\n", ], Array [ "comment", "# test count(4) != plan(3)\\n", ], Array [ "line", "# failed 1 of 4 tests\\n", ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP too-many.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# beep\\n", ], Array [ "comment", "# beep\\n", ], Array [ "line", "ok 1 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 2 should be equivalent\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "should be equivalent", "ok": true, }, ], Array [ "line", "# boop\\n", ], Array [ "comment", "# boop\\n", ], Array [ "line", "ok 3 should be equal\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "should be equal", "ok": true, }, ], Array [ "line", "ok 4 (unnamed assert)\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "line", "# tests 4\\n", ], Array [ "comment", "# tests 4\\n", ], Array [ "line", "# pass 4\\n", ], Array [ "comment", "# pass 4\\n", ], Array [ "line", "# ok\\n", ], Array [ "comment", "# ok\\n", ], Array [ "line", "# test count(4) != plan(3)\\n", ], Array [ "comment", "# test count(4) != plan(3)\\n", ], Array [ "line", "# failed 1 of 4 tests\\n", ], Array [ "comment", "# failed 1 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 4, "name": "(unnamed assert)", "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 4, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/too_many.tap.test.cjs000066400000000000000000000264231433324523500250320ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP too_many.tap > output bail=false 1`] = ` Array [ Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "line", "ok 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 4, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 4, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "ok 5\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "ok 6\\n", ], Array [ "assert", Result { "fullname": "", "id": 6, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 6, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 6, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "ok 7\\n", ], Array [ "assert", Result { "fullname": "", "id": 7, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 7, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 7, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "# test count(7) != plan(3)\\n", ], Array [ "comment", "# test count(7) != plan(3)\\n", ], Array [ "line", "# failed 4 of 7 tests\\n", ], Array [ "comment", "# failed 4 of 7 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 7, "fail": 4, "failures": Array [ Result { "fullname": "", "id": 4, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 6, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 7, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 7, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP too_many.tap > output bail=true 1`] = ` Array [ Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "line", "ok 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 4, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 4, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "ok 5\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "ok 6\\n", ], Array [ "assert", Result { "fullname": "", "id": 6, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 6, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 6, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "ok 7\\n", ], Array [ "assert", Result { "fullname": "", "id": 7, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "result", Result { "fullname": "", "id": 7, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "pass", Result { "fullname": "", "id": 7, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], Array [ "line", "# test count(7) != plan(3)\\n", ], Array [ "comment", "# test count(7) != plan(3)\\n", ], Array [ "line", "# failed 4 of 7 tests\\n", ], Array [ "comment", "# failed 4 of 7 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 7, "fail": 4, "failures": Array [ Result { "fullname": "", "id": 4, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 5, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 6, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, Result { "fullname": "", "id": 7, "ok": true, "plan": Object { "end": 3, "start": 1, }, "tapError": "id greater than plan end", }, ], "ok": false, "pass": 7, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/unfinished.tap.test.cjs000066400000000000000000000072211433324523500253340ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP unfinished.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "# test count(2) != plan(5)\\n", ], Array [ "comment", "# test count(2) != plan(5)\\n", ], Array [ "line", "# failed 1 of 2 tests\\n", ], Array [ "comment", "# failed 1 of 2 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 1, "failures": Array [ Object { "tapError": "incorrect number of tests", }, ], "ok": false, "pass": 2, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP unfinished.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "# test count(2) != plan(5)\\n", ], Array [ "comment", "# test count(2) != plan(5)\\n", ], Array [ "line", "# failed 1 of 2 tests\\n", ], Array [ "comment", "# failed 1 of 2 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 1, "failures": Array [ Object { "tapError": "incorrect number of tests", }, ], "ok": false, "pass": 2, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/unknown-amount-and-failures.tap.test.cjs000066400000000000000000000227231433324523500305540ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP unknown-amount-and-failures.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "ok 1 - retrieving servers from the database\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "retrieving servers from the database", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "retrieving servers from the database", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "retrieving servers from the database", "ok": true, }, ], Array [ "line", "# need to ping 6 servers\\n", ], Array [ "comment", "# need to ping 6 servers\\n", ], Array [ "line", "ok 2 - pinged diamond\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "pinged diamond", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "pinged diamond", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "pinged diamond", "ok": true, }, ], Array [ "line", "ok 3 - pinged ruby\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "pinged ruby", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "pinged ruby", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "pinged ruby", "ok": true, }, ], Array [ "line", "not ok 4 - pinged saphire\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " message: 'hostname \\"saphire\\" unknown'\\n", ], Array [ "line", " severity: fail\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "message": "hostname \\"saphire\\" unknown", "severity": "fail", }, "fullname": "", "id": 4, "name": "pinged saphire", "ok": false, }, ], Array [ "result", Result { "diag": Object { "message": "hostname \\"saphire\\" unknown", "severity": "fail", }, "fullname": "", "id": 4, "name": "pinged saphire", "ok": false, }, ], Array [ "fail", Result { "diag": Object { "message": "hostname \\"saphire\\" unknown", "severity": "fail", }, "fullname": "", "id": 4, "name": "pinged saphire", "ok": false, }, ], Array [ "line", "ok 5 - pinged onyx\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "pinged onyx", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 5, "name": "pinged onyx", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 5, "name": "pinged onyx", "ok": true, }, ], Array [ "line", "not ok 6 - pinged quartz\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " message: 'timeout'\\n", ], Array [ "line", " severity: fail\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "message": "timeout", "severity": "fail", }, "fullname": "", "id": 6, "name": "pinged quartz", "ok": false, }, ], Array [ "result", Result { "diag": Object { "message": "timeout", "severity": "fail", }, "fullname": "", "id": 6, "name": "pinged quartz", "ok": false, }, ], Array [ "fail", Result { "diag": Object { "message": "timeout", "severity": "fail", }, "fullname": "", "id": 6, "name": "pinged quartz", "ok": false, }, ], Array [ "line", "ok 7 - pinged gold\\n", ], Array [ "assert", Result { "fullname": "", "id": 7, "name": "pinged gold", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 7, "name": "pinged gold", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 7, "name": "pinged gold", "ok": true, }, ], Array [ "line", "1..7\\n", ], Array [ "plan", Object { "end": 7, "start": 1, }, ], Array [ "line", "# failed 2 of 7 tests\\n", ], Array [ "comment", "# failed 2 of 7 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 7, "fail": 2, "failures": Array [ Result { "diag": Object { "message": "hostname \\"saphire\\" unknown", "severity": "fail", }, "fullname": "", "id": 4, "name": "pinged saphire", "ok": false, }, Result { "diag": Object { "message": "timeout", "severity": "fail", }, "fullname": "", "id": 6, "name": "pinged quartz", "ok": false, }, ], "ok": false, "pass": 5, "plan": FinalPlan { "comment": "", "end": 7, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP unknown-amount-and-failures.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "ok 1 - retrieving servers from the database\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "retrieving servers from the database", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "retrieving servers from the database", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "retrieving servers from the database", "ok": true, }, ], Array [ "line", "# need to ping 6 servers\\n", ], Array [ "comment", "# need to ping 6 servers\\n", ], Array [ "line", "ok 2 - pinged diamond\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "pinged diamond", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "pinged diamond", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "pinged diamond", "ok": true, }, ], Array [ "line", "ok 3 - pinged ruby\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "pinged ruby", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "pinged ruby", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "pinged ruby", "ok": true, }, ], Array [ "line", "not ok 4 - pinged saphire\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " message: 'hostname \\"saphire\\" unknown'\\n", ], Array [ "line", " severity: fail\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "message": "hostname \\"saphire\\" unknown", "severity": "fail", }, "fullname": "", "id": 4, "name": "pinged saphire", "ok": false, }, ], Array [ "result", Result { "diag": Object { "message": "hostname \\"saphire\\" unknown", "severity": "fail", }, "fullname": "", "id": 4, "name": "pinged saphire", "ok": false, }, ], Array [ "fail", Result { "diag": Object { "message": "hostname \\"saphire\\" unknown", "severity": "fail", }, "fullname": "", "id": 4, "name": "pinged saphire", "ok": false, }, ], Array [ "line", "Bail out! pinged saphire\\n", ], Array [ "bailout", "pinged saphire", ], Array [ "complete", FinalResults { "bailout": "pinged saphire", "count": 4, "fail": 1, "failures": Array [ Result { "diag": Object { "message": "hostname \\"saphire\\" unknown", "severity": "fail", }, "fullname": "", "id": 4, "name": "pinged saphire", "ok": false, }, ], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/version-in-yaml.tap.test.cjs000066400000000000000000000425701433324523500262370ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP version-in-yaml.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# Subtest: child indented\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: child indented\\n", ], Array [ "line", "not ok - some yaml\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " version: |-\\n", ], Array [ "line", " \\n", ], Array [ "line", " TAP version 13\\n", ], Array [ "line", " \\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "version": String( TAP version 13 ), }, "fullname": "child indented", "name": "some yaml", "ok": false, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "# failed 1 test\\n", ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "version": String( TAP version 13 ), }, "fullname": "child indented", "name": "some yaml", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " not ok - some yaml\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " version: |-\\n", ], Array [ "line", " \\n", ], Array [ "line", " TAP version 13\\n", ], Array [ "line", " \\n", ], Array [ "line", " ...\\n", ], Array [ "result", Result { "diag": Object { "version": String( TAP version 13 ), }, "fullname": "child indented", "name": "some yaml", "ok": false, }, ], Array [ "fail", Result { "diag": Object { "version": String( TAP version 13 ), }, "fullname": "child indented", "name": "some yaml", "ok": false, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", " # failed 1 test\\n", ], Array [ "line", "not ok 1 - child indented\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "child indented", "ok": false, }, ], Array [ "line", "# Subtest: child unindented\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: child unindented\\n", ], Array [ "line", "not ok - some yaml\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " version: |-\\n", ], Array [ "line", " \\n", ], Array [ "line", " TAP version 13\\n", ], Array [ "line", " \\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "version": String( TAP version 13 ), }, "fullname": "child unindented", "name": "some yaml", "ok": false, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "# failed 1 test\\n", ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "version": String( TAP version 13 ), }, "fullname": "child unindented", "name": "some yaml", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " not ok - some yaml\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " version: |-\\n", ], Array [ "line", " \\n", ], Array [ "line", " TAP version 13\\n", ], Array [ "line", " \\n", ], Array [ "line", " ...\\n", ], Array [ "result", Result { "diag": Object { "version": String( TAP version 13 ), }, "fullname": "child unindented", "name": "some yaml", "ok": false, }, ], Array [ "fail", Result { "diag": Object { "version": String( TAP version 13 ), }, "fullname": "child unindented", "name": "some yaml", "ok": false, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", " # failed 1 test\\n", ], Array [ "line", "not ok 2 - child unindented\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "child unindented", "ok": false, }, ], Array [ "line", "# Subtest\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "line", "not ok - some yaml\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " version: |-\\n", ], Array [ "line", " \\n", ], Array [ "line", " TAP version 13\\n", ], Array [ "line", " \\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "version": String( TAP version 13 ), }, "fullname": "", "name": "some yaml", "ok": false, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "# failed 1 test\\n", ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "version": String( TAP version 13 ), }, "fullname": "", "name": "some yaml", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " not ok - some yaml\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " version: |-\\n", ], Array [ "line", " \\n", ], Array [ "line", " TAP version 13\\n", ], Array [ "line", " \\n", ], Array [ "line", " ...\\n", ], Array [ "result", Result { "diag": Object { "version": String( TAP version 13 ), }, "fullname": "", "name": "some yaml", "ok": false, }, ], Array [ "fail", Result { "diag": Object { "version": String( TAP version 13 ), }, "fullname": "", "name": "some yaml", "ok": false, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", " # failed 1 test\\n", ], Array [ "line", "not ok 3 - child unnamed\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "child unnamed", "ok": false, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "child unnamed", "ok": false, }, ], Array [ "fail", Result { "fullname": "", "id": 3, "name": "child unnamed", "ok": false, }, ], Array [ "line", "not ok 4 - child buffered {\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: child buffered\\n", ], Array [ "line", "not ok - some yaml\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " version: |-\\n", ], Array [ "line", " \\n", ], Array [ "line", " TAP version 13\\n", ], Array [ "line", " \\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "version": String( TAP version 13 ), }, "fullname": "child buffered", "name": "some yaml", "ok": false, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "# failed 1 test\\n", ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "version": String( TAP version 13 ), }, "fullname": "child buffered", "name": "some yaml", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " not ok - some yaml\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " version: |-\\n", ], Array [ "line", " \\n", ], Array [ "line", " TAP version 13\\n", ], Array [ "line", " \\n", ], Array [ "line", " ...\\n", ], Array [ "result", Result { "diag": Object { "version": String( TAP version 13 ), }, "fullname": "child buffered", "name": "some yaml", "ok": false, }, ], Array [ "fail", Result { "diag": Object { "version": String( TAP version 13 ), }, "fullname": "child buffered", "name": "some yaml", "ok": false, }, ], Array [ "line", " 1..1\\n", ], Array [ "line", " # failed 1 test\\n", ], Array [ "line", "}\\n", ], Array [ "assert", Result { "buffered": true, "fullname": "", "id": 4, "name": "child buffered", "ok": false, }, ], Array [ "line", "1..4\\n", ], Array [ "plan", Object { "end": 4, "start": 1, }, ], Array [ "line", "# failed 4 of 4 tests\\n", ], Array [ "comment", "# failed 4 of 4 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 4, "fail": 4, "failures": Array [ Result { "fullname": "", "id": 1, "name": "child indented", "ok": false, }, Result { "fullname": "", "id": 2, "name": "child unindented", "ok": false, }, Result { "fullname": "", "id": 3, "name": "child unnamed", "ok": false, }, Result { "buffered": true, "fullname": "", "id": 4, "name": "child buffered", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 4, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP version-in-yaml.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "# Subtest: child indented\\n", ], Array [ "child", Array [ Array [ "comment", "# Subtest: child indented\\n", ], Array [ "line", "not ok - some yaml\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " version: |-\\n", ], Array [ "line", " \\n", ], Array [ "line", " TAP version 13\\n", ], Array [ "line", " \\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "version": String( TAP version 13 ), }, "fullname": "child indented", "name": "some yaml", "ok": false, }, ], Array [ "line", "Bail out! some yaml\\n", ], Array [ "bailout", "some yaml", ], Array [ "complete", FinalResults { "bailout": "some yaml", "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "version": String( TAP version 13 ), }, "fullname": "child indented", "name": "some yaml", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "line", " not ok - some yaml\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " version: |-\\n", ], Array [ "line", " \\n", ], Array [ "line", " TAP version 13\\n", ], Array [ "line", " \\n", ], Array [ "line", " ...\\n", ], Array [ "result", Result { "diag": Object { "version": String( TAP version 13 ), }, "fullname": "child indented", "name": "some yaml", "ok": false, }, ], Array [ "fail", Result { "diag": Object { "version": String( TAP version 13 ), }, "fullname": "child indented", "name": "some yaml", "ok": false, }, ], Array [ "line", " Bail out! some yaml\\n", ], Array [ "bailout", "some yaml", ], Array [ "line", "Bail out! some yaml\\n", ], Array [ "complete", FinalResults { "bailout": "some yaml", "count": 0, "fail": 0, "failures": Array [], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/version_good.tap.test.cjs000066400000000000000000000120571433324523500257000ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP version_good.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "line", "ok 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "line", "ok 5\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP version_good.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "line", "ok 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "line", "ok 5\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/version_late.tap.test.cjs000066400000000000000000000121151433324523500256700ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP version_late.tap > output bail=false 1`] = ` Array [ Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "TAP version 13\\n", ], Array [ "extra", "TAP version 13\\n", ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "line", "ok 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "line", "ok 5\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP version_late.tap > output bail=true 1`] = ` Array [ Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "TAP version 13\\n", ], Array [ "extra", "TAP version 13\\n", ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "line", "ok 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "line", "ok 5\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/version_old-strict.tap.test.cjs000066400000000000000000000134651433324523500270400ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP version_old-strict.tap > output bail=false 1`] = ` Array [ Array [ "line", "pragma +strict\\n", ], Array [ "pragma", "strict", true, ], Array [ "line", "TAP version 12\\n", ], Array [ "extra", "TAP version 12\\n", ], Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "line", "ok 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "line", "ok 5\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "line", "# failed 1 of 5 tests\\n", ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Object { "data": "TAP version 12\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP version_old-strict.tap > output bail=true 1`] = ` Array [ Array [ "line", "pragma +strict\\n", ], Array [ "pragma", "strict", true, ], Array [ "line", "TAP version 12\\n", ], Array [ "extra", "TAP version 12\\n", ], Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "line", "ok 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "line", "ok 5\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "line", "# failed 1 of 5 tests\\n", ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Object { "data": "TAP version 12\\n", "tapError": "Non-TAP data encountered in strict mode", }, ], "ok": false, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/version_old.tap.test.cjs000066400000000000000000000121131433324523500255170ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP version_old.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 12\\n", ], Array [ "extra", "TAP version 12\\n", ], Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "line", "ok 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "line", "ok 5\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP version_old.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 12\\n", ], Array [ "extra", "TAP version 12\\n", ], Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "line", "ok 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "line", "ok 5\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 5, "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 0, "failures": Array [], "ok": true, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/vms_nit.tap.test.cjs000066400000000000000000000057331433324523500246650ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP vms_nit.tap > output bail=false 1`] = ` Array [ Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "not \\n", ], Array [ "extra", "not \\n", ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP vms_nit.tap > output bail=true 1`] = ` Array [ Array [ "line", "1..2\\n", ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "line", "not \\n", ], Array [ "extra", "not \\n", ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/with_comments.tap.test.cjs000066400000000000000000000132521433324523500260610ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP with_comments.tap > output bail=false 1`] = ` Array [ Array [ "line", "# and stuff\\n", ], Array [ "comment", "# and stuff\\n", ], Array [ "line", "1..5 todo 1 2 4 5;\\n", ], Array [ "extra", "1..5 todo 1 2 4 5;\\n", ], Array [ "line", "# yeah, that\\n", ], Array [ "comment", "# yeah, that\\n", ], Array [ "line", "not ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": false, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": false, }, ], Array [ "fail", Result { "fullname": "", "id": 1, "ok": false, }, ], Array [ "line", "# Failed test 1 in t/todo.t at line 9 *TODO*\\n", ], Array [ "comment", "# Failed test 1 in t/todo.t at line 9 *TODO*\\n", ], Array [ "line", "ok 2 # (t/todo.t at line 10 TODO?!)\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "# (t/todo.t at line 10 TODO?!)", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "# (t/todo.t at line 10 TODO?!)", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "# (t/todo.t at line 10 TODO?!)", "ok": true, }, ], Array [ "line", "ok 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "line", "not ok 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": false, }, ], Array [ "result", Result { "fullname": "", "id": 4, "ok": false, }, ], Array [ "fail", Result { "fullname": "", "id": 4, "ok": false, }, ], Array [ "line", "# Test 4 got: '0' (t/todo.t at line 12 *TODO*)\\n", ], Array [ "comment", "# Test 4 got: '0' (t/todo.t at line 12 *TODO*)\\n", ], Array [ "line", "# Expected: '1' (need more tuits)\\n", ], Array [ "comment", "# Expected: '1' (need more tuits)\\n", ], Array [ "line", "ok 5 # (t/todo.t at line 13 TODO?!)\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "# (t/todo.t at line 13 TODO?!)", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 5, "name": "# (t/todo.t at line 13 TODO?!)", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 5, "name": "# (t/todo.t at line 13 TODO?!)", "ok": true, }, ], Array [ "line", "# woo\\n", ], Array [ "comment", "# woo\\n", ], Array [ "line", "# test count(5) != plan(null)\\n", ], Array [ "comment", "# test count(5) != plan(null)\\n", ], Array [ "line", "# failed 3 of 5 tests\\n", ], Array [ "comment", "# failed 3 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 3, "failures": Array [ Result { "fullname": "", "id": 1, "ok": false, }, Result { "fullname": "", "id": 4, "ok": false, }, Object { "tapError": "no plan", }, ], "ok": false, "pass": 3, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP with_comments.tap > output bail=true 1`] = ` Array [ Array [ "line", "# and stuff\\n", ], Array [ "comment", "# and stuff\\n", ], Array [ "line", "1..5 todo 1 2 4 5;\\n", ], Array [ "extra", "1..5 todo 1 2 4 5;\\n", ], Array [ "line", "# yeah, that\\n", ], Array [ "comment", "# yeah, that\\n", ], Array [ "line", "not ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": false, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": false, }, ], Array [ "fail", Result { "fullname": "", "id": 1, "ok": false, }, ], Array [ "line", "# Failed test 1 in t/todo.t at line 9 *TODO*\\n", ], Array [ "comment", "# Failed test 1 in t/todo.t at line 9 *TODO*\\n", ], Array [ "line", "Bail out!\\n", ], Array [ "bailout", "", ], Array [ "complete", FinalResults { "bailout": true, "count": 1, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 1, "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/wrong-last.tap.test.cjs000066400000000000000000000154031433324523500252760ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP wrong-last.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "line", "ok 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "line", "ok 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, "previous": Result { "fullname": "", "id": 4, "ok": true, }, "tapError": "test point id 4 appears multiple times", }, ], Array [ "result", Result { "fullname": "", "id": 4, "ok": true, "previous": Result { "fullname": "", "id": 4, "ok": true, }, "tapError": "test point id 4 appears multiple times", }, ], Array [ "pass", Result { "fullname": "", "id": 4, "ok": true, "previous": Result { "fullname": "", "id": 4, "ok": true, }, "tapError": "test point id 4 appears multiple times", }, ], Array [ "line", "# failed 1 of 5 tests\\n", ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 4, "ok": true, "previous": Result { "fullname": "", "id": 4, "ok": true, }, "tapError": "test point id 4 appears multiple times", }, ], "ok": false, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP wrong-last.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "ok 1\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "ok": true, }, ], Array [ "line", "ok 2\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "ok": true, }, ], Array [ "line", "ok 3\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "ok": true, }, ], Array [ "line", "ok 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 4, "ok": true, }, ], Array [ "line", "ok 4\\n", ], Array [ "assert", Result { "fullname": "", "id": 4, "ok": true, "previous": Result { "fullname": "", "id": 4, "ok": true, }, "tapError": "test point id 4 appears multiple times", }, ], Array [ "result", Result { "fullname": "", "id": 4, "ok": true, "previous": Result { "fullname": "", "id": 4, "ok": true, }, "tapError": "test point id 4 appears multiple times", }, ], Array [ "pass", Result { "fullname": "", "id": 4, "ok": true, "previous": Result { "fullname": "", "id": 4, "ok": true, }, "tapError": "test point id 4 appears multiple times", }, ], Array [ "line", "# failed 1 of 5 tests\\n", ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 4, "ok": true, "previous": Result { "fullname": "", "id": 4, "ok": true, }, "tapError": "test point id 4 appears multiple times", }, ], "ok": false, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/yaml_late_plan.tap.test.cjs000066400000000000000000000113431433324523500261610ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP yaml_late_plan.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "ok - test suite started\\n", ], Array [ "assert", Result { "fullname": "", "name": "test suite started", "ok": true, }, ], Array [ "result", Result { "fullname": "", "name": "test suite started", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "name": "test suite started", "ok": true, }, ], Array [ "line", "ok - bogomips\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " Bogomips: 5226.88\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "Bogomips": 5226.88, }, "fullname": "", "name": "bogomips", "ok": true, }, ], Array [ "result", Result { "diag": Object { "Bogomips": 5226.88, }, "fullname": "", "name": "bogomips", "ok": true, }, ], Array [ "pass", Result { "diag": Object { "Bogomips": 5226.88, }, "fullname": "", "name": "bogomips", "ok": true, }, ], Array [ "line", "ok - test suite finished\\n", ], Array [ "assert", Result { "fullname": "", "name": "test suite finished", "ok": true, }, ], Array [ "result", Result { "fullname": "", "name": "test suite finished", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "name": "test suite finished", "ok": true, }, ], Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP yaml_late_plan.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP version 13\\n", ], Array [ "version", 13, ], Array [ "line", "ok - test suite started\\n", ], Array [ "assert", Result { "fullname": "", "name": "test suite started", "ok": true, }, ], Array [ "result", Result { "fullname": "", "name": "test suite started", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "name": "test suite started", "ok": true, }, ], Array [ "line", "ok - bogomips\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " Bogomips: 5226.88\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "Bogomips": 5226.88, }, "fullname": "", "name": "bogomips", "ok": true, }, ], Array [ "result", Result { "diag": Object { "Bogomips": 5226.88, }, "fullname": "", "name": "bogomips", "ok": true, }, ], Array [ "pass", Result { "diag": Object { "Bogomips": 5226.88, }, "fullname": "", "name": "bogomips", "ok": true, }, ], Array [ "line", "ok - test suite finished\\n", ], Array [ "assert", Result { "fullname": "", "name": "test suite finished", "ok": true, }, ], Array [ "result", Result { "fullname": "", "name": "test suite finished", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "name": "test suite finished", "ok": true, }, ], Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/yamlish-looks-like-child.tap.test.cjs000066400000000000000000000133471433324523500300040ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP yamlish-looks-like-child.tap > output bail=false 1`] = ` Array [ Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "line", "ok 1 - callback happened\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " ok:\\n", ], Array [ "line", " - I wished for a bailout!\\n", ], Array [ "line", " - lots of other shapes here can look like valid tap\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "ok": Array [ "I wished for a bailout!", "lots of other shapes here can look like valid tap", ], }, "fullname": "", "id": 1, "name": "callback happened", "ok": true, }, ], Array [ "result", Result { "diag": Object { "ok": Array [ "I wished for a bailout!", "lots of other shapes here can look like valid tap", ], }, "fullname": "", "id": 1, "name": "callback happened", "ok": true, }, ], Array [ "pass", Result { "diag": Object { "ok": Array [ "I wished for a bailout!", "lots of other shapes here can look like valid tap", ], }, "fullname": "", "id": 1, "name": "callback happened", "ok": true, }, ], Array [ "line", "ok 2 - child test\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "child test", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "child test", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "child test", "ok": true, }, ], Array [ "line", "ok 3 - should come last\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should come last", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "should come last", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "should come last", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP yamlish-looks-like-child.tap > output bail=true 1`] = ` Array [ Array [ "line", "1..3\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "line", "ok 1 - callback happened\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " ok:\\n", ], Array [ "line", " - I wished for a bailout!\\n", ], Array [ "line", " - lots of other shapes here can look like valid tap\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "ok": Array [ "I wished for a bailout!", "lots of other shapes here can look like valid tap", ], }, "fullname": "", "id": 1, "name": "callback happened", "ok": true, }, ], Array [ "result", Result { "diag": Object { "ok": Array [ "I wished for a bailout!", "lots of other shapes here can look like valid tap", ], }, "fullname": "", "id": 1, "name": "callback happened", "ok": true, }, ], Array [ "pass", Result { "diag": Object { "ok": Array [ "I wished for a bailout!", "lots of other shapes here can look like valid tap", ], }, "fullname": "", "id": 1, "name": "callback happened", "ok": true, }, ], Array [ "line", "ok 2 - child test\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "child test", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "child test", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "child test", "ok": true, }, ], Array [ "line", "ok 3 - should come last\\n", ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "should come last", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 3, "name": "should come last", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 3, "name": "should come last", "ok": true, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 3, "fail": 0, "failures": Array [], "ok": true, "pass": 3, "plan": FinalPlan { "comment": "", "end": 3, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/yamlish-that-is-not-yaml.tap.test.cjs000066400000000000000000000234751433324523500277640ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP yamlish-that-is-not-yaml.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP Version 13\\n", ], Array [ "version", 13, ], Array [ "line", "not ok 1 - expected yaml, got a sea turtle\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " this is not yaml\\n", ], Array [ "line", " \\"In fact, it\\": : : :%%% <@!<\\n", ], Array [ "line", " is not \\n", ], Array [ "line", " anything\\n", ], Array [ "line", " but a peaceful\\n", ], Array [ "line", " Sea Turtle\\n", ], Array [ "line", " _,.---.---.---.--.._ \\n", ], Array [ "line", " _.-' \`--.\`---.\`---'-. _,\`--.._\\n", ], Array [ "line", " /\`--._ .'. \`. \`,\`-.\`-._\\\\\\n", ], Array [ "line", " || \\\\ \`.\`---.__\`__..-\`. ,'\`-._/\\n", ], Array [ "line", " _ ,\`\\\\ \`-._\\\\ \\\\ \`. \`_.-\`-._,\`\`-.\\n", ], Array [ "line", " ,\` \`-_ \\\\/ \`-.\`--.\\\\ _\\\\_.-'\\\\__.-\`-.\`-._\`.\\n", ], Array [ "line", " (_.o> ,--. \`._/'--.-\`,--\` \\\\_.-' \\\\\`-._ \\\\\\n", ], Array [ "line", " \`---' \`._ \`---._/__,----\` \`-. \`-\\\\\\n", ], Array [ "line", " /_, , _..-' \`-._\\\\\\n", ], Array [ "line", " \\\\_, \\\\/ ._(\\n", ], Array [ "line", " \\\\_, \\\\/ ._\\\\\\n", ], Array [ "line", " \`._,\\\\/ ._\\\\\\n", ], Array [ "line", " \`._// ./\`-._\\n", ], Array [ "line", " LGB \`-._-_-_.-'\\n", ], Array [ "line", " http://www.ascii-art.de/ascii/t/turtle.txt\\n", ], Array [ "line", " ...\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " but: this\\n", ], Array [ "line", " is: yaml\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "but": "this", "is": "yaml", }, "fullname": "", "id": 1, "name": "expected yaml, got a sea turtle", "ok": false, }, ], Array [ "result", Result { "diag": Object { "but": "this", "is": "yaml", }, "fullname": "", "id": 1, "name": "expected yaml, got a sea turtle", "ok": false, }, ], Array [ "fail", Result { "diag": Object { "but": "this", "is": "yaml", }, "fullname": "", "id": 1, "name": "expected yaml, got a sea turtle", "ok": false, }, ], Array [ "extra", String( --- 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 ... ), ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "# failed 1 test\\n", ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "but": "this", "is": "yaml", }, "fullname": "", "id": 1, "name": "expected yaml, got a sea turtle", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP yamlish-that-is-not-yaml.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP Version 13\\n", ], Array [ "version", 13, ], Array [ "line", "not ok 1 - expected yaml, got a sea turtle\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " this is not yaml\\n", ], Array [ "line", " \\"In fact, it\\": : : :%%% <@!<\\n", ], Array [ "line", " is not \\n", ], Array [ "line", " anything\\n", ], Array [ "line", " but a peaceful\\n", ], Array [ "line", " Sea Turtle\\n", ], Array [ "line", " _,.---.---.---.--.._ \\n", ], Array [ "line", " _.-' \`--.\`---.\`---'-. _,\`--.._\\n", ], Array [ "line", " /\`--._ .'. \`. \`,\`-.\`-._\\\\\\n", ], Array [ "line", " || \\\\ \`.\`---.__\`__..-\`. ,'\`-._/\\n", ], Array [ "line", " _ ,\`\\\\ \`-._\\\\ \\\\ \`. \`_.-\`-._,\`\`-.\\n", ], Array [ "line", " ,\` \`-_ \\\\/ \`-.\`--.\\\\ _\\\\_.-'\\\\__.-\`-.\`-._\`.\\n", ], Array [ "line", " (_.o> ,--. \`._/'--.-\`,--\` \\\\_.-' \\\\\`-._ \\\\\\n", ], Array [ "line", " \`---' \`._ \`---._/__,----\` \`-. \`-\\\\\\n", ], Array [ "line", " /_, , _..-' \`-._\\\\\\n", ], Array [ "line", " \\\\_, \\\\/ ._(\\n", ], Array [ "line", " \\\\_, \\\\/ ._\\\\\\n", ], Array [ "line", " \`._,\\\\/ ._\\\\\\n", ], Array [ "line", " \`._// ./\`-._\\n", ], Array [ "line", " LGB \`-._-_-_.-'\\n", ], Array [ "line", " http://www.ascii-art.de/ascii/t/turtle.txt\\n", ], Array [ "line", " ...\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " but: this\\n", ], Array [ "line", " is: yaml\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "but": "this", "is": "yaml", }, "fullname": "", "id": 1, "name": "expected yaml, got a sea turtle", "ok": false, }, ], Array [ "result", Result { "diag": Object { "but": "this", "is": "yaml", }, "fullname": "", "id": 1, "name": "expected yaml, got a sea turtle", "ok": false, }, ], Array [ "fail", Result { "diag": Object { "but": "this", "is": "yaml", }, "fullname": "", "id": 1, "name": "expected yaml, got a sea turtle", "ok": false, }, ], Array [ "extra", String( --- 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 ... ), ], Array [ "line", "Bail out! expected yaml, got a sea turtle\\n", ], Array [ "bailout", "expected yaml, got a sea turtle", ], Array [ "complete", FinalResults { "bailout": "expected yaml, got a sea turtle", "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "but": "this", "is": "yaml", }, "fullname": "", "id": 1, "name": "expected yaml, got a sea turtle", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/yamlish-without-test.tap.test.cjs000066400000000000000000000063131433324523500273250ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP yamlish-without-test.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP Version 13\\n", ], Array [ "version", 13, ], Array [ "line", " ---\\n", ], Array [ "extra", " ---\\n", ], Array [ "line", " this: is yaml\\n", ], Array [ "extra", " this: is yaml\\n", ], Array [ "line", " but: no test here\\n", ], Array [ "extra", " but: no test here\\n", ], Array [ "line", " ...\\n", ], Array [ "extra", " ...\\n", ], Array [ "line", "ok - this is fine\\n", ], Array [ "assert", Result { "fullname": "", "name": "this is fine", "ok": true, }, ], Array [ "result", Result { "fullname": "", "name": "this is fine", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "name": "this is fine", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP yamlish-without-test.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP Version 13\\n", ], Array [ "version", 13, ], Array [ "line", " ---\\n", ], Array [ "extra", " ---\\n", ], Array [ "line", " this: is yaml\\n", ], Array [ "extra", " this: is yaml\\n", ], Array [ "line", " but: no test here\\n", ], Array [ "extra", " but: no test here\\n", ], Array [ "line", " ...\\n", ], Array [ "extra", " ...\\n", ], Array [ "line", "ok - this is fine\\n", ], Array [ "assert", Result { "fullname": "", "name": "this is fine", "ok": true, }, ], Array [ "result", Result { "fullname": "", "name": "this is fine", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "name": "this is fine", "ok": true, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 0, "failures": Array [], "ok": true, "pass": 1, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/yamlish.tap.test.cjs000066400000000000000000000172111433324523500246460ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP yamlish.tap > output bail=false 1`] = ` Array [ Array [ "line", "TAP Version 13\\n", ], Array [ "version", 13, ], Array [ "line", "not ok 1 Resolve address\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " message: \\"Failed with error 'hostname peebles.example.com not found'\\"\\n", ], Array [ "line", " severity: fail\\n", ], Array [ "line", " data:\\n", ], Array [ "line", " got:\\n", ], Array [ "line", " hostname: 'peebles.example.com'\\n", ], Array [ "line", " address: ~\\n", ], Array [ "line", " expected:\\n", ], Array [ "line", " hostname: 'peebles.example.com'\\n", ], Array [ "line", " address: '85.193.201.85'\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "data": Object { "expected": Object { "address": "85.193.201.85", "hostname": "peebles.example.com", }, "got": Object { "address": null, "hostname": "peebles.example.com", }, }, "message": "Failed with error 'hostname peebles.example.com not found'", "severity": "fail", }, "fullname": "", "id": 1, "name": "Resolve address", "ok": false, }, ], Array [ "result", Result { "diag": Object { "data": Object { "expected": Object { "address": "85.193.201.85", "hostname": "peebles.example.com", }, "got": Object { "address": null, "hostname": "peebles.example.com", }, }, "message": "Failed with error 'hostname peebles.example.com not found'", "severity": "fail", }, "fullname": "", "id": 1, "name": "Resolve address", "ok": false, }, ], Array [ "fail", Result { "diag": Object { "data": Object { "expected": Object { "address": "85.193.201.85", "hostname": "peebles.example.com", }, "got": Object { "address": null, "hostname": "peebles.example.com", }, }, "message": "Failed with error 'hostname peebles.example.com not found'", "severity": "fail", }, "fullname": "", "id": 1, "name": "Resolve address", "ok": false, }, ], Array [ "line", "1..1\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "line", "# failed 1 test\\n", ], Array [ "comment", "# failed 1 test\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "data": Object { "expected": Object { "address": "85.193.201.85", "hostname": "peebles.example.com", }, "got": Object { "address": null, "hostname": "peebles.example.com", }, }, "message": "Failed with error 'hostname peebles.example.com not found'", "severity": "fail", }, "fullname": "", "id": 1, "name": "Resolve address", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP yamlish.tap > output bail=true 1`] = ` Array [ Array [ "line", "TAP Version 13\\n", ], Array [ "version", 13, ], Array [ "line", "not ok 1 Resolve address\\n", ], Array [ "line", " ---\\n", ], Array [ "line", " message: \\"Failed with error 'hostname peebles.example.com not found'\\"\\n", ], Array [ "line", " severity: fail\\n", ], Array [ "line", " data:\\n", ], Array [ "line", " got:\\n", ], Array [ "line", " hostname: 'peebles.example.com'\\n", ], Array [ "line", " address: ~\\n", ], Array [ "line", " expected:\\n", ], Array [ "line", " hostname: 'peebles.example.com'\\n", ], Array [ "line", " address: '85.193.201.85'\\n", ], Array [ "line", " ...\\n", ], Array [ "assert", Result { "diag": Object { "data": Object { "expected": Object { "address": "85.193.201.85", "hostname": "peebles.example.com", }, "got": Object { "address": null, "hostname": "peebles.example.com", }, }, "message": "Failed with error 'hostname peebles.example.com not found'", "severity": "fail", }, "fullname": "", "id": 1, "name": "Resolve address", "ok": false, }, ], Array [ "result", Result { "diag": Object { "data": Object { "expected": Object { "address": "85.193.201.85", "hostname": "peebles.example.com", }, "got": Object { "address": null, "hostname": "peebles.example.com", }, }, "message": "Failed with error 'hostname peebles.example.com not found'", "severity": "fail", }, "fullname": "", "id": 1, "name": "Resolve address", "ok": false, }, ], Array [ "fail", Result { "diag": Object { "data": Object { "expected": Object { "address": "85.193.201.85", "hostname": "peebles.example.com", }, "got": Object { "address": null, "hostname": "peebles.example.com", }, }, "message": "Failed with error 'hostname peebles.example.com not found'", "severity": "fail", }, "fullname": "", "id": 1, "name": "Resolve address", "ok": false, }, ], Array [ "line", "Bail out! Resolve address\\n", ], Array [ "bailout", "Resolve address", ], Array [ "complete", FinalResults { "bailout": "Resolve address", "count": 1, "fail": 1, "failures": Array [ Result { "diag": Object { "data": Object { "expected": Object { "address": "85.193.201.85", "hostname": "peebles.example.com", }, "got": Object { "address": null, "hostname": "peebles.example.com", }, }, "message": "Failed with error 'hostname peebles.example.com not found'", "severity": "fail", }, "fullname": "", "id": 1, "name": "Resolve address", "ok": false, }, ], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/parser/zero_valid.tap.test.cjs000066400000000000000000000156371433324523500253500ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/parser.js TAP zero_valid.tap > output bail=false 1`] = ` Array [ Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "ok 1 - One\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "One", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "One", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "One", "ok": true, }, ], Array [ "line", "ok 2 - Two\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Two", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "Two", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "Two", "ok": true, }, ], Array [ "line", "ok - Three\\n", ], Array [ "assert", Result { "fullname": "", "name": "Three", "ok": true, }, ], Array [ "result", Result { "fullname": "", "name": "Three", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "name": "Three", "ok": true, }, ], Array [ "line", "ok 0 - Four\\n", ], Array [ "assert", Result { "fullname": "", "id": 0, "name": "Four", "ok": true, "plan": Object { "end": 5, "start": 1, }, "tapError": "id less than plan start", }, ], Array [ "result", Result { "fullname": "", "id": 0, "name": "Four", "ok": true, "plan": Object { "end": 5, "start": 1, }, "tapError": "id less than plan start", }, ], Array [ "pass", Result { "fullname": "", "id": 0, "name": "Four", "ok": true, "plan": Object { "end": 5, "start": 1, }, "tapError": "id less than plan start", }, ], Array [ "line", "ok 5 - Five\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "Five", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 5, "name": "Five", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 5, "name": "Five", "ok": true, }, ], Array [ "line", "# failed 1 of 5 tests\\n", ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 0, "name": "Four", "ok": true, "plan": Object { "end": 5, "start": 1, }, "tapError": "id less than plan start", }, ], "ok": false, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/parser.js TAP zero_valid.tap > output bail=true 1`] = ` Array [ Array [ "line", "1..5\\n", ], Array [ "plan", Object { "end": 5, "start": 1, }, ], Array [ "line", "ok 1 - One\\n", ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "One", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 1, "name": "One", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 1, "name": "One", "ok": true, }, ], Array [ "line", "ok 2 - Two\\n", ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "Two", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 2, "name": "Two", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 2, "name": "Two", "ok": true, }, ], Array [ "line", "ok - Three\\n", ], Array [ "assert", Result { "fullname": "", "name": "Three", "ok": true, }, ], Array [ "result", Result { "fullname": "", "name": "Three", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "name": "Three", "ok": true, }, ], Array [ "line", "ok 0 - Four\\n", ], Array [ "assert", Result { "fullname": "", "id": 0, "name": "Four", "ok": true, "plan": Object { "end": 5, "start": 1, }, "tapError": "id less than plan start", }, ], Array [ "result", Result { "fullname": "", "id": 0, "name": "Four", "ok": true, "plan": Object { "end": 5, "start": 1, }, "tapError": "id less than plan start", }, ], Array [ "pass", Result { "fullname": "", "id": 0, "name": "Four", "ok": true, "plan": Object { "end": 5, "start": 1, }, "tapError": "id less than plan start", }, ], Array [ "line", "ok 5 - Five\\n", ], Array [ "assert", Result { "fullname": "", "id": 5, "name": "Five", "ok": true, }, ], Array [ "result", Result { "fullname": "", "id": 5, "name": "Five", "ok": true, }, ], Array [ "pass", Result { "fullname": "", "id": 5, "name": "Five", "ok": true, }, ], Array [ "line", "# failed 1 of 5 tests\\n", ], Array [ "comment", "# failed 1 of 5 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 5, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 0, "name": "Four", "ok": true, "plan": Object { "end": 5, "start": 1, }, "tapError": "id less than plan start", }, ], "ok": false, "pass": 5, "plan": FinalPlan { "comment": "", "end": 5, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/passes.js.test.cjs000066400000000000000000000045261433324523500230370ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/passes.js TAP > saw expected events 1`] = ` Array [ Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "assert", Result { "diag": Object { "message": "1 passed", }, "fullname": "", "id": 1, "name": "this is fine", "ok": true, }, ], Array [ "result", Result { "diag": Object { "message": "1 passed", }, "fullname": "", "id": 1, "name": "this is fine", "ok": true, }, ], Array [ "pass", Result { "diag": Object { "message": "1 passed", }, "fullname": "", "id": 1, "name": "this is fine", "ok": true, }, ], Array [ "assert", Result { "diag": Object { "message": "2 failed", }, "fullname": "", "id": 2, "ok": false, }, ], Array [ "result", Result { "diag": Object { "message": "2 failed", }, "fullname": "", "id": 2, "ok": false, }, ], Array [ "fail", Result { "diag": Object { "message": "2 failed", }, "fullname": "", "id": 2, "ok": false, }, ], Array [ "comment", "# failed 1 of 2 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 1, "failures": Array [ Result { "diag": Object { "message": "2 failed", }, "fullname": "", "id": 2, "ok": false, }, ], "ok": false, "pass": 1, "passes": Array [ Result { "diag": Object { "message": "1 passed", }, "fullname": "", "id": 1, "name": "this is fine", "ok": true, }, ], "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/tap-snapshots/test/strict.js.test.cjs000066400000000000000000000012631433324523500230440ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/strict.js TAP strictness is inherited > failures 1`] = ` Array [ Object { "data": "flerggy blerg\\n", "tapError": "Non-TAP data encountered in strict mode", }, ] ` exports[`test/strict.js TAP unstrict child does not make parent unstrict > failures 1`] = ` Array [ Object { "data": "flerggy blerg\\n", "tapError": "Non-TAP data encountered in strict mode", }, ] ` tap-parser-11.0.2/tap-snapshots/test/stringify-parse.js.test.cjs000066400000000000000000000111571433324523500246650ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/stringify-parse.js TAP just parse some tap > basic 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "name": "1", "ok": false, }, ], Array [ "child", Array [ Array [ "comment", "# Subtest: child\\n", ], Array [ "assert", Result { "fullname": "child", "name": "foo", "ok": true, }, ], Array [ "assert", Result { "fullname": "child", "ok": true, }, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 0, "failures": Array [], "ok": true, "pass": 2, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "child", "ok": true, }, ], Array [ "pragma", "strict", false, ], Array [ "plan", Object { "end": 2, "start": 1, }, ], Array [ "comment", "# failed 1 of 2 tests\\n", ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 1, "failures": Array [ Result { "fullname": "", "name": "1", "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/stringify-parse.js TAP just parse some tap > flattened 1`] = ` Array [ Array [ "version", 13, ], Array [ "assert", Result { "fullname": "", "id": 1, "name": "1", "ok": false, }, ], Array [ "assert", Result { "fullname": "", "id": 2, "name": "child > foo", "ok": true, }, ], Array [ "assert", Result { "fullname": "", "id": 3, "name": "child", "ok": true, }, ], Array [ "pragma", "strict", false, ], Array [ "comment", "# failed 1 of 2 tests\\n", ], Array [ "plan", Object { "end": 3, "start": 1, }, ], Array [ "complete", FinalResults { "bailout": false, "count": 2, "fail": 1, "failures": Array [ Result { "fullname": "", "id": 1, "name": "1", "ok": false, }, ], "ok": false, "pass": 1, "plan": FinalPlan { "comment": "", "end": 2, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` exports[`test/stringify-parse.js TAP stringify flattened result > basic 1`] = ` TAP version 13 not ok 1 - 1 ok 2 - child > foo ok 3 - child # failed 1 of 2 tests 1..3 ` exports[`test/stringify-parse.js TAP stringify flattened result > flattened 1`] = ` TAP version 13 not ok 1 - 1 ok 2 - child > foo ok 3 - child # failed 1 of 2 tests 1..3 ` exports[`test/stringify-parse.js TAP stringify nested result > basic 1`] = ` TAP version 13 not ok - 1 pragma +strict # Subtest: child ok - foo pragma +strict ok pragma -strict 1..2 ok 2 - child pragma -strict 1..2 # failed 1 of 2 tests ` exports[`test/stringify-parse.js TAP stringify nested result > flattened 1`] = ` TAP version 13 not ok 1 - 1 pragma +strict # Subtest: child ok 2 - child > foo pragma +strict ok 3 - child pragma -strict ok 4 - child pragma -strict 1..4 # failed 1 of 2 tests ` exports[`test/stringify-parse.js TAP stringify with bailout > basic 1`] = ` TAP version 13 not ok 1 - 1 ok 2 - child > foo ok 3 - child Bail out! cannot continue ` exports[`test/stringify-parse.js TAP stringify with bailout > flattened 1`] = ` TAP version 13 not ok 1 - 1 ok 2 - child > foo ok 3 - child Bail out! cannot continue ` tap-parser-11.0.2/tap-snapshots/test/write-after-bailout.js.test.cjs000066400000000000000000000031161433324523500254210ustar00rootroot00000000000000/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`test/write-after-bailout.js TAP child calling _parse after bailout > events 1`] = ` Array [ Array [ "version", 13, ], Array [ "child", Array [ Array [ "comment", "# Subtest\\n", ], Array [ "plan", Object { "end": 1, "start": 1, }, ], Array [ "bailout", "child", ], Array [ "complete", FinalResults { "bailout": "child", "count": 0, "fail": 0, "failures": Array [], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": 1, "skipAll": false, "skipReason": "", "start": 1, }, "skip": 0, "time": null, "todo": 0, }, ], ], ], Array [ "bailout", "child", ], Array [ "complete", FinalResults { "bailout": "child", "count": 0, "fail": 0, "failures": Array [], "ok": false, "pass": 0, "plan": FinalPlan { "comment": "", "end": null, "skipAll": false, "skipReason": "", "start": null, }, "skip": 0, "time": null, "todo": 0, }, ], ] ` tap-parser-11.0.2/test/000077500000000000000000000000001433324523500146345ustar00rootroot00000000000000tap-parser-11.0.2/test/abort.js000066400000000000000000000071171433324523500163070ustar00rootroot00000000000000var t = require('tap') var Parser = require('../') var tapContent = `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 ` 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.matchSnapshot(lines, 'lines') t.matchSnapshot(results, 'results') 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.matchSnapshot(lines, 'lines') t.matchSnapshot(results, expectResults) t.end() }) p.write(first) p.abort('nope', d) p.write(second) }} tap-parser-11.0.2/test/bail-parent-while-child-exists.js000066400000000000000000000006551433324523500231020ustar00rootroot00000000000000var 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').matchSnapshot(events) tap-parser-11.0.2/test/bail-while-bailing.js000066400000000000000000000007421433324523500206150ustar00rootroot00000000000000var 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) require('tap').matchSnapshot(events) tap-parser-11.0.2/test/basic.js000066400000000000000000000031741433324523500162600ustar00rootroot00000000000000var 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('it has a name', t => { t.plan(1) const p = new Parser({ name: 'root' }) p.on('child', c => c.on('child', c => t.equal(c.fullname, 'root child grandchild'))) p.end(`TAP version 13 # Subtest: child 1..2 ok 1 - this is fine # Subtest: grandchild 1..1 ok 1 - this is fine ok 2 - grandchild ok 1 - child 1..1 `, 'utf8') }) 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(Buffer.from('1..0\n').toString('hex'), 'hex', t.end) }) }) t.test('takes a buffer just fine', function (t) { var p = new Parser(theEnd) p.write(Buffer.from('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-11.0.2/test/cmd-flush-before-exit.js000066400000000000000000000025301433324523500212630ustar00rootroot00000000000000const t = require('tap') if (process.platform === 'win32') { t.plan(0, 'not relevant on windows, stdout is synchronous') process.exit(0) } if (process.argv[2] === 'gen') { t.test('generate a lot of output', async (t) => { for (let i = 0; i < 10000; i++) { // sprinkle in some failures const assert = i % 39 > 0 ? 'pass' : 'fail' t[assert]('this is some sample output') } }) } else if (process.argv[2] === 'cmd') { process.argv = [process.argv[0], require.resolve('../bin/cmd.js'), '-t'] require('../bin/cmd.js') } else if (process.argv[2] === 'pipe') { process.stdin.pipe(process.stdout) } else { const { spawn } = require('child_process') const node = process.execPath const gen = spawn(node, [ __filename, 'gen' ], { stdio: ['ignore', 'pipe', 'ignore' ], }) const cmd = spawn(node, [ __filename, 'cmd' ], { stdio: [gen.stdout, 'pipe', 'ignore'], }) const pipe = spawn(node, [ __filename, 'pipe' ], { stdio: [cmd.stdout, 'pipe', 'ignore'], }) let output = '' pipe.stdout.setEncoding('utf8') pipe.stdout.on('data', c => { output = (output + c).slice(-1000) }) pipe.on('close', () => { t.match(output, new RegExp(` 1..10000 # failed 257 of 10000 tests not ok 1 - generate a lot of output # time=[0-9.]+m?s 1..1 # failed 1 test # time=[0-9.]+m?s\\n*$`)) t.end() }) } tap-parser-11.0.2/test/cmd.js000066400000000000000000000114651433324523500157440ustar00rootroot00000000000000const t = require('tap') const bin = require.resolve('../bin/cmd.js') const {execFile} = require('child_process') const node = process.execPath // util.inspect output changed in node v12 // so don't test it unless we're at that version. const skipInspect = { skip: /^v1[2-9]\./.test(process.version) ? false : 'do not test util.inspect prior to node v12' } // This is kind of hacky and clever, but SOOOOO // much faster than running real child procs. const Minipass = require('minipass') const {runInThisContext} = require('vm') const code = require('fs').readFileSync(bin, 'utf8').replace(/^#!.*/, '') const EE = require('events') const run = (input, args, cb) => { let exitCode = 0 let stdout = '' let stderr = '' const proc = new EE() let exited = false Object.defineProperty(proc, 'exitCode', { set: code => proc.exit(code) }) proc.exit = code => { exitCode = code || 0 if (!exited) { exited = true cb(code, stdout, stderr) } } proc.stdin = new Minipass() proc.stdout = new Minipass() proc.stderr = new Minipass() proc.argv = [node, bin].concat(args) proc.stdout.on('data', c => stdout += c) proc.stderr.on('data', c => stderr += c) proc.stdin.pause() proc.stdin.end(input) const cons = { log: c => proc.stdout.write(c + '\n'), error: c => proc.stderr.write(c + '\n'), } const fn = runInThisContext( '(function (process, console, require) {' + code + '\n})', bin ) fn(proc, cons, require) proc.emit('exit') if (!exited) { exited = true cb(exitCode, stdout, stderr) } } t.test('basic', t => { const taps = { // one that passes, at least, mostly pass_mostly: `TAP version 13 ok 1 - this is fine ok 2 - child { ok 1 - this is fine blearajn9aefnzxrfoas pragma +strict ok 2 - also fine ok # some comment 1..3 } 1..2 `, // one that doesn't pass fail: `TAP version 13 ok 1 - this is fine # Subtest: child not ok 1 - this is fine --- not: ok this: is fine ... blearajn9aefnzxrfoas pragma +strict pragma -blerg ok 2 - also fine # TODO ok 3 - do later # TODO later is never ok 4 - rope # SKIP ok 1 - piks # SKIP is piks backward # some comment 1..4 # plan comment not ok 2 - child # time=420ms 1..2 `, // one that bails out bail: `TAP version 13 ok 1 - i'm sure this will be fine Bail out! `, // bail out with reason bail_reason: `TAP version 13 Bail out! i have my reasons `, failing_child_with_broken_tap: `TAP version 13 pragma +strict # Subtest: child not ok 1 - test point in child ... hello: world not ok 1 - child 1..1 `, passing_child_with_broken_tap: `TAP version 13 pragma +strict # Subtest: child ok 1 - test point in child ... hello: world ok 1 - child 1..1 `, } const runTest = tap => (t, args) => { run(tap, args, (er, o, e) => { t.matchSnapshot(er, 'error') t.matchSnapshot(o, 'output', skipInspect) t.matchSnapshot(e, 'stderr') t.end() }) } Object.keys(taps).forEach(name => { const tap = taps[name] t.test(name, t => { const test = runTest(tap) t.test('no args', t => test(t, [])) t.test('b w', t => test(t, ['-b', '-w', '--ignore-all-whitespace'])) t.test('t', t => test(t, ['-t', '--tap', '-f', '--no-flat'])) t.test('flat', t => test(t, ['-B', '-f', '--flat', '-o'])) t.test('flat tap', t => test(t, ['-t', '--flat'])) t.test('lines', t => test(t, ['--no-strict', '-l', '--lines'])) t.test('strict', t => test(t, ['--strict'])) t.test('silent', t => test(t, ['-s', '--silent'])) t.test('silent strict', t => test(t, ['-s', '--strict'])) t.end() }) }) t.end() }) t.test('json output formatting', t => { const tap = `TAP version 13 # Subtest: child ok 1 - this is fine 1..1 ok 1 - child 1..1 ` const test = (t, args) => { run(tap, args, (er, o, e) => { t.matchSnapshot(er, 'error') t.matchSnapshot(o, 'output') t.matchSnapshot(e, 'stderr') t.end() }) } t.test('-j', t => test(t, ['-j'])) t.test('-j 1', t => test(t, ['-j', '1'])) t.test('--json=1', t => test(t, ['--json=1'])) t.test('--json 1', t => test(t, ['--json', '1'])) t.test('--json -f', t => test(t, ['--json', '-f'])) t.end() }) t.test('unrecognized arg', t => run('', ['--blarg'], (er, o, e) => { t.matchSnapshot(er, 'error') t.matchSnapshot(o, 'output', skipInspect) t.matchSnapshot(e, 'stderr') t.end() })) t.test('help', t => run('', ['--help'], (er, o, e) => { t.matchSnapshot(er, 'error') t.matchSnapshot(o, 'output') t.matchSnapshot(e, 'stderr') t.end() })) t.test('version', t => run('', ['-v'], (er, o, e) => { t.notOk(er) t.equal(o.trim(), require('../package.json').version) t.equal(e, '') t.end() })) tap-parser-11.0.2/test/fixtures/000077500000000000000000000000001433324523500165055ustar00rootroot00000000000000tap-parser-11.0.2/test/fixtures/bail-escaped.tap000066400000000000000000000001211433324523500215160ustar00rootroot00000000000000TAP version 13 ok 1 Bail out! hash \# slash \\ noesc hash # noesc slash \ done tap-parser-11.0.2/test/fixtures/bailout-no-raison.tap000066400000000000000000000000501433324523500225500ustar00rootroot000000000000001..5 ok 1 ok 2 ok 3 Bail out! ok 4 ok 5 tap-parser-11.0.2/test/fixtures/bailout.tap000066400000000000000000000000741433324523500206530ustar00rootroot000000000000001..5 ok 1 ok 2 ok 3 Bail out! GERONIMMMOOOOOO!!! ok 4 ok 5 tap-parser-11.0.2/test/fixtures/basic.tap000066400000000000000000000000341433324523500202710ustar00rootroot000000000000001..6 not ok ok not ok ok ok tap-parser-11.0.2/test/fixtures/big-last.tap000066400000000000000000000000551433324523500207150ustar00rootroot00000000000000TAP version 13 1..5 ok 1 ok 2 ok 3 ok 4 ok 6 tap-parser-11.0.2/test/fixtures/bignum.tap000066400000000000000000000000511433324523500204700ustar00rootroot000000000000001..2 ok 1 ok 2 ok 136211425 ok 136211426 tap-parser-11.0.2/test/fixtures/bignum_many.tap000066400000000000000000000001461433324523500215210ustar00rootroot000000000000001..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-11.0.2/test/fixtures/broken-yamlish-looks-like-child.tap000066400000000000000000000002541433324523500252700ustar00rootroot000000000000001..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-11.0.2/test/fixtures/broken-yamlish-with-nonbroken-yamlish.tap000066400000000000000000000004121433324523500265420ustar00rootroot000000000000001..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-11.0.2/test/fixtures/buffered-nested-failure-top-ok-diag.tap000066400000000000000000000001561433324523500260150ustar00rootroot00000000000000TAP version 13 1..1 ok 1 - my kids are fine --- some: diag ... { 1..1 not ok - no they aren't } tap-parser-11.0.2/test/fixtures/buffered-nested-failure-top-ok-no-msg.tap000066400000000000000000000001041433324523500263020ustar00rootroot00000000000000TAP version 13 1..1 ok 1 - my kids are fine { 1..1 not ok } tap-parser-11.0.2/test/fixtures/buffered-nested-failure-top-ok.tap000066400000000000000000000001251433324523500251070ustar00rootroot00000000000000TAP version 13 1..1 ok 1 - my kids are fine { 1..1 not ok - no they aren't } tap-parser-11.0.2/test/fixtures/buffered-nested-ok-top-failure-diag.tap000066400000000000000000000001721433324523500260130ustar00rootroot00000000000000TAP version 13 1..1 not ok 1 - please sir, my son, he is sick --- some: diag ... { 1..1 ok - i got better } tap-parser-11.0.2/test/fixtures/buffered-nested-ok-top-failure.tap000066400000000000000000000001411433324523500251050ustar00rootroot00000000000000TAP version 13 1..1 not ok 1 - please sir, my son, he is sick { 1..1 ok - i got better } tap-parser-11.0.2/test/fixtures/buffered-with-diag-not-ok.tap000066400000000000000000000001141433324523500240510ustar00rootroot00000000000000not ok 1 - child --- some: diagnostics ... { ok 1 1..1 } 1..1 tap-parser-11.0.2/test/fixtures/buffered-with-diag-ok.tap000066400000000000000000000001101433324523500232470ustar00rootroot00000000000000ok 1 - child --- some: diagnostics ... { ok 1 1..1 } 1..1 tap-parser-11.0.2/test/fixtures/child-after-failure.tap000066400000000000000000000001021433324523500230130ustar00rootroot00000000000000not ok - 1 # Subtest: child ok 1..1 ok 2 - child 1..2 tap-parser-11.0.2/test/fixtures/child-extra.tap000066400000000000000000000004561433324523500214240ustar00rootroot00000000000000TAP 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-11.0.2/test/fixtures/combined.tap000066400000000000000000000004561433324523500210000ustar00rootroot000000000000001..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-11.0.2/test/fixtures/combined_compat.tap000066400000000000000000000002541433324523500223370ustar00rootroot000000000000001..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-11.0.2/test/fixtures/comment-mid-diag-postplan.tap000066400000000000000000000005121433324523500241620ustar00rootroot00000000000000# 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-11.0.2/test/fixtures/comment-mid-diag.tap000066400000000000000000000003471433324523500223320ustar00rootroot00000000000000# 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-11.0.2/test/fixtures/common-with-explanation.tap000066400000000000000000000004321433324523500237730ustar00rootroot00000000000000TAP 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-11.0.2/test/fixtures/confusing-json.tap000066400000000000000000000007161433324523500221610ustar00rootroot00000000000000TAP version 13 # Subtest: Test newlines in tap and console.log ok 1 - Before console.log createdMultipleStepsWithWeightAndCapacity={ "name": "Multiple Steps with Weight and Capacity", "usedByModels": [ { "x": 1 } ], "stepsOrdered": { "y": 2, "steps": [ { "z": 3 } ] }, "a": "bc" } ok 2 - After console.log 1..2 ok 1 - Test newlines in tap and console.log # time=4.137ms 1..1 # time=13.316ms tap-parser-11.0.2/test/fixtures/creative-liberties.tap000066400000000000000000000010411433324523500227710ustar00rootroot00000000000000TAP 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-11.0.2/test/fixtures/delayed.tap000066400000000000000000000000551433324523500206220ustar00rootroot000000000000001..5 ok 1 00000 ok 2 not ok 3 ok 4 ok 5 00000tap-parser-11.0.2/test/fixtures/descriptive.tap000066400000000000000000000002111433324523500215260ustar00rootroot000000000000001..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-11.0.2/test/fixtures/descriptive_trailing.tap000066400000000000000000000002111433324523500234170ustar00rootroot00000000000000ok 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-11.0.2/test/fixtures/diag-looks-like-comment.tap000066400000000000000000000006541433324523500236330ustar00rootroot00000000000000TAP 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-11.0.2/test/fixtures/die.tap000066400000000000000000000000001433324523500177420ustar00rootroot00000000000000tap-parser-11.0.2/test/fixtures/die_head_end.tap000066400000000000000000000000241433324523500215570ustar00rootroot00000000000000ok 1 ok 2 ok 3 ok 4 tap-parser-11.0.2/test/fixtures/die_last_minute.tap000066400000000000000000000000311433324523500223520ustar00rootroot00000000000000ok 1 ok 2 ok 3 ok 4 1..4 tap-parser-11.0.2/test/fixtures/die_unfinished.tap000066400000000000000000000000241433324523500221640ustar00rootroot000000000000001..4 ok 1 ok 2 ok 3 tap-parser-11.0.2/test/fixtures/duplicates.tap000066400000000000000000000000761433324523500213530ustar00rootroot000000000000001..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-11.0.2/test/fixtures/echo.tap000066400000000000000000000000051433324523500201240ustar00rootroot000000000000001..0 tap-parser-11.0.2/test/fixtures/empty-buffered-child.tap000066400000000000000000000000461433324523500232120ustar00rootroot00000000000000TAP version 13 ok child { } 1..1 tap-parser-11.0.2/test/fixtures/empty-failures.tap000066400000000000000000000000131433324523500221530ustar00rootroot000000000000001..2 ok ok tap-parser-11.0.2/test/fixtures/empty.tap000066400000000000000000000000001433324523500203370ustar00rootroot00000000000000tap-parser-11.0.2/test/fixtures/escape_eol.tap000066400000000000000000000001251433324523500213100ustar00rootroot000000000000001..2 ok 1 Should parse as literal backslash --> \ ok 2 Not a continuation line tap-parser-11.0.2/test/fixtures/escape_hash.tap000066400000000000000000000001061433324523500214530ustar00rootroot000000000000001..3 ok 1 Not a \# TODO ok 2 Not a \# SKIP ok 3 Escaped \\\# tap-parser-11.0.2/test/fixtures/extra-in-child.tap000066400000000000000000000025021433324523500220220ustar00rootroot00000000000000TAP 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-11.0.2/test/fixtures/fail-right-before-indented-child-diag.tap000066400000000000000000000001521433324523500262520ustar00rootroot00000000000000TAP version 13 not ok ... some: diags --- # Subtest: maybe a child 1..1 ok ok maybe a child tap-parser-11.0.2/test/fixtures/fail-right-before-indented-child.tap000066400000000000000000000001201433324523500253430ustar00rootroot00000000000000TAP version 13 not ok # Subtest: maybe a child 1..1 ok ok maybe a child tap-parser-11.0.2/test/fixtures/garbage-yamlish.tap000066400000000000000000000005471433324523500222550ustar00rootroot00000000000000TAP 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-11.0.2/test/fixtures/giving-up.tap000066400000000000000000000001311433324523500211130ustar00rootroot00000000000000TAP version 13 1..573 not ok 1 - database handle Bail out! Couldn't connect to database. tap-parser-11.0.2/test/fixtures/got-spare-tuits.tap000066400000000000000000000003101433324523500222540ustar00rootroot00000000000000TAP 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-11.0.2/test/fixtures/hashes.tap000066400000000000000000000003171433324523500204670ustar00rootroot00000000000000TAP version 13 ok 1 - contains \# hash ok 2 - directive # todo \# x # y ok 3 - escaped \\ slash \\# todo true ok 4 - not todo # hash # todo ok 5 - yes todo # todo # hash ok 6 - not todo \# hash \# todo 1..6 tap-parser-11.0.2/test/fixtures/head_end.tap000066400000000000000000000001221433324523500207350ustar00rootroot00000000000000# comments ok 1 ok 2 ok 3 ok 4 # comment 1..4 # more ignored stuff # and yet more tap-parser-11.0.2/test/fixtures/head_fail.tap000066400000000000000000000001261433324523500211060ustar00rootroot00000000000000# comments ok 1 not ok 2 ok 3 ok 4 # comment 1..4 # more ignored stuff # and yet more tap-parser-11.0.2/test/fixtures/implicit-counter.tap000066400000000000000000000001561433324523500225040ustar00rootroot00000000000000TAP 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-11.0.2/test/fixtures/indent.tap000077500000000000000000000012041433324523500204740ustar00rootroot00000000000000TAP 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-11.0.2/test/fixtures/indented-stdout-noise.tap000066400000000000000000000044561433324523500234510ustar00rootroot00000000000000TAP 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-11.0.2/test/fixtures/junk_before_plan.tap000066400000000000000000000000531433324523500225140ustar00rootroot00000000000000this is junk # this is a comment 1..1 ok 1 tap-parser-11.0.2/test/fixtures/line-break.tap000066400000000000000000000014401433324523500212230ustar00rootroot00000000000000TAP 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-11.0.2/test/fixtures/lone_not_bug.tap000066400000000000000000000000311433324523500216570ustar00rootroot00000000000000ok 1 ok 2 ok 3 ok 4 1..4 tap-parser-11.0.2/test/fixtures/mismatched-child-assert.tap000066400000000000000000000001411433324523500237050ustar00rootroot00000000000000TAP version 13 # Subtest: some child ok 1 - this is fine 1..1 ok 1 - different name 1..1 tap-parser-11.0.2/test/fixtures/missing.tap000066400000000000000000000000431433324523500206610ustar00rootroot00000000000000TAP Version 13 1..6 ok ok ok ok ok tap-parser-11.0.2/test/fixtures/no-numbers.tap000066400000000000000000000000711433324523500212760ustar00rootroot000000000000001..3 ok we are good not ok 2 we are bad ok we are zesty! tap-parser-11.0.2/test/fixtures/no-plan.tap000066400000000000000000000001771433324523500205640ustar00rootroot00000000000000TAP 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-11.0.2/test/fixtures/no_nums.tap000066400000000000000000000000301433324523500206620ustar00rootroot000000000000001..5 ok ok not ok ok ok tap-parser-11.0.2/test/fixtures/not-enough.tap000066400000000000000000000002371433324523500213000ustar00rootroot00000000000000TAP 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-11.0.2/test/fixtures/not-ok-todo.tap000066400000000000000000000003311433324523500213620ustar00rootroot00000000000000# 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-11.0.2/test/fixtures/not-ok-with-trailing-comment.tap000066400000000000000000000002651433324523500246450ustar00rootroot00000000000000TAP 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-11.0.2/test/fixtures/not-ok.tap000066400000000000000000000002371433324523500204240ustar00rootroot00000000000000TAP 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-11.0.2/test/fixtures/offset-mismatch.tap000066400000000000000000000002311433324523500223000ustar00rootroot00000000000000TAP 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-11.0.2/test/fixtures/offset.tap000066400000000000000000000002321433324523500204760ustar00rootroot00000000000000TAP 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-11.0.2/test/fixtures/ok.tap000066400000000000000000000002601433324523500176220ustar00rootroot00000000000000TAP 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-11.0.2/test/fixtures/one-ok.tap000066400000000000000000000000311433324523500203750ustar00rootroot00000000000000TAP version 13 ok 1 1..1 tap-parser-11.0.2/test/fixtures/out-of-order.tap000066400000000000000000000002271433324523500215360ustar00rootroot00000000000000TAP 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-11.0.2/test/fixtures/out_err_mix.tap000066400000000000000000000000121433324523500215400ustar00rootroot00000000000000one three tap-parser-11.0.2/test/fixtures/out_of_order.tap000066400000000000000000000007341433324523500217050ustar00rootroot00000000000000ok 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-11.0.2/test/fixtures/outside-plan-end-many.tap000066400000000000000000000000501433324523500233200ustar00rootroot00000000000000TAP version 13 ok 1 ok 420 ok 5 ok 1..4 tap-parser-11.0.2/test/fixtures/outside-plan-end.tap000066400000000000000000000000431433324523500223600ustar00rootroot00000000000000TAP version 13 ok 1 ok ok 5 ok 1..4tap-parser-11.0.2/test/fixtures/outside-plan-start.tap000066400000000000000000000000441433324523500227500ustar00rootroot00000000000000TAP version 13 ok 1 ok ok 5 ok 2..5 tap-parser-11.0.2/test/fixtures/outside-plan.tap000066400000000000000000000001051433324523500216130ustar00rootroot00000000000000TAP version 13 1..3 ok 234 - pretty big ok 5 - less big ok 3 - three tap-parser-11.0.2/test/fixtures/perl-test2-buffered.tap000066400000000000000000000007771433324523500230070ustar00rootroot00000000000000# 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-11.0.2/test/fixtures/perl-test2-streamed.tap000066400000000000000000000004701433324523500230170ustar00rootroot00000000000000# 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-11.0.2/test/fixtures/plan-escape.tap000066400000000000000000000001031433324523500213750ustar00rootroot00000000000000TAP version 13 1..0 # hash \# slash \\ noesc hash # noesc slash \ tap-parser-11.0.2/test/fixtures/plan-in-bad-places-post.tap000066400000000000000000000001661433324523500235300ustar00rootroot00000000000000tap version 13 ok subtest { tap version 13 1..1 1..99 ok } ok yaml --- ok: lamy 1..99 ... 1..2 1..2 tap-parser-11.0.2/test/fixtures/plan-in-bad-places-pre.tap000066400000000000000000000001661433324523500233310ustar00rootroot00000000000000tap version 13 1..2 1..2 ok subtest { tap version 13 1..1 1..99 ok } ok yaml --- ok: lamy 1..99 ... tap-parser-11.0.2/test/fixtures/plan-invalid-strict.tap000066400000000000000000000000401433324523500230710ustar00rootroot00000000000000pragma +strict 100..1 ok 1 1..1 tap-parser-11.0.2/test/fixtures/plan-invalid.tap000066400000000000000000000000211433324523500215620ustar00rootroot00000000000000100..1 ok 1 1..1 tap-parser-11.0.2/test/fixtures/pragma-after-failure.tap000066400000000000000000000000361433324523500232050ustar00rootroot00000000000000not ok pragma +custom ok 1..2 tap-parser-11.0.2/test/fixtures/pragma-invalid.tap000066400000000000000000000001711433324523500221050ustar00rootroot00000000000000TAP version 13 1..1 pragma +this is not a valid pragma pragma -neither # is this pragma +thisISfineTHO_420-69_lolyolo ok tap-parser-11.0.2/test/fixtures/pragma-mid-child-strict.tap000066400000000000000000000001231433324523500236140ustar00rootroot00000000000000tap version 13 pragma +strict 1..1 # Subtest 1..1 pragma +strict ok ok tap-parser-11.0.2/test/fixtures/pragma-mid-child.tap000066400000000000000000000000721433324523500223110ustar00rootroot00000000000000pragma +foo 1..1 # Subtest 1..1 pragma +foo ok ok tap-parser-11.0.2/test/fixtures/pragma-mid-yaml.tap000066400000000000000000000001271433324523500221710ustar00rootroot00000000000000pragma +foo 1..1 ok 1 - some yaml --- ok: true pragma +foo name: some yaml ... tap-parser-11.0.2/test/fixtures/repeat-test-point-id.tap000066400000000000000000000000431433324523500231660ustar00rootroot00000000000000TAP version 13 ok 1 ok 1 ok 1 1..3 tap-parser-11.0.2/test/fixtures/schwern-todo-quiet.tap000066400000000000000000000004641433324523500227600ustar00rootroot000000000000001..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-11.0.2/test/fixtures/schwern.tap000066400000000000000000000000171433324523500206620ustar00rootroot000000000000001..1 ok 1 - 42 tap-parser-11.0.2/test/fixtures/sequence_misparse.tap000066400000000000000000000002171433324523500227260ustar00rootroot000000000000001..5 ok 1 ok 2 ok 3 # skipped on foobar system # 1234567890123456789012345678901234567890 ok 4 # 1234567890123456789012345678901234567890 ok 5 tap-parser-11.0.2/test/fixtures/simple.tap000066400000000000000000000000361433324523500205030ustar00rootroot000000000000001..5 ok 1 ok 2 ok 3 ok 4 ok 5 tap-parser-11.0.2/test/fixtures/simple_fail.tap000066400000000000000000000000461433324523500214770ustar00rootroot000000000000001..5 ok 1 not ok 2 ok 3 ok 4 not ok 5 tap-parser-11.0.2/test/fixtures/simple_yaml.tap000066400000000000000000000003201433324523500215210ustar00rootroot00000000000000TAP 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-11.0.2/test/fixtures/simple_yaml_missing_version13.tap000066400000000000000000000003011433324523500251620ustar00rootroot000000000000001..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-11.0.2/test/fixtures/skip-all-nonempty.tap000066400000000000000000000001641433324523500225770ustar00rootroot00000000000000# TAP emitted by Test::More 0.98 1..1 # SKIP Insufficient positron flux ok 1 found some spare flux in bottom drawer tap-parser-11.0.2/test/fixtures/skip-all-with-assert.tap000066400000000000000000000001421433324523500231740ustar00rootroot00000000000000# TAP emitted by Test::More 0.98 1..0 # SKIP Insufficient skipping ok 1 - should not be asserting tap-parser-11.0.2/test/fixtures/skip-all-with-test.tap000066400000000000000000000000271433324523500226540ustar00rootroot00000000000000TAP version 13 ok 1..0 tap-parser-11.0.2/test/fixtures/skip-all.tap000066400000000000000000000001101433324523500207170ustar00rootroot00000000000000# TAP emitted by Test::More 0.98 1..0 # SKIP Insufficient positron flux tap-parser-11.0.2/test/fixtures/skip-one-fail.tap000066400000000000000000000000761433324523500216540ustar00rootroot00000000000000TAP version 13 not ok 1 does not count as failure # SKIP 1..1 tap-parser-11.0.2/test/fixtures/skip-one-ok.tap000066400000000000000000000000551433324523500213470ustar00rootroot00000000000000TAP version 13 ok 1 totally fine # SKIP 1..1 tap-parser-11.0.2/test/fixtures/skip.tap000066400000000000000000000003001433324523500201520ustar00rootroot000000000000001..5 ok 1 ok 2 # skip rain delay ok 3 \#skip should not skip because escaped ok 4 notskip, because testTitle#skip is not a directive ok 5 #sKiPpPyYy weird spelling but ok, skip it tap-parser-11.0.2/test/fixtures/skip_nomsg.tap000066400000000000000000000000211433324523500213550ustar00rootroot000000000000001..1 ok 1 # Skip tap-parser-11.0.2/test/fixtures/skipall.tap000066400000000000000000000000261433324523500206500ustar00rootroot000000000000001..0 # skipping: rope tap-parser-11.0.2/test/fixtures/skipall_nomsg.tap000066400000000000000000000000051433324523500220500ustar00rootroot000000000000001..0 tap-parser-11.0.2/test/fixtures/skipall_v13.tap000066400000000000000000000000451433324523500213420ustar00rootroot00000000000000TAP version 13 1..0 # skipping: rope tap-parser-11.0.2/test/fixtures/skippidy-doo-dah.tap000066400000000000000000000000571433324523500223620ustar00rootroot00000000000000TAP version 13 1..1 ok 1 - x #SkIpPidy doo dah tap-parser-11.0.2/test/fixtures/skipping-a-few.tap000066400000000000000000000003061433324523500220330ustar00rootroot00000000000000TAP 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-11.0.2/test/fixtures/space_after_plan.tap000066400000000000000000000000441433324523500224770ustar00rootroot000000000000001..5 ok 1 ok 2 ok 3 ok 4 ok 5 tap-parser-11.0.2/test/fixtures/stdout_stderr.tap000066400000000000000000000000311433324523500221120ustar00rootroot00000000000000ok 1 ok 2 ok 3 ok 4 1..4 tap-parser-11.0.2/test/fixtures/strict-pragma-child-broken-diags.tap000066400000000000000000000002061433324523500254120ustar00rootroot00000000000000TAP version 13 pragma +strict # Subtest: child not ok 1 - test point in child ... hello: world not ok 1 - child 1..1 tap-parser-11.0.2/test/fixtures/strict.tap000066400000000000000000000001301433324523500205150ustar00rootroot00000000000000TAP version 13 1..1 pragma +strict Nonsense! pragma -strict Doesn't matter. ok 1 All OK tap-parser-11.0.2/test/fixtures/subtest-buffer-diags-time.tap000066400000000000000000000002761433324523500242010ustar00rootroot000000000000001..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-11.0.2/test/fixtures/subtest-buffer-todo.tap000066400000000000000000000001531433324523500231150ustar00rootroot00000000000000TAP version 13 ok 1 - tbd # TODO foo { ok 1 1..1 } ok 2 - skippy # skip { ok 1 1..1 } 1..2 tap-parser-11.0.2/test/fixtures/subtest-buffer.tap000066400000000000000000000004701433324523500221540ustar00rootroot00000000000000TAP 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-11.0.2/test/fixtures/subtest-comment-indent.tap000066400000000000000000000011041433324523500236170ustar00rootroot00000000000000TAP 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-11.0.2/test/fixtures/subtest-comment-leading.tap000066400000000000000000000006431433324523500237500ustar00rootroot00000000000000# 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-11.0.2/test/fixtures/subtest-comment-mixed-indent.tap000066400000000000000000000010701433324523500247250ustar00rootroot00000000000000TAP 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-11.0.2/test/fixtures/subtest-comment-noindent.tap000066400000000000000000000010641433324523500241610ustar00rootroot00000000000000TAP 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-11.0.2/test/fixtures/subtest-confusing.tap000066400000000000000000000002351433324523500226750ustar00rootroot00000000000000TAP 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-11.0.2/test/fixtures/subtest-heading.tap000066400000000000000000000002221433324523500222750ustar00rootroot00000000000000# 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-11.0.2/test/fixtures/subtest-maybe-child-unfulfilled.tap000066400000000000000000000002621433324523500253670ustar00rootroot00000000000000TAP 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-11.0.2/test/fixtures/subtest-mixing.tap000066400000000000000000000016411433324523500221770ustar00rootroot00000000000000TAP 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-11.0.2/test/fixtures/subtest-no-comment-leading-comment.tap000066400000000000000000000007011433324523500260150ustar00rootroot00000000000000TAP 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-11.0.2/test/fixtures/subtest-no-comment-mid-comment-indent.tap000066400000000000000000000006721433324523500264510ustar00rootroot00000000000000TAP 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-11.0.2/test/fixtures/subtest-no-comment-mid-comment.tap000066400000000000000000000006701433324523500251700ustar00rootroot00000000000000TAP 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-11.0.2/test/fixtures/subtest-no-comment.tap000066400000000000000000000006371433324523500227640ustar00rootroot00000000000000TAP 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-11.0.2/test/fixtures/subtest-stream-comment-indent.tap000066400000000000000000000006571433324523500251240ustar00rootroot00000000000000# 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-11.0.2/test/fixtures/subtest-stream-comment.tap000066400000000000000000000006221433324523500236350ustar00rootroot00000000000000TAP 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-11.0.2/test/fixtures/subtest-stream-no-comment.tap000066400000000000000000000005041433324523500242460ustar00rootroot00000000000000TAP 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-11.0.2/test/fixtures/subtest-unfinished.tap000066400000000000000000000001011433324523500230260ustar00rootroot00000000000000TAP version 13 1..1 ok # Subtest: unfinished 1..1 ok tap-parser-11.0.2/test/fixtures/switches.tap000066400000000000000000000000161433324523500210410ustar00rootroot000000000000001..1 not ok 1 tap-parser-11.0.2/test/fixtures/tap-tests-stdout.tap000066400000000000000000000410011433324523500224530ustar00rootroot00000000000000TAP 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-11.0.2/test/fixtures/tap-tests.tap000066400000000000000000000413531433324523500211450ustar00rootroot00000000000000TAP 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-11.0.2/test/fixtures/todo.tap000066400000000000000000000013231433324523500201570ustar00rootroot00000000000000TAP 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-11.0.2/test/fixtures/todo_inline.tap000066400000000000000000000003741433324523500215220ustar00rootroot000000000000001..5 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 ok 4 - #todo This is a todo with an empty description ok 5 - testTitle#todo is not a todo, it's a url tap-parser-11.0.2/test/fixtures/todo_misparse.tap000066400000000000000000000000471433324523500220640ustar00rootroot000000000000001..1 not ok 1 Hamlette # TODOORNOTTODO tap-parser-11.0.2/test/fixtures/too-many.tap000066400000000000000000000002271433324523500207570ustar00rootroot00000000000000TAP 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-11.0.2/test/fixtures/too_many.tap000066400000000000000000000000501433324523500210330ustar00rootroot000000000000001..3 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 tap-parser-11.0.2/test/fixtures/unfinished.tap000066400000000000000000000000361433324523500213460ustar00rootroot00000000000000TAP version 13 1..5 ok 1 ok 2 tap-parser-11.0.2/test/fixtures/unknown-amount-and-failures.tap000066400000000000000000000005221433324523500245620ustar00rootroot00000000000000TAP 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-11.0.2/test/fixtures/version-in-yaml.tap000066400000000000000000000010731433324523500222450ustar00rootroot00000000000000TAP 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-11.0.2/test/fixtures/version_good.tap000066400000000000000000000000551433324523500217100ustar00rootroot00000000000000TAP version 13 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 tap-parser-11.0.2/test/fixtures/version_late.tap000066400000000000000000000000551433324523500217050ustar00rootroot000000000000001..5 TAP version 13 ok 1 ok 2 ok 3 ok 4 ok 5 tap-parser-11.0.2/test/fixtures/version_old-strict.tap000066400000000000000000000000741433324523500230450ustar00rootroot00000000000000pragma +strict TAP version 12 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 tap-parser-11.0.2/test/fixtures/version_old.tap000066400000000000000000000000551433324523500215360ustar00rootroot00000000000000TAP version 12 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 tap-parser-11.0.2/test/fixtures/vms_nit.tap000066400000000000000000000000241433324523500206660ustar00rootroot000000000000001..2 not ok 1 ok 2 tap-parser-11.0.2/test/fixtures/with_comments.tap000066400000000000000000000004211433324523500220700ustar00rootroot00000000000000# 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-11.0.2/test/fixtures/wrong-last.tap000066400000000000000000000000551433324523500213100ustar00rootroot00000000000000TAP version 13 1..5 ok 1 ok 2 ok 3 ok 4 ok 4 tap-parser-11.0.2/test/fixtures/yaml_late_plan.tap000066400000000000000000000001631433324523500221740ustar00rootroot00000000000000TAP version 13 ok - test suite started ok - bogomips --- Bogomips: 5226.88 ... ok - test suite finished 1..3 tap-parser-11.0.2/test/fixtures/yamlish-looks-like-child.tap000066400000000000000000000002631433324523500240120ustar00rootroot000000000000001..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-11.0.2/test/fixtures/yamlish-that-is-not-yaml.tap000066400000000000000000000016311433324523500237670ustar00rootroot00000000000000TAP 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 ... --- but: this is: yaml ... 1..1 tap-parser-11.0.2/test/fixtures/yamlish-without-test.tap000066400000000000000000000001261433324523500233360ustar00rootroot00000000000000TAP Version 13 --- this: is yaml but: no test here ... ok - this is fine 1..1 tap-parser-11.0.2/test/fixtures/yamlish.tap000066400000000000000000000004551433324523500206650ustar00rootroot00000000000000TAP 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-11.0.2/test/fixtures/zero_valid.tap000066400000000000000000000000761433324523500213540ustar00rootroot000000000000001..5 ok 1 - One ok 2 - Two ok - Three ok 0 - Four ok 5 - Five tap-parser-11.0.2/test/omit-version.js000066400000000000000000000011211433324523500176200ustar00rootroot00000000000000var 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.matchSnapshot(lines, 'saw expected lines') t.matchSnapshot(events, 'saw expected events') tap-parser-11.0.2/test/parser-stringify.js000066400000000000000000000027061433324523500205070ustar00rootroot00000000000000var Parser = require('../') var etoa = require('events-to-array') var ignore = [ 'pipe', 'unpipe', 'prefinish', 'finish', 'newListener' ] var glob = require('glob') const t = require('tap') var path = require('path') var fs = require('fs') t.jobs = 8 const tapFiles = fs.readdirSync(__dirname + '/fixtures') .filter(f => /\.tap$/.test(f)) for (const tapFile of tapFiles) { const f = `${__dirname}/fixtures/${tapFile}` t.test(tapFile, async t => { t.snapshotFile = path.resolve(__dirname, '..', `tap-snapshots/test/parser-stringify/${tapFile}.test.cjs`) t.plan(4) const tapContent = await fs.promises.readFile(f, 'utf8') t.test('default settings', t => { const res = Parser.parse(tapContent) t.matchSnapshot(res, 'parsed') const str = Parser.stringify(res) t.matchSnapshot(str, 'stringified') const flat = Parser.stringify(res, { flat: true }) t.matchSnapshot(str, 'stringified flat') t.end() }) for (const [name, opt] of Object.entries({ bail: { bail: true }, strict: { strict: true }, strictBail: { strict: true, bail: true }, })) { t.test(name, t => { const res = Parser.parse(tapContent, opt) t.matchSnapshot(res, 'parsed') const str = Parser.stringify(res) t.matchSnapshot(str, 'stringified') const flat = Parser.stringify(res, { flat: true }) t.matchSnapshot(str, 'stringified flat') t.end() }) } }) } tap-parser-11.0.2/test/parser.js000066400000000000000000000016111433324523500164650ustar00rootroot00000000000000const Parser = require('../') const etoa = require('events-to-array') const ignore = [ 'pipe', 'unpipe', 'prefinish', 'finish', 'newListener' ] const glob = require('glob') const t = require('tap') const path = require('path') const fs = require('fs') t.jobs = 8 const tapFiles = fs.readdirSync(__dirname + '/fixtures') .filter(f => /\.tap$/.test(f)) for (const tapFile of tapFiles) { const f = `${__dirname}/fixtures/${tapFile}` t.test(tapFile, async t => { t.snapshotFile = path.resolve(__dirname, '..', `tap-snapshots/test/parser/${tapFile}.test.cjs`) t.plan(2) const tapContent = await fs.promises.readFile(f, 'utf8') for (const bail of [true, false]) { const parser = new Parser({bail}) const found = etoa(parser, ignore) parser.on('complete', () => { t.matchSnapshot(found, `output bail=${bail}`) }) parser.end(tapContent) } }) } tap-parser-11.0.2/test/passes.js000066400000000000000000000007621433324523500164750ustar00rootroot00000000000000var 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.matchSnapshot(events, 'saw expected events') tap-parser-11.0.2/test/strict.js000066400000000000000000000024321433324523500165030ustar00rootroot00000000000000var 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 }) p.on('complete', function (res) { t.matchSnapshot(res.failures, 'failures') 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 }) p.on('complete', function (res) { t.matchSnapshot(res.failures, 'failures') t.end() }) p.end(data) }) tap-parser-11.0.2/test/stringify-parse.js000066400000000000000000000025101433324523500203160ustar00rootroot00000000000000const t = require('tap') const Parser = require('../') t.test('just parse some tap', t => { const tap = `TAP version 13 not ok - 1 # Subtest: child ok - foo ok 1..2 ok 2 - child pragma -strict 1..2 ` t.matchSnapshot(Parser.parse(tap), 'basic') t.matchSnapshot(Parser.parse(tap, {flat: true}), 'flattened') t.end() }) t.test('stringify nested result', t => { const res = Parser.parse(`TAP version 13 not ok - 1 pragma +strict # Subtest: child ok - foo pragma +strict ok pragma -strict 1..2 ok 2 - child pragma -strict 1..2 `) t.matchSnapshot(Parser.stringify(res), 'basic') t.matchSnapshot(Parser.stringify(res, { flat: true }), 'flattened') t.end() }) t.test('stringify flattened result', t => { const res = Parser.parse(`TAP version 13 not ok - 1 # Subtest: child ok - foo ok 1..2 ok 2 - child 1..2 `, { flat: true }) t.matchSnapshot(Parser.stringify(res), 'basic') t.matchSnapshot(Parser.stringify(res, { flat: true }), 'flattened') t.end() }) t.test('stringify with bailout', t => { const res = Parser.parse(`TAP version 13 not ok - 1 # Subtest: child ok - foo ok Bail out! cannot continue not ok 2 - child 1..2 `, { flat: true }) t.matchSnapshot(Parser.stringify(res), 'basic') t.matchSnapshot(Parser.stringify(res, { flat: true }), 'flattened') t.end() }) tap-parser-11.0.2/test/time.js000066400000000000000000000041101433324523500161240ustar00rootroot00000000000000const t = require('tap') const Parser = require('../') const buffered = ` TAP version 13 ok 1 - assert after delay # time=1234.567ms { ok 1 - test after 1 second delay 1..1 } ok 2 - assert before delay # time=420.69ms { ok 1 - test before 1 second delay 1..1 } 1..2 # time=69.420ms ` t.test('buffered with time directives', t => { const p = new Parser() t.equal(p.time, null) const times = [] p.on('child', c => c.on('complete', r => { t.equal(c.time, r.time, 'child time found in final result') times.push(r.time) })) p.on('complete', r => { t.equal(p.time, r.time, 'parent time in final result') times.push(r.time) }) p.end(buffered) t.same(times, [1234.567, 420.69, 69.420]) t.end() }) const streamed = ` TAP version 13 # Subtest: assert after delay ok 1 - test after 1 second delay 1..1 ok 1 - assert after delay # time=1234.567ms # Subtest: assert before delay ok 1 - test before 1 second delay 1..1 ok 2 - assert before delay # time=420.69ms 1..2 # time=69.420ms ` t.test('streamed with time directives', t => { const p = new Parser() t.equal(p.time, null) const times = [] p.on('child', c => c.on('complete', r => { t.equal(c.time, r.time, 'child time found in final result') times.push(r.time) })) p.on('complete', r => { t.equal(p.time, r.time, 'parent time in final result') times.push(r.time) }) p.end(streamed) t.same(times, [1234.567, 420.69, 69.420]) t.end() }) const notime = ` TAP version 13 ok 1 - test after 1 second delay 1..1 ok 1 - assert after delay ok 1 - test before 1 second delay 1..1 ok 2 - assert before delay 1..2 ` t.test('no time directives', t => { const p = new Parser() t.equal(p.time, null) const times = [] p.on('child', c => c.on('complete', r => { t.equal(c.time, r.time, 'child time found in final result') times.push(r.time) })) p.on('complete', r => { t.equal(p.time, r.time, 'parent time in final result') times.push(r.time) }) p.end(notime) t.same(times, [null, null, null], 'no times found') t.end() }) tap-parser-11.0.2/test/whitespace.js000066400000000000000000000015061433324523500173300ustar00rootroot00000000000000var 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-11.0.2/test/write-after-bailout.js000066400000000000000000000015011433324523500210550ustar00rootroot00000000000000var 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' ]) p.on('assert', t.fail) p.on('complete', function () { t.matchSnapshot(events, 'events') t.end() }) p.end([ 'TAP version 13', ' # Subtest', ' 1..1', ' Bail out! child', ' ok 1', 'ok 1', '1..1' ].join('\n')) })