René's URL Explorer Experiment


Title: swap actual and expected in assertions by yitongding · Pull Request #23474 · nodejs/node · GitHub

Open Graph Title: swap actual and expected in assertions by yitongding · Pull Request #23474 · nodejs/node

X Title: swap actual and expected in assertions by yitongding · Pull Request #23474 · nodejs/node

Description: Node.js JavaScript runtime ✨🐢🚀✨. Contribute to nodejs/node development by creating an account on GitHub.

Open Graph Description: test/parallel/test-fs-write.js contains assertions where the first argument provided is the expected value and the second value is the actual value. This is backward from the documentation for asse...

X Description: test/parallel/test-fs-write.js contains assertions where the first argument provided is the expected value and the second value is the actual value. This is backward from the documentation for asse...

Opengraph URL: https://github.com/nodejs/node/pull/23474

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:61b14264-7b7b-51b3-f2bf-7c7e85d03c48
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD072:BFBA6:49FDBD3:5F2B452:699137E0
html-safe-noncec29725dc3493897dbf08e68664a8f1dec5e2556f9f3bbcce13c6d3ecf9b2b1a4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDcyOkJGQkE2OjQ5RkRCRDM6NUYyQjQ1Mjo2OTkxMzdFMCIsInZpc2l0b3JfaWQiOiIzMzIxMzAwODU3NDY3Nzc5MDQwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacbee48bc465657899f4ed96286cb21593fbc0f43ad350beef213426211e85db0b
hovercard-subject-tagpull_request:222529579
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/nodejs/node/23474/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/244cdafe42cfeb44b6f1efc9833e62ee8b367ea11bdaf78b627dce478321c77e/nodejs/node/pull/23474
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/244cdafe42cfeb44b6f1efc9833e62ee8b367ea11bdaf78b627dce478321c77e/nodejs/node/pull/23474
og:image:alttest/parallel/test-fs-write.js contains assertions where the first argument provided is the expected value and the second value is the actual value. This is backward from the documentation for asse...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameyitongding
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
turbo-cache-controlno-cache
go-importgithub.com/nodejs/node git https://github.com/nodejs/node.git
octolytics-dimension-user_id9950313
octolytics-dimension-user_loginnodejs
octolytics-dimension-repository_id27193779
octolytics-dimension-repository_nwonodejs/node
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id27193779
octolytics-dimension-repository_network_root_nwonodejs/node
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release848bc6032dcc93a9a7301dcc3f379a72ba13b96e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/nodejs/node/pull/23474#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F23474
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F23474
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=nodejs%2Fnode
Reloadhttps://github.com/nodejs/node/pull/23474
Reloadhttps://github.com/nodejs/node/pull/23474
Reloadhttps://github.com/nodejs/node/pull/23474
nodejs https://github.com/nodejs
nodehttps://github.com/nodejs/node
Please reload this pagehttps://github.com/nodejs/node/pull/23474
Notifications https://github.com/login?return_to=%2Fnodejs%2Fnode
Fork 34.7k https://github.com/login?return_to=%2Fnodejs%2Fnode
Star 116k https://github.com/login?return_to=%2Fnodejs%2Fnode
Code https://github.com/nodejs/node
Issues 1.7k https://github.com/nodejs/node/issues
Pull requests 710 https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects 3 https://github.com/nodejs/node/projects
Security 0 https://github.com/nodejs/node/security
Insights https://github.com/nodejs/node/pulse
Code https://github.com/nodejs/node
Issues https://github.com/nodejs/node/issues
Pull requests https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects https://github.com/nodejs/node/projects
Security https://github.com/nodejs/node/security
Insights https://github.com/nodejs/node/pulse
yitongdinghttps://github.com/yitongding
nodejs:masterhttps://github.com/nodejs/node/tree/master
yitongding:fixAssertInTestWriteFilehttps://github.com/yitongding/node/tree/fixAssertInTestWriteFile
Conversationhttps://github.com/nodejs/node/pull/23474
Commits2 (2)https://github.com/nodejs/node/pull/23474/commits
Checkshttps://github.com/nodejs/node/pull/23474/checks
Files changedhttps://github.com/nodejs/node/pull/23474/files
swap actual and expected in assertionshttps://github.com/nodejs/node/pull/23474#top
yitongdinghttps://github.com/yitongding
nodejs:masterhttps://github.com/nodejs/node/tree/master
yitongding:fixAssertInTestWriteFilehttps://github.com/yitongding/node/tree/fixAssertInTestWriteFile
https://github.com/yitongding
yitongdinghttps://github.com/yitongding
Oct 12, 2018https://github.com/nodejs/node/pull/23474#issue-369634216
commit guidelineshttps://github.com/nodejs/node/blob/master/doc/guides/contributing/pull-requests.md#commit-message-guidelines
Please reload this pagehttps://github.com/nodejs/node/pull/23474
yitongdinghttps://github.com/yitongding
October 12, 2018 10:03https://github.com/nodejs/node/pull/23474#commits-pushed-fff9705
https://github.com/yitongding
test: swap actual and expected in assertionshttps://github.com/nodejs/node/pull/23474/commits/fff970575833ee79f4ab95b69219f011754ed44e
fff9705https://github.com/nodejs/node/pull/23474/commits/fff970575833ee79f4ab95b69219f011754ed44e
https://github.com/yitongding
test: replace function with arrow functionhttps://github.com/nodejs/node/pull/23474/commits/31d05ab7cc8700f366e8c5cf29ff2d8084ac4114
31d05abhttps://github.com/nodejs/node/pull/23474/commits/31d05ab7cc8700f366e8c5cf29ff2d8084ac4114
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
test https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Atest
Oct 12, 2018https://github.com/nodejs/node/pull/23474#event-1901244396
https://github.com/cjihrig
cjihrighttps://github.com/cjihrig
Oct 12, 2018 https://github.com/nodejs/node/pull/23474#pullrequestreview-164330504
View reviewed changes https://github.com/nodejs/node/pull/23474/files/31d05ab7cc8700f366e8c5cf29ff2d8084ac4114
https://github.com/targos
targoshttps://github.com/targos
code-and-learn https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Acode-and-learn
Oct 12, 2018https://github.com/nodejs/node/pull/23474#event-1901283584
https://github.com/gireeshpunathil
gireeshpunathilhttps://github.com/gireeshpunathil
Oct 12, 2018https://github.com/nodejs/node/pull/23474#issuecomment-429406268
Please reload this pagehttps://github.com/nodejs/node/pull/23474
https://github.com/gireeshpunathil
gireeshpunathilhttps://github.com/gireeshpunathil
Oct 12, 2018 https://github.com/nodejs/node/pull/23474#pullrequestreview-164345879
View reviewed changes https://github.com/nodejs/node/pull/23474/files/31d05ab7cc8700f366e8c5cf29ff2d8084ac4114
https://github.com/jasnell
jasnellhttps://github.com/jasnell
Oct 12, 2018 https://github.com/nodejs/node/pull/23474#pullrequestreview-164347122
View reviewed changes https://github.com/nodejs/node/pull/23474/files/31d05ab7cc8700f366e8c5cf29ff2d8084ac4114
https://github.com/trivikr
trivikrhttps://github.com/trivikr
Oct 12, 2018 https://github.com/nodejs/node/pull/23474#pullrequestreview-164431642
View reviewed changes https://github.com/nodejs/node/pull/23474/files/31d05ab7cc8700f366e8c5cf29ff2d8084ac4114
https://github.com/codebytere
codebyterehttps://github.com/codebytere
Oct 13, 2018 https://github.com/nodejs/node/pull/23474#pullrequestreview-164449710
View reviewed changes https://github.com/nodejs/node/pull/23474/files/31d05ab7cc8700f366e8c5cf29ff2d8084ac4114
https://github.com/Trott
Trotthttps://github.com/Trott
Oct 14, 2018 https://github.com/nodejs/node/pull/23474#ref-pullrequest-369856748
Code and learn rollup 2 #23651 https://github.com/nodejs/node/pull/23651
https://github.com/Trott
Trotthttps://github.com/Trott
Oct 14, 2018https://github.com/nodejs/node/pull/23474#issuecomment-429588039
https://ci.nodejs.org/job/node-test-pull-request/17843/https://ci.nodejs.org/job/node-test-pull-request/17843/
Please reload this pagehttps://github.com/nodejs/node/pull/23474
https://github.com/addaleax
addaleaxhttps://github.com/addaleax
fs https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Afs
Oct 14, 2018https://github.com/nodejs/node/pull/23474#event-1902416547
https://github.com/addaleax
addaleaxhttps://github.com/addaleax
Oct 14, 2018https://github.com/nodejs/node/pull/23474#issuecomment-429591255
cf7b5a8...e48d9aahttps://github.com/nodejs/node/compare/cf7b5a8dc25a6e81da2e661e5d2ab3b2c60d9124...e48d9aa873e7abec76cd27a8a50167f81574fccd
https://www.nodetodo.org/next-steps/https://www.nodetodo.org/next-steps/
Please reload this pagehttps://github.com/nodejs/node/pull/23474
https://github.com/addaleax
addaleaxhttps://github.com/addaleax
Oct 14, 2018https://github.com/nodejs/node/pull/23474#event-1902416827
addaleaxhttps://github.com/addaleax
Oct 14, 2018 https://github.com/nodejs/node/pull/23474#ref-commit-a9e6e68
https://github.com/yitongding
https://github.com/addaleax
test: swap actual and expected in assertionshttps://github.com/nodejs/node/commit/a9e6e68c0b5ba15b8f6fb50ba1fae6f2dd37dc7a
a9e6e68https://github.com/nodejs/node/commit/a9e6e68c0b5ba15b8f6fb50ba1fae6f2dd37dc7a
#23474https://github.com/nodejs/node/pull/23474
addaleaxhttps://github.com/addaleax
Oct 14, 2018 https://github.com/nodejs/node/pull/23474#ref-commit-e48d9aa
https://github.com/yitongding
https://github.com/addaleax
test: replace function with arrow functionhttps://github.com/nodejs/node/commit/e48d9aa873e7abec76cd27a8a50167f81574fccd
e48d9aahttps://github.com/nodejs/node/commit/e48d9aa873e7abec76cd27a8a50167f81574fccd
#23474https://github.com/nodejs/node/pull/23474
https://github.com/yitongding
yitongdinghttps://github.com/yitongding
October 14, 2018 02:56https://github.com/nodejs/node/pull/23474#event-1902421353
addaleaxhttps://github.com/addaleax
Oct 14, 2018 https://github.com/nodejs/node/pull/23474#ref-commit-a5c698b
https://github.com/yitongding
https://github.com/addaleax
test: swap actual and expected in assertionshttps://github.com/nodejs/node/commit/a5c698b1f10eb2ba4497c16ce716069cbe64fc36
a5c698bhttps://github.com/nodejs/node/commit/a5c698b1f10eb2ba4497c16ce716069cbe64fc36
#23474https://github.com/nodejs/node/pull/23474
addaleaxhttps://github.com/addaleax
Oct 14, 2018 https://github.com/nodejs/node/pull/23474#ref-commit-21fc4ee
https://github.com/yitongding
https://github.com/addaleax
test: replace function with arrow functionhttps://github.com/nodejs/node/commit/21fc4ee8ab33f9f519d8bef29cecaab32318c11a
21fc4eehttps://github.com/nodejs/node/commit/21fc4ee8ab33f9f519d8bef29cecaab32318c11a
#23474https://github.com/nodejs/node/pull/23474
jasnellhttps://github.com/jasnell
Oct 17, 2018 https://github.com/nodejs/node/pull/23474#ref-commit-923f37f
https://github.com/yitongding
https://github.com/jasnell
test: swap actual and expected in assertionshttps://github.com/nodejs/node/commit/923f37ff7c586e2ebf15b88f9a1f49ffdf25ad47
923f37fhttps://github.com/nodejs/node/commit/923f37ff7c586e2ebf15b88f9a1f49ffdf25ad47
#23474https://github.com/nodejs/node/pull/23474
jasnellhttps://github.com/jasnell
Oct 17, 2018 https://github.com/nodejs/node/pull/23474#ref-commit-ec675b8
https://github.com/yitongding
https://github.com/jasnell
test: replace function with arrow functionhttps://github.com/nodejs/node/commit/ec675b8ea4769d75e062371e317fbed371d9e420
ec675b8https://github.com/nodejs/node/commit/ec675b8ea4769d75e062371e317fbed371d9e420
#23474https://github.com/nodejs/node/pull/23474
MylesBorinshttps://github.com/MylesBorins
Oct 30, 2018 https://github.com/nodejs/node/pull/23474#ref-commit-a6787a7
https://github.com/yitongding
https://github.com/MylesBorins
test: swap actual and expected in assertionshttps://github.com/nodejs/node/commit/a6787a7f2be63aa2d82315bde9b9fc6e87ac7134
a6787a7https://github.com/nodejs/node/commit/a6787a7f2be63aa2d82315bde9b9fc6e87ac7134
#23474https://github.com/nodejs/node/pull/23474
MylesBorinshttps://github.com/MylesBorins
Oct 30, 2018 https://github.com/nodejs/node/pull/23474#ref-commit-b436ccc
https://github.com/yitongding
https://github.com/MylesBorins
test: replace function with arrow functionhttps://github.com/nodejs/node/commit/b436ccc3b2d70ee048a4f2d34955da7842cedcb9
b436ccchttps://github.com/nodejs/node/commit/b436ccc3b2d70ee048a4f2d34955da7842cedcb9
#23474https://github.com/nodejs/node/pull/23474
https://github.com/codebytere
codebyterehttps://github.com/codebytere
Nov 27, 2018 https://github.com/nodejs/node/pull/23474#ref-pullrequest-384882602
v10.13.1 proposal #24675 https://github.com/nodejs/node/pull/24675
rvagghttps://github.com/rvagg
Nov 28, 2018 https://github.com/nodejs/node/pull/23474#ref-commit-f91dd7b
https://github.com/yitongding
https://github.com/rvagg
test: swap actual and expected in assertionshttps://github.com/nodejs/node/commit/f91dd7bfb4dd48eed8c0bab794d7083da692a29b
f91dd7bhttps://github.com/nodejs/node/commit/f91dd7bfb4dd48eed8c0bab794d7083da692a29b
#23474https://github.com/nodejs/node/pull/23474
rvagghttps://github.com/rvagg
Nov 28, 2018 https://github.com/nodejs/node/pull/23474#ref-commit-7a5c900
https://github.com/yitongding
https://github.com/rvagg
test: replace function with arrow functionhttps://github.com/nodejs/node/commit/7a5c900e55619e1a3c6ba1e916eb7237182ca1d6
7a5c900https://github.com/nodejs/node/commit/7a5c900e55619e1a3c6ba1e916eb7237182ca1d6
#23474https://github.com/nodejs/node/pull/23474
MylesBorinshttps://github.com/MylesBorins
Nov 29, 2018 https://github.com/nodejs/node/pull/23474#ref-commit-762c2d0
https://github.com/yitongding
https://github.com/MylesBorins
test: swap actual and expected in assertionshttps://github.com/nodejs/node/commit/762c2d03fc76353e8baa957678f557f201365e0b
762c2d0https://github.com/nodejs/node/commit/762c2d03fc76353e8baa957678f557f201365e0b
#23474https://github.com/nodejs/node/pull/23474
MylesBorinshttps://github.com/MylesBorins
Nov 29, 2018 https://github.com/nodejs/node/pull/23474#ref-commit-1ae0aaf
https://github.com/yitongding
https://github.com/MylesBorins
test: replace function with arrow functionhttps://github.com/nodejs/node/commit/1ae0aaf089985aec9c359b13930251f8a644cfea
1ae0aafhttps://github.com/nodejs/node/commit/1ae0aaf089985aec9c359b13930251f8a644cfea
#23474https://github.com/nodejs/node/pull/23474
https://github.com/codebytere
codebyterehttps://github.com/codebytere
Nov 29, 2018 https://github.com/nodejs/node/pull/23474#ref-pullrequest-385836001
v10.14.2 proposal #24727 https://github.com/nodejs/node/pull/24727
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F23474
https://github.com/jasnell
jasnell https://github.com/jasnell
https://github.com/nodejs/node/pull/23474/files/31d05ab7cc8700f366e8c5cf29ff2d8084ac4114
https://github.com/codebytere
codebytere https://github.com/codebytere
https://github.com/nodejs/node/pull/23474/files/31d05ab7cc8700f366e8c5cf29ff2d8084ac4114
https://github.com/cjihrig
cjihrig https://github.com/cjihrig
https://github.com/nodejs/node/pull/23474/files/31d05ab7cc8700f366e8c5cf29ff2d8084ac4114
https://github.com/gireeshpunathil
gireeshpunathil https://github.com/gireeshpunathil
https://github.com/nodejs/node/pull/23474/files/31d05ab7cc8700f366e8c5cf29ff2d8084ac4114
https://github.com/trivikr
trivikr https://github.com/trivikr
https://github.com/nodejs/node/pull/23474/files/31d05ab7cc8700f366e8c5cf29ff2d8084ac4114
code-and-learn https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Acode-and-learn
fs https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Afs
test https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Atest
Please reload this pagehttps://github.com/nodejs/node/pull/23474
https://github.com/yitongding
https://github.com/gireeshpunathil
https://github.com/Trott
https://github.com/addaleax
https://github.com/jasnell
https://github.com/codebytere
https://github.com/cjihrig
https://github.com/trivikr
https://github.com/targos
https://github.com/nodejs-github-bot
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.