mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-18 15:56:47 +00:00
[ubuntu] Refactor test helpers (#8938)
* [ubuntu] Refactor test helpers * [ubuntu] Adjust help comment
This commit is contained in:
committed by
GitHub
parent
5ed2615017
commit
ff1dc02cbc
@@ -45,6 +45,6 @@ Describe "Java" {
|
||||
if ($Version -eq 8) {
|
||||
$Version = "1.${Version}"
|
||||
}
|
||||
"`"$javaPath`" -version" | Should -MatchCommandOutput "openjdk\ version\ `"${Version}(\.[0-9_\.]+)?`""
|
||||
"`"$javaPath`" -version" | Should -OutputTextMatchingRegex "openjdk\ version\ `"${Version}(\.[0-9_\.]+)?`""
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user