-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(external-crates/move/docgen): fix baseline tests by regenerating (#…
…1938) * fix(external-crates/move/docgen): fix baseline tests by regenerating Dprint exception for docgen tests have added.
- Loading branch information
Showing
10 changed files
with
282 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 15 additions & 3 deletions
18
...nal-crates/move/crates/move-docgen/tests/sources/code_block_test.spec_inline.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,45 @@ | ||
|
||
<a name="0x42_m"></a> | ||
|
||
# Module `0x42::m` | ||
|
||
- [Function `main`](#0x42_m_main) | ||
- [Explanation of the algorithm](#@Explanation_of_the_algorithm_0) | ||
|
||
|
||
- [Function `main`](#0x42_m_main) | ||
- [Explanation of the algorithm](#@Explanation_of_the_algorithm_0) | ||
|
||
|
||
<pre><code></code></pre> | ||
|
||
|
||
|
||
<a name="0x42_m_main"></a> | ||
|
||
## Function `main` | ||
|
||
|
||
<a name="@Explanation_of_the_algorithm_0"></a> | ||
|
||
### Explanation of the algorithm | ||
|
||
``` | ||
code block | ||
``` | ||
|
||
then <code>inline code</code> | ||
|
||
|
||
<pre><code>entry <b>fun</b> <a href="code_block_test.md#0x42_m_main">main</a>() | ||
</code></pre> | ||
|
||
|
||
|
||
<details> | ||
<summary>Implementation</summary> | ||
|
||
|
||
<pre><code>entry <b>fun</b> <a href="code_block_test.md#0x42_m_main">main</a>() { } | ||
</code></pre> | ||
|
||
|
||
|
||
</details> |
16 changes: 13 additions & 3 deletions
16
...es/move/crates/move-docgen/tests/sources/code_block_test.spec_inline_no_fold.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,40 @@ | ||
|
||
<a name="0x42_m"></a> | ||
|
||
# Module `0x42::m` | ||
|
||
- [Function `main`](#0x42_m_main) | ||
- [Explanation of the algorithm](#@Explanation_of_the_algorithm_0) | ||
|
||
|
||
- [Function `main`](#0x42_m_main) | ||
- [Explanation of the algorithm](#@Explanation_of_the_algorithm_0) | ||
|
||
|
||
<pre><code></code></pre> | ||
|
||
|
||
|
||
<a name="0x42_m_main"></a> | ||
|
||
## Function `main` | ||
|
||
|
||
<a name="@Explanation_of_the_algorithm_0"></a> | ||
|
||
### Explanation of the algorithm | ||
|
||
``` | ||
code block | ||
``` | ||
|
||
then <code>inline code</code> | ||
|
||
|
||
<pre><code>entry <b>fun</b> <a href="code_block_test.md#0x42_m_main">main</a>() | ||
</code></pre> | ||
|
||
|
||
|
||
##### Implementation | ||
|
||
|
||
<pre><code>entry <b>fun</b> <a href="code_block_test.md#0x42_m_main">main</a>() { } | ||
</code></pre> |
18 changes: 15 additions & 3 deletions
18
...l-crates/move/crates/move-docgen/tests/sources/code_block_test.spec_separate.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,45 @@ | ||
|
||
<a name="0x42_m"></a> | ||
|
||
# Module `0x42::m` | ||
|
||
- [Function `main`](#0x42_m_main) | ||
- [Explanation of the algorithm](#@Explanation_of_the_algorithm_0) | ||
|
||
|
||
- [Function `main`](#0x42_m_main) | ||
- [Explanation of the algorithm](#@Explanation_of_the_algorithm_0) | ||
|
||
|
||
<pre><code></code></pre> | ||
|
||
|
||
|
||
<a name="0x42_m_main"></a> | ||
|
||
## Function `main` | ||
|
||
|
||
<a name="@Explanation_of_the_algorithm_0"></a> | ||
|
||
### Explanation of the algorithm | ||
|
||
``` | ||
code block | ||
``` | ||
|
||
then <code>inline code</code> | ||
|
||
|
||
<pre><code>entry <b>fun</b> <a href="code_block_test.md#0x42_m_main">main</a>() | ||
</code></pre> | ||
|
||
|
||
|
||
<details> | ||
<summary>Implementation</summary> | ||
|
||
|
||
<pre><code>entry <b>fun</b> <a href="code_block_test.md#0x42_m_main">main</a>() { } | ||
</code></pre> | ||
|
||
|
||
|
||
</details> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 25 additions & 3 deletions
28
...e/crates/move-docgen/tests/sources/different_visbilities.spec_inline_no_fold.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,73 @@ | ||
|
||
<a name="0x2_TestViz"></a> | ||
|
||
# Module `0x2::TestViz` | ||
|
||
- [Function `this_is_a_public_fun`](#0x2_TestViz_this_is_a_public_fun) | ||
- [Function `this_is_a_public_script_fun`](#0x2_TestViz_this_is_a_public_script_fun) | ||
- [Function `this_is_a_private_fun`](#0x2_TestViz_this_is_a_private_fun) | ||
|
||
|
||
- [Function `this_is_a_public_fun`](#0x2_TestViz_this_is_a_public_fun) | ||
- [Function `this_is_a_public_script_fun`](#0x2_TestViz_this_is_a_public_script_fun) | ||
- [Function `this_is_a_private_fun`](#0x2_TestViz_this_is_a_private_fun) | ||
|
||
|
||
<pre><code></code></pre> | ||
|
||
|
||
|
||
<a name="0x2_TestViz_this_is_a_public_fun"></a> | ||
|
||
## Function `this_is_a_public_fun` | ||
|
||
This is a public function | ||
|
||
|
||
<pre><code><b>public</b> <b>fun</b> <a href="different_visbilities.md#0x2_TestViz_this_is_a_public_fun">this_is_a_public_fun</a>() | ||
</code></pre> | ||
|
||
|
||
|
||
##### Implementation | ||
|
||
|
||
<pre><code><b>public</b> <b>fun</b> <a href="different_visbilities.md#0x2_TestViz_this_is_a_public_fun">this_is_a_public_fun</a>() { } | ||
</code></pre> | ||
|
||
|
||
|
||
<a name="0x2_TestViz_this_is_a_public_script_fun"></a> | ||
|
||
## Function `this_is_a_public_script_fun` | ||
|
||
This is a public entry function | ||
|
||
|
||
<pre><code><b>public</b> entry <b>fun</b> <a href="different_visbilities.md#0x2_TestViz_this_is_a_public_script_fun">this_is_a_public_script_fun</a>() | ||
</code></pre> | ||
|
||
|
||
|
||
##### Implementation | ||
|
||
|
||
<pre><code><b>public</b> entry <b>fun</b> <a href="different_visbilities.md#0x2_TestViz_this_is_a_public_script_fun">this_is_a_public_script_fun</a>() {} | ||
</code></pre> | ||
|
||
|
||
|
||
<a name="0x2_TestViz_this_is_a_private_fun"></a> | ||
|
||
## Function `this_is_a_private_fun` | ||
|
||
This is a private function | ||
|
||
|
||
<pre><code><b>fun</b> <a href="different_visbilities.md#0x2_TestViz_this_is_a_private_fun">this_is_a_private_fun</a>() | ||
</code></pre> | ||
|
||
|
||
|
||
##### Implementation | ||
|
||
|
||
<pre><code><b>fun</b> <a href="different_visbilities.md#0x2_TestViz_this_is_a_private_fun">this_is_a_private_fun</a>() {} | ||
</code></pre> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.