File tree 3 files changed +19
-0
lines changed
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 98
98
'lib/internal/readline.js' ,
99
99
'lib/internal/repl.js' ,
100
100
'lib/internal/socket_list.js' ,
101
+ 'lib/internal/test/unicode.js' ,
101
102
'lib/internal/url.js' ,
102
103
'lib/internal/util.js' ,
103
104
'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