summaryrefslogtreecommitdiff
path: root/cli/tests/integration/npm_tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/integration/npm_tests.rs')
-rw-r--r--cli/tests/integration/npm_tests.rs8
1 files changed, 7 insertions, 1 deletions
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"
+ )
);
}