()
| 251 | |
| 252 | #[test] |
| 253 | fn stdin() { |
| 254 | css_inline() |
| 255 | .write_stdin(r#"<html><head><style>h1 {background-color: blue;}</style></head><body><h1>Hello world!</h1></body></html>"#) |
| 256 | .assert() |
| 257 | .success() |
| 258 | .stdout("<html><head></head><body><h1 style=\"background-color: blue;\">Hello world!</h1></body></html>"); |
| 259 | } |
| 260 | |
| 261 | #[test_case("--help", "css-inline inlines CSS into HTML")] |
| 262 | #[test_case("-h", "css-inline inlines CSS into HTML")] |