class TestController {
  constructor(gettext) {
    var myString = gettext("Hi from an ES6 class!");

    this.bindedMethod = ::this.method;

    const component = <Component attr={true} />;

    const a = { a: 1 };
    const b = { b: 2 };

    const c = { ...a, ...b };
  }

  @test
  method () { }
}
@@ -294,8 +294,9 @@
 () %7B %7D%0A%7D
+%0A

add missing EOL