Skip to content

Commit d6d1498

Browse files
author
Tatyana Kostromskaya
authored
Update toolrunnertests.ts (#783)
Fix Toolrunner Test "Should handle arguments with quotes properly"
1 parent f30e6ba commit d6d1498

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

node/test/toolrunnertests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2209,7 +2209,7 @@ describe('Toolrunner Tests', function () {
22092209
let exeRunner = tl.tool(exePath);
22102210
exeRunner.line('-TEST1="space test" "-TEST2=%WIN_TEST%" \'-TEST3=value\'');
22112211
exeRunner.on('stdout', (data) => {
2212-
output = data.toString();
2212+
output += data.toString();
22132213
});
22142214
exeRunner.exec(_testExecOptions).then(function (code) {
22152215
assert.equal(code, 0, 'return code of cmd should be 0');

0 commit comments

Comments
 (0)