Prefer a trailing comment when comment on between test and consequent on ternary (#8554 by @sosukesuzuki)
// Input
test
// comment
? foo
: bar;
// Prettier (stable)
test
? // comment
foo
: bar;
// Prettier (master)
test
// comment
? foo
: bar;