implemented changes from code review

This commit is contained in:
Zachary Folwick 2015-09-21 10:12:38 -07:00
parent ab8878fa52
commit a3f0fd09ab

View file

@ -3,7 +3,7 @@
$testinputone = "hello","Hello","goodbye" $testinputone = "hello","Hello","goodbye"
$testinputtwo = "hello","Hello" $testinputtwo = "hello","Hello"
it "Should be called with out errors" { it "Should be called without errors" {
{ $testinputone | Select-String -Pattern "hello" } | Should Not Throw { $testinputone | Select-String -Pattern "hello" } | Should Not Throw
} }
@ -12,7 +12,6 @@
} }
it "Should return an array data type when multiple matches are found" { it "Should return an array data type when multiple matches are found" {
# array is case insensitive
( $testinputtwo | Select-String -Pattern "hello").gettype().basetype | Should Be Array ( $testinputtwo | Select-String -Pattern "hello").gettype().basetype | Should Be Array
} }