Skip to content

Commit aaa4f90

Browse files
committed
7
Change-Id: I1b554d310af43cf376e99468d3cf6db515e8a180
1 parent 40ef3a0 commit aaa4f90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/internal/saferio/io_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ func TestInBounds32(t *testing.T) {
154154
{"maxuint32 no overflow", make([]struct{}, 3), 0, math.MaxUint32, false},
155155
{"maxuint32 edge", make([]struct{}, 3), math.MaxUint32 - 1, 1, false},
156156
{"large slice", make([]struct{}, 0x100000000), math.MaxUint32 - 1, 1, true},
157-
{"large slice overflow", make([]struct{}, 0x100000000), math.MaxUint32, 1, false},
157+
{"large slice exceeds len", make([]struct{}, 0x100000000), math.MaxUint32, 1, false},
158158
}
159159

160160
for _, tt := range tests {

0 commit comments

Comments
 (0)