title: Using assertion messages with Unquote in F#?
body: <p>Some test assertion frameworks allow you to add a custom message to your assertion, such as the following using NUnit:</p>
  <pre><code>Assert.AreEqual(1, result, &quot;the result should be one&quot;)
  </code></pre>
  <p>Is it possible to do the same when using <a href="https://github.com/SwensenSoftware/Unquote" rel="nofollow noreferrer">Unquote</a> in F#?</p>
  <pre><code>test &lt;@ result = 1 @&gt;
  </code></pre>
  <hr />
  <p><strong>Update</strong></p>
  <p>The closest I have got to this is to add a simple comment inside the quoted expression.  As my motivation for this was to document what is being verified (I tend to assert more than once!), this is quite adequate for my needs.</p>
  <pre><code>test &lt;@ 
          // the result should be one
          result = 1 
       @&gt;
  </code></pre>
  <hr />
  <p><strong>Another Update</strong></p>
  <p>I've been using Stephen's suggestion to use <code>ignore &quot;description here&quot;;</code>, which I really like.  I find it easier to read if I declare my own function like so:</p>
  <pre><code>&gt; let inline checking _ = ()
  &gt; let result = 2;;
  &gt; test &lt;@ checking &quot;the result should be one&quot;; result = 1 @&gt;;;
  
  Test failed:
  
  checking &quot;the result should be one&quot;; result = 1
  (); result = 1
  result = 1
  2 = 1
  false
  </code></pre>