1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-09-11 07:42:35 +01:00

Update dependencies; replace unmaintained (#1522)

* Update dependencies; replace unmaintained

* Fix errors

* Revert dependency changes

* Revert git2 to 0.13.15

Co-authored-by: David Peter <mail@david-peter.de>
This commit is contained in:
Caden Haustein
2021-02-16 07:50:41 +00:00
committed by GitHub
parent eac36dd3b5
commit 573f34d757
6 changed files with 142 additions and 179 deletions

View File

@@ -297,7 +297,7 @@ mod tests {
use std::fs::File;
use std::io::Write;
use tempdir::TempDir;
use tempfile::TempDir;
use crate::input::Input;
@@ -312,8 +312,7 @@ mod tests {
SyntaxDetectionTest {
assets: HighlightingAssets::from_binary(),
syntax_mapping: SyntaxMapping::builtin(),
temp_dir: TempDir::new("bat_syntax_detection_tests")
.expect("creation of temporary directory"),
temp_dir: TempDir::new().expect("creation of temporary directory"),
}
}