• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1'use strict';
2require('../../../common');
3const { test } = require('node:test');
4
5// Do not include any failing tests in this file.
6
7// A test whose description needs to be escaped.
8test('escaped description \\ # \\#\\ \n \t \f \v \b \r');
9
10// A test whose skip message needs to be escaped.
11test('escaped skip message', { skip: '#skip' });
12
13// A test whose todo message needs to be escaped.
14test('escaped todo message', { todo: '#todo' });
15
16// A test with a diagnostic message that needs to be escaped.
17test('escaped diagnostic', (t) => {
18  t.diagnostic('#diagnostic');
19});
20