From 8dd69e9352f8bd5ab612a49c9d7232020097844e Mon Sep 17 00:00:00 2001 From: Kyle Robinson Young Date: Wed, 13 Mar 2013 19:37:32 -0700 Subject: [PATCH] Better error message on events tests --- test/tasks/events_test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/tasks/events_test.js b/test/tasks/events_test.js index 6c53da6..402875f 100644 --- a/test/tasks/events_test.js +++ b/test/tasks/events_test.js @@ -39,9 +39,9 @@ exports.events = { }, 500); }], function(result) { helper.verboseLog(result); - test.ok(result.indexOf('lib/added.js was indeed added') !== -1, 'event emitted when file added'); - test.ok(result.indexOf('lib/one.js was indeed changed') !== -1, 'event emitted when file changed'); - test.ok(result.indexOf('lib/added.js was indeed deleted') !== -1, 'event emitted when file deleted'); + test.ok(result.indexOf('lib/added.js was indeed added') !== -1, 'event not emitted when file added'); + test.ok(result.indexOf('lib/one.js was indeed changed') !== -1, 'event not emitted when file changed'); + test.ok(result.indexOf('lib/added.js was indeed deleted') !== -1, 'event not emitted when file deleted'); test.done(); }); },