ppTests mv IEEE18002017_macro_mix_quotes

This commit is contained in:
damc 2022-07-21 13:10:18 +02:00
parent d40374b509
commit f4554b062c
2 changed files with 4 additions and 10 deletions

View File

@ -1011,9 +1011,10 @@ mod tests {
}
#[test]
fn macro_string_literal() {
#[allow(non_snake_case)]
fn IEEE18002017_macro_mix_quotes() {
let (ret, _) = preprocess(
testfile_path("test6.sv"),
testfile_path("IEEE18002017_macro_mix_quotes.sv"),
&HashMap::new(),
&[] as &[String],
false,
@ -1022,7 +1023,7 @@ mod tests {
.unwrap();
assert_eq!(
ret.text(),
testfile_contents("expected/macro_string_literal")
testfile_contents("expected/IEEE18002017_macro_mix_quotes.sv")
);
}

View File

@ -1,7 +0,0 @@
`define msg(x,y) `"x: `\`"y`\`"`"
module a;
initial begin
$display(`msg(left side,right side));
end
endmodule