mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2025-07-14 02:54:48 -04:00
Revert "refactor: Move all processing logic to CodeHandler::processText()" (#109)
This commit is contained in:
committed by
GitHub
parent
521261e0a3
commit
90beebf2ee
@ -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"
|
||||
|
Reference in New Issue
Block a user