Skip to content

Commit 8fc3a0e

Browse files
authored
Merge branch 'main' into jpnurmi/fix/updater-pr-ci
2 parents 3e1c2d0 + 98c1e36 commit 8fc3a0e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

updater/tests/update-dependency.Tests.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,9 @@ switch ($action)
220220
$output | Should -Contain 'latestTag=0.28.0'
221221
$output | Should -Contain 'latestTagNice=v0.28.0'
222222
$output | Should -Contain 'url=https://github.com/getsentry/sentry-cli'
223-
$output | Should -Contain 'mainBranch=main'
223+
# 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')
224226
}
225227
}
226228

0 commit comments

Comments
 (0)