Skip to content

Commit

Permalink
fix example in TesdDrive About help
Browse files Browse the repository at this point in the history
  • Loading branch information
mwrock committed Jan 30, 2013
1 parent 85c4f3f commit 1a4159f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions en-US/about_TestDrive.help.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ EXAMPLE
}

Describe "Add-Footer" {
$testPath=TestDrive:\test.txt
Set-Item $testPath -value "my test text."
Add-Footer TestDrive:\test.txt "-Footer"
$result = Get-Content $testPath
$testPath="TestDrive:\test.txt"
Set-Content $testPath -value "my test text."
Add-Footer $testPath "-Footer"
$result = Get-Content $testPath

It "adds a footer" {
$result.Should.Be("my test text.-Footer")
(-join $result).Should.Be("my test text.-Footer")
}
}

When this test completes, the contents of the TestDrive PSDrive will
be removed.

Expand Down

0 comments on commit 1a4159f

Please sign in to comment.