Move snapshot tests into separate module

This commit is contained in:
sharkdp authored and David Peter committed 2018-10-07 15:34:37 +02:00
1 parent 6d1cc8c2c8
commit e09d7dabb8
1 file changed
+2
+2
View File
@@ -1,5 +1,6 @@
mod tester; mod tester;
mod snapshot {
use tester::BatTester; use tester::BatTester;
macro_rules! snapshot_tests { macro_rules! snapshot_tests {
@@ -39,3 +40,4 @@ snapshot_tests! {
tabs_4: "full" => [wrap: false, tabs: 4], tabs_4: "full" => [wrap: false, tabs: 4],
tabs_8: "full" => [wrap: false, tabs: 8], tabs_8: "full" => [wrap: false, tabs: 8],
} }
}