power-assert-runtime
power-assert-runtime copied to clipboard
Succinct Renderer and shortcut properties
Here is the output from one assertion:
t.is(fn('foo\nbar\nbaz\nquz', { startPosition, endPosition, move:1 }), expected)
| |
"bar\nfoo\nbaz\nquz" "bar\nfoo\nbaz\nquza"
Test.alternateOptions (test.js:149:4)
In this case:
startPostion and endPosition should be shown, move should not.
@jamestalmage To be honest, shorthand property in Enhanced Object Literal is difficult to capture. I'll try it again.