From eee21dd088509bb6d528e62aa1252da891029e3c Mon Sep 17 00:00:00 2001 From: Lalit Kapoor Date: Wed, 8 Jan 2014 00:13:52 -0600 Subject: [PATCH] test array/int8 --- test/unit/client/typed-query-results-tests.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/test/unit/client/typed-query-results-tests.js b/test/unit/client/typed-query-results-tests.js index 06db47c..aca6c27 100644 --- a/test/unit/client/typed-query-results-tests.js +++ b/test/unit/client/typed-query-results-tests.js @@ -213,6 +213,19 @@ test('typed results', function() { expected :function(val){ assert.deepEqual(val, [-2147483648, -2147483647, 2147483646, 2147483647]); } + },{ + name : 'array/int8', + format : 'text', + dataTypeID: 1016, + actual: '{-9223372036854775808, -9223372036854775807, 9223372036854775806, 9223372036854775807}', + expected :function(val){ + assert.deepEqual(val, [ + '-9223372036854775808', + '-9223372036854775807', + '9223372036854775806', + '9223372036854775807' + ]); + } }, {