From 51f6582b0e09360d7aa4f765610d407b5c238ff8 Mon Sep 17 00:00:00 2001 From: lonerapier Date: Mon, 28 Oct 2024 15:40:30 +0530 Subject: [PATCH] fix tests --- circuits/test/http/codegen.test.ts | 4 ++-- circuits/test/http/nivc/{nivc.test.ts => body_mask.test.ts} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename circuits/test/http/nivc/{nivc.test.ts => body_mask.test.ts} (100%) diff --git a/circuits/test/http/codegen.test.ts b/circuits/test/http/codegen.test.ts index 16f750d..7f9b267 100644 --- a/circuits/test/http/codegen.test.ts +++ b/circuits/test/http/codegen.test.ts @@ -138,7 +138,7 @@ describe("HTTP :: Codegen :: Response", async () => { const headers = getHeaders(lockData); - const params = [input.length, parseInt(http.headers["Content-Length".toLowerCase()]), lockData.version.length, lockData.status.length, lockData.message.length]; + const params = [input.length, parseInt(http.headers["Content-Length"]), lockData.version.length, lockData.status.length, lockData.message.length]; headers.forEach(header => { params.push(header[0].length); params.push(header[1].length); @@ -184,7 +184,7 @@ describe("HTTP :: Codegen :: Response", async () => { const headers = getHeaders(lockData); - const params = [input.length, parseInt(http.headers["Content-Length".toLowerCase()]), lockData.version.length, lockData.status.length, lockData.message.length]; + const params = [input.length, parseInt(http.headers["Content-Length"]), lockData.version.length, lockData.status.length, lockData.message.length]; headers.forEach(header => { params.push(header[0].length); params.push(header[1].length); diff --git a/circuits/test/http/nivc/nivc.test.ts b/circuits/test/http/nivc/body_mask.test.ts similarity index 100% rename from circuits/test/http/nivc/nivc.test.ts rename to circuits/test/http/nivc/body_mask.test.ts