implemented changes from code review
This commit is contained in:
parent
ab8878fa52
commit
a3f0fd09ab
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue