Skip to content

Commit

Permalink
Deploy website
Browse files Browse the repository at this point in the history
Deploy website version based on 3cce7bd
  • Loading branch information
Docusaurus bot committed Dec 2, 2024
1 parent 52a16ae commit fc34224
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/fixtures.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ <h2><a class="anchor" aria-hidden="true" id="functional-test-local-fixtures"></a
<p>Use <code>FunFixture.map2</code> to compose multiple fixtures into a single fixture.</p>
<pre><code class="hljs css language-scala"><span class="hljs-comment">// Fixture with access to two temporary files.</span>
<span class="hljs-keyword">val</span> files2 = <span class="hljs-type">FunFixture</span>.map2(files, files)
<span class="hljs-comment">// files2: FunFixture[(Path, Path)] = munit.FunFixtures$FunFixture@d88353a</span>
<span class="hljs-comment">// files2: FunFixture[(Path, Path)] = munit.FunFixtures$FunFixture@7e6dabcc</span>
files2.test(<span class="hljs-string">"two"</span>) {
<span class="hljs-keyword">case</span> (file1, file2) =&gt;
assertNotEquals(file1, file2)
Expand Down Expand Up @@ -210,7 +210,7 @@ <h2><a class="anchor" aria-hidden="true" id="ad-hoc-suite-local-fixtures"></a><a
</code></pre>
<h2><a class="anchor" aria-hidden="true" id="asynchronous-fixtures-with-futurefixture"></a><a href="#asynchronous-fixtures-with-futurefixture" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Asynchronous fixtures with <code>FutureFixture</code></h2>
<blockquote>
<p>This feature is only available in the latest unstable version 1.0.2</p>
<p>This feature is only available in the latest unstable version 1.0.3</p>
</blockquote>
<p>Extend <code>FutureFixture[T]</code> to return <code>Future[T]</code> values from the lifecycle
methods <code>beforeAll</code>, <code>beforeEach</code>, <code>afterEach</code> and <code>afterAll</code>.</p>
Expand Down Expand Up @@ -246,7 +246,7 @@ <h2><a class="anchor" aria-hidden="true" id="asynchronous-fixtures-with-futurefi
</code></pre>
<h2><a class="anchor" aria-hidden="true" id="asynchronous-fixtures-with-custom-effect-type"></a><a href="#asynchronous-fixtures-with-custom-effect-type" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Asynchronous fixtures with custom effect type</h2>
<blockquote>
<p>This feature is only available in the latest unstable version 1.0.2</p>
<p>This feature is only available in the latest unstable version 1.0.3</p>
</blockquote>
<p>First, create a new <code>EffectFixture[T]</code> class that extends <code>munit.AnyFixture[T]</code>
and overrides all lifecycle methods to return values of type <code>Effect[Unit]</code>. For
Expand Down
2 changes: 1 addition & 1 deletion docs/tests.html
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ <h2><a class="anchor" aria-hidden="true" id="customize-test-timeouts"></a><a hre
<p>Note that <code>munitTimeout</code> is only respected for async tests in the stable
version of MUnit (v0.x series). The setting is ignored by normal
non-async tests. However, starting with MUnit v1.0 (latest milestone release:
1.0.2), the timeout applies to all tests including non-async tests.</p>
1.0.3), the timeout applies to all tests including non-async tests.</p>
</blockquote>
<h2><a class="anchor" aria-hidden="true" id="customize-value-printers"></a><a href="#customize-value-printers" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Customize value printers</h2>
<p>MUnit uses its own <code>Printer</code>s to convert any value into a diff-ready string representation.
Expand Down

0 comments on commit fc34224

Please sign in to comment.