summaryrefslogtreecommitdiff
path: root/cli/tools/vendor/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tools/vendor/build.rs')
-rw-r--r--cli/tools/vendor/build.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tools/vendor/build.rs b/cli/tools/vendor/build.rs
index 33f5227b5..f0a490a75 100644
--- a/cli/tools/vendor/build.rs
+++ b/cli/tools/vendor/build.rs
@@ -473,7 +473,7 @@ mod test {
"/mod.ts",
r#"import data from "https://localhost/data.json" assert { type: "json" };"#,
)
- .add("https://localhost/data.json", "{}");
+ .add("https://localhost/data.json", "{ \"a\": \"b\" }");
})
.build()
.await
@@ -489,7 +489,7 @@ mod test {
);
assert_eq!(
output.files,
- to_file_vec(&[("/vendor/localhost/data.json", "{}"),]),
+ to_file_vec(&[("/vendor/localhost/data.json", "{ \"a\": \"b\" }"),]),
);
}