mirror of
https://github.com/brianc/node-postgres.git
synced 2026-01-18 15:55:05 +00:00
added assert.length
This commit is contained in:
parent
3768e43e15
commit
90bac87578
@ -11,9 +11,12 @@ assert.same = function(actual, expected) {
|
||||
};
|
||||
|
||||
assert.empty = function(actual) {
|
||||
assert.equal(actual.length, 0);
|
||||
assert.length(actual, 0);
|
||||
};
|
||||
|
||||
assert.length = function(actual, expectedLength) {
|
||||
assert.equal(actual.length, expectedLength);
|
||||
};
|
||||
|
||||
test = function(name, action) {
|
||||
for(var i = 0; i < test.tabout; i++) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user