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?

貢獻者指南