From 0860817da641f4c40b78770068ed7a1fe437138b Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Wed, 10 Apr 2024 04:17:16 -0700 Subject: [PATCH] Rename to utils_test to drop stretchr/testify dep I noticed that the pion-ice package had ~1MB of extra binary size due to the dependency on stretchr/testify. Renaming test_utils.go to utils_test.go removes stretchr/testify from any non-test build and fixes this dependency. The tests still pass and the package still builds the same. One can check the dependency graph with goda: https://github.com/loov/goda goda graph "reach(.:all, github.com/stretchr/testify/require)" |\ dot -Tsvg -o graph.svg Signed-off-by: Christian Stewart --- test_utils.go => utils_test.go | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename test_utils.go => utils_test.go (100%) diff --git a/test_utils.go b/utils_test.go similarity index 100% rename from test_utils.go rename to utils_test.go