fn extractor_get_sub_paths_from_path_with_an_absolute_word() {
    let path = "/homepage";
    let r_paths = ROBOTS_EXT.get_sub_paths_from_path(path);
    let b_paths = BODY_EXT.get_sub_paths_from_path(path);
    let expected = vec!["homepage"];

    assert_eq!(r_paths.len(), expected.len());
    assert_eq!(b_paths.len(), expected.len());
    for expected_path in expected {
        assert!(r_paths.contains(&expected_path.to_string()));
        assert!(b_paths.contains(&expected_path.to_string()));
    }
}
/// extract sub paths from the given url fragment; expect 1 sub path, forward slash removed
extract sub paths from the given url fragment; expect 1 sub path, forward slash removed
extract sub paths from the given url fragment ; expect 1 sub path forward slash removed
fn extractor_get_sub_paths_from_path_with_an_absolute_word() {
    let path = "/homepage";
    let r_paths = ROBOTS_EXT.get_sub_paths_from_path(path);
    let b_paths = BODY_EXT.get_sub_paths_from_path(path);
    let expected = vec!["homepage"];
    assert_eq!(r_paths.len(), expected.len());
    assert_eq!(b_paths.len(), expected.len());
    for expected_path in expected {
        assert!(r_paths.contains(&expected_path.to_string()));
        assert!(b_paths.contains(&expected_path.to_string()));
    }
}
fn extractor_get_sub_paths_from_path_with_an_absolute_word ( ) { let path = " " ; let r_paths = ROBOTS_EXT . get_sub_paths_from_path ( path ) ; let b_paths = BODY_EXT . get_sub_paths_from_path ( path ) ; let expected = vec ! [ " " ] ; assert_eq ! ( r_paths len ( ) expected len ( ) ) ; assert_eq ! ( b_paths len ( ) expected len ( ) ) ; for expected_path in expected { assert ! ( r_paths contains ( expected_path to_string ( ) ) ) ; assert ! ( b_paths contains ( expected_path to_string ( ) ) ) ; } }
extract sub paths from the given url fragment; expect 1 sub path, forward slash removed
extract sub paths from the given url fragment ; expect 1 sub path forward slash removed