mirror of
https://github.com/brianc/node-postgres.git
synced 2026-01-18 15:55:05 +00:00
24 lines
464 B
JavaScript
24 lines
464 B
JavaScript
sys = require('sys');
|
|
assert = require('assert');
|
|
Client = require(__dirname+"/../lib/").Client;
|
|
Parser = require(__dirname+"/../lib/").Parser;
|
|
|
|
test = function(name, action) {
|
|
for(var i = 0; i < test.tabout; i++) {
|
|
name = ' ' + name;
|
|
}
|
|
test.tabout += 2;
|
|
console.log(name);
|
|
action();
|
|
test.tabout -= 2;
|
|
};
|
|
test.tabout = 0;
|
|
|
|
stringToHex = function(string) {
|
|
|
|
};
|
|
|
|
hexToString = function(hexArray) {
|
|
return new Buffer(hexArray).toString('utf8');
|
|
}
|