mirror of
https://github.com/nodejs/node.git
synced 2025-05-02 17:01:08 +00:00

This test ensures that UTF-8 characters can be used in core JavaScript modules built into Node's binary. PR-URL: https://github.com/nodejs/node/pull/11423 Ref: https://github.com/nodejs/node/pull/11129 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
13 lines
308 B
JavaScript
13 lines
308 B
JavaScript
'use strict';
|
|
require('../common');
|
|
|
|
// Flags: --expose-internals
|
|
//
|
|
// This test ensures that UTF-8 characters can be used in core JavaScript
|
|
// libraries built into Node's binary.
|
|
|
|
const assert = require('assert');
|
|
const character = require('internal/test/unicode');
|
|
|
|
assert.strictEqual(character, '✓');
|