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 <christian@aperture.us>
This commit is contained in:
Christian Stewart
2024-04-10 09:58:04 -04:00
committed by Sean DuBois
parent fd4b1f8b1d
commit 0860817da6
View File