1
0
mirror of https://github.com/tw93/Mole.git synced 2026-03-23 21:05:06 +00:00

test(windows): fix installer version regex

This commit is contained in:
Tw93
2026-03-23 20:54:41 +08:00
parent 4b59ad6ca2
commit dadc28e5a5

View File

@@ -215,7 +215,7 @@ Describe "Installer Script" {
It "Should read the version from VERSION" { It "Should read the version from VERSION" {
$source = Get-Content $script:InstallScript -Raw $source = Get-Content $script:InstallScript -Raw
$source | Should -Match "version\.ps1" $source | Should -Match "version\.ps1"
$source | Should -Match "Get-MoleVersionString -RootDir \$script:SourceDir" $source | Should -Match 'Get-MoleVersionString -RootDir \$script:SourceDir'
} }
} }