diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-05-21 16:12:40 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-21 16:12:40 -0400 |
commit | ddb5449f42051a2c7e92142a5d0750cdc49cb281 (patch) | |
tree | 2870a267a1de73ffc4b31b60b018adf05c3144b4 /cli/cache | |
parent | 97956377240d71dadc7271d685c3a637c1e987e7 (diff) |
chore: add test to ensure parsing only happens once on first load (#23837)
Diffstat (limited to 'cli/cache')
-rw-r--r-- | cli/cache/parsed_source.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/cache/parsed_source.rs b/cli/cache/parsed_source.rs index 94accb616..688f2b9fb 100644 --- a/cli/cache/parsed_source.rs +++ b/cli/cache/parsed_source.rs @@ -77,6 +77,8 @@ impl ParsedSourceCache { if parsed_source.media_type() == media_type && parsed_source.text_info().text_str() == source.as_ref() { + // note: message used tests + log::debug!("Removed parsed source: {}", specifier); return Ok(parsed_source); } } |