diff options
author | Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com> | 2023-06-30 13:48:10 -0700 |
---|---|---|
committer | Gopher Robot <gobot@golang.org> | 2023-07-13 23:11:42 +0000 |
commit | 089e37a931d30d4055c7468facb602c4cfa9b537 (patch) | |
tree | 22d232fd8b1be34d7c22a8f5f262e86803b80501 | |
parent | b88bd917b8dd8aabc471b1de41b3ee8c0d6eeabe (diff) | |
download | go-089e37a931d30d4055c7468facb602c4cfa9b537.tar.gz go-089e37a931d30d4055c7468facb602c4cfa9b537.zip |
bytes: remove builders check from compare test
TestCompareBytes already took into account the -short
testing flag, however, only if not run on one of the Go builders.
This extra condition is no longer necessary as we have much
better longtest coverage than we did when the check was added.
Fixes #61071
Change-Id: I0fc716f4e7baa04019ee00608f223f27c931edcc
Reviewed-on: https://go-review.googlesource.com/c/go/+/507416
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Auto-Submit: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>
TryBot-Bypass: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
-rw-r--r-- | src/bytes/compare_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bytes/compare_test.go b/src/bytes/compare_test.go index ac39f880f4..067530b6d8 100644 --- a/src/bytes/compare_test.go +++ b/src/bytes/compare_test.go @@ -7,7 +7,6 @@ package bytes_test import ( . "bytes" "fmt" - "internal/testenv" "testing" ) @@ -73,7 +72,7 @@ func TestCompareBytes(t *testing.T) { } lengths = append(lengths, 256, 512, 1024, 1333, 4095, 4096, 4097) - if !testing.Short() || testenv.Builder() != "" { + if !testing.Short() { lengths = append(lengths, 65535, 65536, 65537, 99999) } |