2018-03-08 17:05:39 +08:00
|
|
|
test!(RunPassPretty {
|
|
|
|
// comment
|
2023-01-05 09:45:44 +01:00
|
|
|
path: "tests/run-pass/pretty",
|
2018-03-08 17:05:39 +08:00
|
|
|
mode: "pretty",
|
|
|
|
suite: "run-pass",
|
|
|
|
default: false,
|
|
|
|
host: true // should, force, , no trailing comma here
|
|
|
|
});
|
|
|
|
|
|
|
|
test!(RunPassPretty {
|
|
|
|
// comment
|
2023-01-05 09:45:44 +01:00
|
|
|
path: "tests/run-pass/pretty",
|
2018-03-08 17:05:39 +08:00
|
|
|
mode: "pretty",
|
|
|
|
suite: "run-pass",
|
|
|
|
default: false,
|
|
|
|
host: true, // should, , preserve, the trailing comma
|
|
|
|
});
|
|
|
|
|
|
|
|
test!(Test {
|
|
|
|
field: i32, // comment
|
|
|
|
});
|