message: Fix/strengthen a test that was getting leading spaces wrong.
diff: @@ -369,6 +369,13 @@ describe("Babel", function () {
  )
  );
  + ast.program.body[0] = replacement;
  +
  + assert.strictEqual(
  + recast.print(ast).code,
  + '\nfn(test, true);'
  + );
  +
  recast.types.visit(ast, {
  visitIfStatement: function(path) {
  path.replace(replacement);
  @@ -376,14 +383,9 @@ describe("Babel", function () {
  }
  });
  - // This also doesn't work:
  - // ast.program.body[0] = replacement;
  -
  - // The `ast` contains the correct replacement nodes but the printed code
  - // is still the same as the original.
  assert.strictEqual(
  recast.print(ast).code,
  - 'fn(test, true);'
  + '\nfn(test, true);'
  );
  });
  