Paligo/xee

Windows and the test runner

Ouverte

#74 ouverte le 31 mars 2025

 (0 commentaire) (0 réaction) (0 personne assignée)Rust (40 forks)auto 404
good first issuetest runner

Métriques du dépôt

Stars
 (484 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

Right now we have the url dependency in xee-testrunner just to support running the tests on Windows in this code:

        let url_str =
            url::Url::from_file_path(&self.full_path).expect("Only absolute path is supported");
        IriAbsoluteString::try_from(format!("{url_str}")).expect("Failed to convert file path URI")
    }
  • Could we support this using iri-string instead?
  • Could we support this by some built-in Rust function that can turn a path into forward slashes?

Guide contributeur