import * as ReactDOM from "react-dom/server"; const ReturnDescriptionAsString = ({ description }) => description; export function test() { const _bun = ReactDOM.renderToString( , ); // convert HTML entities to unicode const el = document.createElement("textarea"); el.innerHTML = _bun; const bun = el.value; const esbuild = "line1\nline2 trailing space \n\nline4 no trailing space 'single quote' \\t\\f\\v\\uF000 `template string`\n\nline6 no trailing space\nline7 trailing newline that ${terminates} the string literal\n"; const tsc = "line1\nline2 trailing space \n\nline4 no trailing space 'single quote' \\t\\f\\v\\uF000 `template string`\n\nline6 no trailing space\nline7 trailing newline that ${terminates} the string literal\n"; console.assert( bun === esbuild && bun === tsc, `strings did not match: ${JSON.stringify( { received: bun, expected: esbuild, }, null, 2, )}`, ); testDone(import.meta.url); } ket/defs_netbsd.go?follow=1'>logtreecommitdiff
path: root/vendor/golang.org/x/net/internal/socket/defs_netbsd.go (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2018-01-29Enable debug mode for integration testsGravatar Frédéric Guillot 1-1/+1
2018-01-29Add the possiblity to enable debug mode with an environment variableGravatar Frédéric Guillot 2-1/+6
2018-01-29Keep code base tidyGravatar Frédéric Guillot 5-18/+16
2018-01-29Add flag to enable debug loggingGravatar Rogier Lommers 2-7/+64
2018-01-25Improve unread counter updatesGravatar Mahendra Kalkura 1-6/+35