SwensenSoftware / unquote

Write F# unit test assertions as quoted expressions, get step-by-step failure messages for free
http://www.swensensoftware.com/unquote
Apache License 2.0
285 stars 26 forks source link

Sprint names surrounded by back ticks when appropriate #147

Closed stephen-swensen closed 5 years ago

stephen-swensen commented 5 years ago

e.g. instead of

``

let hello world = 23;; val ( hello world ) : int = 23

unquote <@ hello world @>;; val it : UnquotedExpression = hello world 23 ``

do

``

let hello world = 23;; val ( hello world ) : int = 23

unquote <@ hello world @>;; val it : UnquotedExpression = hello world 23 ``

it appears we did some work related to this a long time ago, to support back-ticked names at all, but without outputting the actual back ticks: https://github.com/SwensenSoftware/unquote/issues/87

stephen-swensen commented 5 years ago

Actually, this is in fact a duplicate of #87 we just forgot to implement the appropriate decompilation in recent ValueWithName