Skip to content

Commit fa1d3a1

Browse files
committed
fixed to use "bytes" unit at Content-Range
1 parent db37dc2 commit fa1d3a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

conformance/setup.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -246,10 +246,10 @@ func init() {
246246
testBlobBDigest = godigest.FromBytes(testBlobB).String()
247247
testBlobBChunk1 = testBlobB[:3]
248248
testBlobBChunk1Length = strconv.Itoa(len(testBlobBChunk1))
249-
testBlobBChunk1Range = fmt.Sprintf("0-%d", len(testBlobBChunk1)-1)
249+
testBlobBChunk1Range = fmt.Sprintf("bytes 0-%d", len(testBlobBChunk1)-1)
250250
testBlobBChunk2 = testBlobB[3:]
251251
testBlobBChunk2Length = strconv.Itoa(len(testBlobBChunk2))
252-
testBlobBChunk2Range = fmt.Sprintf("%d-%d", len(testBlobBChunk1), len(testBlobB)-1)
252+
testBlobBChunk2Range = fmt.Sprintf("bytes %d-%d", len(testBlobBChunk1), len(testBlobB)-1)
253253

254254
dummyDigest = godigest.FromString("hello world").String()
255255

0 commit comments

Comments
 (0)