MCPcopy Create free account
hub / github.com/Stranger6667/css-inline / wrong_base_url

Function wrong_base_url

css-inline/tests/test_cli.rs:169–176  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

167
168 #[test]
169 fn wrong_base_url() {
170 css_inline()
171 .arg("--base-url=https://:::::")
172 .write_stdin(r#"<html><head><link href="external.css" rel="stylesheet"></head><body><h1>Hello world!</h1></body></html>"#)
173 .assert()
174 .failure()
175 .stderr("Status: ERROR\nDetails: empty host\n");
176 }
177
178 #[test]
179 fn extra_css_file() {

Callers

nothing calls this directly

Calls 1

css_inlineFunction · 0.70

Tested by

no test coverage detected