mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
commit
c5ecc0da39
1 changed files with 1 additions and 2 deletions
|
@ -68,8 +68,7 @@ fn test_options(config: Config) -> TestOpts {
|
|||
|
||||
fn find_tests(config: Config) -> ~[TestDescAndFn] {
|
||||
let mut files = list_dir_path(&Path::new(config.source_dir));
|
||||
// FIXME (#1094): not the right way to transform a path
|
||||
files.retain( |file| file.display().to_str().ends_with(".html") );
|
||||
files.retain(|file| file.extension_str() == Some("html") );
|
||||
return files.map(|file| make_test(file.display().to_str()) );
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue