Skip to content

Commit dea80ac

Browse files
committed
Add unit test for brianc#156.
TODO: add integration test
1 parent 550617f commit dea80ac

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/unit/client/typed-query-results-tests.js

+8
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,14 @@ test('typed results', function() {
114114
expected: function(val) {
115115
assert.UTCDate(val, 2010, 9, 31, 0, 0, 0, 0);
116116
}
117+
},{
118+
name: 'date',
119+
format: 'text',
120+
dataTypeID: 1082,
121+
actual: '2010-10-31',
122+
expected: function(val) {
123+
assert.UTCDate(val, 2010, 9, 31, 0, 0, 0, 0);
124+
}
117125
},{
118126
name: 'interval time',
119127
format: 'text',

0 commit comments

Comments
 (0)