Skip to content

Commit

Permalink
Merge pull request #379 from maester365/358-convertto-mtmaesterresult…
Browse files Browse the repository at this point in the history
…-incorrectly-parsing-test-data-block-name

Refactor ConvertTo-MtMaesterResults.ps1 to use ExpandedName for Block property
  • Loading branch information
f-bader committed Jul 22, 2024
2 parents bec4dcd + 2d87bd7 commit 65e3a5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion powershell/internal/ConvertTo-MtMaesterResults.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function ConvertTo-MtMaesterResult {
ScriptBlock = $test.ScriptBlock.ToString()
ScriptBlockFile = $test.ScriptBlock.File
ErrorRecord = $test.ErrorRecord
Block = $test.Block.Name
Block = $test.Block.ExpandedName
ResultDetail = $__MtSession.TestResultDetail[$test.ExpandedName]
}
$mtTests += $mtTestInfo
Expand Down

0 comments on commit 65e3a5a

Please sign in to comment.