power-assert-runtime icon indicating copy to clipboard operation
power-assert-runtime copied to clipboard

Succinct Renderer and shortcut properties

Open jamestalmage opened this issue 9 years ago • 1 comments

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 avatar Jun 07 '16 15:06 jamestalmage

@jamestalmage To be honest, shorthand property in Enhanced Object Literal is difficult to capture. I'll try it again.

twada avatar Jun 10 '16 07:06 twada