Fix compiler warning for 'windows' tests (dead_code)

This commit is contained in:
Roy Ivy III 2020-05-26 22:37:37 -05:00 committed by David Peter
parent 698a6b5acf
commit 9cc8e52512
1 changed files with 1 additions and 0 deletions

View File

@ -331,6 +331,7 @@ mod tests {
.clone()
}
#[cfg(unix)]
fn syntax_for_file_os(&self, file_name: &OsStr) -> String {
self.syntax_for_file_with_content_os(file_name, "")
}