Commit 8ea4ed6b authored by Leandro Melo's avatar Leandro Melo
Browse files

C++: Fix add definition test

To be consistent with the change 5b847a66

in the InsertionPointLocator. Nevertheless, there are still issues to be
addressed in this class so we probably need more test cases when those
are handled.

Task-number: QTCREATORBUG-7833
Change-Id: Ie9abdd70566063a94350723432215d030c154fab
Reviewed-by: default avatarChristian Kandeler <>
parent b56b1c7d
......@@ -416,8 +416,8 @@ void CppToolsPlugin::test_codegen_definition_empty_class()
QCOMPARE(loc.fileName(), dst->fileName());
QCOMPARE(loc.prefix(), QLatin1String("\n\n"));
QCOMPARE(loc.suffix(), QString());
QCOMPARE(loc.line(), 1U);
QCOMPARE(loc.column(), 7U);
QCOMPARE(loc.line(), 3U);
QCOMPARE(loc.column(), 1U);
void CppToolsPlugin::test_codegen_definition_first_member()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment