From 565d15ccc556327e2a26794496318836cc16c81e Mon Sep 17 00:00:00 2001 From: damc Date: Tue, 26 Jul 2022 09:54:41 +0200 Subject: [PATCH] ppTests mv macro_FILE into alphabetical position. --- sv-parser-pp/src/preprocess.rs | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/sv-parser-pp/src/preprocess.rs b/sv-parser-pp/src/preprocess.rs index 5cc368c..448bc72 100644 --- a/sv-parser-pp/src/preprocess.rs +++ b/sv-parser-pp/src/preprocess.rs @@ -1342,6 +1342,23 @@ mod tests { ); } // }}} + #[test] + #[allow(non_snake_case)] + fn macro_FILE() { // {{{ + let (ret, _) = preprocess( + testfile_path("macro_FILE.sv"), + &HashMap::new(), + &[] as &[String], + false, + false, + ) + .unwrap(); + assert_eq!( + ret.text(), + testfile_contents("expected/macro_FILE.sv") + ); + } // }}} + #[test] fn macro_identifier() { // {{{ let (ret, _) = preprocess( @@ -1375,23 +1392,6 @@ mod tests { ); } // }}} - #[test] - #[allow(non_snake_case)] - fn macro_FILE() { // {{{ - let (ret, _) = preprocess( - testfile_path("macro_FILE.sv"), - &HashMap::new(), - &[] as &[String], - false, - false, - ) - .unwrap(); - assert_eq!( - ret.text(), - testfile_contents("expected/macro_FILE.sv") - ); - } // }}} - #[test] fn macro_multiline_comment() { // {{{ let (ret, _) = preprocess(