From c4990c946fe5148d152f07e6ae0de7404c9a7c9d Mon Sep 17 00:00:00 2001 From: saxon Date: Sun, 20 Jan 2019 21:39:07 +1030 Subject: [PATCH] psi/psi_test.go: not wrapp tstStr in []byte --- stream/mts/psi/psi_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stream/mts/psi/psi_test.go b/stream/mts/psi/psi_test.go index ff0b9034..1e9a30ef 100644 --- a/stream/mts/psi/psi_test.go +++ b/stream/mts/psi/psi_test.go @@ -367,7 +367,7 @@ func TestTrim(t *testing.T) { // for pmts with time and location, as the location data field is 32 bytes, i.e. quite large // to type out func buildPmtWithMeta(tstStr string) []byte { - pmt := append(pmtWithMetaHead, []byte(tstStr)...) + pmt := append(pmtWithMetaHead, tstStr...) pmt = append(pmt, pmtWithMetaTail...) return pmt }