summaryrefslogtreecommitdiff
path: root/src/plugins/cppeditor/cppquickfix_test.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2022-04-05 13:37:09 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2022-04-05 12:59:49 +0000
commitc2c8b137c04de8dfd92d376a0fd2493a6336c0e6 (patch)
treed51219621e5ce98929228436774c3e0be45cb52c /src/plugins/cppeditor/cppquickfix_test.cpp
parentb404852cb1478b76fc7435844298643dfc746373 (diff)
downloadqt-creator-c2c8b137c04de8dfd92d376a0fd2493a6336c0e6.tar.gz
CppEditor: Ensure a space between ref qualifier and exception spec
Task-number: QTCREATORBUG-27132 Change-Id: Iedb983f58ece345d5997607d2e557e36c951750f Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Diffstat (limited to 'src/plugins/cppeditor/cppquickfix_test.cpp')
-rw-r--r--src/plugins/cppeditor/cppquickfix_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cppeditor/cppquickfix_test.cpp b/src/plugins/cppeditor/cppquickfix_test.cpp
index c0ee38d6e2..a2ed383c12 100644
--- a/src/plugins/cppeditor/cppquickfix_test.cpp
+++ b/src/plugins/cppeditor/cppquickfix_test.cpp
@@ -6137,7 +6137,7 @@ struct Derived : public Base {
original = "#include \"file.h\"\n";
expected = R"DELIM(#include "file.h"
-auto Derived::func() const &&noexcept -> void {}
+auto Derived::func() const && noexcept -> void {}
)DELIM";
testDocuments << CppTestDocument::create("file.cpp", original, expected);