Skip to content

[Issue] platform_test is failing on macOS darwin/amd64 #876

@XA21X

Description

@XA21X

Possible regression from #782.

Current Behavior

ok      github.com/regclient/regclient/types/mediatype  6.842s  coverage: 100.0% of statements
--- FAIL: TestPlatformParse (0.00s)
    --- FAIL: TestPlatformParse/macos_amd64 (0.00s)
        platform_test.go:192: platform did not match, want darwin/amd64/v3, received darwin/amd64
FAIL
coverage: 84.1% of statements
FAIL    github.com/regclient/regclient/types/platform   6.729s

Expected Behavior

The test should pass, and the make command should succeed.

Steps To Reproduce

Build regclient using official instructions. Clone and make.

Version

0.7.2

Environment

  • Running as binary or container: N/A, test failure.
  • Host platform: Darwin Kernel Version 23.6.0: Thu Sep 12 23:34:49 PDT 2024; root:xnu-10063.141.1.701.1~1/RELEASE_X86_64
  • Registry description: N/A

Anything else

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions