Skip to content

Commit

Permalink
Added test for new example
Browse files Browse the repository at this point in the history
  • Loading branch information
Globegitter committed Jan 4, 2016
1 parent aa6a556 commit b4f974d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/cases/parsing/harmony/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,12 @@ it("should import a whole module", function() {
abc.a.should.be.eql("a");
abc.b.should.be.eql("b");
abc.c.should.be.eql("c");
abc.d.c.should.be.eql("c");
var copy = (function(a) { return a; }(abc));
copy.a.should.be.eql("a");
copy.b.should.be.eql("b");
copy.c.should.be.eql("c");
copy.d.c.should.be.eql("c");
(typeof abc).should.be.eql("object");
});

Expand Down

0 comments on commit b4f974d

Please sign in to comment.