Skip to content

Commit f1589ee

Browse files
test(shell): remove shallow PowerShell guard assertion
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent caf8acf commit f1589ee

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/shell/pwsh_test.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,6 @@ Enable-PoshVIMode`
3333
assert.Equal(t, want, got)
3434
}
3535

36-
func TestPwshStreamingGuard(t *testing.T) {
37-
assert.Contains(t, pwshInit, "if (Test-Path Env:POSH_DISABLE_STREAMING) {")
38-
assert.Contains(t, pwshInit, "return")
39-
}
40-
4136
func TestSourceCommandAsyncPwsh(t *testing.T) {
4237
got := sourceCommandAsync(PWSH, "C:/cache/init.pwsh.ps1")
4338

0 commit comments

Comments
 (0)