mirror of
https://github.com/flynx/test.js.git
synced 2025-10-28 02:10:08 +00:00
made output of assert.array(..) better...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
3c47f6b85d
commit
7ef4842646
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ig-test",
|
||||
"version": "1.5.8",
|
||||
"version": "1.5.9",
|
||||
"description": "experimental test runner....",
|
||||
"main": "test.js",
|
||||
"bin": {
|
||||
|
||||
4
test.js
4
test.js
@ -235,7 +235,9 @@ object.Constructor('Assert', {
|
||||
array: function(value, expected, msg){
|
||||
msg = msg || ''
|
||||
return this(arrayCmp(value, expected),
|
||||
msg +':', 'expected:', expected, 'got:', value) },
|
||||
msg +':',
|
||||
'\n expected:', expected,
|
||||
'\n got:', value) },
|
||||
|
||||
// output...
|
||||
log: function(...args){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user