Skip to content

Commit 88311c1

Browse files
authored
test-helper: re-add missing function spit() (#3248)
It looks like this was removed in d615ebe while it still had references to it. Reviewed-by: Charmander <[email protected]>
1 parent 5a67344 commit 88311c1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/pg/test/test-helper.js

+7
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,13 @@ assert.UTCDate = function (actual, year, month, day, hours, min, sec, milisecond
7171
assert.equal(actualMili, milisecond, 'expected milisecond ' + milisecond + ' but got ' + actualMili)
7272
}
7373

74+
const spit = function (actual, expected) {
75+
console.log('')
76+
console.log('actual ' + sys.inspect(actual))
77+
console.log('expect ' + sys.inspect(expected))
78+
console.log('')
79+
}
80+
7481
assert.equalBuffers = function (actual, expected) {
7582
if (actual.length != expected.length) {
7683
spit(actual, expected)

0 commit comments

Comments
 (0)