Revert "refactor: Move all processing logic to CodeHandler::processText()" (#109)

This commit is contained in:
Povilas Kanapickas
2025-03-07 02:57:13 +02:00
committed by GitHub
parent 521261e0a3
commit 90beebf2ee
4 changed files with 7 additions and 18 deletions

View File

@ -33,15 +33,6 @@ class CodeHandlerTest : public QObject, public testing::Test
Q_OBJECT
};
TEST_F(CodeHandlerTest, testProcessTextNoProcessWithCodeBlock)
{
QString input = "This is a comment\n"
"```python\nprint('Hello, world!')\n```\n"
"Another comment";
EXPECT_EQ(CodeHandler::processText(input, false), input);
}
TEST_F(CodeHandlerTest, testProcessTextWithCodeBlock)
{
QString input = "This is a comment\n"