summaryrefslogtreecommitdiff
path: root/src/render.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/render.rs')
-rw-r--r--src/render.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render.rs b/src/render.rs
index 5171753..dea7e28 100644
--- a/src/render.rs
+++ b/src/render.rs
@@ -98,6 +98,8 @@ mod tests {
assert!(!caddy.contains("do-not-publish"));
let homepage = fs::read_to_string(output.join("web/index.html"))?;
assert!(homepage.contains("https://git.example.net:8443"));
+ let stylesheet = files::hash_file(&root.path().join("web/styles.css"))?;
+ assert!(homepage.contains(&format!("/styles.css?v={stylesheet}")));
assert!(homepage.contains("https://chat.doan.luuduct.ai:8443/LIMITATIONS.txt"));
settings.mode = Mode::Local;
settings.port = 8180;