Skip to content

Commit 6062c92

Browse files
lpincatargos
authored andcommitted
doc: update default branch name in test/**
Refs: #33864 PR-URL: #43445 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: LiviaMedeiros <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
1 parent b045893 commit 6062c92

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

test/doctool/test-doctool-versions.mjs

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ for (const version of versions) {
6262
// Check that the minimum number of versions were returned.
6363
// Later versions are allowed, but not checked for here (they were checked
6464
// above).
65-
// Also check for the previous semver major -- From master this will be the
66-
// most recent major release.
65+
// Also check for the previous semver major -- From the main branch this will be
66+
// the most recent major release.
6767
const thisMajor = Number.parseInt(process.versions.node.split('.')[0]);
6868
const prevMajorString = `${thisMajor - 1}.x`;
6969
if (!expected.includes(prevMajorString)) {

test/fixtures/package-main-enoent/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
// The path in "main" in "package.json" does not exist here, but it does in
44
// the copy in node_modules. This is being tested because bluebird tests depend
55
// on this behavior and it was accidentally broken by a seemingly unrelated
6-
// commit on master.
6+
// commit on the main branch.
77

88
require('package-main-enoent');

test/parallel/test-fs-promises-file-handle-readFile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ async function doReadAndCancel() {
100100

101101
// Validate file size is within range for reading
102102
{
103-
// Variable taken from https://github.com/nodejs/node/blob/master/lib/internal/fs/promises.js#L5
103+
// Variable taken from https://github.com/nodejs/node/blob/1377163f3351/lib/internal/fs/promises.js#L5
104104
const kIoMaxLength = 2 ** 31 - 1;
105105

106106
const newFile = path.resolve(tmpDir, 'dogs-running3.txt');

test/wpt/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,4 +167,4 @@ In that case it needs to be marked with `skip` instead of `fail`.
167167

168168
[Web Platform Tests]: https://github.com/web-platform-tests/wpt
169169
[`test/fixtures/wpt/README.md`]: ../fixtures/wpt/README.md
170-
[git node wpt]: https://github.com/nodejs/node-core-utils/blob/master/docs/git-node.md#git-node-wpt
170+
[git node wpt]: https://github.com/nodejs/node-core-utils/blob/HEAD/docs/git-node.md#git-node-wpt

0 commit comments

Comments
 (0)