From b133d50ebe6dbdc47225ac4e918cd5723c295d8e Mon Sep 17 00:00:00 2001 From: amai Date: Wed, 4 Apr 2018 16:07:07 +0200 Subject: [PATCH] #6426 Regression now has platform dependent results --- test/testother.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testother.cpp b/test/testother.cpp index 9db87483c..96abc2ed0 100644 --- a/test/testother.cpp +++ b/test/testother.cpp @@ -3875,7 +3875,7 @@ private: check("void foo(bool flag) {\n" " bar( (flag) ? ~0u : ~0ul);\n" "}"); - ASSERT_EQUALS("", errout.str()); + ASSERT_EQUALS((_settings.sizeof_int==_settings.sizeof_long)?"[test.cpp:2]: (style) Same value in both branches of ternary operator.\n":"", errout.str()); } void duplicateValueTernary() {