fn formatted_urls_one_extension_returns_two_urls() {
        let config = Configuration {
            extensions: vec![String::from("js")],
            ..Default::default()
        };

        let handles = Arc::new(Handles::for_testing(None, Some(Arc::new(config))).0);
        let url = FeroxUrl::from_string("http://localhost", handles);
        let urls = url.formatted_urls("turbo").unwrap();

        assert_eq!(
            urls,
            [
                Url::parse("http://localhost/turbo").unwrap(),
                Url::parse("http://localhost/turbo.js").unwrap()
            ]
        )
    }
/// sending url + word + 1 extension should get back two urls, one base and one with extension
sending url + word + 1 extension should get back two urls, one base and one with extension
sending url + word + 1 extension should get back two urls one base and one with extension
fn formatted_urls_one_extension_returns_two_urls() {
        let config = Configuration {
            extensions: vec![String::from("js")],
            ..Default::default()
        };
        let handles = Arc::new(Handles::for_testing(None, Some(Arc::new(config))).0);
        let url = FeroxUrl::from_string("http://localhost", handles);
        let urls = url.formatted_urls("turbo").unwrap();
        assert_eq!(
            urls,
            [
                Url::parse("http://localhost/turbo").unwrap(),
                Url::parse("http://localhost/turbo.js").unwrap()
            ]
        )
    }
fn formatted_urls_one_extension_returns_two_urls ( ) { let config = Configuration { extensions : vec ! [ String from ( " " ) ] , .. Default :: default ( ) } ; let handles = Arc :: new ( Handles :: for_testing ( None , Some ( Arc :: new ( config ) ) ) . 0 ) ; let url = FeroxUrl :: from_string ( " " , handles ) ; let urls = url . formatted_urls ( " " ) . unwrap ( ) ; assert_eq ! ( urls [ Url parse ( " " ) unwrap ( ) Url parse ( " " ) unwrap ( ) ] ) }
sending url + word + 1 extension should get back two urls, one base and one with extension
sending url + word + 1 extension should get back two urls one base and one with extension