ppTests mv macro_basic
This commit is contained in:
parent
81e3d1ea11
commit
637e970b13
@ -1141,9 +1141,9 @@ mod tests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn macro_usage_sameline() {
|
fn macro_basic() {
|
||||||
let (ret, _) = preprocess(
|
let (ret, _) = preprocess(
|
||||||
testfile_path("test15.sv"),
|
testfile_path("macro_basic.sv"),
|
||||||
&HashMap::new(),
|
&HashMap::new(),
|
||||||
&[] as &[String],
|
&[] as &[String],
|
||||||
false,
|
false,
|
||||||
@ -1152,7 +1152,7 @@ mod tests {
|
|||||||
.unwrap();
|
.unwrap();
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
ret.text(),
|
ret.text(),
|
||||||
testfile_contents("expected/macro_usage_sameline")
|
testfile_contents("expected/macro_basic.sv")
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user