Add a test for #2087
This commit is contained in:
parent
0a59654b41
commit
daf4789b76
2 changed files with 10 additions and 0 deletions
|
|
@ -21,6 +21,12 @@ fn main() {
|
|||
kaas!(/* comments */ a /* post macro */, b /* another */);
|
||||
|
||||
trailingcomma!( a , b , c , );
|
||||
// Preserve trailing comma only when necessary.
|
||||
ok!(file.seek(
|
||||
SeekFrom::Start(
|
||||
table.map(|table| fixture.offset(table)).unwrap_or(0),
|
||||
)
|
||||
));
|
||||
|
||||
noexpr!( i am not an expression, OK? );
|
||||
|
||||
|
|
|
|||
|
|
@ -33,6 +33,10 @@ fn main() {
|
|||
);
|
||||
|
||||
trailingcomma!(a, b, c,);
|
||||
// Preserve trailing comma only when necessary.
|
||||
ok!(file.seek(SeekFrom::Start(
|
||||
table.map(|table| fixture.offset(table)).unwrap_or(0),
|
||||
)));
|
||||
|
||||
noexpr!( i am not an expression, OK? );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue