From 7efaab60f92aef19f2220a28745d3a5133193915 Mon Sep 17 00:00:00 2001 From: Aleksandr Chebotov Date: Mon, 13 Jul 2020 14:42:40 +0300 Subject: [PATCH] format style --- images/win/scripts/ImageHelpers/TestsHelpers.ps1 | 4 ++-- images/win/scripts/Tests/Browsers.Tests.ps1 | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/images/win/scripts/ImageHelpers/TestsHelpers.ps1 b/images/win/scripts/ImageHelpers/TestsHelpers.ps1 index ae3e1074..5228492b 100644 --- a/images/win/scripts/ImageHelpers/TestsHelpers.ps1 +++ b/images/win/scripts/ImageHelpers/TestsHelpers.ps1 @@ -110,10 +110,10 @@ function ShouldMatchCommandOutput { if (-not $succeeded) { if ($Negate) { - $failureMessage = "Expected regular expression '$RegularExpression' for '$ActualValue' command to not match '$output',but it did match." + $failureMessage = "Expected regular expression '$RegularExpression' for '$ActualValue' command to not match '$output', but it did match." } else { - $failureMessage = "Expected regular expression '$RegularExpression' for '$ActualValue' command to match '$output',but it did not match." + $failureMessage = "Expected regular expression '$RegularExpression' for '$ActualValue' command to match '$output', but it did not match." } } diff --git a/images/win/scripts/Tests/Browsers.Tests.ps1 b/images/win/scripts/Tests/Browsers.Tests.ps1 index a04423d8..5f687090 100644 --- a/images/win/scripts/Tests/Browsers.Tests.ps1 +++ b/images/win/scripts/Tests/Browsers.Tests.ps1 @@ -18,7 +18,7 @@ Describe "Chrome" { Context "Browser" { $chromeRegPath = "HKLM:SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\chrome.exe" - It "Chrome registry path exists" -TestCases @{chromeRegPath = $chromeRegPath} { + It "Chrome '' registry path exists" -TestCases @{chromeRegPath = $chromeRegPath} { $chromeRegPath | Should -Exist } @@ -67,7 +67,7 @@ Describe "Edge" { Context "Browser" { $edgeRegPath = "HKLM:SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\msedge.exe" - It "Edge registry path exists" -TestCases @{edgeRegPath = $edgeRegPath} { + It "Edge '' registry path exists" -TestCases @{edgeRegPath = $edgeRegPath} { $edgeRegPath | Should -Exist } @@ -102,7 +102,7 @@ Describe "Firefox" { Context "Browser" { $firefoxRegPath = "HKLM:SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\firefox.exe" - It "Firefox registry path exists" -TestCases @{firefoxRegPath = $firefoxRegPath} { + It "Firefox '' registry path exists" -TestCases @{firefoxRegPath = $firefoxRegPath} { $firefoxRegPath | Should -Exist }