test: lint and refactor to avoid autocrlf issue
The test was failing after adding 'use strict' because the windows CI uses the autocrlf option of git which converts \r into \r\n on checkout. Refactored the test to not read itself anymore and create a temp file on the fly instead to avoid this line-ending issue. PR-URL: https://github.com/nodejs/node/pull/2494 Reviewed-By:Joao Reis <reis@janeasystems.com>
parent
4c5fc3b1
Please register or sign in to comment