Skip to content

Commit d7e850f

Browse files
committed
test: Use exact version in remaining integration test assertions
- Replace generic \d+\.\d+\.\d+ patterns with exact 0\.11\.0 - More precise assertions for explicit dependency and auto-detection tests - Completes migration from generic patterns to exact expected values - Ensures deterministic test validation across all CMake tests
1 parent 6b48177 commit d7e850f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

updater/tests/update-dependency.Tests.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ FetchContent_MakeAvailable(sentry-native)
275275

276276
$content = Get-Content $testFile -Raw
277277
$content | Should -Not -Match 'v0.9.1'
278-
$content | Should -Match 'GIT_TAG \d+\.\d+\.\d+'
278+
$content | Should -Match 'GIT_TAG 0\.11\.0'
279279
$content | Should -Match 'GIT_REPOSITORY https://github.com/getsentry/sentry-native'
280280
}
281281

@@ -298,7 +298,7 @@ FetchContent_MakeAvailable(sentry-native)
298298

299299
$content = Get-Content $testFile -Raw
300300
$content | Should -Not -Match 'v0.9.0'
301-
$content | Should -Match 'GIT_TAG \d+\.\d+\.\d+'
301+
$content | Should -Match 'GIT_TAG 0\.11\.0'
302302
}
303303

304304
It 'updates from hash to newer tag preserving hash format' {

0 commit comments

Comments
 (0)