This commit is contained in:
Girish Ramakrishnan
2019-03-31 18:01:46 -07:00
parent 38d9378e48
commit 65affb5146

View File

@@ -65,7 +65,7 @@ describe('task', function () {
task.on('start', (tid) => { taskId = tid; });
task.on('finish', function (error, result) {
expect(error).to.be.ok();
expect(error.message).to.contain(`task ${taskId} crashed`);
expect(error.message).to.contain(`Task ${taskId} crashed`);
expect(result).to.be(null);
expect(taskId).to.be.ok();