ppTests mv macro_FILE into alphabetical position.
This commit is contained in:
parent
963e17a5ea
commit
565d15ccc5
@ -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]
|
#[test]
|
||||||
fn macro_identifier() { // {{{
|
fn macro_identifier() { // {{{
|
||||||
let (ret, _) = preprocess(
|
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]
|
#[test]
|
||||||
fn macro_multiline_comment() { // {{{
|
fn macro_multiline_comment() { // {{{
|
||||||
let (ret, _) = preprocess(
|
let (ret, _) = preprocess(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user