mirror of
https://github.com/sharkdp/bat.git
synced 2026-10-30 10:06:12 +00:00
Use BatTester::default instead of BatTester::new
This commit is contained in:
1 parent
19b8c53c46
commit
73d14f4655
2 files changed
+20
-18
No files matched your search
@@ -7,7 +7,7 @@ macro_rules! snapshot_tests {
|
||||
$(
|
||||
#[test]
|
||||
fn $test_name() {
|
||||
let bat_tester = BatTester::new();
|
||||
let bat_tester = BatTester::default();
|
||||
bat_tester.test_snapshot(stringify!($test_name), $style);
|
||||
}
|
||||
)*
|
||||
|
||||
Reference in new issue
Block a user