psi/psi_test.go: not wrapp tstStr in []byte

This commit is contained in:
saxon 2019-01-20 21:39:07 +10:30
parent 239cebe347
commit c4990c946f
1 changed files with 1 additions and 1 deletions

View File

@ -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 // for pmts with time and location, as the location data field is 32 bytes, i.e. quite large
// to type out // to type out
func buildPmtWithMeta(tstStr string) []byte { func buildPmtWithMeta(tstStr string) []byte {
pmt := append(pmtWithMetaHead, []byte(tstStr)...) pmt := append(pmtWithMetaHead, tstStr...)
pmt = append(pmt, pmtWithMetaTail...) pmt = append(pmt, pmtWithMetaTail...)
return pmt return pmt
} }