Skip to content

Commit

Permalink
uncomment HAMT+TAR
Browse files Browse the repository at this point in the history
  • Loading branch information
hacdias committed Jun 26, 2023
1 parent 6be829f commit cd9ca76
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gateway/gateway_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ func TestHeaders(t *testing.T) {
test("text/html", hamtPath, `"DirIndex-(.*)_CID-%s"`, hamtCID)
test(carResponseFormat, hamtPath, `W/"%s.car.35kkb3vmh1o1r"`, root.String()) // ETags of CARs on a Path have the root CID in the Etag and hashed information to derive the correct Etag of the full request.
test(rawResponseFormat, hamtPath, `"%s.raw"`, hamtCID)
// test(tarResponseFormat, hamtPath, `W/"%s.x-tar"`, hamtCID)
test(tarResponseFormat, hamtPath, `W/"%s.x-tar"`, hamtCID)

test("", filePath, `"%s"`, fileCID)
test("text/html", filePath, `"%s"`, fileCID)
Expand Down Expand Up @@ -226,7 +226,7 @@ func TestHeaders(t *testing.T) {
test("text/html", hamtPath)
test(carResponseFormat, hamtPath)
test(rawResponseFormat, hamtPath)
// test(tarResponseFormat, hamtPath)
test(tarResponseFormat, hamtPath)

test("", filePath)
test("text/html", filePath)
Expand Down Expand Up @@ -264,7 +264,7 @@ func TestHeaders(t *testing.T) {
test("text/html", hamtPath, hamtRoots)
test(carResponseFormat, hamtPath, hamtRoots)
test(rawResponseFormat, hamtPath, hamtRoots)
// test(tarResponseFormat, hamtPath, hamtRoots)
test(tarResponseFormat, hamtPath, hamtRoots)

test("", filePath, fileRoots)
test("text/html", filePath, fileRoots)
Expand Down Expand Up @@ -303,7 +303,7 @@ func TestHeaders(t *testing.T) {
test("text/html", hamtPath, hamtRoots)
test(carResponseFormat, hamtPath, hamtRoots)
test(rawResponseFormat, hamtPath, hamtRoots)
// test(tarResponseFormat, hamtPath, hamtRoots)
test(tarResponseFormat, hamtPath, hamtRoots)

test("", filePath, fileRoots)
test("text/html", filePath, fileRoots)
Expand Down

0 comments on commit cd9ca76

Please sign in to comment.