standardize more

This commit is contained in:
Zeke Sikelianos 2016-03-28 16:19:18 -07:00 committed by Kevin Sawicki
parent 9db733a4ff
commit 5e4696f4a7
6 changed files with 23 additions and 19 deletions

View file

@ -183,7 +183,7 @@ describe('protocol module', function () {
it('fails when sending object other than string', function (done) {
var handler = function (request, callback) {
callback(new Date)
callback(new Date())
}
protocol.registerBufferProtocol(protocolName, handler, function (error) {
if (error) {
@ -413,7 +413,7 @@ describe('protocol module', function () {
it('fails when sending unsupported content', function (done) {
var handler = function (request, callback) {
callback(new Date)
callback(new Date())
}
protocol.registerBufferProtocol(protocolName, handler, function (error) {
if (error) {
@ -491,7 +491,7 @@ describe('protocol module', function () {
it('fails when sending unsupported content', function (done) {
var handler = function (request, callback) {
callback(new Date)
callback(new Date())
}
protocol.registerHttpProtocol(protocolName, handler, function (error) {
if (error) {