diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2020-08-27 16:07:26 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2020-08-31 09:15:50 +0000 |
commit | 1652396ece844718e3fcbfbc04a6f68bdb64e695 (patch) | |
tree | 2a223a9c1e542ebed5d28cd0a2626c7512673347 /src/plugins/cpptools/cpprefactoringchanges.cpp | |
parent | b3652da3acb6177115214341cf2793e1347602f7 (diff) | |
download | qt-creator-1652396ece844718e3fcbfbc04a6f68bdb64e695.tar.gz |
CppTools: Fix CppSelectionChanger autotest
... on Windows.
We need to open the test file in text mode. Otherwise the raw string
literal will contain carriage returns. As these get dropped by
QTextDocument, the offsets will be inconsistent with the ones reported by
the tokens, causing the test to fail.
Change-Id: I161a3f5791c33416ff732f90fd615cf39d8152ce
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/cpptools/cpprefactoringchanges.cpp')
0 files changed, 0 insertions, 0 deletions