2017-05-29 13:41:28 +02:00
|
|
|
/// <reference path="fourslash.ts"/>
|
|
|
|
|
|
|
|
////<<<<<<< HEAD
|
|
|
|
////class C { }
|
|
|
|
////||||||| merged common ancestors
|
|
|
|
////class E { }
|
|
|
|
////=======
|
|
|
|
////class D { }
|
|
|
|
////>>>>>>> Branch - a
|
|
|
|
|
2020-09-11 21:10:55 +02:00
|
|
|
const c = classification("original");
|
2017-05-29 13:41:28 +02:00
|
|
|
verify.syntacticClassificationsAre(
|
|
|
|
c.comment("<<<<<<< HEAD"),
|
|
|
|
c.keyword("class"), c.className("C"), c.punctuation("{"), c.punctuation("}"),
|
|
|
|
c.comment("||||||| merged common ancestors"),
|
|
|
|
c.keyword("class"), c.identifier("E"), c.punctuation("{"), c.punctuation("}"),
|
|
|
|
c.comment("======="),
|
|
|
|
c.keyword("class"), c.identifier("D"), c.punctuation("{"), c.punctuation("}"),
|
2020-09-11 21:10:55 +02:00
|
|
|
c.comment(">>>>>>> Branch - a"));
|
|
|
|
|
|
|
|
const c2 = classification("2020");
|
|
|
|
verify.semanticClassificationsAre("2020",
|
|
|
|
c2.semanticToken("class.declaration", "C"),
|
|
|
|
);
|