Skip to content

Commit 089e37a

Browse files
johanbrandhorstgopherbot
authored andcommitted
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 <[email protected]> Reviewed-by: Bryan Mills <[email protected]> Auto-Submit: Johan Brandhorst-Satzkorn <[email protected]> TryBot-Bypass: Johan Brandhorst-Satzkorn <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
1 parent b88bd91 commit 089e37a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/bytes/compare_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ package bytes_test
77
import (
88
. "bytes"
99
"fmt"
10-
"internal/testenv"
1110
"testing"
1211
)
1312

@@ -73,7 +72,7 @@ func TestCompareBytes(t *testing.T) {
7372
}
7473
lengths = append(lengths, 256, 512, 1024, 1333, 4095, 4096, 4097)
7574

76-
if !testing.Short() || testenv.Builder() != "" {
75+
if !testing.Short() {
7776
lengths = append(lengths, 65535, 65536, 65537, 99999)
7877
}
7978

0 commit comments

Comments
 (0)