From 8ea4ed6b53a80a3c1a01d24b19263f1991cb4f49 Mon Sep 17 00:00:00 2001 From: Leandro Melo Date: Thu, 6 Sep 2012 17:36:40 +0200 Subject: C++: Fix add definition test To be consistent with the change 5b847a66dfc762e3a8049860ca036be195faba89 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: Christian Kandeler --- src/plugins/cpptools/cppcodegen_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/cpptools/cppcodegen_test.cpp') 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() -- cgit v1.2.1