()
| 234 | |
| 235 | #[test] |
| 236 | fn invalid_browser_path_test() { |
| 237 | let mut cmd = get_selenium_manager(); |
| 238 | cmd.args([ |
| 239 | "--browser", |
| 240 | "chrome", |
| 241 | "--browser-path", |
| 242 | "/bad/path/google-chrome-wrong", |
| 243 | ]) |
| 244 | .assert() |
| 245 | .code(DATAERR) |
| 246 | .failure(); |
| 247 | } |
| 248 | |
| 249 | #[cfg(unix)] |
| 250 | fn create_fake_browser(dir: &Path, version: &str) -> std::path::PathBuf { |
nothing calls this directly
no test coverage detected