diff options
Diffstat (limited to 'installer/test.ts')
-rw-r--r-- | installer/test.ts | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/installer/test.ts b/installer/test.ts index 1767464d4..536e74c4f 100644 --- a/installer/test.ts +++ b/installer/test.ts @@ -71,11 +71,11 @@ installerTest(async function installBasic(): Promise<void> { /* 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 %* + "%~dp0\deno.exe" "run" "http://localhost:4500/http/file_server.ts" %* ) ELSE ( @SETLOCAL @SET PATHEXT=%PATHEXT:;.TS;=;% - deno run http://localhost:4500/http/file_server.ts %* + "deno" "run" "http://localhost:4500/http/file_server.ts" %* ) ` /* eslint-enable max-len */ @@ -94,10 +94,10 @@ case \`uname\` in esac if [ -x "$basedir/deno" ]; then - "$basedir/deno" run http://localhost:4500/http/file_server.ts "$@" + "$basedir/deno" "run" "http://localhost:4500/http/file_server.ts" "$@" ret=$? else - deno run http://localhost:4500/http/file_server.ts "$@" + "deno" "run" "http://localhost:4500/http/file_server.ts" "$@" ret=$? fi exit $ret @@ -122,11 +122,11 @@ installerTest(async function installWithFlags(): Promise<void> { /* 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 %* + "%~dp0\deno.exe" "run" "--allow-net" "--allow-read" "http://localhost:4500/http/file_server.ts" "--foobar" %* ) ELSE ( @SETLOCAL @SET PATHEXT=%PATHEXT:;.TS;=;% - deno run --allow-net --allow-read http://localhost:4500/http/file_server.ts --foobar %* + "deno" "run" "--allow-net" "--allow-read" "http://localhost:4500/http/file_server.ts" "--foobar" %* ) ` /* eslint-enable max-len */ @@ -145,10 +145,10 @@ case \`uname\` in esac if [ -x "$basedir/deno" ]; then - "$basedir/deno" run --allow-net --allow-read http://localhost:4500/http/file_server.ts --foobar "$@" + "$basedir/deno" "run" "--allow-net" "--allow-read" "http://localhost:4500/http/file_server.ts" "--foobar" "$@" ret=$? else - deno run --allow-net --allow-read http://localhost:4500/http/file_server.ts --foobar "$@" + "deno" "run" "--allow-net" "--allow-read" "http://localhost:4500/http/file_server.ts" "--foobar" "$@" ret=$? fi exit $ret |