From adb84a0379fa9b804d2d3c71d38b44256e55c606 Mon Sep 17 00:00:00 2001 From: xtqqczze <45661989+xtqqczze@users.noreply.github.com> Date: Thu, 7 May 2020 09:14:53 +0100 Subject: [PATCH] markdown.tests.ps1 style fixes --- test/common/markdown/markdown.tests.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/common/markdown/markdown.tests.ps1 b/test/common/markdown/markdown.tests.ps1 index b288a5eb4bf3f..ec5b9a493213e 100644 --- a/test/common/markdown/markdown.tests.ps1 +++ b/test/common/markdown/markdown.tests.ps1 @@ -5,7 +5,7 @@ Import-Module HelpersCommon $moduleRootFilePath = Split-Path -Path $PSScriptRoot -Parent # Identify the repository root path of the resource module -$repoRootPath = (Resolve-Path -LiteralPath (Join-path $moduleRootFilePath "../..")).ProviderPath +$repoRootPath = (Resolve-Path -LiteralPath (Join-Path $moduleRootFilePath "../..")).ProviderPath $repoRootPathFound = $false Describe 'Common Tests - Validate Markdown Files' -Tag 'CI' { @@ -48,8 +48,8 @@ Describe 'Common Tests - Validate Markdown Files' -Tag 'CI' { Pop-Location } - It "Should not have errors in any markdown files" -skip:$skip { - $NpmInstalled | should BeExactly "Installed" + It "Should not have errors in any markdown files" -Skip:$skip { + $NpmInstalled | Should -BeExactly "Installed" $mdErrors = 0 Push-Location -Path $PSScriptRoot try