From 45bb206b2390fe5b5f398c20a4f36f16a1156acb Mon Sep 17 00:00:00 2001 From: Fabien Tschanz <71251572+FabienTschanz@users.noreply.github.com> Date: Mon, 21 Sep 2026 09:12:02 +0200 Subject: [PATCH] Remove unnecessary comment --- test/EngineCoverage.Tests.ps1 | 6 ------ 1 file changed, 6 deletions(-) diff --git a/test/EngineCoverage.Tests.ps1 b/test/EngineCoverage.Tests.ps1 index 646ca14..32711b2 100644 --- a/test/EngineCoverage.Tests.ps1 +++ b/test/EngineCoverage.Tests.ps1 @@ -6,9 +6,6 @@ BeforeAll { function Invoke-PSDscStringifyValue { param ($Value, [bool] $AsArray = $false, [type] $TargetType = [System.String]) - - # stringify reads the alias table of the instance being rendered out of its caller - # scope, which is ConvertTo-MOFInstance during a real compilation. Invoke-PSDscInEngineScope { $InstanceAliases = @{} stringify $args[0] $args[1] $args[2] @@ -47,9 +44,6 @@ Describe 'stringify edge cases' { } It 'rewrites $using: references when the script block has no defining module' { - # A script block built this way carries no defining module, so stringify falls back to - # GetVariableFromCallersModule. Whether that finds the variable depends on the module the - # suite is invoked from, so only the rewrite itself is asserted here. $probe = 'from-caller' $scriptBlock = [scriptblock]::Create('$using:probe')