Set StrictMode version 3.0 (#11563)

This commit is contained in:
xtqqczze
2020-02-03 09:44:10 -08:00
committed by GitHub
parent a34d0f3e80
commit 2014ce66c1
13 changed files with 77 additions and 58 deletions
@@ -59,7 +59,7 @@ Describe "Validate that the Help function can Run in strict mode" -Tags @('CI')
$help = & {
# run in nested scope to keep strict mode from affecting other tests
Set-StrictMode -Version Latest
Set-StrictMode -Version 3.0
Help
}
# the help function renders the help content as text so just verify that there is content