Skip to content

Commit

Permalink
Add md extension to golden file
Browse files Browse the repository at this point in the history
  • Loading branch information
ashvarts committed Aug 30, 2024
1 parent 1246bb2 commit bb8e932
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion internal/pkg/githubapi/github_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ func TestPrBody(t *testing.T) {
},
}
newPrBody := prBody(keys, newPrMetadata, "")
expectedPrBody, err := os.ReadFile("testdata/pr_body.golden")
expectedPrBody, err := os.ReadFile("testdata/pr_body.golden.md")
if err != nil {
t.Fatalf("Error loading golden file: %s", err)
}
Expand Down
9 changes: 0 additions & 9 deletions internal/pkg/githubapi/testdata/pr_body.golden

This file was deleted.

9 changes: 9 additions & 0 deletions internal/pkg/githubapi/testdata/pr_body.golden.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
↘️ #1 `sourcePath1` ➡️
    `targetPath1`
    `targetPath2`
    ↘️ #2 `sourcePath2` ➡️
        `targetPath3`
        `targetPath4`
        ↘️ #3 `sourcePath3` ➡️
            `targetPath5`
            `targetPath6`

0 comments on commit bb8e932

Please sign in to comment.