mirror of
https://github.com/brianc/node-postgres.git
synced 2025-12-08 20:16:25 +00:00
test array/int2
This commit is contained in:
parent
8f4644dc3d
commit
0939490033
@ -197,6 +197,14 @@ test('typed results', function() {
|
||||
expected :function(val){
|
||||
assert.deepEqual(val, [1.2,3.4]);
|
||||
}
|
||||
},{
|
||||
name : 'array/int2',
|
||||
format : 'text',
|
||||
dataTypeID: 1005,
|
||||
actual: '{-32768, -32767, 32766, 32767}',
|
||||
expected :function(val){
|
||||
assert.deepEqual(val, [-32768, -32767, 32766, 32767]);
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user