From a197d7a0b998618de07284564d35be10840b15d2 Mon Sep 17 00:00:00 2001 From: hjk <hjk121@nokiamail.com> Date: Thu, 4 Jul 2013 09:04:18 +0200 Subject: [PATCH] Debugger: Ignore differences in 'const'-ness in type column It's generally not too useful to see it at all, and in cases of 'const int' vs 'int const' it just defeats the test's purpose. Change-Id: I3439dd8fcee28ffd1e599300a1c12f3215823573 Reviewed-by: hjk <hjk121@nokiamail.com> --- tests/auto/debugger/tst_dumpers.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/auto/debugger/tst_dumpers.cpp b/tests/auto/debugger/tst_dumpers.cpp index db4dfc14c5e..b8d85409c12 100644 --- a/tests/auto/debugger/tst_dumpers.cpp +++ b/tests/auto/debugger/tst_dumpers.cpp @@ -270,6 +270,7 @@ struct Type actualType.replace(' ', ""); QByteArray expectedType = type; expectedType.replace(' ', ""); + expectedType.replace("const", ""); expectedType.replace('@', context.nameSpace); return actualType == expectedType; } -- GitLab