forked from qt-creator/qt-creator
CppEditor: Fix test string
The raw string literal syntax is awesome. Change-Id: Icd2677b40393eb66014755ef411473b236e6b19f Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -836,7 +836,7 @@ class CodeFoldingTest : public QObject
|
||||
private slots:
|
||||
void test()
|
||||
{
|
||||
const QByteArray content = R"(cpp // 0,0
|
||||
const QByteArray content = R"cpp( // 0,0
|
||||
int main() { // 1,0
|
||||
#if 0 // 1,1
|
||||
if (true) { // 1,1
|
||||
@@ -852,7 +852,7 @@ int main() { // 1,0
|
||||
#endif // 1,1
|
||||
} // 0,0
|
||||
// 0,0
|
||||
cpp)";
|
||||
)cpp";
|
||||
TemporaryDir temporaryDir;
|
||||
QVERIFY(temporaryDir.isValid());
|
||||
CppTestDocument testDocument("file.cpp", content);
|
||||
|
Reference in New Issue
Block a user