From d07aa4a0723b04583b7cb1e09152457d866d13d3 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Thu, 6 Apr 2023 18:46:44 -0400 Subject: refactor(npm): use deno_npm and deno_semver (#18602) --- cli/tests/integration/npm_tests.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'cli/tests/integration/npm_tests.rs') diff --git a/cli/tests/integration/npm_tests.rs b/cli/tests/integration/npm_tests.rs index ea93d8879..606e63224 100644 --- a/cli/tests/integration/npm_tests.rs +++ b/cli/tests/integration/npm_tests.rs @@ -1119,7 +1119,13 @@ fn lock_file_missing_top_level_package() { let stderr = String::from_utf8(output.stderr).unwrap(); assert_eq!( stderr, - "error: failed reading lockfile 'deno.lock'\n\nCaused by:\n the lockfile is corrupt. You can recreate it with --lock-write\n" + concat!( + "error: failed reading lockfile 'deno.lock'\n", + "\n", + "Caused by:\n", + " 0: The lockfile is corrupt. You can recreate it with --lock-write\n", + " 1: Could not find referenced package 'cowsay@1.5.0' in the list of packages.\n" + ) ); } -- cgit v1.2.3