Convert Pester tests to ASCII

Instead of UTF-8 with BOM.

Resolves #417.
This commit is contained in:
Andrew Schwartzmeyer committed 2016-03-04 14:48:30 -08:00
1 parent 901160cb78
commit 0aaf74bdcc
52 files changed
+648 -517

No files matched your search

+3 -3
View File
@@ -1,4 +1,4 @@
Describe "Measure-Object" {
Describe "Measure-Object" {
$testObject = 1,3,4
It "Should be able to be called without error" {
@@ -126,9 +126,9 @@
}
Context "String tests" {
$nl = [Environment]::NewLine
$nl = [Environment]::NewLine
$testString = "HAD I the heavens’ embroidered cloths,$nl Enwrought with golden and silver light,$nl The blue and the dim and the dark cloths$nl Of night and light and the half light,$nl I would spread the cloths under your feet:$nl But I, being poor, have only my dreams;$nl I have spread my dreams under your feet;$nl Tread softly because you tread on my dreams."
$testString = "HAD I the heavens' embroidered cloths,$nl Enwrought with golden and silver light,$nl The blue and the dim and the dark cloths$nl Of night and light and the half light,$nl I would spread the cloths under your feet:$nl But I, being poor, have only my dreams;$nl I have spread my dreams under your feet;$nl Tread softly because you tread on my dreams."
It "Should be able to count the number of words in a string" {
$expectedLength = $testString.Replace($nl,"").Split().length