Change assert.array implementation
This commit is contained in:
parent
67ab8ca570
commit
5a69c2af78
2 changed files with 10 additions and 3 deletions
|
|
@ -646,11 +646,11 @@ test('is.array', t => {
|
|||
t.false(is.array([1, '2', 3], is.number));
|
||||
|
||||
t.notThrows(() => {
|
||||
assert.array([1, 2], is.number);
|
||||
assert.array([1, 2], assert.number);
|
||||
});
|
||||
|
||||
t.throws(() => {
|
||||
assert.array([1, '2'], is.number);
|
||||
assert.array([1, '2'], assert.number);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue