From 635ed12a57b313fc9ef7e89c1a6918c7b71adb07 Mon Sep 17 00:00:00 2001 From: Danny-Dasilva Date: Mon, 27 Nov 2023 23:21:59 -0500 Subject: [PATCH] fix tests --- cycletls/tests/integration/images_test.go | 4 ++-- docs/CHANGELOG.md | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cycletls/tests/integration/images_test.go b/cycletls/tests/integration/images_test.go index db7c1ac3..06a9fb68 100644 --- a/cycletls/tests/integration/images_test.go +++ b/cycletls/tests/integration/images_test.go @@ -66,13 +66,13 @@ func WriteFile(Body string, Filepath string) { } func CompareFiles(filepath1 string, filepath2 string) bool { - f1, err1 := io.ReadFile(filepath1) + f1, err1 := os.ReadFile(filepath1) if err1 != nil { log.Fatal(err1) } - f2, err2 := io.ReadFile(filepath2) + f2, err2 := os.ReadFile(filepath2) if err2 != nil { log.Fatal(err2) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index f07b9d71..06bc51a1 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -7,6 +7,7 @@ Small bugfixes and ReadMe updates ### Enhancements - Update docs - Add tests for forceHTTP1 +- update to using io instead of ioutil ### Bug Fixes - Fix issue with keepalives on closed connections when http1 is forced