Fix Markdown test

The markdown api adds a trailing newline if there isn't already one. It
also converts \r\n to \n.
This commit is contained in:
Haacked
2014-11-07 14:50:08 -08:00
parent 24d4d4a11b
commit 24f6d4dd87
@@ -31,9 +31,9 @@ public class MiscellaneousClientTests
Credentials = Helper.Credentials
};
var result = await github.Miscellaneous.RenderRawMarkdown("This is a **test**");
var result = await github.Miscellaneous.RenderRawMarkdown("This is\r\n a **test**");
Assert.Equal("<p>This is a <strong>test</strong></p>", result);
Assert.Equal("<p>This is\n a <strong>test</strong></p>\n", result);
}
}
}