Browse Source

add test for #716 but skip it for now

rewrite
Rich Harris 8 years ago
parent
commit
7df2f00b57
  1. 4
      test/form/duplicated-var-declarations/_config.js
  2. 10
      test/form/duplicated-var-declarations/main.js

4
test/form/duplicated-var-declarations/_config.js

@ -0,0 +1,4 @@
module.exports = {
skip: true,
description: 'does not remove duplicated var declarations (#716)'
};

10
test/form/duplicated-var-declarations/main.js

@ -0,0 +1,10 @@
var a = 1, b = 2;
assert.equal( a, 1 );
assert.equal( b, 2 );
var a = 3, b = 4, c = 5;
assert.equal( a, 3 );
assert.equal( b, 4 );
assert.equal( c, 5 );
Loading…
Cancel
Save