From: Cheng Zhao Date: Sun, 25 Aug 2013 08:49:54 +0000 (+0800) Subject: :lipstick: X-Git-Tag: v0.4.4~6^2~26 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=d88676bf6540657fc22e5faf66836938f3171596;p=electron.git :lipstick: --- diff --git a/spec/api/protocol.coffee b/spec/api/protocol.coffee index 9f5e06c0..84cf0bc4 100644 --- a/spec/api/protocol.coffee +++ b/spec/api/protocol.coffee @@ -45,7 +45,8 @@ describe 'protocol API', -> $.ajax url: 'atom-file-job://' + __filename success: (data) -> - console.log data + content = require('fs').readFileSync __filename + assert.equal data, String(content) done() error: (xhr, errorType, error) -> assert false, 'Got error: ' + errorType + ' ' + error