Skip to content

Commit

Permalink
Removed obsolete d[key].name assignment from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sgtdck committed Mar 9, 2016
1 parent 00b18a6 commit 6547ac1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,6 @@ var tests = {
},
'output the location of the license files as absolute paths': function (d) {
Object.keys(d).map(function (key) {
d[key].name = key.substr(0, key.indexOf("@"));
return d[key];
}).filter(function (dep) {
return dep.licenseFile !== undefined;
Expand All @@ -273,7 +272,6 @@ var tests = {
},
'output the location of the license files as relative paths': function (d) {
Object.keys(d).map(function (key) {
d[key].name = key.substr(0, key.indexOf("@"));
return d[key];
}).filter(function (dep) {
return dep.licenseFile !== undefined;
Expand Down

0 comments on commit 6547ac1

Please sign in to comment.