Add unit test for #156.

TODO: add integration test
This commit is contained in:
booo 2012-07-24 14:01:27 +02:00
parent 550617f6ad
commit dea80ac588

View File

@ -114,6 +114,14 @@ test('typed results', function() {
expected: function(val) { expected: function(val) {
assert.UTCDate(val, 2010, 9, 31, 0, 0, 0, 0); assert.UTCDate(val, 2010, 9, 31, 0, 0, 0, 0);
} }
},{
name: 'date',
format: 'text',
dataTypeID: 1082,
actual: '2010-10-31',
expected: function(val) {
assert.UTCDate(val, 2010, 9, 31, 0, 0, 0, 0);
}
},{ },{
name: 'interval time', name: 'interval time',
format: 'text', format: 'text',