mirror of
https://github.com/sharkdp/bat.git
synced 2025-08-17 03:23:14 +02: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:
@ -946,9 +946,9 @@ fn file_with_invalid_utf8_filename() {
|
||||
use std::io::Write;
|
||||
use std::os::unix::ffi::OsStrExt;
|
||||
|
||||
use tempdir::TempDir;
|
||||
use tempfile::TempDir;
|
||||
|
||||
let tmp_dir = TempDir::new("bat_test").expect("can create temporary directory");
|
||||
let tmp_dir = TempDir::new().expect("can create temporary directory");
|
||||
let file_path = tmp_dir
|
||||
.path()
|
||||
.join(OsStr::from_bytes(b"test-invalid-utf8-\xC3(.rs"));
|
||||
|
Reference in New Issue
Block a user