var expect = require('chai').expect;
var
  Transformer = require('./../../lib/transformer'),
  transformer = new Transformer({
    formatter: false,
    transformers:{
      generateExport:false
    }
  });

function test(script) {
  transformer.read(script);
  transformer.applyTransformations();
  return transformer.out();
}

describe('Comments', function () {

  it("shouldn't convert comment line", function (done) {
    var script = '// comment line\nvar x = 42;';

    expect(test(script)).to.equal('// comment line\nconst x = 42;');
    done();
  });

  it("shouldn't convert trailing comment", function (done) {
    var script = 'var x = 42;    // trailing comment\n';

    expect(test(script)).to.equal('const x = 42;    // trailing comment\n');
    done();
  });

});

@@ -565,27 +565,23 @@
 (%22should
-n't convert
+ remove
  trailin
@@ -720,33 +720,8 @@
  42;
-    // trailing comment%5Cn
 ');%0A

Fix unit test