1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-10-30 06:33:59 +00:00

Use BatTester::default instead of BatTester::new

This commit is contained in:
sharkdp
2021-01-09 19:15:39 +01:00
committed by David Peter
parent 19b8c53c46
commit 73d14f4655
2 changed files with 20 additions and 18 deletions

View File

@@ -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);
}
)*