mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-06 07:16:09 +00:00
18 lines
480 B
C#
18 lines
480 B
C#
using System.Threading.Tasks;
|
|
using Xunit;
|
|
|
|
namespace Octokit.Tests.Integration.Clients
|
|
{
|
|
public class MarkdownClientTests
|
|
{
|
|
[IntegrationTest]
|
|
public async Task CanRenderGitHubFlavoredMarkdown()
|
|
{
|
|
var github = Helper.GetAuthenticatedClient();
|
|
|
|
var result = await github.Markdown.RenderRawMarkdown("This is\r\n a **test**");
|
|
|
|
Assert.Equal("<p>This is\na <strong>test</strong></p>\n", result);
|
|
}
|
|
}
|
|
} |