Skip to content

Conversation

sudo-bmitch
Copy link
Contributor

Fixes issue

Fixes #876.

Describe the change

Fix the platform test for darwin/macos. Variant is only added automatically to platform splits with a single field (e.g. macos, darwin, or amd64).

How to verify it

The following should succeed on MacOS systems:

go test ./types/platform

Changelog text

  • Fix: Platform test for darwin/macos should not add variant.

Please verify and check that the pull request fulfills the following requirements

  • Tests have been added or not applicable
  • Documentation has been added, updated, or not applicable
  • Changes have been rebased to main
  • Multiple commits to the same code have been squashed

Variant is only added automatically to platform splits with a single field ('linux' or 'darwin').

Signed-off-by: Brandon Mitchell <git@bmitch.net>
@sudo-bmitch sudo-bmitch merged commit deb5c15 into regclient:main Dec 6, 2024
5 checks passed
@sudo-bmitch sudo-bmitch deleted the pr-platform-test-darwin branch December 6, 2024 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Issue] platform_test is failing on macOS darwin/amd64
1 participant