Skip to content

Commit 91ca5cd

Browse files
committed
d updated markdown snippets
1 parent f50ad97 commit 91ca5cd

File tree

3 files changed

+16
-15
lines changed

3 files changed

+16
-15
lines changed

approvaltests/docs/Features.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ Notice that for low numbers of parameters, very little is achieved, but at high
5454
<!-- include: PairWiseTest.forTable.approved. path: /approvaltests-tests/src/test/java/org/approvaltests/combinations/PairWiseTest.forTable.approved.include.md -->
5555

5656
| Number of Parameters | Variations per Parameter | Total Combinations | Pairwise Combinations |
57-
| --------------------: | -----------------------: | ------------------: | ---------------------: |
58-
|2|5|25|25|
59-
|3|3|27|11|
60-
|3|4|64|16|
61-
|4|5|625|33|
62-
|5|6|7,776|49|
63-
|9|9|387,420,489|134|
57+
|---------------------:|-------------------------:|-------------------:|----------------------:|
58+
| 2 | 5 | 25 | 25 |
59+
| 3 | 3 | 27 | 11 |
60+
| 3 | 4 | 64 | 16 |
61+
| 4 | 5 | 625 | 33 |
62+
| 5 | 6 | 7,776 | 49 |
63+
| 9 | 9 | 387,420,489 | 134 |
6464

6565
<!-- endInclude -->
6666

approvaltests/docs/how_to/TestAVarietyOfValues.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,22 +59,23 @@ Here's an example:
5959
<a id='snippet-markdown_table_example'></a>
6060
```java
6161
String[] inputs = {"verify json", "verify all", "verify parameters", "verify as json"};
62-
MarkdownTable table = MarkdownTable.withHeaders("Input", "Camel Case", "Snake Case", "Kebab Case");
62+
VerifiableMarkdownTable table = VerifiableMarkdownTable.withHeaders("Input", "Camel Case", "Snake Case",
63+
"Kebab Case");
6364
table.addRowsForInputs(inputs, this::toCamelCase, this::toSnakeCase, this::toKebabCase);
6465
Approvals.verify(table);
6566
```
66-
<sup><a href='/approvaltests-tests/src/test/java/org/approvaltests/TableTest.java#L19-L24' title='Snippet source file'>snippet source</a> | <a href='#snippet-markdown_table_example' title='Start of snippet'>anchor</a></sup>
67+
<sup><a href='/approvaltests-tests/src/test/java/org/approvaltests/TableTest.java#L20-L26' title='Snippet source file'>snippet source</a> | <a href='#snippet-markdown_table_example' title='Start of snippet'>anchor</a></sup>
6768
<!-- endSnippet -->
6869

6970
which will produce:
7071

7172
<!-- include: TableTest.differentCases.approved.md -->
72-
| Input | Camel Case | Snake Case | Kebab Case |
73-
| --- | --- | --- | --- |
74-
| verify json | verifyJson | verify_json | verify-json |
75-
| verify all | verifyAll | verify_all | verify-all |
73+
| Input | Camel Case | Snake Case | Kebab Case |
74+
|-------------------|------------------|-------------------|-------------------|
75+
| verify json | verifyJson | verify_json | verify-json |
76+
| verify all | verifyAll | verify_all | verify-all |
7677
| verify parameters | verifyParameters | verify_parameters | verify-parameters |
77-
| verify as json | verifyAsJson | verify_as_json | verify-as-json |
78+
| verify as json | verifyAsJson | verify_as_json | verify-as-json |
7879
<!-- endInclude -->
7980

8081

approvaltests/docs/reference/StoryBoard.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Here is a simple example
1717
```java
1818
Approvals.verify(new StoryBoard().add(gameOfLife).addFrames(3, gameOfLife::advance));
1919
```
20-
<sup><a href='/approvaltests-tests/src/test/java/org/approvaltests/StoryBoardTest.java#L23-L25' title='Snippet source file'>snippet source</a> | <a href='#snippet-storyboardexample' title='Start of snippet'>anchor</a></sup>
20+
<sup><a href='/approvaltests-tests/src/test/java/org/approvaltests/StoryBoardTest.java#L22-L24' title='Snippet source file'>snippet source</a> | <a href='#snippet-storyboardexample' title='Start of snippet'>anchor</a></sup>
2121
<!-- endSnippet -->
2222

2323
which produces

0 commit comments

Comments
 (0)