Skip to content

Commit b73fae0

Browse files
committed
Change test assertion in Function syntax test
Now the test reflects the change of the 'process' keyword from uncategorised to block.
1 parent ac61e73 commit b73fae0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/syntax_test_Function.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ function Verb-Noun {
376376
{
377377
}
378378
Process {
379-
# <- keyword.control
379+
# <- keyword.context.block.process
380380
if ($pscmdlet.ShouldProcess("Target", "Operation")) {
381381
# <- keyword.control
382382
# ^ punctuation.section.group.begin

0 commit comments

Comments
 (0)