Browse Source

update a test (#161)

better-aggressive
Rich-Harris 9 years ago
parent
commit
92676f5f74
  1. 4
      test/function/consistent-renaming-f/main.js

4
test/function/consistent-renaming-f/main.js

@ -3,7 +3,9 @@ import bar from './bar';
export default function foo () {} export default function foo () {}
foo.prototype.a = function ( foo ) { foo.prototype.a = function ( foo ) {
var foo = foo;
foo();
return bar(); return bar();
}; };
assert.equal( new foo().a(), 'consistent' ); assert.equal( new foo().a(function () {}), 'consistent' );

Loading…
Cancel
Save