mirror of
https://github.com/sharkdp/bat.git
synced 2025-10-29 22:24:35 +00:00
Use BatTester::default instead of BatTester::new
This commit is contained in:
@@ -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