]> Cypherpunks repositories - gostls13.git/commit
go/internal/gccgoimporter: fix up gccgo installation test
authorThan McIntosh <thanm@google.com>
Fri, 19 Feb 2021 15:34:55 +0000 (10:34 -0500)
committerThan McIntosh <thanm@google.com>
Sun, 21 Feb 2021 02:25:41 +0000 (02:25 +0000)
commit0f66fb7b856b02497cf801ce72d80f375f53358b
tree7b68d7199bb3ada3d71dace3eb8373f41f4a9532
parente78e04ce39b9df316edda08f43f253f5e9ac509e
go/internal/gccgoimporter: fix up gccgo installation test

Change the TestInstallationImporter testpoint to query type
information for sort.Search instead of sort.Ints. The latter function
changed recently (1.16 timeframe), parameter "a" is now "x". A better
candidate for this sort of query is sort.Search, which has been stable
for a while.

Fixes #44425.

Change-Id: I314476eac0b0802f86f5cbce32195cab2926db83
Reviewed-on: https://go-review.googlesource.com/c/go/+/294290
Trust: Than McIntosh <thanm@google.com>
Run-TryBot: Than McIntosh <thanm@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/go/internal/gccgoimporter/gccgoinstallation_test.go