Commit dafd76ca authored by NoSkillGirl's avatar NoSkillGirl Committed by Rich Trott
Browse files

test: assertion equality fix

In test-net-write-callback.js, when process exits, we check callback
count against the expected value. The assertion is written with the
expected value first and actual value second, but that is the opposite
of the documented argument order. Reverse them to be consistent with
documentation.

PR-URL: https://github.com/nodejs/node/pull/24422


Reviewed-By: default avatarMichaël Zasso <targos@protonmail.com>
Reviewed-By: default avatarGireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: default avatarTrivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: default avatarOuyang Yadong <oyydoibh@gmail.com>
Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
parent 738e0765
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment