From ddb5449f42051a2c7e92142a5d0750cdc49cb281 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Tue, 21 May 2024 16:12:40 -0400 Subject: chore: add test to ensure parsing only happens once on first load (#23837) --- cli/cache/parsed_source.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cli/cache') 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); } } -- cgit v1.2.3