diff options
Diffstat (limited to 'installer/test.ts')
-rw-r--r-- | installer/test.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/installer/test.ts b/installer/test.ts index d28a9d448..1767464d4 100644 --- a/installer/test.ts +++ b/installer/test.ts @@ -68,6 +68,7 @@ installerTest(async function installBasic(): Promise<void> { if (isWindows) { assertEquals( await fs.readFileStr(filePath + ".cmd"), + /* eslint-disable max-len */ `% This executable is generated by Deno. Please don't modify it unless you know what it means. % @IF EXIST "%~dp0\deno.exe" ( "%~dp0\deno.exe" run http://localhost:4500/http/file_server.ts %* @@ -77,11 +78,13 @@ installerTest(async function installBasic(): Promise<void> { deno run http://localhost:4500/http/file_server.ts %* ) ` + /* eslint-enable max-len */ ); } assertEquals( await fs.readFileStr(filePath), + /* eslint-disable max-len */ `#/bin/sh # This executable is generated by Deno. Please don't modify it unless you know what it means. basedir=$(dirname "$(echo "$0" | sed -e 's,\\\\,/,g')") @@ -99,6 +102,7 @@ else fi exit $ret ` + /* eslint-enable max-len */ ); }); @@ -115,6 +119,7 @@ installerTest(async function installWithFlags(): Promise<void> { if (isWindows) { assertEquals( await fs.readFileStr(filePath + ".cmd"), + /* eslint-disable max-len */ `% This executable is generated by Deno. Please don't modify it unless you know what it means. % @IF EXIST "%~dp0\deno.exe" ( "%~dp0\deno.exe" run --allow-net --allow-read http://localhost:4500/http/file_server.ts --foobar %* @@ -124,11 +129,13 @@ installerTest(async function installWithFlags(): Promise<void> { deno run --allow-net --allow-read http://localhost:4500/http/file_server.ts --foobar %* ) ` + /* eslint-enable max-len */ ); } assertEquals( await fs.readFileStr(filePath), + /* eslint-disable max-len */ `#/bin/sh # This executable is generated by Deno. Please don't modify it unless you know what it means. basedir=$(dirname "$(echo "$0" | sed -e 's,\\\\,/,g')") @@ -146,6 +153,7 @@ else fi exit $ret ` + /* eslint-enable max-len */ ); }); |