This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# ちょっとだけテスト | |
# | |
Import-Module Pester | |
Describe "UseBOMlessUTF8パラメーターのテスト" { | |
It "BOMなしUTF8 - 最初の3ByteがBOMでないこと" { | |
$filePath = ".\BOMless.txt" | |
Invoke-CustomEncodingBlock { "BOMなしUTF8" | Out-File $filePath -Encoding utf8 } -UseBOMlessUTF8 |