mirror of
https://github.com/brianc/node-postgres.git
synced 2026-01-25 16:03:13 +00:00
tests: fixed bug, because of renamed function
This commit is contained in:
parent
207b7dbb2b
commit
36243af0af
@ -1,6 +1,6 @@
|
||||
var helper = require(__dirname + '/test-helper');
|
||||
var q = {};
|
||||
q.dateParser = require(__dirname + "/../../../lib/types").getStringTypeParser(1114);
|
||||
q.dateParser = require(__dirname + "/../../../lib/types").getTypeParser(1114, 'text');
|
||||
|
||||
test("testing dateParser", function() {
|
||||
assert.equal(q.dateParser("2010-12-11 09:09:04").toUTCString(),new Date("2010-12-11 09:09:04 GMT").toUTCString());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user