Paligo/xee

Windows and the test runner

开放

#74 创建于 2025年3月31日

 (0 条评论) (0 个反应) (0 位负责人)Rust (40 个派生)auto 404
good first issuetest runner

仓库指标

星标
 (484 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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?

贡献者指南