From 7d9df8c758ac085972989fd6cfaeb308011688e8 Mon Sep 17 00:00:00 2001 From: Charles Oliveira Date: Thu, 17 Mar 2022 22:00:39 -0300 Subject: [PATCH] xml: pidx_test: avoid using random for file names Signed-off-by: Charles Oliveira --- cmd/xml/pidx_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/xml/pidx_test.go b/cmd/xml/pidx_test.go index cc7dbe1..683e5a3 100644 --- a/cmd/xml/pidx_test.go +++ b/cmd/xml/pidx_test.go @@ -201,7 +201,7 @@ func TestPidxXML(t *testing.T) { }) t.Run("test finding pdsc tag", func(t *testing.T) { - fileName := utils.RandStringBytes(10) + ".pidx" + fileName := "test-finding-pdsc-tag.pidx" defer os.Remove(fileName) pdscTag1 := xml.PdscTag{