GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test: increased externalized string length · nodejs/node@44603b7

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • test/parallel
    • test-fs-write.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/parallel/test-fs-write.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-fs-write.js
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const constants = fs.constants;
4040
common.allowGlobals(externalizeString, isOneByteString, x);
4141

4242
{
43-
const expected = 'ümlaut eins'; // Must be a unique string.
43+
const expected = 'ümlaut sechzig'; // Must be a unique string.
4444
externalizeString(expected);
4545
assert.strictEqual(isOneByteString(expected), true);
4646
const fd = fs.openSync(fn, 'w');
@@ -50,7 +50,7 @@ common.allowGlobals(externalizeString, isOneByteString, x);
5050
}
5151

5252
{
53-
const expected = 'ümlaut zwei'; // Must be a unique string.
53+
const expected = 'ümlaut neunzig'; // Must be a unique string.
5454
externalizeString(expected);
5555
assert.strictEqual(isOneByteString(expected), true);
5656
const fd = fs.openSync(fn, 'w');
@@ -60,7 +60,7 @@ common.allowGlobals(externalizeString, isOneByteString, x);
6060
}
6161

6262
{
63-
const expected = '中文 1'; // Must be a unique string.
63+
const expected = 'Zhōngwén 1'; // Must be a unique string.
6464
externalizeString(expected);
6565
assert.strictEqual(isOneByteString(expected), false);
6666
const fd = fs.openSync(fn, 'w');
@@ -70,7 +70,7 @@ common.allowGlobals(externalizeString, isOneByteString, x);
7070
}
7171

7272
{
73-
const expected = '中文 2'; // Must be a unique string.
73+
const expected = 'Zhōngwén 2'; // Must be a unique string.
7474
externalizeString(expected);
7575
assert.strictEqual(isOneByteString(expected), false);
7676
const fd = fs.openSync(fn, 'w');

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.