diff options
Diffstat (limited to 'src/pkg/bytes/bytes_test.go')
| -rw-r--r-- | src/pkg/bytes/bytes_test.go | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/src/pkg/bytes/bytes_test.go b/src/pkg/bytes/bytes_test.go index 063686ec5..4ce291a4f 100644 --- a/src/pkg/bytes/bytes_test.go +++ b/src/pkg/bytes/bytes_test.go @@ -201,7 +201,10 @@ func TestIndexByte(t *testing.T) {  // test a larger buffer with different sizes and alignments  func TestIndexByteBig(t *testing.T) { -	const n = 1024 +	var n = 1024 +	if testing.Short() { +		n = 128 +	}  	b := make([]byte, n)  	for i := 0; i < n; i++ {  		// different start alignments | 
