Skip to content

Commit

Permalink
Merge pull request #5232 from webpack/test/test-case-5215
Browse files Browse the repository at this point in the history
add test case
  • Loading branch information
sokra committed Jul 7, 2017
2 parents ba610cc + 22cd80e commit 5b71b06
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion test/configCases/plugins/define-plugin/index.js
Expand Up @@ -105,4 +105,12 @@ it("should evaluate composed expressions (issue 5100)", function() {
} else {
require("fail");
}
})
});

it("should follow renamings in var (issue 5215)", function() {
var _process$env = process.env,
TEST = _process$env.TEST,
DEFINED_NESTED_KEY = _process$env.DEFINED_NESTED_KEY;
TEST.should.be.eql("test");
DEFINED_NESTED_KEY.should.be.eql(5);
});

0 comments on commit 5b71b06

Please sign in to comment.