diff options
Diffstat (limited to 'cli/tests/integration/check_tests.rs')
-rw-r--r-- | cli/tests/integration/check_tests.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cli/tests/integration/check_tests.rs b/cli/tests/integration/check_tests.rs index 253ccf767..402f683c8 100644 --- a/cli/tests/integration/check_tests.rs +++ b/cli/tests/integration/check_tests.rs @@ -370,9 +370,9 @@ fn npm_module_check_then_error() { lockfile.read_json::<deno_lockfile::LockfileContent>(); // make the specifier resolve to version 1 - lockfile_content.npm.specifiers.insert( - "@denotest/breaking-change-between-versions".to_string(), - "@denotest/breaking-change-between-versions@1.0.0".to_string(), + lockfile_content.packages.specifiers.insert( + "npm:@denotest/breaking-change-between-versions".to_string(), + "npm:@denotest/breaking-change-between-versions@1.0.0".to_string(), ); lockfile.write_json(&lockfile_content); temp_dir.write( @@ -385,9 +385,9 @@ fn npm_module_check_then_error() { // now update the lockfile to use version 2 instead, which should cause a // type checking error because the oldName no longer exists - lockfile_content.npm.specifiers.insert( - "@denotest/breaking-change-between-versions".to_string(), - "@denotest/breaking-change-between-versions@2.0.0".to_string(), + lockfile_content.packages.specifiers.insert( + "npm:@denotest/breaking-change-between-versions".to_string(), + "npm:@denotest/breaking-change-between-versions@2.0.0".to_string(), ); lockfile.write_json(&lockfile_content); |