== should format ==
enum Test
{
}

[expect]
enum Test {
}

== should format when const ==
const  enum Test
{
}

[expect]
const enum Test {
}

== should format with members ==
declare enum Test
{
    member1    ,
    member2
}

[expect]
declare enum Test {
    member1,
    member2,
}

== should format with only comments ==
enum Test {
    // testing
    /* test */
}
enum Test2 {//comment
}

[expect]
enum Test {
    // testing
    /* test */
}
enum Test2 { // comment
}

== should format when has comments ==
enum Test {
    // testing
    member,
    // testing
    member2,
    /* test */
    member3,
    /** test */
    member4,
}

[expect]
enum Test {
    // testing
    member,
    // testing
    member2,
    /* test */
    member3,
    /** test */
    member4,
}
