mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
Fixed CR issues
This commit is contained in:
1 parent
f0de4321c8
commit
c4beeb9f62
1 file changed
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
Describe "Export-FormatData DRT Unit Tests" -Tags DRT{
|
Describe "Export-FormatData DRT Unit Tests" -Tags DRT{
|
||||||
It "Test basic functionality" {
|
It "Test basic functionality" {
|
||||||
$fd = Get-FormatData
|
$fd = Get-FormatData
|
||||||
$tempFile = [io.path]::GetTempFileName()
|
$tempFile = Join-Path $TestDrive -ChildPath "exportFormatTest.txt"
|
||||||
$results = Export-FormatData -InputObject $fd[0] -Path $tempFile
|
$results = Export-FormatData -InputObject $fd[0] -Path $tempFile
|
||||||
$content = Get-Content $tempFile
|
$content = Get-Content $tempFile
|
||||||
$formatViewDefinition = $fd[0].FormatViewDefinition
|
$formatViewDefinition = $fd[0].FormatViewDefinition
|
||||||
|
|||||||
Reference in new issue
Block a user