1 parent 9d24caa commit 220ce5fCopy full SHA for 220ce5f
1 file changed
test/tests/diff.js
@@ -153,7 +153,7 @@ describe("Diff", function() {
153
patches.forEach(function(patch) {
154
hunkPromises.push(patch.hunks()
155
.then(function(hunks) {
156
- result.concat(hunks);
+ result = result.concat(hunks);
157
})
158
);
159
});
@@ -170,7 +170,7 @@ describe("Diff", function() {
170
hunks.forEach(function(hunk) {
171
linePromises.push(hunk.lines()
172
.then(function(lines) {
173
- result.concat(lines);
+ result = result.concat(lines);
174
175
176
0 commit comments