Maint: replace with for markdown generated tables

This commit is contained in:
Quentin McGaw (desktop)
2021-10-25 22:38:59 +00:00
parent 225bd5d25b
commit afbea415e3
2 changed files with 5 additions and 5 deletions

View File

@@ -19,8 +19,8 @@ func Test_CyberghostServers_ToMarkdown(t *testing.T) {
markdown := servers.ToMarkdown()
const expected = "| Country | Hostname | TCP | UDP |\n" +
"| --- | --- | --- | --- |\n" +
"| a | `xa` | | ✅ |\n" +
"| b | `xb` | ✅ | |\n"
"| a | `xa` | | ✅ |\n" +
"| b | `xb` | ✅ | |\n"
assert.Equal(t, expected, markdown)
}
@@ -38,8 +38,8 @@ func Test_FastestvpnServers_ToMarkdown(t *testing.T) {
markdown := servers.ToMarkdown()
const expected = "| Country | Hostname | TCP | UDP |\n" +
"| --- | --- | --- | --- |\n" +
"| a | `xa` | ✅ | |\n" +
"| b | `xb` | | ✅ |\n"
"| a | `xa` | ✅ | |\n" +
"| b | `xb` | | ✅ |\n"
assert.Equal(t, expected, markdown)
}