diff options
author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-01-22 10:27:14 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-22 00:27:14 +0100 |
commit | b4990d1aa233db662cf22d7f872d45b3a947e0f6 (patch) | |
tree | 7009b20a5d05e5e2e2d3d9c79fdd8974347f69a3 /cli/tests/integration/eval_tests.rs | |
parent | 983c745d4f385594638c42c107dca7d55afd0731 (diff) |
refactor: don't error when `.env` is not present (#21879)
Uses similar format to when the latest version of std is implicitly
being used.
Closes #21788
Diffstat (limited to 'cli/tests/integration/eval_tests.rs')
-rw-r--r-- | cli/tests/integration/eval_tests.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cli/tests/integration/eval_tests.rs b/cli/tests/integration/eval_tests.rs index 5d0566a19..1ae65e49e 100644 --- a/cli/tests/integration/eval_tests.rs +++ b/cli/tests/integration/eval_tests.rs @@ -85,8 +85,5 @@ itest!(env_file { itest!(env_file_missing { args: "eval --env=missing console.log(Deno.env.get(\"ANOTHER_FOO\"))", - output_str: Some( - "error: Unable to load 'missing' environment variable file\n" - ), - exit_code: 1, + output: "eval/env_file_missing.out", }); |