Skip to content

Commit af2af6e

Browse files
Update cli.Tests.ps1
1 parent 76da584 commit af2af6e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

integration-test/cli.Tests.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,8 @@ Describe 'MAUI (<framework>)' -ForEach @(
182182
'Microsoft.Maui.pdb',
183183
'Sentry'
184184
)
185-
$result.ScriptOutput | Should -AnyElementMatch "Found 77 debug information files \(8 with embedded sources\)"
185+
# The specific number of debug information files seems to change with different SDK - so we just check for non-zero
186+
$nonZeroNumberRegex = '[1-9][0-9]*';
187+
$result.ScriptOutput | Should -AnyElementMatch "Found $nonZeroNumberRegex debug information files \($nonZeroNumberRegex with embedded sources\)"
186188
}
187189
}

0 commit comments

Comments
 (0)