Skip to content

Commit

Permalink
Add test that reveals we have a big problem
Browse files Browse the repository at this point in the history
  • Loading branch information
taylormonacelli committed Aug 17, 2024
1 parent 67cb0ef commit e6fbc33
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cmd/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,13 @@ qfc Chocolate Ice Cream - Google Search](https://www.google.com/search?q=qfc+Cho
`,
expected: `[Item media 5 screenshot](https://lh3.googleusercontent.com/ADTbiH2FM2SYb3PbxWeAI0v_-FYVMFt_6hJ3sabl_gVDadugPc5FX55USRMRIo50uvD0gwKqIJu-kfXWJHRiQV6SsTE=s1280-w1280-h800)`,
},
{
name: "Urls in code blocks with variable substitution are not adjusted",
input: `` + "``` bash" + `
https://github.com/gkwa/${version}/test.bin` + "```" + ``,
expected: `` + "``` bash" + `
https://github.com/gkwa/${version}/test.bin` + "```" + ``,
},
}

for _, tc := range testCases {
Expand Down

0 comments on commit e6fbc33

Please sign in to comment.