Skip to content

Commit

Permalink
fix: Update test for trim #271
Browse files Browse the repository at this point in the history
  • Loading branch information
npalm committed Oct 20, 2022
1 parent b2a0a32 commit be6fb96
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 31 deletions.
10 changes: 0 additions & 10 deletions __tests__/fixtures/all_fields_readme.output
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
## Description

Default test


<!-- action-docs-description -->

<!-- action-docs-inputs -->
Expand All @@ -16,9 +14,6 @@ Default test
| inputC | A description C | `true` | C |
| inputD | A description D | `false` | D |
| inputE | A description E | `false` | false |



<!-- action-docs-inputs -->

<!-- action-docs-outputs -->
Expand All @@ -28,15 +23,10 @@ Default test
| --- | --- |
| outputA | A description A |
| outputB | A description B |



<!-- action-docs-outputs -->

<!-- action-docs-runs -->
## Runs

This action is a `node12` action.


<!-- action-docs-runs -->
10 changes: 0 additions & 10 deletions __tests__/fixtures/all_fields_readme.output.crlf
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
## Description

Default test


<!-- action-docs-description -->

<!-- action-docs-inputs -->
Expand All @@ -16,9 +14,6 @@ Default test
| inputC | A description C | `true` | C |
| inputD | A description D | `false` | D |
| inputE | A description E | `false` | false |



<!-- action-docs-inputs -->

<!-- action-docs-outputs -->
Expand All @@ -28,15 +23,10 @@ Default test
| --- | --- |
| outputA | A description A |
| outputB | A description B |



<!-- action-docs-outputs -->

<!-- action-docs-runs -->
## Runs

This action is a `node12` action.


<!-- action-docs-runs -->
10 changes: 0 additions & 10 deletions __tests__/fixtures/all_fields_readme_filled.output
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
## Description

Default test


<!-- action-docs-description -->

<!-- action-docs-inputs -->
Expand All @@ -16,9 +14,6 @@ Default test
| inputC | A description C | `true` | C |
| inputD | A description D | `false` | D |
| inputE | A description E | `false` | false |



<!-- action-docs-inputs -->

<!-- action-docs-outputs -->
Expand All @@ -28,15 +23,10 @@ Default test
| --- | --- |
| outputA | A description A |
| outputB | A description B |



<!-- action-docs-outputs -->

<!-- action-docs-runs -->
## Runs

This action is a `node12` action.


<!-- action-docs-runs -->
2 changes: 1 addition & 1 deletion src/action-docs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ async function updateReadme(
from: to,
to: `<!-- action-docs-${section} -->${getLineBreak(
options.lineBreaks
)}${text}${getLineBreak(
)}${text.trim()}${getLineBreak(
options.lineBreaks
)}<!-- action-docs-${section} -->`,
});
Expand Down

0 comments on commit be6fb96

Please sign in to comment.