mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Fix path calculations in reftest
This commit is contained in:
parent
17552aae37
commit
aa9fc2483f
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ fn test_options(config: Config) -> TestOpts {
|
|||
fn find_tests(config: Config) -> ~[TestDesc] {
|
||||
let all_files = list_dir_path(&Path(config.source_dir));
|
||||
let html_files = all_files.filter( |file| file.to_str().ends_with(".html") );
|
||||
return html_files.map(|file| make_test(config, file.to_str()) );
|
||||
return html_files.map(|file| make_test(config, (*file).to_str()) );
|
||||
}
|
||||
|
||||
fn make_test(config: Config, file: ~str) -> TestDesc {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue