Skip to content

Commit

Permalink
Update core/modules/module_map_data.rs test
Browse files Browse the repository at this point in the history
  • Loading branch information
littledivy committed Jan 24, 2024
1 parent 7bd875d commit 3033d44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/modules/module_map_data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ impl ModuleMapData {
// There's always two internal `deno_core` ES module loaded, so +2 here.
assert_eq!(data.handles.len(), modules.len() + 2);
assert_eq!(data.info.len(), modules.len() + 2);
assert_eq!(data.next_load_id as usize, modules.len() + 1);
assert_eq!(data.next_load_id as usize, modules.len());
assert_eq!(data.by_name.len(), modules.len() + 2);

for info in modules {
Expand Down

0 comments on commit 3033d44

Please sign in to comment.