Skip to content

Commit 5a5dc75

Browse files
fix: remove unnecessary newline characters in output messages in Validate-Settings.ps1
1 parent 254a83d commit 5a5dc75

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/Validate-Settings.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ if (-not $SettingsJson) {
2929
Write-Host '✓ Settings retrieved successfully'
3030

3131
# Display the generated settings JSON
32-
Write-Host "`n========== Generated Settings JSON =========="
32+
Write-Host "========== Generated Settings JSON =========="
3333
$settings = $SettingsJson | ConvertFrom-Json
3434
Write-Host ($settings | ConvertTo-Json -Depth 10)
3535
Write-Host '=============================================='
3636

3737
# Validate against JSON schema
38-
Write-Host "`nValidating settings against JSON schema..."
38+
Write-Host "Validating settings against JSON schema..."
3939
$schemaPath = Join-Path -Path $PSScriptRoot -ChildPath '..' -AdditionalChildPath 'scripts', 'Settings.schema.json'
4040
$schema = Get-Content $schemaPath -Raw
4141
$isValid = Test-Json -Json $SettingsJson -Schema $schema
@@ -47,7 +47,7 @@ if (-not $isValid) {
4747
Write-Host '✓ Settings conform to JSON schema'
4848

4949
# Load expected reference settings
50-
Write-Host "`nComparing with reference settings..."
50+
Write-Host "Comparing with reference settings..."
5151
$referencePath = Join-Path $PSScriptRoot 'Settings.json'
5252
$expectedSettings = Get-Content $referencePath -Raw | ConvertFrom-Json
5353

0 commit comments

Comments
 (0)