We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3e1c2d0 + 98c1e36 commit 8fc3a0eCopy full SHA for 8fc3a0e
1 file changed
updater/tests/update-dependency.Tests.ps1
@@ -220,7 +220,9 @@ switch ($action)
220
$output | Should -Contain 'latestTag=0.28.0'
221
$output | Should -Contain 'latestTagNice=v0.28.0'
222
$output | Should -Contain 'url=https://github.com/getsentry/sentry-cli'
223
- $output | Should -Contain 'mainBranch=main'
+ # sentry-cli has both `main` and `master`; which one is reported depends on
224
+ # which currently points at HEAD upstream, so accept either.
225
+ ($output | Where-Object { $_ -like 'mainBranch=*' }) | Should -BeIn @('mainBranch=main', 'mainBranch=master')
226
}
227
228
0 commit comments