Skip to content

Commit 7e6507f

Browse files
committed
Move Razor block comment test
1 parent 748fc23 commit 7e6507f

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Razor/tests/syntax_test_cshtml.cshtml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@
3535
<!-- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ text.html -->
3636
<!-- ^^^^ meta.tag.inline -->
3737

38+
@* *@
39+
<!--^^^^^^ comment.block.cs-razor -->
40+
<!--^^ punctuation.definition.comment.block.begin.cs-razor -->
41+
<!-- ^^ punctuation.definition.comment.block.end.cs-razor -->
42+
3843
<p>@DateTime.Now</p>
3944
<!-- ^^^^^^^ source.cs.embedded variable.other -->
4045
<!-- ^ source.cs.embedded punctuation.accessor.dot -->
@@ -105,6 +110,7 @@ else
105110
break;
106111
<!-- ^^^^^ keyword.control.flow.break -->
107112
}
113+
108114
@*
109115
@for (var i = 0; i < people.Length; i++)
110116
<!-- <- comment.block - punctuation -->
@@ -118,7 +124,6 @@ else
118124
var person = people[i];
119125
@:Name: @person.Name
120126
} *@
121-
<!-- ^^ comment.block punctuation.definition.comment -->
122127

123128
@{ }
124129
<!--^^^^^^ meta.embedded.cs -->

0 commit comments

Comments
 (0)