Use strict

This commit is contained in:
Daniel García Aubert
2018-10-24 18:52:57 +02:00
parent d7e5c1383f
commit 8b355b6e72
6 changed files with 19 additions and 9 deletions
+5 -5
View File
@@ -1,3 +1,5 @@
'use strict';
var assert = require('assert')
var gonna = require('gonna')
@@ -29,7 +31,7 @@ var testComparators = function() {
assert(copy1._gotCopyOutResponse, 'should have received CopyOutResponse')
assert(!copy1._remainder, 'Message with no additional data (len=Int4Len+0) should not leave a remainder')
}))
copy1.end(new Buffer([code.CopyOutResponse, 0x00, 0x00, 0x00, 0x04]));
copy1.end(new Buffer([code.CopyOutResponse, 0x00, 0x00, 0x00, 0x04]));
}
@@ -104,8 +106,8 @@ var testNoticeResponse = function() {
stream.on('data', function(data) {
})
stream.on('error', callback)
// make sure stream is pulled from
// make sure stream is pulled from
stream.pipe(concat(callback.bind(null,null)))
}
@@ -118,5 +120,3 @@ var testNoticeResponse = function() {
}
testNoticeResponse();