From b717add81b7a81340d678de5081d99eb55138f14 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Mon, 13 Oct 2014 19:08:23 +0800 Subject: [PATCH] Print error when mkdir failed --- spec/modules-spec.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/modules-spec.coffee b/spec/modules-spec.coffee index 39d0181df12b..d7349587a84b 100644 --- a/spec/modules-spec.coffee +++ b/spec/modules-spec.coffee @@ -22,7 +22,7 @@ describe 'third-party module', -> it 'emits file events correctly', (done) -> pathwatcher = require 'pathwatcher' temp.mkdir 'dir', (err, dir) -> - assert err == null + assert err == null, String(err) file = path.join dir, 'file' fs.writeFileSync file, 'content' watcher = pathwatcher.watch file, (event) ->