Improved pretty-printing of matchers
This commit is contained in:
parent
83e82658c5
commit
d36a65d843
5
route.js
5
route.js
|
@ -994,7 +994,10 @@ function Routing(exports) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (m instanceof $Success) {
|
if (m instanceof $Success) {
|
||||||
acc.push("{" + JSON.stringify(m.value) + "}");
|
var vs = JSON.stringify(typeof m.value === 'object'
|
||||||
|
? setToArray(m.value)
|
||||||
|
: m.value);
|
||||||
|
acc.push("{" + vs + "}");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue