Skip to content

Commit cef9159

Browse files
committed
Move Razor block comment test
1 parent d31a55a commit cef9159

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
@@ -36,6 +36,11 @@
3636
<!-- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ text.html -->
3737
<!-- ^^^^ meta.tag.inline -->
3838

39+
@* *@
40+
<!--^^^^^^ comment.block.cs-razor -->
41+
<!--^^ punctuation.definition.comment.block.begin.cs-razor -->
42+
<!-- ^^ punctuation.definition.comment.block.end.cs-razor -->
43+
3944
<p>@DateTime.Now</p>
4045
<!--^^^^^^^^^^^^ source.cs.embedded.html -->
4146
<!--^^^^^^^^ variable.other.cs -->
@@ -116,6 +121,7 @@ else
116121
break;
117122
<!-- ^^^^^ keyword.control.flow.break -->
118123
}
124+
119125
@*
120126
@for (var i = 0; i < people.Length; i++)
121127
<!-- <- comment.block - punctuation -->
@@ -129,7 +135,6 @@ else
129135
var person = people[i];
130136
@:Name: @person.Name
131137
} *@
132-
<!-- ^^ comment.block punctuation.definition.comment -->
133138

134139
@{ }
135140
<!--^^^^^^ meta.embedded.cs -->

0 commit comments

Comments
 (0)