Skip to content

Commit f5beecf

Browse files
committed
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>
1 parent b80969c commit f5beecf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

terminal_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ func TestMakeRawState(t *testing.T) {
407407
t.Fatalf("failed to get terminal state from GetState: %s", err)
408408
}
409409

410-
if runtime.GOOS == "darwin" && (runtime.GOARCH == "arm" || runtime.GOARCH == "arm64") {
410+
if runtime.GOOS == "ios" || (runtime.GOOS == "darwin" && (runtime.GOARCH == "arm" || runtime.GOARCH == "arm64")) {
411411
t.Skip("MakeRaw not allowed on iOS; skipping test")
412412
}
413413

0 commit comments

Comments
 (0)