mirror of https://bitbucket.org/ausocean/av.git
psi/psi_test.go: not wrapp tstStr in []byte
This commit is contained in:
parent
239cebe347
commit
c4990c946f
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue