From c4beeb9f62d506d123263fedbb458c42c5617802 Mon Sep 17 00:00:00 2001 From: TingLiu6 Date: Thu, 12 May 2016 21:51:55 -0700 Subject: [PATCH] Fixed CR issues --- test/powershell/Export-FormatData.Tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/powershell/Export-FormatData.Tests.ps1 b/test/powershell/Export-FormatData.Tests.ps1 index 1900538aaf..9a8c0c1d31 100644 --- a/test/powershell/Export-FormatData.Tests.ps1 +++ b/test/powershell/Export-FormatData.Tests.ps1 @@ -1,7 +1,7 @@ Describe "Export-FormatData DRT Unit Tests" -Tags DRT{ It "Test basic functionality" { $fd = Get-FormatData - $tempFile = [io.path]::GetTempFileName() + $tempFile = Join-Path $TestDrive -ChildPath "exportFormatTest.txt" $results = Export-FormatData -InputObject $fd[0] -Path $tempFile $content = Get-Content $tempFile $formatViewDefinition = $fd[0].FormatViewDefinition