summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cppcodegen_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/cpptools/cppcodegen_test.cpp')
-rw-r--r--src/plugins/cpptools/cppcodegen_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/cpptools/cppcodegen_test.cpp b/src/plugins/cpptools/cppcodegen_test.cpp
index a994e0b7b1..67a9e4fe50 100644
--- a/src/plugins/cpptools/cppcodegen_test.cpp
+++ b/src/plugins/cpptools/cppcodegen_test.cpp
@@ -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()