Skip to content

Commit

Permalink
term: skip TestMakeRawState on GOOS=ios
Browse files Browse the repository at this point in the history
Change-Id: I0068c03d571672db8f809e9308e438e7b030e075
Reviewed-on: https://go-review.googlesource.com/c/term/+/312250
Trust: Tobias Klauser <[email protected]>
Run-TryBot: Tobias Klauser <[email protected]>
TryBot-Result: Go Bot <[email protected]>
Reviewed-by: Ian Lance Taylor <[email protected]>
  • Loading branch information
tklauser committed Apr 22, 2021
1 parent b80969c commit f5beecf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terminal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}

Expand Down

0 comments on commit f5beecf

Please sign in to comment.