mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
spelling fixes: test
This commit is contained in:
1 parent
b375807d7f
commit
2badb244de
38 files changed
+96
-96
No files matched your search
@@ -165,7 +165,7 @@ Describe "ConsoleHost unit tests" -tags "Feature" {
|
||||
# even though it is redirected - we want to make sure we don't hang.
|
||||
# So none of these tests should close StandardInput
|
||||
|
||||
It "Redirected input w/ implict -Command w/ -NonInteractive" {
|
||||
It "Redirected input w/ implicit -Command w/ -NonInteractive" {
|
||||
$si = NewProcessStartInfo "-NonInteractive -noprofile 1+1" -RedirectStdIn
|
||||
$process = RunPowerShell $si
|
||||
$process.StandardOutput.ReadToEnd() | Should Be 2
|
||||
@@ -179,7 +179,7 @@ Describe "ConsoleHost unit tests" -tags "Feature" {
|
||||
EnsureChildHasExited $process
|
||||
}
|
||||
|
||||
It "Redirected input w/ explict -Command w/ -NonInteractive" {
|
||||
It "Redirected input w/ explicit -Command w/ -NonInteractive" {
|
||||
$si = NewProcessStartInfo "-NonInteractive -noprofile -Command 1+1" -RedirectStdIn
|
||||
$process = RunPowerShell $si
|
||||
$process.StandardOutput.ReadToEnd() | Should Be 2
|
||||
@@ -214,7 +214,7 @@ Describe "ConsoleHost unit tests" -tags "Feature" {
|
||||
$nl = [Environment]::Newline
|
||||
|
||||
# All of the following tests replace the prompt (either via an initial command or interactively)
|
||||
# so that we can read StandardOutput and realiably know exactly what the prompt is.
|
||||
# so that we can read StandardOutput and reliably know exactly what the prompt is.
|
||||
|
||||
It "Interactive redirected input" {
|
||||
$si = NewProcessStartInfo "-noprofile -nologo" -RedirectStdIn
|
||||
|
||||
Reference in new issue
Block a user