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