Lines Matching refs:string
423 testBlockTypeError(assert.throws, 'string');
424 testBlockTypeError(assert.doesNotThrow, 'string');
548 typeof 123 === 'string'
555 "assert.ok(\n typeof 123 === 'string'\n )\n"
785 () => assert(typeof 123n === 'string'),
791 "assert(typeof 123n === 'string')\n"
839 (() => 'string')()
851 ' (() => \'string\')()\n' +
863 (() => 'string')()
875 ' (() => \'string\')()\n' +
887 () => 'string')() ===
896 ' () => \'string\')() ===\n' +
996 'an instance of Error, RegExp, or Object. Received type string ' +
1430 () => assert.match(/abc/, 'string'),
1434 "Received type string ('string')"
1438 () => assert.match('string', /abc/),
1440 actual: 'string',
1444 "Input:\n\n'string'\n",
1449 () => assert.match('string', /abc/, 'foobar'),
1451 actual: 'string',
1460 () => assert.match('string', /abc/, errorMessage),
1469 message: 'The "string" argument must be of type string. ' +
1480 () => assert.doesNotMatch(/abc/, 'string'),
1484 "Received type string ('string')"
1488 () => assert.doesNotMatch('string', /string/),
1490 actual: 'string',
1491 expected: /string/,
1494 "/string/. Input:\n\n'string'\n",
1499 () => assert.doesNotMatch('string', /string/, 'foobar'),
1501 actual: 'string',
1502 expected: /string/,
1510 () => assert.doesNotMatch('string', /string/, errorMessage),
1519 message: 'The "string" argument must be of type string. ' +