mirror of
https://github.com/sharkdp/bat.git
synced 2025-09-14 09:12:24 +01:00
Rename field name, new constructors
This commit is contained in:
@@ -267,7 +267,7 @@ mod tests {
|
||||
writeln!(temp_file, "{}", first_line).unwrap();
|
||||
}
|
||||
|
||||
let input_file = InputFile::Ordinary(OrdinaryFile::new(OsStr::new(&file_path), None));
|
||||
let input_file = InputFile::Ordinary(OrdinaryFile::from_path(OsStr::new(&file_path)));
|
||||
let syntax = self.assets.get_syntax(
|
||||
None,
|
||||
input_file,
|
||||
|
Reference in New Issue
Block a user