mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Auto merge of #10238 - jdm:winunit, r=larsbergstrom
Run unit tests on appveyor <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10238) <!-- Reviewable:end -->
This commit is contained in:
commit
e148571812
6 changed files with 60 additions and 7 deletions
|
@ -868,7 +868,7 @@ pub fn parse_url_or_filename(cwd: &Path, input: &str) -> Result<Url, ()> {
|
|||
match Url::parse(input) {
|
||||
Ok(url) => Ok(url),
|
||||
Err(url::ParseError::RelativeUrlWithoutBase) => {
|
||||
Ok(Url::from_file_path(&*cwd.join(input)).unwrap())
|
||||
Url::from_file_path(&*cwd.join(input))
|
||||
}
|
||||
Err(_) => Err(()),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue