filetests: run_passes can take &str, not &String.
This commit is contained in:
committed by
Dan Gohman
parent
2a7cc7e644
commit
e07e159bda
@@ -93,7 +93,7 @@ pub fn run(verbose: bool, files: &[String]) -> TestResult {
|
||||
///
|
||||
/// Directories are scanned recursively for test cases ending in `.clif`.
|
||||
///
|
||||
pub fn run_passes(verbose: bool, passes: &[String], target: &str, file: &String) -> TestResult {
|
||||
pub fn run_passes(verbose: bool, passes: &[String], target: &str, file: &str) -> TestResult {
|
||||
let mut runner = TestRunner::new(verbose);
|
||||
|
||||
let path = Path::new(file);
|
||||
|
||||
Reference in New Issue
Block a user