Skip to content

Commit 8e14d2d

Browse files
authored
Enable get-help pattern tests on Unix (#18855)
1 parent 31af38c commit 8e14d2d

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

test/powershell/engine/Help/HelpSystem.Tests.ps1

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -312,10 +312,6 @@ Describe "Get-Help should find help info within help files" -Tags @('CI') {
312312

313313
Describe "Get-Help should find pattern help files" -Tags "CI" {
314314

315-
# There is a bug specific to Travis CI that suspends the test if "get-help" is used to search pattern string. This doesn't repro locally.
316-
# This occurs even if Unix system just returns "Directory.GetFiles(path, pattern);" as the windows' code does.
317-
# Since there's currently no way to get the vm from Travis CI and the test PASSES locally on both Ubuntu and MacOS, excluding pattern test under Unix system.
318-
319315
BeforeAll {
320316
$helpFile1 = "about_testCase1.help.txt"
321317
$helpFile2 = "about_testCase.2.help.txt"
@@ -349,7 +345,7 @@ Describe "Get-Help should find pattern help files" -Tags "CI" {
349345
@{command = {Get-Help about_testCas?.2*}; testname = "test ?, * pattern with dot"; result = "about_test2"}
350346
)
351347

352-
It "Get-Help should find pattern help files - <testname>" -TestCases $testcases -Pending: (-not $IsWindows) {
348+
It "Get-Help should find pattern help files - <testname>" -TestCases $testcases {
353349
param (
354350
$command,
355351
$result

0 commit comments

Comments
 (0)