1
Fork 0
select-html/tests/errors.rs

9 lines
178 B
Rust
Raw Normal View History

2022-09-05 12:24:49 +00:00
use assert_cmd::Command;
#[test]
fn test_invalid_selector() {
let mut cmd = Command::cargo_bin("select-html").unwrap();
cmd.args([".#invalid"]);
cmd.assert().failure();
}