mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-05 16:15:25 +02:00
Bug 396439 - Syntax highlighting is wrong for raw strings. Added a test
case.
This commit is contained in:
parent
97f0641ceb
commit
e3788f16bb
1 changed files with 1 additions and 1 deletions
|
@ -1335,7 +1335,7 @@ public class CPartitionerTest extends TestCase {
|
|||
|
||||
public void testEditingRawString3() {
|
||||
try {
|
||||
fDocument.replace(0, fDocument.getLength(), "/***/R\"(line 1\nline 2\nline 3\n)\" \"str\"");
|
||||
fDocument.replace(0, fDocument.getLength(), "/***/R\"\"(line 1\nline 2\nline 3\n)\"\" \"str\"");
|
||||
ITypedRegion[] result= fDocument.computePartitioning(0, fDocument.getLength());
|
||||
TypedRegion[] expectation= {
|
||||
new TypedRegion(0, 5, ICPartitions.C_MULTI_LINE_COMMENT),
|
||||
|
|
Loading…
Add table
Reference in a new issue