test: Added more validations to setEncoding · nodejs/node@eb61d91 · GitHub
Skip to content

Commit eb61d91

Browse files
pauljlucasaddaleax
authored andcommitted
test: Added more validations to setEncoding
* Added more strict validations to properly test setEncoding * Changed all var usage to const or let * Changed assert.equal to assert.strictEqual PR-URL: #9997 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent fe59a67 commit eb61d91

1 file changed

Lines changed: 23 additions & 14 deletions

File tree

Lines changed: 23 additions & 14 deletions

0 commit comments

Comments
 (0)