Closed qweeah closed 1 week ago
When compiling windows golang unit tests, got bellow error
> go test -count=1 ./... # oras.land/oras/internal/testutils internal\testutils\console.go:34:37: undefined: containerd.NewPty
The unit test should be compiled and run successfully
Run go test -count=1 ./... on Windows
go test -count=1 ./...
Dev branch on 5280c67fcef9e1029d539aef03370a31e5df839a
Windows 11
What happened in your environment?
When compiling windows golang unit tests, got bellow error
What did you expect to happen?
The unit test should be compiled and run successfully
How can we reproduce it?
Run
go test -count=1 ./...
on WindowsWhat is the version of your ORAS CLI?
Dev branch on 5280c67fcef9e1029d539aef03370a31e5df839a
What is your OS environment?
Windows 11
Are you willing to submit PRs to fix it?