Files
Kmake/test/fixtures/test-runner/output/tap_escape.js
2026-05-26 23:36:42 -07:00

20 lines
574 B
JavaScript

'use strict';
require('../../../common');
const { test } = require('node:test');
// Do not include any failing tests in this file.
// A test whose description needs to be escaped.
test('escaped description \\ # \\#\\ \n \t \f \v \b \r');
// A test whose skip message needs to be escaped.
test('escaped skip message', { skip: '#skip' });
// A test whose todo message needs to be escaped.
test('escaped todo message', { todo: '#todo' });
// A test with a diagnostic message that needs to be escaped.
test('escaped diagnostic', (t) => {
t.diagnostic('#diagnostic');
});