Fix compiler warning for 'windows' tests (dead_code)

This commit is contained in:
Roy Ivy III authored and David Peter committed 2020-06-03 09:13:47 +02:00
1 parent 698a6b5acf
commit 9cc8e52512
1 file changed
+1
+1
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, "")
}