File tree Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 1+ 'use strict' ;
2+
3+ // This module exists entirely for regression testing purposes.
4+ // See `test/parallel/test-internal-unicode.js`.
5+
6+ module . exports = 'β' ;
Original file line number Diff line number Diff line change 9898 'lib/internal/readline.js' ,
9999 'lib/internal/repl.js' ,
100100 'lib/internal/socket_list.js' ,
101+ 'lib/internal/test/unicode.js' ,
101102 'lib/internal/url.js' ,
102103 'lib/internal/util.js' ,
103104 'lib/internal/v8_prof_polyfill.js' ,
Original file line number Diff line number Diff line change 1+ 'use strict' ;
2+ require ( '../common' ) ;
3+
4+ // Flags: --expose-internals
5+ //
6+ // This test ensures that UTF-8 characters can be used in core JavaScript
7+ // libraries built into Node's binary.
8+
9+ const assert = require ( 'assert' ) ;
10+ const character = require ( 'internal/test/unicode' ) ;
11+
12+ assert . strictEqual ( character , 'β' ) ;
You canβt perform that action at this time.
0 commit comments