11cb0ef41Sopenharmony_ci'use strict';
21cb0ef41Sopenharmony_cirequire('../../../common');
31cb0ef41Sopenharmony_ciconst { test } = require('node:test');
41cb0ef41Sopenharmony_ci
51cb0ef41Sopenharmony_ci// Do not include any failing tests in this file.
61cb0ef41Sopenharmony_ci
71cb0ef41Sopenharmony_ci// A test whose description needs to be escaped.
81cb0ef41Sopenharmony_citest('escaped description \\ # \\#\\ \n \t \f \v \b \r');
91cb0ef41Sopenharmony_ci
101cb0ef41Sopenharmony_ci// A test whose skip message needs to be escaped.
111cb0ef41Sopenharmony_citest('escaped skip message', { skip: '#skip' });
121cb0ef41Sopenharmony_ci
131cb0ef41Sopenharmony_ci// A test whose todo message needs to be escaped.
141cb0ef41Sopenharmony_citest('escaped todo message', { todo: '#todo' });
151cb0ef41Sopenharmony_ci
161cb0ef41Sopenharmony_ci// A test with a diagnostic message that needs to be escaped.
171cb0ef41Sopenharmony_citest('escaped diagnostic', (t) => {
181cb0ef41Sopenharmony_ci  t.diagnostic('#diagnostic');
191cb0ef41Sopenharmony_ci});
20