diff --git a/test/function/consistent-renaming-f/main.js b/test/function/consistent-renaming-f/main.js index d1e53f9..c9015d1 100644 --- a/test/function/consistent-renaming-f/main.js +++ b/test/function/consistent-renaming-f/main.js @@ -3,7 +3,9 @@ import bar from './bar'; export default function foo () {} foo.prototype.a = function ( foo ) { + var foo = foo; + foo(); return bar(); }; -assert.equal( new foo().a(), 'consistent' ); +assert.equal( new foo().a(function () {}), 'consistent' );