mirror of
https://github.com/golang/term.git
synced 2026-01-29 15:12:09 +03:00
term: skip TestMakeRawState on GOOS=ios
Change-Id: I0068c03d571672db8f809e9308e438e7b030e075 Reviewed-on: https://go-review.googlesource.com/c/term/+/312250 Trust: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
committed by
Tobias Klauser
parent
b80969c673
commit
f5beecf764
@@ -407,7 +407,7 @@ func TestMakeRawState(t *testing.T) {
|
||||
t.Fatalf("failed to get terminal state from GetState: %s", err)
|
||||
}
|
||||
|
||||
if runtime.GOOS == "darwin" && (runtime.GOARCH == "arm" || runtime.GOARCH == "arm64") {
|
||||
if runtime.GOOS == "ios" || (runtime.GOOS == "darwin" && (runtime.GOARCH == "arm" || runtime.GOARCH == "arm64")) {
|
||||
t.Skip("MakeRaw not allowed on iOS; skipping test")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user