From f140e3abbc904c9871a1580fa2b28993c2d791f2 Mon Sep 17 00:00:00 2001 From: Eduard Arbona Date: Wed, 11 Nov 2026 11:45:58 -0400 Subject: [PATCH] fix(tests): add the missing byte order mark to Invoke-MtPackGitHubRequest.Tests.ps1 `FileEncoding.Tests.ps1` requires every tracked PowerShell file to be UTF-8 with a BOM. This file arrived without one in #2792, so the Linux leg of build-validation fails on main and on every pull request that merges it. It is the only tracked .ps1 file in the repository without a BOM. --- powershell/tests/functions/Invoke-MtPackGitHubRequest.Tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powershell/tests/functions/Invoke-MtPackGitHubRequest.Tests.ps1 b/powershell/tests/functions/Invoke-MtPackGitHubRequest.Tests.ps1 index edba6469da..fc0f702b60 100644 --- a/powershell/tests/functions/Invoke-MtPackGitHubRequest.Tests.ps1 +++ b/powershell/tests/functions/Invoke-MtPackGitHubRequest.Tests.ps1 @@ -1,4 +1,4 @@ -BeforeAll { +BeforeAll { Import-Module "$PSScriptRoot/../../Maester.psd1" -Force $script:savedGhToken = $env:GH_TOKEN