/* * This project is licensed under the MIT license. For more information see the * LICENSE file. */ #include #include "gmock/gmock.h" #include "maddy/italicparser.h" // ----------------------------------------------------------------------------- TEST(MADDY_ITALICPARSER, ItReplacesMarkdownWithItalicHTML) { std::string text = "some text *bla* text testing *it* out"; std::string expected = "some text bla text testing it out"; auto italicParser = std::make_shared(); italicParser->Parse(text); ASSERT_EQ(text, expected); }