File tree 2 files changed +5
-8
lines changed 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 15
15
// along with Hun-law. If not, see <http://www.gnu.org/licenses/>.
16
16
17
17
pub mod grammar;
18
- pub use grammar:: * ;
19
18
20
19
pub mod test_pdf_parser;
21
20
pub mod test_structure_parser;
Original file line number Diff line number Diff line change 17
17
mod datatests;
18
18
pub mod test_utils;
19
19
20
- use datatests:: * ;
21
-
22
20
#[ allow( unused_macros) ]
23
21
macro_rules! declare_test {
24
22
( dir = $dir: expr, pattern = $pattern: expr) => {
@@ -37,12 +35,12 @@ macro_rules! declare_test {
37
35
pub ( crate ) use declare_test;
38
36
39
37
macro_rules! generate_harness{
40
- ( $( $test : ident) ,* ) => {
38
+ ( $( $id_first : ident$ ( :: $id_rest : ident ) * ) ,* ) => {
41
39
datatest_stable:: harness!(
42
40
$(
43
- $test :: run_test,
44
- $test :: test_dir( ) ,
45
- $test :: FILE_PATTERN ,
41
+ datatests :: $id_first$ ( :: $id_rest ) * :: run_test,
42
+ datatests :: $id_first$ ( :: $id_rest ) * :: test_dir( ) ,
43
+ datatests :: $id_first$ ( :: $id_rest ) * :: FILE_PATTERN ,
46
44
) *
47
45
) ;
48
46
}
@@ -51,5 +49,5 @@ macro_rules! generate_harness{
51
49
generate_harness ! (
52
50
test_pdf_parser,
53
51
test_structure_parser,
54
- test_reference_parsing
52
+ grammar :: test_reference_parsing
55
53
) ;
You can’t perform that action at this time.
0 commit comments