MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / get_major_version_errors_on_empty

Function get_major_version_errors_on_empty

rust/tests/version_unit_tests.rs:153–157  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

151
152#[test]
153fn get_major_version_errors_on_empty() {
154 let manager = get_manager_by_browser("chrome".to_string()).unwrap();
155 let result = manager.get_major_version("");
156 assert!(result.is_err());
157}
158
159#[test]
160fn get_major_version_returns_first_component_for_non_numeric() {

Callers

nothing calls this directly

Calls 2

get_manager_by_browserFunction · 0.85
get_major_versionMethod · 0.80

Tested by

no test coverage detected