summaryrefslogtreecommitdiff
path: root/cli/graph_util.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-02-24 20:23:51 -0500
committerGitHub <noreply@github.com>2023-02-25 01:23:51 +0000
commitd6192ce8fd053e5ba670b8d954bd8d8f5f040941 (patch)
tree896db54e71c481858224999b43d5c6212695ae09 /cli/graph_util.rs
parent033b70af19300a4e34dcf19ab0031245bfc19625 (diff)
fix: regression remapping remote specifier to local file (#17935)
Tests added to deno_graph, which were previously not there. Closes #17932
Diffstat (limited to 'cli/graph_util.rs')
-rw-r--r--cli/graph_util.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/graph_util.rs b/cli/graph_util.rs
index 3578601a7..31645824d 100644
--- a/cli/graph_util.rs
+++ b/cli/graph_util.rs
@@ -442,6 +442,7 @@ mod test {
specifier: input.to_string(),
range: Range {
specifier,
+ text: "".to_string(),
start: Position::zeroed(),
end: Position::zeroed(),
},
@@ -458,6 +459,7 @@ mod test {
let err = ResolutionError::InvalidSpecifier {
range: Range {
specifier,
+ text: "".to_string(),
start: Position::zeroed(),
end: Position::zeroed(),
},