Skip to content

Commit f79a603

Browse files
committed
fixup! test: consolidate utf8 text fixtures in tests
1 parent 8937b68 commit f79a603

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/common/fixtures.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function readFixtureKeys(enc, ...names) {
3131
// This should be in sync with test/fixtures/utf8_test_text.txt.
3232
// We copy them here as a string because this is supposed to be used
3333
// in fs API tests.
34-
const utf8TestText ='永和九年,嵗在癸丑,暮春之初,會於會稽山隂之蘭亭,脩稧事也。' +
34+
const utf8TestText = '永和九年,嵗在癸丑,暮春之初,會於會稽山隂之蘭亭,脩稧事也。' +
3535
'羣賢畢至,少長咸集。此地有崇山峻領,茂林脩竹;又有清流激湍,' +
3636
'暎帶左右。引以為流觴曲水,列坐其次。雖無絲竹管弦之盛,一觴一詠,' +
3737
'亦足以暢敘幽情。是日也,天朗氣清,恵風和暢;仰觀宇宙之大,' +
@@ -54,6 +54,6 @@ module.exports = {
5454
readKeys: readFixtureKeys,
5555
utf8TestText,
5656
get utf8TestTextPath() {
57-
return fixturesPath('utf8_test_text.txt')
58-
}
57+
return fixturesPath('utf8_test_text.txt');
58+
},
5959
};

0 commit comments

Comments
 (0)